diff --git a/generation_config.yaml b/generation_config.yaml index 3e7304774156..9ea6b7808b8c 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ gapic_generator_version: 2.39.0 protobuf_version: '25.3' -googleapis_commitish: 0179dcc4d2b4d7376e7f0292b15c72aab3100dd6 +googleapis_commitish: 2b342b8ebf0850ea8df56caa4b44d892d943e35d libraries_bom_version: 26.37.0 owlbot_cli_image: sha256:623647ee79ac605858d09e60c1382a716c125fb776f69301b72de1cd35d49409 synthtool_commitish: 63cc541da2c45fcfca2136c43e638da1fbae174d diff --git a/java-accessapproval/README.md b/java-accessapproval/README.md index 19fa1d934fd1..192c83199a4b 100644 --- a/java-accessapproval/README.md +++ b/java-accessapproval/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-accessapproval.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-accesscontextmanager/README.md b/java-accesscontextmanager/README.md index 3b129022014d..fd38bb1d25e7 100644 --- a/java-accesscontextmanager/README.md +++ b/java-accesscontextmanager/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-identity-accesscontextmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-advisorynotifications/README.md b/java-advisorynotifications/README.md index 26225ce4fc90..e42b71fa17b1 100644 --- a/java-advisorynotifications/README.md +++ b/java-advisorynotifications/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-advisorynotifications.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.30.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.31.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-aiplatform/README.md b/java-aiplatform/README.md index 6642149cbd55..f34307bbbb0e 100644 --- a/java-aiplatform/README.md +++ b/java-aiplatform/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-aiplatform.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceClient.java index 85abdb964e3c..54169034805c 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceClient.java @@ -279,6 +279,65 @@ * * * + *

GetNotebookExecutionJob + *

Gets a NotebookExecutionJob. + * + *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ * + *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ * + *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ * + * + * + * + *

ListNotebookExecutionJobs + *

Lists NotebookExecutionJobs in a Location. + * + *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ * + *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ * + *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ * + * + * + * + *

DeleteNotebookExecutionJob + *

Deletes a NotebookExecutionJob. + * + *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ * + *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ * + *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ * + * + * + * *

ListLocations *

Lists information about the supported locations for this service. * @@ -2232,6 +2291,465 @@ public final OperationFuture deleteNotebookRunti return stub.startNotebookRuntimeCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NotebookExecutionJob. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) {
+   *   NotebookExecutionJobName name =
+   *       NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]");
+   *   NotebookExecutionJob response = notebookServiceClient.getNotebookExecutionJob(name);
+   * }
+   * }
+ * + * @param name Required. The name of the NotebookExecutionJob resource. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final NotebookExecutionJob getNotebookExecutionJob(NotebookExecutionJobName name) { + GetNotebookExecutionJobRequest request = + GetNotebookExecutionJobRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return getNotebookExecutionJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NotebookExecutionJob. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) {
+   *   String name =
+   *       NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]")
+   *           .toString();
+   *   NotebookExecutionJob response = notebookServiceClient.getNotebookExecutionJob(name);
+   * }
+   * }
+ * + * @param name Required. The name of the NotebookExecutionJob resource. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final NotebookExecutionJob getNotebookExecutionJob(String name) { + GetNotebookExecutionJobRequest request = + GetNotebookExecutionJobRequest.newBuilder().setName(name).build(); + return getNotebookExecutionJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NotebookExecutionJob. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) {
+   *   GetNotebookExecutionJobRequest request =
+   *       GetNotebookExecutionJobRequest.newBuilder()
+   *           .setName(
+   *               NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]")
+   *                   .toString())
+   *           .setView(NotebookExecutionJobView.forNumber(0))
+   *           .build();
+   *   NotebookExecutionJob response = notebookServiceClient.getNotebookExecutionJob(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final NotebookExecutionJob getNotebookExecutionJob( + GetNotebookExecutionJobRequest request) { + return getNotebookExecutionJobCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NotebookExecutionJob. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) {
+   *   GetNotebookExecutionJobRequest request =
+   *       GetNotebookExecutionJobRequest.newBuilder()
+   *           .setName(
+   *               NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]")
+   *                   .toString())
+   *           .setView(NotebookExecutionJobView.forNumber(0))
+   *           .build();
+   *   ApiFuture future =
+   *       notebookServiceClient.getNotebookExecutionJobCallable().futureCall(request);
+   *   // Do something.
+   *   NotebookExecutionJob response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + getNotebookExecutionJobCallable() { + return stub.getNotebookExecutionJobCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists NotebookExecutionJobs in a Location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   for (NotebookExecutionJob element :
+   *       notebookServiceClient.listNotebookExecutionJobs(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The resource name of the Location from which to list the + * NotebookExecutionJobs. Format: `projects/{project}/locations/{location}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListNotebookExecutionJobsPagedResponse listNotebookExecutionJobs( + LocationName parent) { + ListNotebookExecutionJobsRequest request = + ListNotebookExecutionJobsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listNotebookExecutionJobs(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists NotebookExecutionJobs in a Location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) {
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   for (NotebookExecutionJob element :
+   *       notebookServiceClient.listNotebookExecutionJobs(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The resource name of the Location from which to list the + * NotebookExecutionJobs. Format: `projects/{project}/locations/{location}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListNotebookExecutionJobsPagedResponse listNotebookExecutionJobs(String parent) { + ListNotebookExecutionJobsRequest request = + ListNotebookExecutionJobsRequest.newBuilder().setParent(parent).build(); + return listNotebookExecutionJobs(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists NotebookExecutionJobs in a Location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) {
+   *   ListNotebookExecutionJobsRequest request =
+   *       ListNotebookExecutionJobsRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setView(NotebookExecutionJobView.forNumber(0))
+   *           .build();
+   *   for (NotebookExecutionJob element :
+   *       notebookServiceClient.listNotebookExecutionJobs(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListNotebookExecutionJobsPagedResponse listNotebookExecutionJobs( + ListNotebookExecutionJobsRequest request) { + return listNotebookExecutionJobsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists NotebookExecutionJobs in a Location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) {
+   *   ListNotebookExecutionJobsRequest request =
+   *       ListNotebookExecutionJobsRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setView(NotebookExecutionJobView.forNumber(0))
+   *           .build();
+   *   ApiFuture future =
+   *       notebookServiceClient.listNotebookExecutionJobsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (NotebookExecutionJob element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable< + ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsPagedResponse> + listNotebookExecutionJobsPagedCallable() { + return stub.listNotebookExecutionJobsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists NotebookExecutionJobs in a Location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) {
+   *   ListNotebookExecutionJobsRequest request =
+   *       ListNotebookExecutionJobsRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setView(NotebookExecutionJobView.forNumber(0))
+   *           .build();
+   *   while (true) {
+   *     ListNotebookExecutionJobsResponse response =
+   *         notebookServiceClient.listNotebookExecutionJobsCallable().call(request);
+   *     for (NotebookExecutionJob element : response.getNotebookExecutionJobsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listNotebookExecutionJobsCallable() { + return stub.listNotebookExecutionJobsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a NotebookExecutionJob. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) {
+   *   NotebookExecutionJobName name =
+   *       NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]");
+   *   notebookServiceClient.deleteNotebookExecutionJobAsync(name).get();
+   * }
+   * }
+ * + * @param name Required. The name of the NotebookExecutionJob resource to be deleted. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deleteNotebookExecutionJobAsync( + NotebookExecutionJobName name) { + DeleteNotebookExecutionJobRequest request = + DeleteNotebookExecutionJobRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return deleteNotebookExecutionJobAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a NotebookExecutionJob. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) {
+   *   String name =
+   *       NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]")
+   *           .toString();
+   *   notebookServiceClient.deleteNotebookExecutionJobAsync(name).get();
+   * }
+   * }
+ * + * @param name Required. The name of the NotebookExecutionJob resource to be deleted. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deleteNotebookExecutionJobAsync( + String name) { + DeleteNotebookExecutionJobRequest request = + DeleteNotebookExecutionJobRequest.newBuilder().setName(name).build(); + return deleteNotebookExecutionJobAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a NotebookExecutionJob. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) {
+   *   DeleteNotebookExecutionJobRequest request =
+   *       DeleteNotebookExecutionJobRequest.newBuilder()
+   *           .setName(
+   *               NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]")
+   *                   .toString())
+   *           .build();
+   *   notebookServiceClient.deleteNotebookExecutionJobAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deleteNotebookExecutionJobAsync( + DeleteNotebookExecutionJobRequest request) { + return deleteNotebookExecutionJobOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a NotebookExecutionJob. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) {
+   *   DeleteNotebookExecutionJobRequest request =
+   *       DeleteNotebookExecutionJobRequest.newBuilder()
+   *           .setName(
+   *               NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]")
+   *                   .toString())
+   *           .build();
+   *   OperationFuture future =
+   *       notebookServiceClient.deleteNotebookExecutionJobOperationCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final OperationCallable + deleteNotebookExecutionJobOperationCallable() { + return stub.deleteNotebookExecutionJobOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a NotebookExecutionJob. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) {
+   *   DeleteNotebookExecutionJobRequest request =
+   *       DeleteNotebookExecutionJobRequest.newBuilder()
+   *           .setName(
+   *               NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]")
+   *                   .toString())
+   *           .build();
+   *   ApiFuture future =
+   *       notebookServiceClient.deleteNotebookExecutionJobCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + deleteNotebookExecutionJobCallable() { + return stub.deleteNotebookExecutionJobCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Lists information about the supported locations for this service. @@ -2808,6 +3326,102 @@ protected ListNotebookRuntimesFixedSizeCollection createCollection( } } + public static class ListNotebookExecutionJobsPagedResponse + extends AbstractPagedListResponse< + ListNotebookExecutionJobsRequest, + ListNotebookExecutionJobsResponse, + NotebookExecutionJob, + ListNotebookExecutionJobsPage, + ListNotebookExecutionJobsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext< + ListNotebookExecutionJobsRequest, + ListNotebookExecutionJobsResponse, + NotebookExecutionJob> + context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListNotebookExecutionJobsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListNotebookExecutionJobsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListNotebookExecutionJobsPagedResponse(ListNotebookExecutionJobsPage page) { + super(page, ListNotebookExecutionJobsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListNotebookExecutionJobsPage + extends AbstractPage< + ListNotebookExecutionJobsRequest, + ListNotebookExecutionJobsResponse, + NotebookExecutionJob, + ListNotebookExecutionJobsPage> { + + private ListNotebookExecutionJobsPage( + PageContext< + ListNotebookExecutionJobsRequest, + ListNotebookExecutionJobsResponse, + NotebookExecutionJob> + context, + ListNotebookExecutionJobsResponse response) { + super(context, response); + } + + private static ListNotebookExecutionJobsPage createEmptyPage() { + return new ListNotebookExecutionJobsPage(null, null); + } + + @Override + protected ListNotebookExecutionJobsPage createPage( + PageContext< + ListNotebookExecutionJobsRequest, + ListNotebookExecutionJobsResponse, + NotebookExecutionJob> + context, + ListNotebookExecutionJobsResponse response) { + return new ListNotebookExecutionJobsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext< + ListNotebookExecutionJobsRequest, + ListNotebookExecutionJobsResponse, + NotebookExecutionJob> + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListNotebookExecutionJobsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListNotebookExecutionJobsRequest, + ListNotebookExecutionJobsResponse, + NotebookExecutionJob, + ListNotebookExecutionJobsPage, + ListNotebookExecutionJobsFixedSizeCollection> { + + private ListNotebookExecutionJobsFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListNotebookExecutionJobsFixedSizeCollection createEmptyCollection() { + return new ListNotebookExecutionJobsFixedSizeCollection(null, 0); + } + + @Override + protected ListNotebookExecutionJobsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListNotebookExecutionJobsFixedSizeCollection(pages, collectionSize); + } + } + public static class ListLocationsPagedResponse extends AbstractPagedListResponse< ListLocationsRequest, diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceSettings.java index 776c3bdb1af4..215a80c78b78 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceSettings.java @@ -17,6 +17,7 @@ package com.google.cloud.aiplatform.v1beta1; import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListLocationsPagedResponse; +import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookExecutionJobsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookRuntimeTemplatesPagedResponse; import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookRuntimesPagedResponse; @@ -208,6 +209,34 @@ public UnaryCallSettings startNotebookRu .startNotebookRuntimeOperationSettings(); } + /** Returns the object with the settings used for calls to getNotebookExecutionJob. */ + public UnaryCallSettings + getNotebookExecutionJobSettings() { + return ((NotebookServiceStubSettings) getStubSettings()).getNotebookExecutionJobSettings(); + } + + /** Returns the object with the settings used for calls to listNotebookExecutionJobs. */ + public PagedCallSettings< + ListNotebookExecutionJobsRequest, + ListNotebookExecutionJobsResponse, + ListNotebookExecutionJobsPagedResponse> + listNotebookExecutionJobsSettings() { + return ((NotebookServiceStubSettings) getStubSettings()).listNotebookExecutionJobsSettings(); + } + + /** Returns the object with the settings used for calls to deleteNotebookExecutionJob. */ + public UnaryCallSettings + deleteNotebookExecutionJobSettings() { + return ((NotebookServiceStubSettings) getStubSettings()).deleteNotebookExecutionJobSettings(); + } + + /** Returns the object with the settings used for calls to deleteNotebookExecutionJob. */ + public OperationCallSettings + deleteNotebookExecutionJobOperationSettings() { + return ((NotebookServiceStubSettings) getStubSettings()) + .deleteNotebookExecutionJobOperationSettings(); + } + /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { @@ -445,6 +474,34 @@ public Builder applyToAllUnaryMethods( return getStubSettingsBuilder().startNotebookRuntimeOperationSettings(); } + /** Returns the builder for the settings used for calls to getNotebookExecutionJob. */ + public UnaryCallSettings.Builder + getNotebookExecutionJobSettings() { + return getStubSettingsBuilder().getNotebookExecutionJobSettings(); + } + + /** Returns the builder for the settings used for calls to listNotebookExecutionJobs. */ + public PagedCallSettings.Builder< + ListNotebookExecutionJobsRequest, + ListNotebookExecutionJobsResponse, + ListNotebookExecutionJobsPagedResponse> + listNotebookExecutionJobsSettings() { + return getStubSettingsBuilder().listNotebookExecutionJobsSettings(); + } + + /** Returns the builder for the settings used for calls to deleteNotebookExecutionJob. */ + public UnaryCallSettings.Builder + deleteNotebookExecutionJobSettings() { + return getStubSettingsBuilder().deleteNotebookExecutionJobSettings(); + } + + /** Returns the builder for the settings used for calls to deleteNotebookExecutionJob. */ + public OperationCallSettings.Builder< + DeleteNotebookExecutionJobRequest, Empty, DeleteOperationMetadata> + deleteNotebookExecutionJobOperationSettings() { + return getStubSettingsBuilder().deleteNotebookExecutionJobOperationSettings(); + } + /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json index c53c84dfb8f8..a2535e268cd5 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json @@ -1141,6 +1141,9 @@ "CreateNotebookRuntimeTemplate": { "methods": ["createNotebookRuntimeTemplateAsync", "createNotebookRuntimeTemplateAsync", "createNotebookRuntimeTemplateAsync", "createNotebookRuntimeTemplateOperationCallable", "createNotebookRuntimeTemplateCallable"] }, + "DeleteNotebookExecutionJob": { + "methods": ["deleteNotebookExecutionJobAsync", "deleteNotebookExecutionJobAsync", "deleteNotebookExecutionJobAsync", "deleteNotebookExecutionJobOperationCallable", "deleteNotebookExecutionJobCallable"] + }, "DeleteNotebookRuntime": { "methods": ["deleteNotebookRuntimeAsync", "deleteNotebookRuntimeAsync", "deleteNotebookRuntimeAsync", "deleteNotebookRuntimeOperationCallable", "deleteNotebookRuntimeCallable"] }, @@ -1153,6 +1156,9 @@ "GetLocation": { "methods": ["getLocation", "getLocationCallable"] }, + "GetNotebookExecutionJob": { + "methods": ["getNotebookExecutionJob", "getNotebookExecutionJob", "getNotebookExecutionJob", "getNotebookExecutionJobCallable"] + }, "GetNotebookRuntime": { "methods": ["getNotebookRuntime", "getNotebookRuntime", "getNotebookRuntime", "getNotebookRuntimeCallable"] }, @@ -1162,6 +1168,9 @@ "ListLocations": { "methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"] }, + "ListNotebookExecutionJobs": { + "methods": ["listNotebookExecutionJobs", "listNotebookExecutionJobs", "listNotebookExecutionJobs", "listNotebookExecutionJobsPagedCallable", "listNotebookExecutionJobsCallable"] + }, "ListNotebookRuntimeTemplates": { "methods": ["listNotebookRuntimeTemplates", "listNotebookRuntimeTemplates", "listNotebookRuntimeTemplates", "listNotebookRuntimeTemplatesPagedCallable", "listNotebookRuntimeTemplatesCallable"] }, diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcNotebookServiceStub.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcNotebookServiceStub.java index 80974944ed62..09951a52a945 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcNotebookServiceStub.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcNotebookServiceStub.java @@ -17,6 +17,7 @@ package com.google.cloud.aiplatform.v1beta1.stub; import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListLocationsPagedResponse; +import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookExecutionJobsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookRuntimeTemplatesPagedResponse; import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookRuntimesPagedResponse; @@ -33,15 +34,20 @@ import com.google.cloud.aiplatform.v1beta1.AssignNotebookRuntimeRequest; import com.google.cloud.aiplatform.v1beta1.CreateNotebookRuntimeTemplateOperationMetadata; import com.google.cloud.aiplatform.v1beta1.CreateNotebookRuntimeTemplateRequest; +import com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest; import com.google.cloud.aiplatform.v1beta1.DeleteNotebookRuntimeRequest; import com.google.cloud.aiplatform.v1beta1.DeleteNotebookRuntimeTemplateRequest; import com.google.cloud.aiplatform.v1beta1.DeleteOperationMetadata; +import com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest; import com.google.cloud.aiplatform.v1beta1.GetNotebookRuntimeRequest; import com.google.cloud.aiplatform.v1beta1.GetNotebookRuntimeTemplateRequest; +import com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest; +import com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse; import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimeTemplatesRequest; import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimeTemplatesResponse; import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimesRequest; import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimesResponse; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob; import com.google.cloud.aiplatform.v1beta1.NotebookRuntime; import com.google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate; import com.google.cloud.aiplatform.v1beta1.StartNotebookRuntimeOperationMetadata; @@ -193,6 +199,43 @@ public class GrpcNotebookServiceStub extends NotebookServiceStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor + getNotebookExecutionJobMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.aiplatform.v1beta1.NotebookService/GetNotebookExecutionJob") + .setRequestMarshaller( + ProtoUtils.marshaller(GetNotebookExecutionJobRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(NotebookExecutionJob.getDefaultInstance())) + .build(); + + private static final MethodDescriptor< + ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsResponse> + listNotebookExecutionJobsMethodDescriptor = + MethodDescriptor + .newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.aiplatform.v1beta1.NotebookService/ListNotebookExecutionJobs") + .setRequestMarshaller( + ProtoUtils.marshaller(ListNotebookExecutionJobsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListNotebookExecutionJobsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deleteNotebookExecutionJobMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.aiplatform.v1beta1.NotebookService/DeleteNotebookExecutionJob") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteNotebookExecutionJobRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + private static final MethodDescriptor listLocationsMethodDescriptor = MethodDescriptor.newBuilder() @@ -287,6 +330,17 @@ public class GrpcNotebookServiceStub extends NotebookServiceStub { StartNotebookRuntimeResponse, StartNotebookRuntimeOperationMetadata> startNotebookRuntimeOperationCallable; + private final UnaryCallable + getNotebookExecutionJobCallable; + private final UnaryCallable + listNotebookExecutionJobsCallable; + private final UnaryCallable< + ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsPagedResponse> + listNotebookExecutionJobsPagedCallable; + private final UnaryCallable + deleteNotebookExecutionJobCallable; + private final OperationCallable + deleteNotebookExecutionJobOperationCallable; private final UnaryCallable listLocationsCallable; private final UnaryCallable listLocationsPagedCallable; @@ -452,6 +506,40 @@ protected GrpcNotebookServiceStub( return builder.build(); }) .build(); + GrpcCallSettings + getNotebookExecutionJobTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getNotebookExecutionJobMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings + listNotebookExecutionJobsTransportSettings = + GrpcCallSettings + .newBuilder() + .setMethodDescriptor(listNotebookExecutionJobsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings + deleteNotebookExecutionJobTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteNotebookExecutionJobMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); GrpcCallSettings listLocationsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listLocationsMethodDescriptor) @@ -600,6 +688,32 @@ protected GrpcNotebookServiceStub( settings.startNotebookRuntimeOperationSettings(), clientContext, operationsStub); + this.getNotebookExecutionJobCallable = + callableFactory.createUnaryCallable( + getNotebookExecutionJobTransportSettings, + settings.getNotebookExecutionJobSettings(), + clientContext); + this.listNotebookExecutionJobsCallable = + callableFactory.createUnaryCallable( + listNotebookExecutionJobsTransportSettings, + settings.listNotebookExecutionJobsSettings(), + clientContext); + this.listNotebookExecutionJobsPagedCallable = + callableFactory.createPagedCallable( + listNotebookExecutionJobsTransportSettings, + settings.listNotebookExecutionJobsSettings(), + clientContext); + this.deleteNotebookExecutionJobCallable = + callableFactory.createUnaryCallable( + deleteNotebookExecutionJobTransportSettings, + settings.deleteNotebookExecutionJobSettings(), + clientContext); + this.deleteNotebookExecutionJobOperationCallable = + callableFactory.createOperationCallable( + deleteNotebookExecutionJobTransportSettings, + settings.deleteNotebookExecutionJobOperationSettings(), + clientContext, + operationsStub); this.listLocationsCallable = callableFactory.createUnaryCallable( listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); @@ -743,6 +857,36 @@ public UnaryCallable startNotebookRuntim return startNotebookRuntimeOperationCallable; } + @Override + public UnaryCallable + getNotebookExecutionJobCallable() { + return getNotebookExecutionJobCallable; + } + + @Override + public UnaryCallable + listNotebookExecutionJobsCallable() { + return listNotebookExecutionJobsCallable; + } + + @Override + public UnaryCallable + listNotebookExecutionJobsPagedCallable() { + return listNotebookExecutionJobsPagedCallable; + } + + @Override + public UnaryCallable + deleteNotebookExecutionJobCallable() { + return deleteNotebookExecutionJobCallable; + } + + @Override + public OperationCallable + deleteNotebookExecutionJobOperationCallable() { + return deleteNotebookExecutionJobOperationCallable; + } + @Override public UnaryCallable listLocationsCallable() { return listLocationsCallable; diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/NotebookServiceStub.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/NotebookServiceStub.java index 9f484224927a..ec6de1c87b3e 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/NotebookServiceStub.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/NotebookServiceStub.java @@ -17,6 +17,7 @@ package com.google.cloud.aiplatform.v1beta1.stub; import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListLocationsPagedResponse; +import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookExecutionJobsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookRuntimeTemplatesPagedResponse; import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookRuntimesPagedResponse; @@ -28,15 +29,20 @@ import com.google.cloud.aiplatform.v1beta1.AssignNotebookRuntimeRequest; import com.google.cloud.aiplatform.v1beta1.CreateNotebookRuntimeTemplateOperationMetadata; import com.google.cloud.aiplatform.v1beta1.CreateNotebookRuntimeTemplateRequest; +import com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest; import com.google.cloud.aiplatform.v1beta1.DeleteNotebookRuntimeRequest; import com.google.cloud.aiplatform.v1beta1.DeleteNotebookRuntimeTemplateRequest; import com.google.cloud.aiplatform.v1beta1.DeleteOperationMetadata; +import com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest; import com.google.cloud.aiplatform.v1beta1.GetNotebookRuntimeRequest; import com.google.cloud.aiplatform.v1beta1.GetNotebookRuntimeTemplateRequest; +import com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest; +import com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse; import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimeTemplatesRequest; import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimeTemplatesResponse; import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimesRequest; import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimesResponse; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob; import com.google.cloud.aiplatform.v1beta1.NotebookRuntime; import com.google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate; import com.google.cloud.aiplatform.v1beta1.StartNotebookRuntimeOperationMetadata; @@ -180,6 +186,34 @@ public UnaryCallable startNotebookRuntim throw new UnsupportedOperationException("Not implemented: startNotebookRuntimeCallable()"); } + public UnaryCallable + getNotebookExecutionJobCallable() { + throw new UnsupportedOperationException("Not implemented: getNotebookExecutionJobCallable()"); + } + + public UnaryCallable + listNotebookExecutionJobsPagedCallable() { + throw new UnsupportedOperationException( + "Not implemented: listNotebookExecutionJobsPagedCallable()"); + } + + public UnaryCallable + listNotebookExecutionJobsCallable() { + throw new UnsupportedOperationException("Not implemented: listNotebookExecutionJobsCallable()"); + } + + public OperationCallable + deleteNotebookExecutionJobOperationCallable() { + throw new UnsupportedOperationException( + "Not implemented: deleteNotebookExecutionJobOperationCallable()"); + } + + public UnaryCallable + deleteNotebookExecutionJobCallable() { + throw new UnsupportedOperationException( + "Not implemented: deleteNotebookExecutionJobCallable()"); + } + public UnaryCallable listLocationsPagedCallable() { throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/NotebookServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/NotebookServiceStubSettings.java index 4bdc5c2ab05f..e94567132357 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/NotebookServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/NotebookServiceStubSettings.java @@ -17,6 +17,7 @@ package com.google.cloud.aiplatform.v1beta1.stub; import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListLocationsPagedResponse; +import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookExecutionJobsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookRuntimeTemplatesPagedResponse; import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookRuntimesPagedResponse; @@ -50,15 +51,20 @@ import com.google.cloud.aiplatform.v1beta1.AssignNotebookRuntimeRequest; import com.google.cloud.aiplatform.v1beta1.CreateNotebookRuntimeTemplateOperationMetadata; import com.google.cloud.aiplatform.v1beta1.CreateNotebookRuntimeTemplateRequest; +import com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest; import com.google.cloud.aiplatform.v1beta1.DeleteNotebookRuntimeRequest; import com.google.cloud.aiplatform.v1beta1.DeleteNotebookRuntimeTemplateRequest; import com.google.cloud.aiplatform.v1beta1.DeleteOperationMetadata; +import com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest; import com.google.cloud.aiplatform.v1beta1.GetNotebookRuntimeRequest; import com.google.cloud.aiplatform.v1beta1.GetNotebookRuntimeTemplateRequest; +import com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest; +import com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse; import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimeTemplatesRequest; import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimeTemplatesResponse; import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimesRequest; import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimesResponse; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob; import com.google.cloud.aiplatform.v1beta1.NotebookRuntime; import com.google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate; import com.google.cloud.aiplatform.v1beta1.StartNotebookRuntimeOperationMetadata; @@ -180,6 +186,18 @@ public class NotebookServiceStubSettings extends StubSettings startNotebookRuntimeOperationSettings; + private final UnaryCallSettings + getNotebookExecutionJobSettings; + private final PagedCallSettings< + ListNotebookExecutionJobsRequest, + ListNotebookExecutionJobsResponse, + ListNotebookExecutionJobsPagedResponse> + listNotebookExecutionJobsSettings; + private final UnaryCallSettings + deleteNotebookExecutionJobSettings; + private final OperationCallSettings< + DeleteNotebookExecutionJobRequest, Empty, DeleteOperationMetadata> + deleteNotebookExecutionJobOperationSettings; private final PagedCallSettings< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings; @@ -279,6 +297,53 @@ public Iterable extractResources( } }; + private static final PagedListDescriptor< + ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsResponse, NotebookExecutionJob> + LIST_NOTEBOOK_EXECUTION_JOBS_PAGE_STR_DESC = + new PagedListDescriptor< + ListNotebookExecutionJobsRequest, + ListNotebookExecutionJobsResponse, + NotebookExecutionJob>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListNotebookExecutionJobsRequest injectToken( + ListNotebookExecutionJobsRequest payload, String token) { + return ListNotebookExecutionJobsRequest.newBuilder(payload) + .setPageToken(token) + .build(); + } + + @Override + public ListNotebookExecutionJobsRequest injectPageSize( + ListNotebookExecutionJobsRequest payload, int pageSize) { + return ListNotebookExecutionJobsRequest.newBuilder(payload) + .setPageSize(pageSize) + .build(); + } + + @Override + public Integer extractPageSize(ListNotebookExecutionJobsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListNotebookExecutionJobsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources( + ListNotebookExecutionJobsResponse payload) { + return payload.getNotebookExecutionJobsList() == null + ? ImmutableList.of() + : payload.getNotebookExecutionJobsList(); + } + }; + private static final PagedListDescriptor LIST_LOCATIONS_PAGE_STR_DESC = new PagedListDescriptor() { @@ -371,6 +436,34 @@ public ApiFuture getFuturePagedResponse( } }; + private static final PagedListResponseFactory< + ListNotebookExecutionJobsRequest, + ListNotebookExecutionJobsResponse, + ListNotebookExecutionJobsPagedResponse> + LIST_NOTEBOOK_EXECUTION_JOBS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListNotebookExecutionJobsRequest, + ListNotebookExecutionJobsResponse, + ListNotebookExecutionJobsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable + callable, + ListNotebookExecutionJobsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext< + ListNotebookExecutionJobsRequest, + ListNotebookExecutionJobsResponse, + NotebookExecutionJob> + pageContext = + PageContext.create( + callable, LIST_NOTEBOOK_EXECUTION_JOBS_PAGE_STR_DESC, request, context); + return ListNotebookExecutionJobsPagedResponse.createAsync( + pageContext, futureResponse); + } + }; + private static final PagedListResponseFactory< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> LIST_LOCATIONS_PAGE_STR_FACT = @@ -499,6 +592,33 @@ public UnaryCallSettings startNotebookRu return startNotebookRuntimeOperationSettings; } + /** Returns the object with the settings used for calls to getNotebookExecutionJob. */ + public UnaryCallSettings + getNotebookExecutionJobSettings() { + return getNotebookExecutionJobSettings; + } + + /** Returns the object with the settings used for calls to listNotebookExecutionJobs. */ + public PagedCallSettings< + ListNotebookExecutionJobsRequest, + ListNotebookExecutionJobsResponse, + ListNotebookExecutionJobsPagedResponse> + listNotebookExecutionJobsSettings() { + return listNotebookExecutionJobsSettings; + } + + /** Returns the object with the settings used for calls to deleteNotebookExecutionJob. */ + public UnaryCallSettings + deleteNotebookExecutionJobSettings() { + return deleteNotebookExecutionJobSettings; + } + + /** Returns the object with the settings used for calls to deleteNotebookExecutionJob. */ + public OperationCallSettings + deleteNotebookExecutionJobOperationSettings() { + return deleteNotebookExecutionJobOperationSettings; + } + /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { @@ -632,6 +752,12 @@ protected NotebookServiceStubSettings(Builder settingsBuilder) throws IOExceptio startNotebookRuntimeSettings = settingsBuilder.startNotebookRuntimeSettings().build(); startNotebookRuntimeOperationSettings = settingsBuilder.startNotebookRuntimeOperationSettings().build(); + getNotebookExecutionJobSettings = settingsBuilder.getNotebookExecutionJobSettings().build(); + listNotebookExecutionJobsSettings = settingsBuilder.listNotebookExecutionJobsSettings().build(); + deleteNotebookExecutionJobSettings = + settingsBuilder.deleteNotebookExecutionJobSettings().build(); + deleteNotebookExecutionJobOperationSettings = + settingsBuilder.deleteNotebookExecutionJobOperationSettings().build(); listLocationsSettings = settingsBuilder.listLocationsSettings().build(); getLocationSettings = settingsBuilder.getLocationSettings().build(); setIamPolicySettings = settingsBuilder.setIamPolicySettings().build(); @@ -693,6 +819,18 @@ public static class Builder extends StubSettings.Builder startNotebookRuntimeOperationSettings; + private final UnaryCallSettings.Builder + getNotebookExecutionJobSettings; + private final PagedCallSettings.Builder< + ListNotebookExecutionJobsRequest, + ListNotebookExecutionJobsResponse, + ListNotebookExecutionJobsPagedResponse> + listNotebookExecutionJobsSettings; + private final UnaryCallSettings.Builder + deleteNotebookExecutionJobSettings; + private final OperationCallSettings.Builder< + DeleteNotebookExecutionJobRequest, Empty, DeleteOperationMetadata> + deleteNotebookExecutionJobOperationSettings; private final PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings; @@ -746,6 +884,11 @@ protected Builder(ClientContext clientContext) { upgradeNotebookRuntimeOperationSettings = OperationCallSettings.newBuilder(); startNotebookRuntimeSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); startNotebookRuntimeOperationSettings = OperationCallSettings.newBuilder(); + getNotebookExecutionJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listNotebookExecutionJobsSettings = + PagedCallSettings.newBuilder(LIST_NOTEBOOK_EXECUTION_JOBS_PAGE_STR_FACT); + deleteNotebookExecutionJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteNotebookExecutionJobOperationSettings = OperationCallSettings.newBuilder(); listLocationsSettings = PagedCallSettings.newBuilder(LIST_LOCATIONS_PAGE_STR_FACT); getLocationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); setIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -764,6 +907,9 @@ protected Builder(ClientContext clientContext) { deleteNotebookRuntimeSettings, upgradeNotebookRuntimeSettings, startNotebookRuntimeSettings, + getNotebookExecutionJobSettings, + listNotebookExecutionJobsSettings, + deleteNotebookExecutionJobSettings, listLocationsSettings, getLocationSettings, setIamPolicySettings, @@ -800,6 +946,11 @@ protected Builder(NotebookServiceStubSettings settings) { startNotebookRuntimeSettings = settings.startNotebookRuntimeSettings.toBuilder(); startNotebookRuntimeOperationSettings = settings.startNotebookRuntimeOperationSettings.toBuilder(); + getNotebookExecutionJobSettings = settings.getNotebookExecutionJobSettings.toBuilder(); + listNotebookExecutionJobsSettings = settings.listNotebookExecutionJobsSettings.toBuilder(); + deleteNotebookExecutionJobSettings = settings.deleteNotebookExecutionJobSettings.toBuilder(); + deleteNotebookExecutionJobOperationSettings = + settings.deleteNotebookExecutionJobOperationSettings.toBuilder(); listLocationsSettings = settings.listLocationsSettings.toBuilder(); getLocationSettings = settings.getLocationSettings.toBuilder(); setIamPolicySettings = settings.setIamPolicySettings.toBuilder(); @@ -818,6 +969,9 @@ protected Builder(NotebookServiceStubSettings settings) { deleteNotebookRuntimeSettings, upgradeNotebookRuntimeSettings, startNotebookRuntimeSettings, + getNotebookExecutionJobSettings, + listNotebookExecutionJobsSettings, + deleteNotebookExecutionJobSettings, listLocationsSettings, getLocationSettings, setIamPolicySettings, @@ -888,6 +1042,21 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder + .getNotebookExecutionJobSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .listNotebookExecutionJobsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .deleteNotebookExecutionJobSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder .listLocationsSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) @@ -1065,6 +1234,31 @@ private static Builder initDefaults(Builder builder) { .setTotalTimeout(Duration.ofMillis(300000L)) .build())); + builder + .deleteNotebookExecutionJobOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + . + newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Empty.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(DeleteOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + return builder; } @@ -1197,6 +1391,34 @@ public Builder applyToAllUnaryMethods( return startNotebookRuntimeOperationSettings; } + /** Returns the builder for the settings used for calls to getNotebookExecutionJob. */ + public UnaryCallSettings.Builder + getNotebookExecutionJobSettings() { + return getNotebookExecutionJobSettings; + } + + /** Returns the builder for the settings used for calls to listNotebookExecutionJobs. */ + public PagedCallSettings.Builder< + ListNotebookExecutionJobsRequest, + ListNotebookExecutionJobsResponse, + ListNotebookExecutionJobsPagedResponse> + listNotebookExecutionJobsSettings() { + return listNotebookExecutionJobsSettings; + } + + /** Returns the builder for the settings used for calls to deleteNotebookExecutionJob. */ + public UnaryCallSettings.Builder + deleteNotebookExecutionJobSettings() { + return deleteNotebookExecutionJobSettings; + } + + /** Returns the builder for the settings used for calls to deleteNotebookExecutionJob. */ + public OperationCallSettings.Builder< + DeleteNotebookExecutionJobRequest, Empty, DeleteOperationMetadata> + deleteNotebookExecutionJobOperationSettings() { + return deleteNotebookExecutionJobOperationSettings; + } + /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json b/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json index 968ba60803a0..5d71cf3c1fd3 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json +++ b/java-aiplatform/google-cloud-aiplatform/src/main/resources/META-INF/native-image/com.google.cloud.aiplatform.v1beta1/reflect-config.json @@ -4067,6 +4067,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1beta1.DeleteNotebookRuntimeRequest", "queryAllDeclaredConstructors": true, @@ -7955,6 +7973,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1beta1.GetNotebookRuntimeRequest", "queryAllDeclaredConstructors": true, @@ -10277,6 +10313,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimeTemplatesRequest", "queryAllDeclaredConstructors": true, @@ -13193,6 +13265,69 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob$DataformRepositorySource", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob$DataformRepositorySource$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob$GcsNotebookSource", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob$GcsNotebookSource$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.aiplatform.v1beta1.NotebookIdleShutdownConfig", "queryAllDeclaredConstructors": true, diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockNotebookServiceImpl.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockNotebookServiceImpl.java index 54dbe76956d8..769e3e3941df 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockNotebookServiceImpl.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockNotebookServiceImpl.java @@ -271,4 +271,69 @@ public void startNotebookRuntime( Exception.class.getName()))); } } + + @Override + public void getNotebookExecutionJob( + GetNotebookExecutionJobRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof NotebookExecutionJob) { + requests.add(request); + responseObserver.onNext(((NotebookExecutionJob) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetNotebookExecutionJob, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + NotebookExecutionJob.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listNotebookExecutionJobs( + ListNotebookExecutionJobsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListNotebookExecutionJobsResponse) { + requests.add(request); + responseObserver.onNext(((ListNotebookExecutionJobsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListNotebookExecutionJobs, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListNotebookExecutionJobsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteNotebookExecutionJob( + DeleteNotebookExecutionJobRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteNotebookExecutionJob, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceClientTest.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceClientTest.java index dd7b1b7ac4d2..27759eded595 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceClientTest.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceClientTest.java @@ -17,6 +17,7 @@ package com.google.cloud.aiplatform.v1beta1; import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListLocationsPagedResponse; +import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookExecutionJobsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookRuntimeTemplatesPagedResponse; import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookRuntimesPagedResponse; @@ -45,9 +46,11 @@ import com.google.protobuf.AbstractMessage; import com.google.protobuf.Any; import com.google.protobuf.ByteString; +import com.google.protobuf.Duration; import com.google.protobuf.Empty; import com.google.protobuf.FieldMask; import com.google.protobuf.Timestamp; +import com.google.rpc.Status; import io.grpc.StatusRuntimeException; import java.io.IOException; import java.util.ArrayList; @@ -1355,6 +1358,286 @@ public void startNotebookRuntimeExceptionTest2() throws Exception { } } + @Test + public void getNotebookExecutionJobTest() throws Exception { + NotebookExecutionJob expectedResponse = + NotebookExecutionJob.newBuilder() + .setName( + NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]") + .toString()) + .setDisplayName("displayName1714148973") + .setExecutionTimeout(Duration.newBuilder().build()) + .setScheduleResourceName( + ScheduleName.of("[PROJECT]", "[LOCATION]", "[SCHEDULE]").toString()) + .setJobState(JobState.forNumber(0)) + .setStatus(Status.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockNotebookService.addResponse(expectedResponse); + + NotebookExecutionJobName name = + NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]"); + + NotebookExecutionJob actualResponse = client.getNotebookExecutionJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockNotebookService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetNotebookExecutionJobRequest actualRequest = + ((GetNotebookExecutionJobRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getNotebookExecutionJobExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockNotebookService.addException(exception); + + try { + NotebookExecutionJobName name = + NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]"); + client.getNotebookExecutionJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getNotebookExecutionJobTest2() throws Exception { + NotebookExecutionJob expectedResponse = + NotebookExecutionJob.newBuilder() + .setName( + NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]") + .toString()) + .setDisplayName("displayName1714148973") + .setExecutionTimeout(Duration.newBuilder().build()) + .setScheduleResourceName( + ScheduleName.of("[PROJECT]", "[LOCATION]", "[SCHEDULE]").toString()) + .setJobState(JobState.forNumber(0)) + .setStatus(Status.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockNotebookService.addResponse(expectedResponse); + + String name = "name3373707"; + + NotebookExecutionJob actualResponse = client.getNotebookExecutionJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockNotebookService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetNotebookExecutionJobRequest actualRequest = + ((GetNotebookExecutionJobRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getNotebookExecutionJobExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockNotebookService.addException(exception); + + try { + String name = "name3373707"; + client.getNotebookExecutionJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listNotebookExecutionJobsTest() throws Exception { + NotebookExecutionJob responsesElement = NotebookExecutionJob.newBuilder().build(); + ListNotebookExecutionJobsResponse expectedResponse = + ListNotebookExecutionJobsResponse.newBuilder() + .setNextPageToken("") + .addAllNotebookExecutionJobs(Arrays.asList(responsesElement)) + .build(); + mockNotebookService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListNotebookExecutionJobsPagedResponse pagedListResponse = + client.listNotebookExecutionJobs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getNotebookExecutionJobsList().get(0), resources.get(0)); + + List actualRequests = mockNotebookService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListNotebookExecutionJobsRequest actualRequest = + ((ListNotebookExecutionJobsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listNotebookExecutionJobsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockNotebookService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listNotebookExecutionJobs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listNotebookExecutionJobsTest2() throws Exception { + NotebookExecutionJob responsesElement = NotebookExecutionJob.newBuilder().build(); + ListNotebookExecutionJobsResponse expectedResponse = + ListNotebookExecutionJobsResponse.newBuilder() + .setNextPageToken("") + .addAllNotebookExecutionJobs(Arrays.asList(responsesElement)) + .build(); + mockNotebookService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListNotebookExecutionJobsPagedResponse pagedListResponse = + client.listNotebookExecutionJobs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getNotebookExecutionJobsList().get(0), resources.get(0)); + + List actualRequests = mockNotebookService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListNotebookExecutionJobsRequest actualRequest = + ((ListNotebookExecutionJobsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listNotebookExecutionJobsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockNotebookService.addException(exception); + + try { + String parent = "parent-995424086"; + client.listNotebookExecutionJobs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteNotebookExecutionJobTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteNotebookExecutionJobTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockNotebookService.addResponse(resultOperation); + + NotebookExecutionJobName name = + NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]"); + + client.deleteNotebookExecutionJobAsync(name).get(); + + List actualRequests = mockNotebookService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteNotebookExecutionJobRequest actualRequest = + ((DeleteNotebookExecutionJobRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteNotebookExecutionJobExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockNotebookService.addException(exception); + + try { + NotebookExecutionJobName name = + NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]"); + client.deleteNotebookExecutionJobAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deleteNotebookExecutionJobTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteNotebookExecutionJobTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockNotebookService.addResponse(resultOperation); + + String name = "name3373707"; + + client.deleteNotebookExecutionJobAsync(name).get(); + + List actualRequests = mockNotebookService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteNotebookExecutionJobRequest actualRequest = + ((DeleteNotebookExecutionJobRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteNotebookExecutionJobExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockNotebookService.addException(exception); + + try { + String name = "name3373707"; + client.deleteNotebookExecutionJobAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + @Test public void listLocationsTest() throws Exception { Location responsesElement = Location.newBuilder().build(); diff --git a/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceGrpc.java b/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceGrpc.java index c2d8be3da1a4..90c975345d9c 100644 --- a/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceGrpc.java +++ b/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceGrpc.java @@ -539,6 +539,160 @@ private NotebookServiceGrpc() {} return getStartNotebookRuntimeMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob> + getGetNotebookExecutionJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetNotebookExecutionJob", + requestType = com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest.class, + responseType = com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob> + getGetNotebookExecutionJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob> + getGetNotebookExecutionJobMethod; + if ((getGetNotebookExecutionJobMethod = NotebookServiceGrpc.getGetNotebookExecutionJobMethod) + == null) { + synchronized (NotebookServiceGrpc.class) { + if ((getGetNotebookExecutionJobMethod = + NotebookServiceGrpc.getGetNotebookExecutionJobMethod) + == null) { + NotebookServiceGrpc.getGetNotebookExecutionJobMethod = + getGetNotebookExecutionJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetNotebookExecutionJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob + .getDefaultInstance())) + .setSchemaDescriptor( + new NotebookServiceMethodDescriptorSupplier("GetNotebookExecutionJob")) + .build(); + } + } + } + return getGetNotebookExecutionJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest, + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse> + getListNotebookExecutionJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListNotebookExecutionJobs", + requestType = com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest.class, + responseType = com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest, + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse> + getListNotebookExecutionJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest, + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse> + getListNotebookExecutionJobsMethod; + if ((getListNotebookExecutionJobsMethod = + NotebookServiceGrpc.getListNotebookExecutionJobsMethod) + == null) { + synchronized (NotebookServiceGrpc.class) { + if ((getListNotebookExecutionJobsMethod = + NotebookServiceGrpc.getListNotebookExecutionJobsMethod) + == null) { + NotebookServiceGrpc.getListNotebookExecutionJobsMethod = + getListNotebookExecutionJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListNotebookExecutionJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new NotebookServiceMethodDescriptorSupplier("ListNotebookExecutionJobs")) + .build(); + } + } + } + return getListNotebookExecutionJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest, + com.google.longrunning.Operation> + getDeleteNotebookExecutionJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteNotebookExecutionJob", + requestType = com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest, + com.google.longrunning.Operation> + getDeleteNotebookExecutionJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest, + com.google.longrunning.Operation> + getDeleteNotebookExecutionJobMethod; + if ((getDeleteNotebookExecutionJobMethod = + NotebookServiceGrpc.getDeleteNotebookExecutionJobMethod) + == null) { + synchronized (NotebookServiceGrpc.class) { + if ((getDeleteNotebookExecutionJobMethod = + NotebookServiceGrpc.getDeleteNotebookExecutionJobMethod) + == null) { + NotebookServiceGrpc.getDeleteNotebookExecutionJobMethod = + getDeleteNotebookExecutionJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteNotebookExecutionJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new NotebookServiceMethodDescriptorSupplier("DeleteNotebookExecutionJob")) + .build(); + } + } + } + return getDeleteNotebookExecutionJobMethod; + } + /** Creates a new async stub that supports all call types for the service */ public static NotebookServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = @@ -735,6 +889,51 @@ default void startNotebookRuntime( io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getStartNotebookRuntimeMethod(), responseObserver); } + + /** + * + * + *
+     * Gets a NotebookExecutionJob.
+     * 
+ */ + default void getNotebookExecutionJob( + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetNotebookExecutionJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists NotebookExecutionJobs in a Location.
+     * 
+ */ + default void listNotebookExecutionJobs( + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListNotebookExecutionJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a NotebookExecutionJob.
+     * 
+ */ + default void deleteNotebookExecutionJob( + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteNotebookExecutionJobMethod(), responseObserver); + } } /** @@ -937,6 +1136,57 @@ public void startNotebookRuntime( request, responseObserver); } + + /** + * + * + *
+     * Gets a NotebookExecutionJob.
+     * 
+ */ + public void getNotebookExecutionJob( + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetNotebookExecutionJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists NotebookExecutionJobs in a Location.
+     * 
+ */ + public void listNotebookExecutionJobs( + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListNotebookExecutionJobsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a NotebookExecutionJob.
+     * 
+ */ + public void deleteNotebookExecutionJob( + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteNotebookExecutionJobMethod(), getCallOptions()), + request, + responseObserver); + } } /** @@ -1089,6 +1339,46 @@ public com.google.longrunning.Operation startNotebookRuntime( return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getStartNotebookRuntimeMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * Gets a NotebookExecutionJob.
+     * 
+ */ + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob getNotebookExecutionJob( + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNotebookExecutionJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists NotebookExecutionJobs in a Location.
+     * 
+ */ + public com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse + listNotebookExecutionJobs( + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNotebookExecutionJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a NotebookExecutionJob.
+     * 
+ */ + public com.google.longrunning.Operation deleteNotebookExecutionJob( + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteNotebookExecutionJobMethod(), getCallOptions(), request); + } } /** @@ -1255,6 +1545,50 @@ protected NotebookServiceFutureStub build( return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getStartNotebookRuntimeMethod(), getCallOptions()), request); } + + /** + * + * + *
+     * Gets a NotebookExecutionJob.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob> + getNotebookExecutionJob( + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetNotebookExecutionJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists NotebookExecutionJobs in a Location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse> + listNotebookExecutionJobs( + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListNotebookExecutionJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a NotebookExecutionJob.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteNotebookExecutionJob( + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteNotebookExecutionJobMethod(), getCallOptions()), request); + } } private static final int METHODID_CREATE_NOTEBOOK_RUNTIME_TEMPLATE = 0; @@ -1267,6 +1601,9 @@ protected NotebookServiceFutureStub build( private static final int METHODID_DELETE_NOTEBOOK_RUNTIME = 7; private static final int METHODID_UPGRADE_NOTEBOOK_RUNTIME = 8; private static final int METHODID_START_NOTEBOOK_RUNTIME = 9; + private static final int METHODID_GET_NOTEBOOK_EXECUTION_JOB = 10; + private static final int METHODID_LIST_NOTEBOOK_EXECUTION_JOBS = 11; + private static final int METHODID_DELETE_NOTEBOOK_EXECUTION_JOB = 12; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -1342,6 +1679,25 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.cloud.aiplatform.v1beta1.StartNotebookRuntimeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_GET_NOTEBOOK_EXECUTION_JOB: + serviceImpl.getNotebookExecutionJob( + (com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob>) + responseObserver); + break; + case METHODID_LIST_NOTEBOOK_EXECUTION_JOBS: + serviceImpl.listNotebookExecutionJobs( + (com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse>) + responseObserver); + break; + case METHODID_DELETE_NOTEBOOK_EXECUTION_JOB: + serviceImpl.deleteNotebookExecutionJob( + (com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; default: throw new AssertionError(); } @@ -1426,6 +1782,27 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser new MethodHandlers< com.google.cloud.aiplatform.v1beta1.StartNotebookRuntimeRequest, com.google.longrunning.Operation>(service, METHODID_START_NOTEBOOK_RUNTIME))) + .addMethod( + getGetNotebookExecutionJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob>( + service, METHODID_GET_NOTEBOOK_EXECUTION_JOB))) + .addMethod( + getListNotebookExecutionJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest, + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse>( + service, METHODID_LIST_NOTEBOOK_EXECUTION_JOBS))) + .addMethod( + getDeleteNotebookExecutionJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_NOTEBOOK_EXECUTION_JOB))) .build(); } @@ -1487,6 +1864,9 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getDeleteNotebookRuntimeMethod()) .addMethod(getUpgradeNotebookRuntimeMethod()) .addMethod(getStartNotebookRuntimeMethod()) + .addMethod(getGetNotebookExecutionJobMethod()) + .addMethod(getListNotebookExecutionJobsMethod()) + .addMethod(getDeleteNotebookExecutionJobMethod()) .build(); } } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteNotebookExecutionJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteNotebookExecutionJobRequest.java new file mode 100644 index 000000000000..204e09acc631 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteNotebookExecutionJobRequest.java @@ -0,0 +1,652 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/notebook_service.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Request message for [NotebookService.DeleteNotebookExecutionJob]
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest} + */ +public final class DeleteNotebookExecutionJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest) + DeleteNotebookExecutionJobRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteNotebookExecutionJobRequest.newBuilder() to construct. + private DeleteNotebookExecutionJobRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DeleteNotebookExecutionJobRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteNotebookExecutionJobRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_DeleteNotebookExecutionJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_DeleteNotebookExecutionJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest.class, + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name of the NotebookExecutionJob resource to be deleted.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The name of the NotebookExecutionJob resource to be deleted.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest other = + (com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for [NotebookService.DeleteNotebookExecutionJob]
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest) + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_DeleteNotebookExecutionJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_DeleteNotebookExecutionJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest.class, + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_DeleteNotebookExecutionJobRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest build() { + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest buildPartial() { + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest result = + new com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest other) { + if (other + == com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest + .getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Required. The name of the NotebookExecutionJob resource to be deleted.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The name of the NotebookExecutionJob resource to be deleted.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The name of the NotebookExecutionJob resource to be deleted.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the NotebookExecutionJob resource to be deleted.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the NotebookExecutionJob resource to be deleted.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest) + private static final com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest(); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteNotebookExecutionJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteNotebookExecutionJobRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteNotebookExecutionJobRequestOrBuilder.java new file mode 100644 index 000000000000..ff244178f4ba --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteNotebookExecutionJobRequestOrBuilder.java @@ -0,0 +1,55 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/notebook_service.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.aiplatform.v1beta1; + +public interface DeleteNotebookExecutionJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the NotebookExecutionJob resource to be deleted.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the NotebookExecutionJob resource to be deleted.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GetNotebookExecutionJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GetNotebookExecutionJobRequest.java new file mode 100644 index 000000000000..87223995cb12 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GetNotebookExecutionJobRequest.java @@ -0,0 +1,824 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/notebook_service.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Request message for [NotebookService.GetNotebookExecutionJob]
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest} + */ +public final class GetNotebookExecutionJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest) + GetNotebookExecutionJobRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetNotebookExecutionJobRequest.newBuilder() to construct. + private GetNotebookExecutionJobRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetNotebookExecutionJobRequest() { + name_ = ""; + view_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetNotebookExecutionJobRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_GetNotebookExecutionJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_GetNotebookExecutionJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest.class, + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name of the NotebookExecutionJob resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The name of the NotebookExecutionJob resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VIEW_FIELD_NUMBER = 6; + private int view_ = 0; + /** + * + * + *
+   * Optional. The NotebookExecutionJob view. Defaults to BASIC.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for view. + */ + @java.lang.Override + public int getViewValue() { + return view_; + } + /** + * + * + *
+   * Optional. The NotebookExecutionJob view. Defaults to BASIC.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The view. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView getView() { + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView result = + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView.forNumber(view_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView.UNRECOGNIZED + : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (view_ + != com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView + .NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED + .getNumber()) { + output.writeEnum(6, view_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (view_ + != com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView + .NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, view_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest other = + (com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (view_ != other.view_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + VIEW_FIELD_NUMBER; + hash = (53 * hash) + view_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for [NotebookService.GetNotebookExecutionJob]
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest) + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_GetNotebookExecutionJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_GetNotebookExecutionJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest.class, + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + view_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_GetNotebookExecutionJobRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest build() { + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest buildPartial() { + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest result = + new com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.view_ = view_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest other) { + if (other + == com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest + .getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.view_ != 0) { + setViewValue(other.getViewValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 48: + { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Required. The name of the NotebookExecutionJob resource.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The name of the NotebookExecutionJob resource.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The name of the NotebookExecutionJob resource.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the NotebookExecutionJob resource.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the NotebookExecutionJob resource.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int view_ = 0; + /** + * + * + *
+     * Optional. The NotebookExecutionJob view. Defaults to BASIC.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for view. + */ + @java.lang.Override + public int getViewValue() { + return view_; + } + /** + * + * + *
+     * Optional. The NotebookExecutionJob view. Defaults to BASIC.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for view to set. + * @return This builder for chaining. + */ + public Builder setViewValue(int value) { + view_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The NotebookExecutionJob view. Defaults to BASIC.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The view. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView getView() { + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView result = + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView.forNumber(view_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Optional. The NotebookExecutionJob view. Defaults to BASIC.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The view to set. + * @return This builder for chaining. + */ + public Builder setView(com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + view_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The NotebookExecutionJob view. Defaults to BASIC.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearView() { + bitField0_ = (bitField0_ & ~0x00000002); + view_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest) + private static final com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest(); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetNotebookExecutionJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GetNotebookExecutionJobRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GetNotebookExecutionJobRequestOrBuilder.java new file mode 100644 index 000000000000..28a1e89bb80b --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GetNotebookExecutionJobRequestOrBuilder.java @@ -0,0 +1,84 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/notebook_service.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.aiplatform.v1beta1; + +public interface GetNotebookExecutionJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the NotebookExecutionJob resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the NotebookExecutionJob resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. The NotebookExecutionJob view. Defaults to BASIC.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for view. + */ + int getViewValue(); + /** + * + * + *
+   * Optional. The NotebookExecutionJob view. Defaults to BASIC.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The view. + */ + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView getView(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNotebookExecutionJobsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNotebookExecutionJobsRequest.java new file mode 100644 index 000000000000..5b2e183bf6fb --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNotebookExecutionJobsRequest.java @@ -0,0 +1,1631 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/notebook_service.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Request message for [NotebookService.ListNotebookExecutionJobs]
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest} + */ +public final class ListNotebookExecutionJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest) + ListNotebookExecutionJobsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListNotebookExecutionJobsRequest.newBuilder() to construct. + private ListNotebookExecutionJobsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListNotebookExecutionJobsRequest() { + parent_ = ""; + filter_ = ""; + pageToken_ = ""; + orderBy_ = ""; + view_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListNotebookExecutionJobsRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest.class, + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + /** + * + * + *
+   * Required. The resource name of the Location from which to list the
+   * NotebookExecutionJobs.
+   * Format: `projects/{project}/locations/{location}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + 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(); + parent_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The resource name of the Location from which to list the
+   * NotebookExecutionJobs.
+   * Format: `projects/{project}/locations/{location}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FILTER_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object filter_ = ""; + /** + * + * + *
+   * Optional. An expression for filtering the results of the request. For field
+   * names both snake_case and camelCase are supported.
+   *
+   *   * `notebookExecutionJob` supports = and !=. `notebookExecutionJob`
+   *   represents the NotebookExecutionJob ID.
+   *   * `displayName` supports = and != and regex.
+   *   * `schedule` supports = and != and regex.
+   *
+   * Some examples:
+   *   * `notebookExecutionJob="123"`
+   *   * `notebookExecutionJob="my-execution-job"`
+   *   * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"`
+   * 
+ * + * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. + */ + @java.lang.Override + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + 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(); + filter_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. An expression for filtering the results of the request. For field
+   * names both snake_case and camelCase are supported.
+   *
+   *   * `notebookExecutionJob` supports = and !=. `notebookExecutionJob`
+   *   represents the NotebookExecutionJob ID.
+   *   * `displayName` supports = and != and regex.
+   *   * `schedule` supports = and != and regex.
+   *
+   * Some examples:
+   *   * `notebookExecutionJob="123"`
+   *   * `notebookExecutionJob="my-execution-job"`
+   *   * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"`
+   * 
+ * + * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 3; + private int pageSize_ = 0; + /** + * + * + *
+   * Optional. The standard list page size.
+   * 
+ * + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + /** + * + * + *
+   * Optional. The standard list page token.
+   * Typically obtained via
+   * [ListNotebookExecutionJobs.next_page_token][] of the previous
+   * [NotebookService.ListNotebookExecutionJobs][google.cloud.aiplatform.v1beta1.NotebookService.ListNotebookExecutionJobs]
+   * call.
+   * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + 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(); + pageToken_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. The standard list page token.
+   * Typically obtained via
+   * [ListNotebookExecutionJobs.next_page_token][] of the previous
+   * [NotebookService.ListNotebookExecutionJobs][google.cloud.aiplatform.v1beta1.NotebookService.ListNotebookExecutionJobs]
+   * call.
+   * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ORDER_BY_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object orderBy_ = ""; + /** + * + * + *
+   * Optional. A comma-separated list of fields to order by, sorted in ascending
+   * order. Use "desc" after a field name for descending. Supported fields:
+   *
+   *   * `display_name`
+   *   * `create_time`
+   *   * `update_time`
+   *
+   * Example: `display_name, create_time desc`.
+   * 
+ * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The orderBy. + */ + @java.lang.Override + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + 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(); + orderBy_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. A comma-separated list of fields to order by, sorted in ascending
+   * order. Use "desc" after a field name for descending. Supported fields:
+   *
+   *   * `display_name`
+   *   * `create_time`
+   *   * `update_time`
+   *
+   * Example: `display_name, create_time desc`.
+   * 
+ * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for orderBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VIEW_FIELD_NUMBER = 6; + private int view_ = 0; + /** + * + * + *
+   * Optional. The NotebookExecutionJob view. Defaults to BASIC.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for view. + */ + @java.lang.Override + public int getViewValue() { + return view_; + } + /** + * + * + *
+   * Optional. The NotebookExecutionJob view. Defaults to BASIC.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The view. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView getView() { + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView result = + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView.forNumber(view_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView.UNRECOGNIZED + : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); + } + if (pageSize_ != 0) { + output.writeInt32(3, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pageToken_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); + } + if (view_ + != com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView + .NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED + .getNumber()) { + output.writeEnum(6, view_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); + } + if (view_ + != com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView + .NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, view_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest other = + (com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; + if (view_ != other.view_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); + hash = (37 * hash) + VIEW_FIELD_NUMBER; + hash = (53 * hash) + view_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for [NotebookService.ListNotebookExecutionJobs]
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest) + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest.class, + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + filter_ = ""; + pageSize_ = 0; + pageToken_ = ""; + orderBy_ = ""; + view_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest build() { + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest buildPartial() { + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest result = + new com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.filter_ = filter_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.pageSize_ = pageSize_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.pageToken_ = pageToken_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.orderBy_ = orderBy_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.view_ = view_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest other) { + if (other + == com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest + .getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getFilter().isEmpty()) { + filter_ = other.filter_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getOrderBy().isEmpty()) { + orderBy_ = other.orderBy_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.view_ != 0) { + setViewValue(other.getViewValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: + { + view_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * Required. The resource name of the Location from which to list the
+     * NotebookExecutionJobs.
+     * Format: `projects/{project}/locations/{location}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the Location from which to list the
+     * NotebookExecutionJobs.
+     * Format: `projects/{project}/locations/{location}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the Location from which to list the
+     * NotebookExecutionJobs.
+     * Format: `projects/{project}/locations/{location}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the Location from which to list the
+     * NotebookExecutionJobs.
+     * Format: `projects/{project}/locations/{location}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the Location from which to list the
+     * NotebookExecutionJobs.
+     * Format: `projects/{project}/locations/{location}`
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object filter_ = ""; + /** + * + * + *
+     * Optional. An expression for filtering the results of the request. For field
+     * names both snake_case and camelCase are supported.
+     *
+     *   * `notebookExecutionJob` supports = and !=. `notebookExecutionJob`
+     *   represents the NotebookExecutionJob ID.
+     *   * `displayName` supports = and != and regex.
+     *   * `schedule` supports = and != and regex.
+     *
+     * Some examples:
+     *   * `notebookExecutionJob="123"`
+     *   * `notebookExecutionJob="my-execution-job"`
+     *   * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"`
+     * 
+ * + * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. + */ + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. An expression for filtering the results of the request. For field
+     * names both snake_case and camelCase are supported.
+     *
+     *   * `notebookExecutionJob` supports = and !=. `notebookExecutionJob`
+     *   represents the NotebookExecutionJob ID.
+     *   * `displayName` supports = and != and regex.
+     *   * `schedule` supports = and != and regex.
+     *
+     * Some examples:
+     *   * `notebookExecutionJob="123"`
+     *   * `notebookExecutionJob="my-execution-job"`
+     *   * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"`
+     * 
+ * + * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. + */ + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. An expression for filtering the results of the request. For field
+     * names both snake_case and camelCase are supported.
+     *
+     *   * `notebookExecutionJob` supports = and !=. `notebookExecutionJob`
+     *   represents the NotebookExecutionJob ID.
+     *   * `displayName` supports = and != and regex.
+     *   * `schedule` supports = and != and regex.
+     *
+     * Some examples:
+     *   * `notebookExecutionJob="123"`
+     *   * `notebookExecutionJob="my-execution-job"`
+     *   * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"`
+     * 
+ * + * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The filter to set. + * @return This builder for chaining. + */ + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + filter_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. An expression for filtering the results of the request. For field
+     * names both snake_case and camelCase are supported.
+     *
+     *   * `notebookExecutionJob` supports = and !=. `notebookExecutionJob`
+     *   represents the NotebookExecutionJob ID.
+     *   * `displayName` supports = and != and regex.
+     *   * `schedule` supports = and != and regex.
+     *
+     * Some examples:
+     *   * `notebookExecutionJob="123"`
+     *   * `notebookExecutionJob="my-execution-job"`
+     *   * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"`
+     * 
+ * + * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + filter_ = getDefaultInstance().getFilter(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. An expression for filtering the results of the request. For field
+     * names both snake_case and camelCase are supported.
+     *
+     *   * `notebookExecutionJob` supports = and !=. `notebookExecutionJob`
+     *   represents the NotebookExecutionJob ID.
+     *   * `displayName` supports = and != and regex.
+     *   * `schedule` supports = and != and regex.
+     *
+     * Some examples:
+     *   * `notebookExecutionJob="123"`
+     *   * `notebookExecutionJob="my-execution-job"`
+     *   * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"`
+     * 
+ * + * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. + */ + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int pageSize_; + /** + * + * + *
+     * Optional. The standard list page size.
+     * 
+ * + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + * + * + *
+     * Optional. The standard list page size.
+     * 
+ * + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The standard list page size.
+     * 
+ * + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + bitField0_ = (bitField0_ & ~0x00000004); + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
+     * Optional. The standard list page token.
+     * Typically obtained via
+     * [ListNotebookExecutionJobs.next_page_token][] of the previous
+     * [NotebookService.ListNotebookExecutionJobs][google.cloud.aiplatform.v1beta1.NotebookService.ListNotebookExecutionJobs]
+     * call.
+     * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. The standard list page token.
+     * Typically obtained via
+     * [ListNotebookExecutionJobs.next_page_token][] of the previous
+     * [NotebookService.ListNotebookExecutionJobs][google.cloud.aiplatform.v1beta1.NotebookService.ListNotebookExecutionJobs]
+     * call.
+     * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. The standard list page token.
+     * Typically obtained via
+     * [ListNotebookExecutionJobs.next_page_token][] of the previous
+     * [NotebookService.ListNotebookExecutionJobs][google.cloud.aiplatform.v1beta1.NotebookService.ListNotebookExecutionJobs]
+     * call.
+     * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The standard list page token.
+     * Typically obtained via
+     * [ListNotebookExecutionJobs.next_page_token][] of the previous
+     * [NotebookService.ListNotebookExecutionJobs][google.cloud.aiplatform.v1beta1.NotebookService.ListNotebookExecutionJobs]
+     * call.
+     * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The standard list page token.
+     * Typically obtained via
+     * [ListNotebookExecutionJobs.next_page_token][] of the previous
+     * [NotebookService.ListNotebookExecutionJobs][google.cloud.aiplatform.v1beta1.NotebookService.ListNotebookExecutionJobs]
+     * call.
+     * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object orderBy_ = ""; + /** + * + * + *
+     * Optional. A comma-separated list of fields to order by, sorted in ascending
+     * order. Use "desc" after a field name for descending. Supported fields:
+     *
+     *   * `display_name`
+     *   * `create_time`
+     *   * `update_time`
+     *
+     * Example: `display_name, create_time desc`.
+     * 
+ * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The orderBy. + */ + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. A comma-separated list of fields to order by, sorted in ascending
+     * order. Use "desc" after a field name for descending. Supported fields:
+     *
+     *   * `display_name`
+     *   * `create_time`
+     *   * `update_time`
+     *
+     * Example: `display_name, create_time desc`.
+     * 
+ * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for orderBy. + */ + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. A comma-separated list of fields to order by, sorted in ascending
+     * order. Use "desc" after a field name for descending. Supported fields:
+     *
+     *   * `display_name`
+     *   * `create_time`
+     *   * `update_time`
+     *
+     * Example: `display_name, create_time desc`.
+     * 
+ * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + orderBy_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. A comma-separated list of fields to order by, sorted in ascending
+     * order. Use "desc" after a field name for descending. Supported fields:
+     *
+     *   * `display_name`
+     *   * `create_time`
+     *   * `update_time`
+     *
+     * Example: `display_name, create_time desc`.
+     * 
+ * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearOrderBy() { + orderBy_ = getDefaultInstance().getOrderBy(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. A comma-separated list of fields to order by, sorted in ascending
+     * order. Use "desc" after a field name for descending. Supported fields:
+     *
+     *   * `display_name`
+     *   * `create_time`
+     *   * `update_time`
+     *
+     * Example: `display_name, create_time desc`.
+     * 
+ * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private int view_ = 0; + /** + * + * + *
+     * Optional. The NotebookExecutionJob view. Defaults to BASIC.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for view. + */ + @java.lang.Override + public int getViewValue() { + return view_; + } + /** + * + * + *
+     * Optional. The NotebookExecutionJob view. Defaults to BASIC.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for view to set. + * @return This builder for chaining. + */ + public Builder setViewValue(int value) { + view_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The NotebookExecutionJob view. Defaults to BASIC.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The view. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView getView() { + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView result = + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView.forNumber(view_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Optional. The NotebookExecutionJob view. Defaults to BASIC.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The view to set. + * @return This builder for chaining. + */ + public Builder setView(com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; + view_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The NotebookExecutionJob view. Defaults to BASIC.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearView() { + bitField0_ = (bitField0_ & ~0x00000020); + view_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest) + private static final com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest(); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNotebookExecutionJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNotebookExecutionJobsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNotebookExecutionJobsRequestOrBuilder.java new file mode 100644 index 000000000000..4deb33827dbc --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNotebookExecutionJobsRequestOrBuilder.java @@ -0,0 +1,220 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/notebook_service.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.aiplatform.v1beta1; + +public interface ListNotebookExecutionJobsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the Location from which to list the
+   * NotebookExecutionJobs.
+   * Format: `projects/{project}/locations/{location}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The resource name of the Location from which to list the
+   * NotebookExecutionJobs.
+   * Format: `projects/{project}/locations/{location}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Optional. An expression for filtering the results of the request. For field
+   * names both snake_case and camelCase are supported.
+   *
+   *   * `notebookExecutionJob` supports = and !=. `notebookExecutionJob`
+   *   represents the NotebookExecutionJob ID.
+   *   * `displayName` supports = and != and regex.
+   *   * `schedule` supports = and != and regex.
+   *
+   * Some examples:
+   *   * `notebookExecutionJob="123"`
+   *   * `notebookExecutionJob="my-execution-job"`
+   *   * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"`
+   * 
+ * + * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. + */ + java.lang.String getFilter(); + /** + * + * + *
+   * Optional. An expression for filtering the results of the request. For field
+   * names both snake_case and camelCase are supported.
+   *
+   *   * `notebookExecutionJob` supports = and !=. `notebookExecutionJob`
+   *   represents the NotebookExecutionJob ID.
+   *   * `displayName` supports = and != and regex.
+   *   * `schedule` supports = and != and regex.
+   *
+   * Some examples:
+   *   * `notebookExecutionJob="123"`
+   *   * `notebookExecutionJob="my-execution-job"`
+   *   * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"`
+   * 
+ * + * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. + */ + com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * Optional. The standard list page size.
+   * 
+ * + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
+   * Optional. The standard list page token.
+   * Typically obtained via
+   * [ListNotebookExecutionJobs.next_page_token][] of the previous
+   * [NotebookService.ListNotebookExecutionJobs][google.cloud.aiplatform.v1beta1.NotebookService.ListNotebookExecutionJobs]
+   * call.
+   * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
+   * Optional. The standard list page token.
+   * Typically obtained via
+   * [ListNotebookExecutionJobs.next_page_token][] of the previous
+   * [NotebookService.ListNotebookExecutionJobs][google.cloud.aiplatform.v1beta1.NotebookService.ListNotebookExecutionJobs]
+   * call.
+   * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); + + /** + * + * + *
+   * Optional. A comma-separated list of fields to order by, sorted in ascending
+   * order. Use "desc" after a field name for descending. Supported fields:
+   *
+   *   * `display_name`
+   *   * `create_time`
+   *   * `update_time`
+   *
+   * Example: `display_name, create_time desc`.
+   * 
+ * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The orderBy. + */ + java.lang.String getOrderBy(); + /** + * + * + *
+   * Optional. A comma-separated list of fields to order by, sorted in ascending
+   * order. Use "desc" after a field name for descending. Supported fields:
+   *
+   *   * `display_name`
+   *   * `create_time`
+   *   * `update_time`
+   *
+   * Example: `display_name, create_time desc`.
+   * 
+ * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for orderBy. + */ + com.google.protobuf.ByteString getOrderByBytes(); + + /** + * + * + *
+   * Optional. The NotebookExecutionJob view. Defaults to BASIC.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for view. + */ + int getViewValue(); + /** + * + * + *
+   * Optional. The NotebookExecutionJob view. Defaults to BASIC.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The view. + */ + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView getView(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNotebookExecutionJobsResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNotebookExecutionJobsResponse.java new file mode 100644 index 000000000000..477c26526e0a --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNotebookExecutionJobsResponse.java @@ -0,0 +1,1219 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/notebook_service.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Response message for [NotebookService.CreateNotebookExecutionJob]
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse} + */ +public final class ListNotebookExecutionJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse) + ListNotebookExecutionJobsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListNotebookExecutionJobsResponse.newBuilder() to construct. + private ListNotebookExecutionJobsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListNotebookExecutionJobsResponse() { + notebookExecutionJobs_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListNotebookExecutionJobsResponse(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse.class, + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse.Builder.class); + } + + public static final int NOTEBOOK_EXECUTION_JOBS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List + notebookExecutionJobs_; + /** + * + * + *
+   * List of NotebookExecutionJobs in the requested page.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + @java.lang.Override + public java.util.List + getNotebookExecutionJobsList() { + return notebookExecutionJobs_; + } + /** + * + * + *
+   * List of NotebookExecutionJobs in the requested page.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + @java.lang.Override + public java.util.List + getNotebookExecutionJobsOrBuilderList() { + return notebookExecutionJobs_; + } + /** + * + * + *
+   * List of NotebookExecutionJobs in the requested page.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + @java.lang.Override + public int getNotebookExecutionJobsCount() { + return notebookExecutionJobs_.size(); + } + /** + * + * + *
+   * List of NotebookExecutionJobs in the requested page.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob getNotebookExecutionJobs( + int index) { + return notebookExecutionJobs_.get(index); + } + /** + * + * + *
+   * List of NotebookExecutionJobs in the requested page.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobOrBuilder + getNotebookExecutionJobsOrBuilder(int index) { + return notebookExecutionJobs_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+   * A token to retrieve next page of results.
+   * Pass to [ListNotebookExecutionJobs.page_token][] to obtain that
+   * page.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + 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(); + nextPageToken_ = s; + return s; + } + } + /** + * + * + *
+   * A token to retrieve next page of results.
+   * Pass to [ListNotebookExecutionJobs.page_token][] to obtain that
+   * page.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < notebookExecutionJobs_.size(); i++) { + output.writeMessage(1, notebookExecutionJobs_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < notebookExecutionJobs_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, notebookExecutionJobs_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse other = + (com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse) obj; + + if (!getNotebookExecutionJobsList().equals(other.getNotebookExecutionJobsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getNotebookExecutionJobsCount() > 0) { + hash = (37 * hash) + NOTEBOOK_EXECUTION_JOBS_FIELD_NUMBER; + hash = (53 * hash) + getNotebookExecutionJobsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message for [NotebookService.CreateNotebookExecutionJob]
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse) + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse.class, + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (notebookExecutionJobsBuilder_ == null) { + notebookExecutionJobs_ = java.util.Collections.emptyList(); + } else { + notebookExecutionJobs_ = null; + notebookExecutionJobsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + nextPageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.NotebookServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse build() { + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse buildPartial() { + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse result = + new com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse result) { + if (notebookExecutionJobsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + notebookExecutionJobs_ = java.util.Collections.unmodifiableList(notebookExecutionJobs_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.notebookExecutionJobs_ = notebookExecutionJobs_; + } else { + result.notebookExecutionJobs_ = notebookExecutionJobsBuilder_.build(); + } + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nextPageToken_ = nextPageToken_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse other) { + if (other + == com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse + .getDefaultInstance()) return this; + if (notebookExecutionJobsBuilder_ == null) { + if (!other.notebookExecutionJobs_.isEmpty()) { + if (notebookExecutionJobs_.isEmpty()) { + notebookExecutionJobs_ = other.notebookExecutionJobs_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureNotebookExecutionJobsIsMutable(); + notebookExecutionJobs_.addAll(other.notebookExecutionJobs_); + } + onChanged(); + } + } else { + if (!other.notebookExecutionJobs_.isEmpty()) { + if (notebookExecutionJobsBuilder_.isEmpty()) { + notebookExecutionJobsBuilder_.dispose(); + notebookExecutionJobsBuilder_ = null; + notebookExecutionJobs_ = other.notebookExecutionJobs_; + bitField0_ = (bitField0_ & ~0x00000001); + notebookExecutionJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNotebookExecutionJobsFieldBuilder() + : null; + } else { + notebookExecutionJobsBuilder_.addAllMessages(other.notebookExecutionJobs_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob m = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.parser(), + extensionRegistry); + if (notebookExecutionJobsBuilder_ == null) { + ensureNotebookExecutionJobsIsMutable(); + notebookExecutionJobs_.add(m); + } else { + notebookExecutionJobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List + notebookExecutionJobs_ = java.util.Collections.emptyList(); + + private void ensureNotebookExecutionJobsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + notebookExecutionJobs_ = + new java.util.ArrayList( + notebookExecutionJobs_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.Builder, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobOrBuilder> + notebookExecutionJobsBuilder_; + + /** + * + * + *
+     * List of NotebookExecutionJobs in the requested page.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + public java.util.List + getNotebookExecutionJobsList() { + if (notebookExecutionJobsBuilder_ == null) { + return java.util.Collections.unmodifiableList(notebookExecutionJobs_); + } else { + return notebookExecutionJobsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * List of NotebookExecutionJobs in the requested page.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + public int getNotebookExecutionJobsCount() { + if (notebookExecutionJobsBuilder_ == null) { + return notebookExecutionJobs_.size(); + } else { + return notebookExecutionJobsBuilder_.getCount(); + } + } + /** + * + * + *
+     * List of NotebookExecutionJobs in the requested page.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob getNotebookExecutionJobs( + int index) { + if (notebookExecutionJobsBuilder_ == null) { + return notebookExecutionJobs_.get(index); + } else { + return notebookExecutionJobsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * List of NotebookExecutionJobs in the requested page.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + public Builder setNotebookExecutionJobs( + int index, com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob value) { + if (notebookExecutionJobsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNotebookExecutionJobsIsMutable(); + notebookExecutionJobs_.set(index, value); + onChanged(); + } else { + notebookExecutionJobsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of NotebookExecutionJobs in the requested page.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + public Builder setNotebookExecutionJobs( + int index, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.Builder builderForValue) { + if (notebookExecutionJobsBuilder_ == null) { + ensureNotebookExecutionJobsIsMutable(); + notebookExecutionJobs_.set(index, builderForValue.build()); + onChanged(); + } else { + notebookExecutionJobsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of NotebookExecutionJobs in the requested page.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + public Builder addNotebookExecutionJobs( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob value) { + if (notebookExecutionJobsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNotebookExecutionJobsIsMutable(); + notebookExecutionJobs_.add(value); + onChanged(); + } else { + notebookExecutionJobsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * List of NotebookExecutionJobs in the requested page.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + public Builder addNotebookExecutionJobs( + int index, com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob value) { + if (notebookExecutionJobsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNotebookExecutionJobsIsMutable(); + notebookExecutionJobs_.add(index, value); + onChanged(); + } else { + notebookExecutionJobsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of NotebookExecutionJobs in the requested page.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + public Builder addNotebookExecutionJobs( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.Builder builderForValue) { + if (notebookExecutionJobsBuilder_ == null) { + ensureNotebookExecutionJobsIsMutable(); + notebookExecutionJobs_.add(builderForValue.build()); + onChanged(); + } else { + notebookExecutionJobsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of NotebookExecutionJobs in the requested page.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + public Builder addNotebookExecutionJobs( + int index, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.Builder builderForValue) { + if (notebookExecutionJobsBuilder_ == null) { + ensureNotebookExecutionJobsIsMutable(); + notebookExecutionJobs_.add(index, builderForValue.build()); + onChanged(); + } else { + notebookExecutionJobsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of NotebookExecutionJobs in the requested page.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + public Builder addAllNotebookExecutionJobs( + java.lang.Iterable + values) { + if (notebookExecutionJobsBuilder_ == null) { + ensureNotebookExecutionJobsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, notebookExecutionJobs_); + onChanged(); + } else { + notebookExecutionJobsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * List of NotebookExecutionJobs in the requested page.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + public Builder clearNotebookExecutionJobs() { + if (notebookExecutionJobsBuilder_ == null) { + notebookExecutionJobs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + notebookExecutionJobsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * List of NotebookExecutionJobs in the requested page.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + public Builder removeNotebookExecutionJobs(int index) { + if (notebookExecutionJobsBuilder_ == null) { + ensureNotebookExecutionJobsIsMutable(); + notebookExecutionJobs_.remove(index); + onChanged(); + } else { + notebookExecutionJobsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * List of NotebookExecutionJobs in the requested page.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.Builder + getNotebookExecutionJobsBuilder(int index) { + return getNotebookExecutionJobsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * List of NotebookExecutionJobs in the requested page.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobOrBuilder + getNotebookExecutionJobsOrBuilder(int index) { + if (notebookExecutionJobsBuilder_ == null) { + return notebookExecutionJobs_.get(index); + } else { + return notebookExecutionJobsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * List of NotebookExecutionJobs in the requested page.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + public java.util.List< + ? extends com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobOrBuilder> + getNotebookExecutionJobsOrBuilderList() { + if (notebookExecutionJobsBuilder_ != null) { + return notebookExecutionJobsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(notebookExecutionJobs_); + } + } + /** + * + * + *
+     * List of NotebookExecutionJobs in the requested page.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.Builder + addNotebookExecutionJobsBuilder() { + return getNotebookExecutionJobsFieldBuilder() + .addBuilder( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.getDefaultInstance()); + } + /** + * + * + *
+     * List of NotebookExecutionJobs in the requested page.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.Builder + addNotebookExecutionJobsBuilder(int index) { + return getNotebookExecutionJobsFieldBuilder() + .addBuilder( + index, com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.getDefaultInstance()); + } + /** + * + * + *
+     * List of NotebookExecutionJobs in the requested page.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + public java.util.List + getNotebookExecutionJobsBuilderList() { + return getNotebookExecutionJobsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.Builder, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobOrBuilder> + getNotebookExecutionJobsFieldBuilder() { + if (notebookExecutionJobsBuilder_ == null) { + notebookExecutionJobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.Builder, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobOrBuilder>( + notebookExecutionJobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + notebookExecutionJobs_ = null; + } + return notebookExecutionJobsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * A token to retrieve next page of results.
+     * Pass to [ListNotebookExecutionJobs.page_token][] to obtain that
+     * page.
+     * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A token to retrieve next page of results.
+     * Pass to [ListNotebookExecutionJobs.page_token][] to obtain that
+     * page.
+     * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A token to retrieve next page of results.
+     * Pass to [ListNotebookExecutionJobs.page_token][] to obtain that
+     * page.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * A token to retrieve next page of results.
+     * Pass to [ListNotebookExecutionJobs.page_token][] to obtain that
+     * page.
+     * 
+ * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * A token to retrieve next page of results.
+     * Pass to [ListNotebookExecutionJobs.page_token][] to obtain that
+     * page.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse) + private static final com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse(); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNotebookExecutionJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNotebookExecutionJobsResponseOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNotebookExecutionJobsResponseOrBuilder.java new file mode 100644 index 000000000000..bc36e33aa313 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNotebookExecutionJobsResponseOrBuilder.java @@ -0,0 +1,119 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/notebook_service.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.aiplatform.v1beta1; + +public interface ListNotebookExecutionJobsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * List of NotebookExecutionJobs in the requested page.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + java.util.List + getNotebookExecutionJobsList(); + /** + * + * + *
+   * List of NotebookExecutionJobs in the requested page.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob getNotebookExecutionJobs(int index); + /** + * + * + *
+   * List of NotebookExecutionJobs in the requested page.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + int getNotebookExecutionJobsCount(); + /** + * + * + *
+   * List of NotebookExecutionJobs in the requested page.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + java.util.List + getNotebookExecutionJobsOrBuilderList(); + /** + * + * + *
+   * List of NotebookExecutionJobs in the requested page.
+   * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NotebookExecutionJob notebook_execution_jobs = 1; + * + */ + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobOrBuilder + getNotebookExecutionJobsOrBuilder(int index); + + /** + * + * + *
+   * A token to retrieve next page of results.
+   * Pass to [ListNotebookExecutionJobs.page_token][] to obtain that
+   * page.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * A token to retrieve next page of results.
+   * Pass to [ListNotebookExecutionJobs.page_token][] to obtain that
+   * page.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJob.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJob.java new file mode 100644 index 000000000000..b697b2c338f2 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJob.java @@ -0,0 +1,6136 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/notebook_execution_job.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * NotebookExecutionJob represents an instance of a notebook execution.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.NotebookExecutionJob} + */ +public final class NotebookExecutionJob extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.NotebookExecutionJob) + NotebookExecutionJobOrBuilder { + private static final long serialVersionUID = 0L; + // Use NotebookExecutionJob.newBuilder() to construct. + private NotebookExecutionJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NotebookExecutionJob() { + name_ = ""; + displayName_ = ""; + scheduleResourceName_ = ""; + jobState_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NotebookExecutionJob(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.class, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.Builder.class); + } + + public interface DataformRepositorySourceOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The resource name of the Dataform Repository. Format:
+     * `projects/{project_id}/locations/{location}/repositories/{repository_id}`
+     * 
+ * + * string dataform_repository_resource_name = 1; + * + * @return The dataformRepositoryResourceName. + */ + java.lang.String getDataformRepositoryResourceName(); + /** + * + * + *
+     * The resource name of the Dataform Repository. Format:
+     * `projects/{project_id}/locations/{location}/repositories/{repository_id}`
+     * 
+ * + * string dataform_repository_resource_name = 1; + * + * @return The bytes for dataformRepositoryResourceName. + */ + com.google.protobuf.ByteString getDataformRepositoryResourceNameBytes(); + + /** + * + * + *
+     * The commit SHA to read repository with. If unset, the file will be read
+     * at HEAD.
+     * 
+ * + * string commit_sha = 2; + * + * @return The commitSha. + */ + java.lang.String getCommitSha(); + /** + * + * + *
+     * The commit SHA to read repository with. If unset, the file will be read
+     * at HEAD.
+     * 
+ * + * string commit_sha = 2; + * + * @return The bytes for commitSha. + */ + com.google.protobuf.ByteString getCommitShaBytes(); + } + /** + * + * + *
+   * The Dataform Repository containing the input notebook.
+   * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource} + */ + public static final class DataformRepositorySource extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource) + DataformRepositorySourceOrBuilder { + private static final long serialVersionUID = 0L; + // Use DataformRepositorySource.newBuilder() to construct. + private DataformRepositorySource(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DataformRepositorySource() { + dataformRepositoryResourceName_ = ""; + commitSha_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DataformRepositorySource(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_DataformRepositorySource_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_DataformRepositorySource_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + .class, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + .Builder.class); + } + + public static final int DATAFORM_REPOSITORY_RESOURCE_NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object dataformRepositoryResourceName_ = ""; + /** + * + * + *
+     * The resource name of the Dataform Repository. Format:
+     * `projects/{project_id}/locations/{location}/repositories/{repository_id}`
+     * 
+ * + * string dataform_repository_resource_name = 1; + * + * @return The dataformRepositoryResourceName. + */ + @java.lang.Override + public java.lang.String getDataformRepositoryResourceName() { + java.lang.Object ref = dataformRepositoryResourceName_; + 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(); + dataformRepositoryResourceName_ = s; + return s; + } + } + /** + * + * + *
+     * The resource name of the Dataform Repository. Format:
+     * `projects/{project_id}/locations/{location}/repositories/{repository_id}`
+     * 
+ * + * string dataform_repository_resource_name = 1; + * + * @return The bytes for dataformRepositoryResourceName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDataformRepositoryResourceNameBytes() { + java.lang.Object ref = dataformRepositoryResourceName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + dataformRepositoryResourceName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int COMMIT_SHA_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object commitSha_ = ""; + /** + * + * + *
+     * The commit SHA to read repository with. If unset, the file will be read
+     * at HEAD.
+     * 
+ * + * string commit_sha = 2; + * + * @return The commitSha. + */ + @java.lang.Override + public java.lang.String getCommitSha() { + java.lang.Object ref = commitSha_; + 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(); + commitSha_ = s; + return s; + } + } + /** + * + * + *
+     * The commit SHA to read repository with. If unset, the file will be read
+     * at HEAD.
+     * 
+ * + * string commit_sha = 2; + * + * @return The bytes for commitSha. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCommitShaBytes() { + java.lang.Object ref = commitSha_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + commitSha_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataformRepositoryResourceName_)) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 1, dataformRepositoryResourceName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(commitSha_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, commitSha_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataformRepositoryResourceName_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 1, dataformRepositoryResourceName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(commitSha_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, commitSha_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource other = + (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource) obj; + + if (!getDataformRepositoryResourceName().equals(other.getDataformRepositoryResourceName())) + return false; + if (!getCommitSha().equals(other.getCommitSha())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DATAFORM_REPOSITORY_RESOURCE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDataformRepositoryResourceName().hashCode(); + hash = (37 * hash) + COMMIT_SHA_FIELD_NUMBER; + hash = (53 * hash) + getCommitSha().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * The Dataform Repository containing the input notebook.
+     * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource) + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySourceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_DataformRepositorySource_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_DataformRepositorySource_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + .class, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + .Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + dataformRepositoryResourceName_ = ""; + commitSha_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_DataformRepositorySource_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + build() { + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + buildPartial() { + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource result = + new com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.dataformRepositoryResourceName_ = dataformRepositoryResourceName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.commitSha_ = commitSha_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource other) { + if (other + == com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + .getDefaultInstance()) return this; + if (!other.getDataformRepositoryResourceName().isEmpty()) { + dataformRepositoryResourceName_ = other.dataformRepositoryResourceName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getCommitSha().isEmpty()) { + commitSha_ = other.commitSha_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + dataformRepositoryResourceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + commitSha_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object dataformRepositoryResourceName_ = ""; + /** + * + * + *
+       * The resource name of the Dataform Repository. Format:
+       * `projects/{project_id}/locations/{location}/repositories/{repository_id}`
+       * 
+ * + * string dataform_repository_resource_name = 1; + * + * @return The dataformRepositoryResourceName. + */ + public java.lang.String getDataformRepositoryResourceName() { + java.lang.Object ref = dataformRepositoryResourceName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dataformRepositoryResourceName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * The resource name of the Dataform Repository. Format:
+       * `projects/{project_id}/locations/{location}/repositories/{repository_id}`
+       * 
+ * + * string dataform_repository_resource_name = 1; + * + * @return The bytes for dataformRepositoryResourceName. + */ + public com.google.protobuf.ByteString getDataformRepositoryResourceNameBytes() { + java.lang.Object ref = dataformRepositoryResourceName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + dataformRepositoryResourceName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * The resource name of the Dataform Repository. Format:
+       * `projects/{project_id}/locations/{location}/repositories/{repository_id}`
+       * 
+ * + * string dataform_repository_resource_name = 1; + * + * @param value The dataformRepositoryResourceName to set. + * @return This builder for chaining. + */ + public Builder setDataformRepositoryResourceName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + dataformRepositoryResourceName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * The resource name of the Dataform Repository. Format:
+       * `projects/{project_id}/locations/{location}/repositories/{repository_id}`
+       * 
+ * + * string dataform_repository_resource_name = 1; + * + * @return This builder for chaining. + */ + public Builder clearDataformRepositoryResourceName() { + dataformRepositoryResourceName_ = getDefaultInstance().getDataformRepositoryResourceName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+       * The resource name of the Dataform Repository. Format:
+       * `projects/{project_id}/locations/{location}/repositories/{repository_id}`
+       * 
+ * + * string dataform_repository_resource_name = 1; + * + * @param value The bytes for dataformRepositoryResourceName to set. + * @return This builder for chaining. + */ + public Builder setDataformRepositoryResourceNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataformRepositoryResourceName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object commitSha_ = ""; + /** + * + * + *
+       * The commit SHA to read repository with. If unset, the file will be read
+       * at HEAD.
+       * 
+ * + * string commit_sha = 2; + * + * @return The commitSha. + */ + public java.lang.String getCommitSha() { + java.lang.Object ref = commitSha_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + commitSha_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * The commit SHA to read repository with. If unset, the file will be read
+       * at HEAD.
+       * 
+ * + * string commit_sha = 2; + * + * @return The bytes for commitSha. + */ + public com.google.protobuf.ByteString getCommitShaBytes() { + java.lang.Object ref = commitSha_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + commitSha_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * The commit SHA to read repository with. If unset, the file will be read
+       * at HEAD.
+       * 
+ * + * string commit_sha = 2; + * + * @param value The commitSha to set. + * @return This builder for chaining. + */ + public Builder setCommitSha(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + commitSha_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * The commit SHA to read repository with. If unset, the file will be read
+       * at HEAD.
+       * 
+ * + * string commit_sha = 2; + * + * @return This builder for chaining. + */ + public Builder clearCommitSha() { + commitSha_ = getDefaultInstance().getCommitSha(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+       * The commit SHA to read repository with. If unset, the file will be read
+       * at HEAD.
+       * 
+ * + * string commit_sha = 2; + * + * @param value The bytes for commitSha to set. + * @return This builder for chaining. + */ + public Builder setCommitShaBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + commitSha_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource) + private static final com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob + .DataformRepositorySource + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource(); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataformRepositorySource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface GcsNotebookSourceOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The Cloud Storage uri pointing to the ipynb file. Format:
+     * `gs://bucket/notebook_file.ipynb`
+     * 
+ * + * string uri = 1; + * + * @return The uri. + */ + java.lang.String getUri(); + /** + * + * + *
+     * The Cloud Storage uri pointing to the ipynb file. Format:
+     * `gs://bucket/notebook_file.ipynb`
+     * 
+ * + * string uri = 1; + * + * @return The bytes for uri. + */ + com.google.protobuf.ByteString getUriBytes(); + + /** + * + * + *
+     * The version of the Cloud Storage object to read. If unset, the current
+     * version of the object is read. See
+     * https://cloud.google.com/storage/docs/metadata#generation-number.
+     * 
+ * + * string generation = 2; + * + * @return The generation. + */ + java.lang.String getGeneration(); + /** + * + * + *
+     * The version of the Cloud Storage object to read. If unset, the current
+     * version of the object is read. See
+     * https://cloud.google.com/storage/docs/metadata#generation-number.
+     * 
+ * + * string generation = 2; + * + * @return The bytes for generation. + */ + com.google.protobuf.ByteString getGenerationBytes(); + } + /** + * + * + *
+   * The Cloud Storage uri for the input notebook.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource} + */ + public static final class GcsNotebookSource extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource) + GcsNotebookSourceOrBuilder { + private static final long serialVersionUID = 0L; + // Use GcsNotebookSource.newBuilder() to construct. + private GcsNotebookSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GcsNotebookSource() { + uri_ = ""; + generation_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GcsNotebookSource(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_GcsNotebookSource_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_GcsNotebookSource_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource.class, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource.Builder + .class); + } + + public static final int URI_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object uri_ = ""; + /** + * + * + *
+     * The Cloud Storage uri pointing to the ipynb file. Format:
+     * `gs://bucket/notebook_file.ipynb`
+     * 
+ * + * string uri = 1; + * + * @return The uri. + */ + @java.lang.Override + public java.lang.String getUri() { + java.lang.Object ref = uri_; + 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(); + uri_ = s; + return s; + } + } + /** + * + * + *
+     * The Cloud Storage uri pointing to the ipynb file. Format:
+     * `gs://bucket/notebook_file.ipynb`
+     * 
+ * + * string uri = 1; + * + * @return The bytes for uri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUriBytes() { + java.lang.Object ref = uri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GENERATION_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object generation_ = ""; + /** + * + * + *
+     * The version of the Cloud Storage object to read. If unset, the current
+     * version of the object is read. See
+     * https://cloud.google.com/storage/docs/metadata#generation-number.
+     * 
+ * + * string generation = 2; + * + * @return The generation. + */ + @java.lang.Override + public java.lang.String getGeneration() { + java.lang.Object ref = generation_; + 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(); + generation_ = s; + return s; + } + } + /** + * + * + *
+     * The version of the Cloud Storage object to read. If unset, the current
+     * version of the object is read. See
+     * https://cloud.google.com/storage/docs/metadata#generation-number.
+     * 
+ * + * string generation = 2; + * + * @return The bytes for generation. + */ + @java.lang.Override + public com.google.protobuf.ByteString getGenerationBytes() { + java.lang.Object ref = generation_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + generation_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(generation_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, generation_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(generation_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, generation_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource other = + (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource) obj; + + if (!getUri().equals(other.getUri())) return false; + if (!getGeneration().equals(other.getGeneration())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + URI_FIELD_NUMBER; + hash = (53 * hash) + getUri().hashCode(); + hash = (37 * hash) + GENERATION_FIELD_NUMBER; + hash = (53 * hash) + getGeneration().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * The Cloud Storage uri for the input notebook.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource) + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSourceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_GcsNotebookSource_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_GcsNotebookSource_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource.class, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource.Builder + .class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + uri_ = ""; + generation_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_GcsNotebookSource_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource build() { + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + buildPartial() { + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource result = + new com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.uri_ = uri_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.generation_ = generation_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource other) { + if (other + == com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + .getDefaultInstance()) return this; + if (!other.getUri().isEmpty()) { + uri_ = other.uri_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getGeneration().isEmpty()) { + generation_ = other.generation_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + generation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object uri_ = ""; + /** + * + * + *
+       * The Cloud Storage uri pointing to the ipynb file. Format:
+       * `gs://bucket/notebook_file.ipynb`
+       * 
+ * + * string uri = 1; + * + * @return The uri. + */ + public java.lang.String getUri() { + java.lang.Object ref = uri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * The Cloud Storage uri pointing to the ipynb file. Format:
+       * `gs://bucket/notebook_file.ipynb`
+       * 
+ * + * string uri = 1; + * + * @return The bytes for uri. + */ + public com.google.protobuf.ByteString getUriBytes() { + java.lang.Object ref = uri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * The Cloud Storage uri pointing to the ipynb file. Format:
+       * `gs://bucket/notebook_file.ipynb`
+       * 
+ * + * string uri = 1; + * + * @param value The uri to set. + * @return This builder for chaining. + */ + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + uri_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * The Cloud Storage uri pointing to the ipynb file. Format:
+       * `gs://bucket/notebook_file.ipynb`
+       * 
+ * + * string uri = 1; + * + * @return This builder for chaining. + */ + public Builder clearUri() { + uri_ = getDefaultInstance().getUri(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+       * The Cloud Storage uri pointing to the ipynb file. Format:
+       * `gs://bucket/notebook_file.ipynb`
+       * 
+ * + * string uri = 1; + * + * @param value The bytes for uri to set. + * @return This builder for chaining. + */ + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object generation_ = ""; + /** + * + * + *
+       * The version of the Cloud Storage object to read. If unset, the current
+       * version of the object is read. See
+       * https://cloud.google.com/storage/docs/metadata#generation-number.
+       * 
+ * + * string generation = 2; + * + * @return The generation. + */ + public java.lang.String getGeneration() { + java.lang.Object ref = generation_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + generation_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * The version of the Cloud Storage object to read. If unset, the current
+       * version of the object is read. See
+       * https://cloud.google.com/storage/docs/metadata#generation-number.
+       * 
+ * + * string generation = 2; + * + * @return The bytes for generation. + */ + public com.google.protobuf.ByteString getGenerationBytes() { + java.lang.Object ref = generation_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + generation_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * The version of the Cloud Storage object to read. If unset, the current
+       * version of the object is read. See
+       * https://cloud.google.com/storage/docs/metadata#generation-number.
+       * 
+ * + * string generation = 2; + * + * @param value The generation to set. + * @return This builder for chaining. + */ + public Builder setGeneration(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + generation_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * The version of the Cloud Storage object to read. If unset, the current
+       * version of the object is read. See
+       * https://cloud.google.com/storage/docs/metadata#generation-number.
+       * 
+ * + * string generation = 2; + * + * @return This builder for chaining. + */ + public Builder clearGeneration() { + generation_ = getDefaultInstance().getGeneration(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+       * The version of the Cloud Storage object to read. If unset, the current
+       * version of the object is read. See
+       * https://cloud.google.com/storage/docs/metadata#generation-number.
+       * 
+ * + * string generation = 2; + * + * @param value The bytes for generation to set. + * @return This builder for chaining. + */ + public Builder setGenerationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + generation_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource) + private static final com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource(); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsNotebookSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int bitField0_; + private int notebookSourceCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object notebookSource_; + + public enum NotebookSourceCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + DATAFORM_REPOSITORY_SOURCE(3), + GCS_NOTEBOOK_SOURCE(4), + NOTEBOOKSOURCE_NOT_SET(0); + private final int value; + + private NotebookSourceCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static NotebookSourceCase valueOf(int value) { + return forNumber(value); + } + + public static NotebookSourceCase forNumber(int value) { + switch (value) { + case 3: + return DATAFORM_REPOSITORY_SOURCE; + case 4: + return GCS_NOTEBOOK_SOURCE; + case 0: + return NOTEBOOKSOURCE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public NotebookSourceCase getNotebookSourceCase() { + return NotebookSourceCase.forNumber(notebookSourceCase_); + } + + private int environmentSpecCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object environmentSpec_; + + public enum EnvironmentSpecCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + NOTEBOOK_RUNTIME_TEMPLATE_RESOURCE_NAME(14), + ENVIRONMENTSPEC_NOT_SET(0); + private final int value; + + private EnvironmentSpecCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static EnvironmentSpecCase valueOf(int value) { + return forNumber(value); + } + + public static EnvironmentSpecCase forNumber(int value) { + switch (value) { + case 14: + return NOTEBOOK_RUNTIME_TEMPLATE_RESOURCE_NAME; + case 0: + return ENVIRONMENTSPEC_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public EnvironmentSpecCase getEnvironmentSpecCase() { + return EnvironmentSpecCase.forNumber(environmentSpecCase_); + } + + private int executionSinkCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object executionSink_; + + public enum ExecutionSinkCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + GCS_OUTPUT_URI(8), + EXECUTIONSINK_NOT_SET(0); + private final int value; + + private ExecutionSinkCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ExecutionSinkCase valueOf(int value) { + return forNumber(value); + } + + public static ExecutionSinkCase forNumber(int value) { + switch (value) { + case 8: + return GCS_OUTPUT_URI; + case 0: + return EXECUTIONSINK_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ExecutionSinkCase getExecutionSinkCase() { + return ExecutionSinkCase.forNumber(executionSinkCase_); + } + + private int executionIdentityCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object executionIdentity_; + + public enum ExecutionIdentityCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + EXECUTION_USER(9), + SERVICE_ACCOUNT(18), + EXECUTIONIDENTITY_NOT_SET(0); + private final int value; + + private ExecutionIdentityCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ExecutionIdentityCase valueOf(int value) { + return forNumber(value); + } + + public static ExecutionIdentityCase forNumber(int value) { + switch (value) { + case 9: + return EXECUTION_USER; + case 18: + return SERVICE_ACCOUNT; + case 0: + return EXECUTIONIDENTITY_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ExecutionIdentityCase getExecutionIdentityCase() { + return ExecutionIdentityCase.forNumber(executionIdentityCase_); + } + + public static final int DATAFORM_REPOSITORY_SOURCE_FIELD_NUMBER = 3; + /** + * + * + *
+   * The Dataform Repository pointing to a single file notebook repository.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource dataform_repository_source = 3; + * + * + * @return Whether the dataformRepositorySource field is set. + */ + @java.lang.Override + public boolean hasDataformRepositorySource() { + return notebookSourceCase_ == 3; + } + /** + * + * + *
+   * The Dataform Repository pointing to a single file notebook repository.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource dataform_repository_source = 3; + * + * + * @return The dataformRepositorySource. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + getDataformRepositorySource() { + if (notebookSourceCase_ == 3) { + return (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource) + notebookSource_; + } + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + .getDefaultInstance(); + } + /** + * + * + *
+   * The Dataform Repository pointing to a single file notebook repository.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource dataform_repository_source = 3; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySourceOrBuilder + getDataformRepositorySourceOrBuilder() { + if (notebookSourceCase_ == 3) { + return (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource) + notebookSource_; + } + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + .getDefaultInstance(); + } + + public static final int GCS_NOTEBOOK_SOURCE_FIELD_NUMBER = 4; + /** + * + * + *
+   * The GCS url pointing to the ipynb file. Format:
+   * `gs://bucket/notebook_file.ipynb`
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource gcs_notebook_source = 4; + * + * + * @return Whether the gcsNotebookSource field is set. + */ + @java.lang.Override + public boolean hasGcsNotebookSource() { + return notebookSourceCase_ == 4; + } + /** + * + * + *
+   * The GCS url pointing to the ipynb file. Format:
+   * `gs://bucket/notebook_file.ipynb`
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource gcs_notebook_source = 4; + * + * + * @return The gcsNotebookSource. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + getGcsNotebookSource() { + if (notebookSourceCase_ == 4) { + return (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource) + notebookSource_; + } + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + .getDefaultInstance(); + } + /** + * + * + *
+   * The GCS url pointing to the ipynb file. Format:
+   * `gs://bucket/notebook_file.ipynb`
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource gcs_notebook_source = 4; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSourceOrBuilder + getGcsNotebookSourceOrBuilder() { + if (notebookSourceCase_ == 4) { + return (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource) + notebookSource_; + } + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + .getDefaultInstance(); + } + + public static final int NOTEBOOK_RUNTIME_TEMPLATE_RESOURCE_NAME_FIELD_NUMBER = 14; + /** + * + * + *
+   * The NotebookRuntimeTemplate to source compute configuration from.
+   * 
+ * + * + * string notebook_runtime_template_resource_name = 14 [(.google.api.resource_reference) = { ... } + * + * + * @return Whether the notebookRuntimeTemplateResourceName field is set. + */ + public boolean hasNotebookRuntimeTemplateResourceName() { + return environmentSpecCase_ == 14; + } + /** + * + * + *
+   * The NotebookRuntimeTemplate to source compute configuration from.
+   * 
+ * + * + * string notebook_runtime_template_resource_name = 14 [(.google.api.resource_reference) = { ... } + * + * + * @return The notebookRuntimeTemplateResourceName. + */ + public java.lang.String getNotebookRuntimeTemplateResourceName() { + java.lang.Object ref = ""; + if (environmentSpecCase_ == 14) { + ref = environmentSpec_; + } + 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(); + if (environmentSpecCase_ == 14) { + environmentSpec_ = s; + } + return s; + } + } + /** + * + * + *
+   * The NotebookRuntimeTemplate to source compute configuration from.
+   * 
+ * + * + * string notebook_runtime_template_resource_name = 14 [(.google.api.resource_reference) = { ... } + * + * + * @return The bytes for notebookRuntimeTemplateResourceName. + */ + public com.google.protobuf.ByteString getNotebookRuntimeTemplateResourceNameBytes() { + java.lang.Object ref = ""; + if (environmentSpecCase_ == 14) { + ref = environmentSpec_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (environmentSpecCase_ == 14) { + environmentSpec_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GCS_OUTPUT_URI_FIELD_NUMBER = 8; + /** + * + * + *
+   * The GCS location to upload the result to. Format:
+   * `gs://bucket-name`
+   * 
+ * + * string gcs_output_uri = 8; + * + * @return Whether the gcsOutputUri field is set. + */ + public boolean hasGcsOutputUri() { + return executionSinkCase_ == 8; + } + /** + * + * + *
+   * The GCS location to upload the result to. Format:
+   * `gs://bucket-name`
+   * 
+ * + * string gcs_output_uri = 8; + * + * @return The gcsOutputUri. + */ + public java.lang.String getGcsOutputUri() { + java.lang.Object ref = ""; + if (executionSinkCase_ == 8) { + ref = executionSink_; + } + 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(); + if (executionSinkCase_ == 8) { + executionSink_ = s; + } + return s; + } + } + /** + * + * + *
+   * The GCS location to upload the result to. Format:
+   * `gs://bucket-name`
+   * 
+ * + * string gcs_output_uri = 8; + * + * @return The bytes for gcsOutputUri. + */ + public com.google.protobuf.ByteString getGcsOutputUriBytes() { + java.lang.Object ref = ""; + if (executionSinkCase_ == 8) { + ref = executionSink_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (executionSinkCase_ == 8) { + executionSink_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EXECUTION_USER_FIELD_NUMBER = 9; + /** + * + * + *
+   * The user email to run the execution as. Only supported by Colab runtimes.
+   * 
+ * + * string execution_user = 9; + * + * @return Whether the executionUser field is set. + */ + public boolean hasExecutionUser() { + return executionIdentityCase_ == 9; + } + /** + * + * + *
+   * The user email to run the execution as. Only supported by Colab runtimes.
+   * 
+ * + * string execution_user = 9; + * + * @return The executionUser. + */ + public java.lang.String getExecutionUser() { + java.lang.Object ref = ""; + if (executionIdentityCase_ == 9) { + ref = executionIdentity_; + } + 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(); + if (executionIdentityCase_ == 9) { + executionIdentity_ = s; + } + return s; + } + } + /** + * + * + *
+   * The user email to run the execution as. Only supported by Colab runtimes.
+   * 
+ * + * string execution_user = 9; + * + * @return The bytes for executionUser. + */ + public com.google.protobuf.ByteString getExecutionUserBytes() { + java.lang.Object ref = ""; + if (executionIdentityCase_ == 9) { + ref = executionIdentity_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (executionIdentityCase_ == 9) { + executionIdentity_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 18; + /** + * + * + *
+   * The service account to run the execution as.
+   * 
+ * + * string service_account = 18; + * + * @return Whether the serviceAccount field is set. + */ + public boolean hasServiceAccount() { + return executionIdentityCase_ == 18; + } + /** + * + * + *
+   * The service account to run the execution as.
+   * 
+ * + * string service_account = 18; + * + * @return The serviceAccount. + */ + public java.lang.String getServiceAccount() { + java.lang.Object ref = ""; + if (executionIdentityCase_ == 18) { + ref = executionIdentity_; + } + 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(); + if (executionIdentityCase_ == 18) { + executionIdentity_ = s; + } + return s; + } + } + /** + * + * + *
+   * The service account to run the execution as.
+   * 
+ * + * string service_account = 18; + * + * @return The bytes for serviceAccount. + */ + public com.google.protobuf.ByteString getServiceAccountBytes() { + java.lang.Object ref = ""; + if (executionIdentityCase_ == 18) { + ref = executionIdentity_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (executionIdentityCase_ == 18) { + executionIdentity_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Output only. The resource name of this NotebookExecutionJob. Format:
+   * `projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The resource name of this NotebookExecutionJob. Format:
+   * `projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object displayName_ = ""; + /** + * + * + *
+   * The display name of the NotebookExecutionJob. The name can be up to 128
+   * characters long and can consist of any UTF-8 characters.
+   * 
+ * + * string display_name = 2; + * + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + 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(); + displayName_ = s; + return s; + } + } + /** + * + * + *
+   * The display name of the NotebookExecutionJob. The name can be up to 128
+   * characters long and can consist of any UTF-8 characters.
+   * 
+ * + * string display_name = 2; + * + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EXECUTION_TIMEOUT_FIELD_NUMBER = 5; + private com.google.protobuf.Duration executionTimeout_; + /** + * + * + *
+   * Max running time of the execution job in seconds (default 86400s / 24 hrs).
+   * 
+ * + * .google.protobuf.Duration execution_timeout = 5; + * + * @return Whether the executionTimeout field is set. + */ + @java.lang.Override + public boolean hasExecutionTimeout() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Max running time of the execution job in seconds (default 86400s / 24 hrs).
+   * 
+ * + * .google.protobuf.Duration execution_timeout = 5; + * + * @return The executionTimeout. + */ + @java.lang.Override + public com.google.protobuf.Duration getExecutionTimeout() { + return executionTimeout_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionTimeout_; + } + /** + * + * + *
+   * Max running time of the execution job in seconds (default 86400s / 24 hrs).
+   * 
+ * + * .google.protobuf.Duration execution_timeout = 5; + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() { + return executionTimeout_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionTimeout_; + } + + public static final int SCHEDULE_RESOURCE_NAME_FIELD_NUMBER = 6; + + @SuppressWarnings("serial") + private volatile java.lang.Object scheduleResourceName_ = ""; + /** + * + * + *
+   * Output only. The Schedule resource name if this job is triggered by one.
+   * Format:
+   * `projects/{project_id}/locations/{location}/schedules/{schedule_id}`
+   * 
+ * + * + * string schedule_resource_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The scheduleResourceName. + */ + @java.lang.Override + public java.lang.String getScheduleResourceName() { + java.lang.Object ref = scheduleResourceName_; + 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(); + scheduleResourceName_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The Schedule resource name if this job is triggered by one.
+   * Format:
+   * `projects/{project_id}/locations/{location}/schedules/{schedule_id}`
+   * 
+ * + * + * string schedule_resource_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for scheduleResourceName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getScheduleResourceNameBytes() { + java.lang.Object ref = scheduleResourceName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + scheduleResourceName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int JOB_STATE_FIELD_NUMBER = 10; + private int jobState_ = 0; + /** + * + * + *
+   * Output only. The state of the NotebookExecutionJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.JobState job_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for jobState. + */ + @java.lang.Override + public int getJobStateValue() { + return jobState_; + } + /** + * + * + *
+   * Output only. The state of the NotebookExecutionJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.JobState job_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The jobState. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.JobState getJobState() { + com.google.cloud.aiplatform.v1beta1.JobState result = + com.google.cloud.aiplatform.v1beta1.JobState.forNumber(jobState_); + return result == null ? com.google.cloud.aiplatform.v1beta1.JobState.UNRECOGNIZED : result; + } + + public static final int STATUS_FIELD_NUMBER = 11; + private com.google.rpc.Status status_; + /** + * + * + *
+   * Output only. Populated when the NotebookExecutionJob is completed. When
+   * there is an error during notebook execution, the error details are
+   * populated.
+   * 
+ * + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the status field is set. + */ + @java.lang.Override + public boolean hasStatus() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * Output only. Populated when the NotebookExecutionJob is completed. When
+   * there is an error during notebook execution, the error details are
+   * populated.
+   * 
+ * + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The status. + */ + @java.lang.Override + public com.google.rpc.Status getStatus() { + return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + } + /** + * + * + *
+   * Output only. Populated when the NotebookExecutionJob is completed. When
+   * there is an error during notebook execution, the error details are
+   * populated.
+   * 
+ * + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { + return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + } + + public static final int CREATE_TIME_FIELD_NUMBER = 12; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
+   * Output only. Timestamp when this NotebookExecutionJob was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * Output only. Timestamp when this NotebookExecutionJob was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * + * + *
+   * Output only. Timestamp when this NotebookExecutionJob was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 13; + private com.google.protobuf.Timestamp updateTime_; + /** + * + * + *
+   * Output only. Timestamp when this NotebookExecutionJob was most recently
+   * updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + @java.lang.Override + public boolean hasUpdateTime() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * Output only. Timestamp when this NotebookExecutionJob was most recently
+   * updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getUpdateTime() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + /** + * + * + *
+   * Output only. Timestamp when this NotebookExecutionJob was most recently
+   * updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); + } + if (notebookSourceCase_ == 3) { + output.writeMessage( + 3, + (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource) + notebookSource_); + } + if (notebookSourceCase_ == 4) { + output.writeMessage( + 4, + (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource) + notebookSource_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(5, getExecutionTimeout()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scheduleResourceName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, scheduleResourceName_); + } + if (executionSinkCase_ == 8) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, executionSink_); + } + if (executionIdentityCase_ == 9) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, executionIdentity_); + } + if (jobState_ + != com.google.cloud.aiplatform.v1beta1.JobState.JOB_STATE_UNSPECIFIED.getNumber()) { + output.writeEnum(10, jobState_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(11, getStatus()); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(12, getCreateTime()); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(13, getUpdateTime()); + } + if (environmentSpecCase_ == 14) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 14, environmentSpec_); + } + if (executionIdentityCase_ == 18) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 18, executionIdentity_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); + } + if (notebookSourceCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource) + notebookSource_); + } + if (notebookSourceCase_ == 4) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource) + notebookSource_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getExecutionTimeout()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scheduleResourceName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, scheduleResourceName_); + } + if (executionSinkCase_ == 8) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, executionSink_); + } + if (executionIdentityCase_ == 9) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, executionIdentity_); + } + if (jobState_ + != com.google.cloud.aiplatform.v1beta1.JobState.JOB_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, jobState_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getStatus()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getCreateTime()); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getUpdateTime()); + } + if (environmentSpecCase_ == 14) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, environmentSpec_); + } + if (executionIdentityCase_ == 18) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, executionIdentity_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob other = + (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob) obj; + + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (hasExecutionTimeout() != other.hasExecutionTimeout()) return false; + if (hasExecutionTimeout()) { + if (!getExecutionTimeout().equals(other.getExecutionTimeout())) return false; + } + if (!getScheduleResourceName().equals(other.getScheduleResourceName())) return false; + if (jobState_ != other.jobState_) return false; + if (hasStatus() != other.hasStatus()) return false; + if (hasStatus()) { + if (!getStatus().equals(other.getStatus())) return false; + } + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime().equals(other.getCreateTime())) return false; + } + if (hasUpdateTime() != other.hasUpdateTime()) return false; + if (hasUpdateTime()) { + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!getNotebookSourceCase().equals(other.getNotebookSourceCase())) return false; + switch (notebookSourceCase_) { + case 3: + if (!getDataformRepositorySource().equals(other.getDataformRepositorySource())) + return false; + break; + case 4: + if (!getGcsNotebookSource().equals(other.getGcsNotebookSource())) return false; + break; + case 0: + default: + } + if (!getEnvironmentSpecCase().equals(other.getEnvironmentSpecCase())) return false; + switch (environmentSpecCase_) { + case 14: + if (!getNotebookRuntimeTemplateResourceName() + .equals(other.getNotebookRuntimeTemplateResourceName())) return false; + break; + case 0: + default: + } + if (!getExecutionSinkCase().equals(other.getExecutionSinkCase())) return false; + switch (executionSinkCase_) { + case 8: + if (!getGcsOutputUri().equals(other.getGcsOutputUri())) return false; + break; + case 0: + default: + } + if (!getExecutionIdentityCase().equals(other.getExecutionIdentityCase())) return false; + switch (executionIdentityCase_) { + case 9: + if (!getExecutionUser().equals(other.getExecutionUser())) return false; + break; + case 18: + if (!getServiceAccount().equals(other.getServiceAccount())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + if (hasExecutionTimeout()) { + hash = (37 * hash) + EXECUTION_TIMEOUT_FIELD_NUMBER; + hash = (53 * hash) + getExecutionTimeout().hashCode(); + } + hash = (37 * hash) + SCHEDULE_RESOURCE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getScheduleResourceName().hashCode(); + hash = (37 * hash) + JOB_STATE_FIELD_NUMBER; + hash = (53 * hash) + jobState_; + if (hasStatus()) { + hash = (37 * hash) + STATUS_FIELD_NUMBER; + hash = (53 * hash) + getStatus().hashCode(); + } + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + if (hasUpdateTime()) { + hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getUpdateTime().hashCode(); + } + switch (notebookSourceCase_) { + case 3: + hash = (37 * hash) + DATAFORM_REPOSITORY_SOURCE_FIELD_NUMBER; + hash = (53 * hash) + getDataformRepositorySource().hashCode(); + break; + case 4: + hash = (37 * hash) + GCS_NOTEBOOK_SOURCE_FIELD_NUMBER; + hash = (53 * hash) + getGcsNotebookSource().hashCode(); + break; + case 0: + default: + } + switch (environmentSpecCase_) { + case 14: + hash = (37 * hash) + NOTEBOOK_RUNTIME_TEMPLATE_RESOURCE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getNotebookRuntimeTemplateResourceName().hashCode(); + break; + case 0: + default: + } + switch (executionSinkCase_) { + case 8: + hash = (37 * hash) + GCS_OUTPUT_URI_FIELD_NUMBER; + hash = (53 * hash) + getGcsOutputUri().hashCode(); + break; + case 0: + default: + } + switch (executionIdentityCase_) { + case 9: + hash = (37 * hash) + EXECUTION_USER_FIELD_NUMBER; + hash = (53 * hash) + getExecutionUser().hashCode(); + break; + case 18: + hash = (37 * hash) + SERVICE_ACCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getServiceAccount().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * NotebookExecutionJob represents an instance of a notebook execution.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.NotebookExecutionJob} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.NotebookExecutionJob) + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.class, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getExecutionTimeoutFieldBuilder(); + getStatusFieldBuilder(); + getCreateTimeFieldBuilder(); + getUpdateTimeFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (dataformRepositorySourceBuilder_ != null) { + dataformRepositorySourceBuilder_.clear(); + } + if (gcsNotebookSourceBuilder_ != null) { + gcsNotebookSourceBuilder_.clear(); + } + name_ = ""; + displayName_ = ""; + executionTimeout_ = null; + if (executionTimeoutBuilder_ != null) { + executionTimeoutBuilder_.dispose(); + executionTimeoutBuilder_ = null; + } + scheduleResourceName_ = ""; + jobState_ = 0; + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + notebookSourceCase_ = 0; + notebookSource_ = null; + environmentSpecCase_ = 0; + environmentSpec_ = null; + executionSinkCase_ = 0; + executionSink_ = null; + executionIdentityCase_ = 0; + executionIdentity_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob build() { + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob buildPartial() { + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob result = + new com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000040) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.displayName_ = displayName_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000100) != 0)) { + result.executionTimeout_ = + executionTimeoutBuilder_ == null ? executionTimeout_ : executionTimeoutBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.scheduleResourceName_ = scheduleResourceName_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.jobState_ = jobState_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + to_bitField0_ |= 0x00000008; + } + result.bitField0_ |= to_bitField0_; + } + + private void buildPartialOneofs( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob result) { + result.notebookSourceCase_ = notebookSourceCase_; + result.notebookSource_ = this.notebookSource_; + if (notebookSourceCase_ == 3 && dataformRepositorySourceBuilder_ != null) { + result.notebookSource_ = dataformRepositorySourceBuilder_.build(); + } + if (notebookSourceCase_ == 4 && gcsNotebookSourceBuilder_ != null) { + result.notebookSource_ = gcsNotebookSourceBuilder_.build(); + } + result.environmentSpecCase_ = environmentSpecCase_; + result.environmentSpec_ = this.environmentSpec_; + result.executionSinkCase_ = executionSinkCase_; + result.executionSink_ = this.executionSink_; + result.executionIdentityCase_ = executionIdentityCase_; + result.executionIdentity_ = this.executionIdentity_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob other) { + if (other == com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + bitField0_ |= 0x00000080; + onChanged(); + } + if (other.hasExecutionTimeout()) { + mergeExecutionTimeout(other.getExecutionTimeout()); + } + if (!other.getScheduleResourceName().isEmpty()) { + scheduleResourceName_ = other.scheduleResourceName_; + bitField0_ |= 0x00000200; + onChanged(); + } + if (other.jobState_ != 0) { + setJobStateValue(other.getJobStateValue()); + } + if (other.hasStatus()) { + mergeStatus(other.getStatus()); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } + switch (other.getNotebookSourceCase()) { + case DATAFORM_REPOSITORY_SOURCE: + { + mergeDataformRepositorySource(other.getDataformRepositorySource()); + break; + } + case GCS_NOTEBOOK_SOURCE: + { + mergeGcsNotebookSource(other.getGcsNotebookSource()); + break; + } + case NOTEBOOKSOURCE_NOT_SET: + { + break; + } + } + switch (other.getEnvironmentSpecCase()) { + case NOTEBOOK_RUNTIME_TEMPLATE_RESOURCE_NAME: + { + environmentSpecCase_ = 14; + environmentSpec_ = other.environmentSpec_; + onChanged(); + break; + } + case ENVIRONMENTSPEC_NOT_SET: + { + break; + } + } + switch (other.getExecutionSinkCase()) { + case GCS_OUTPUT_URI: + { + executionSinkCase_ = 8; + executionSink_ = other.executionSink_; + onChanged(); + break; + } + case EXECUTIONSINK_NOT_SET: + { + break; + } + } + switch (other.getExecutionIdentityCase()) { + case EXECUTION_USER: + { + executionIdentityCase_ = 9; + executionIdentity_ = other.executionIdentity_; + onChanged(); + break; + } + case SERVICE_ACCOUNT: + { + executionIdentityCase_ = 18; + executionIdentity_ = other.executionIdentity_; + onChanged(); + break; + } + case EXECUTIONIDENTITY_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 18 + case 26: + { + input.readMessage( + getDataformRepositorySourceFieldBuilder().getBuilder(), extensionRegistry); + notebookSourceCase_ = 3; + break; + } // case 26 + case 34: + { + input.readMessage( + getGcsNotebookSourceFieldBuilder().getBuilder(), extensionRegistry); + notebookSourceCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage( + getExecutionTimeoutFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 42 + case 50: + { + scheduleResourceName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 50 + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); + executionSinkCase_ = 8; + executionSink_ = s; + break; + } // case 66 + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); + executionIdentityCase_ = 9; + executionIdentity_ = s; + break; + } // case 74 + case 80: + { + jobState_ = input.readEnum(); + bitField0_ |= 0x00000400; + break; + } // case 80 + case 90: + { + input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 90 + case 98: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00001000; + break; + } // case 98 + case 106: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 106 + case 114: + { + java.lang.String s = input.readStringRequireUtf8(); + environmentSpecCase_ = 14; + environmentSpec_ = s; + break; + } // case 114 + case 146: + { + java.lang.String s = input.readStringRequireUtf8(); + executionIdentityCase_ = 18; + executionIdentity_ = s; + break; + } // case 146 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int notebookSourceCase_ = 0; + private java.lang.Object notebookSource_; + + public NotebookSourceCase getNotebookSourceCase() { + return NotebookSourceCase.forNumber(notebookSourceCase_); + } + + public Builder clearNotebookSource() { + notebookSourceCase_ = 0; + notebookSource_ = null; + onChanged(); + return this; + } + + private int environmentSpecCase_ = 0; + private java.lang.Object environmentSpec_; + + public EnvironmentSpecCase getEnvironmentSpecCase() { + return EnvironmentSpecCase.forNumber(environmentSpecCase_); + } + + public Builder clearEnvironmentSpec() { + environmentSpecCase_ = 0; + environmentSpec_ = null; + onChanged(); + return this; + } + + private int executionSinkCase_ = 0; + private java.lang.Object executionSink_; + + public ExecutionSinkCase getExecutionSinkCase() { + return ExecutionSinkCase.forNumber(executionSinkCase_); + } + + public Builder clearExecutionSink() { + executionSinkCase_ = 0; + executionSink_ = null; + onChanged(); + return this; + } + + private int executionIdentityCase_ = 0; + private java.lang.Object executionIdentity_; + + public ExecutionIdentityCase getExecutionIdentityCase() { + return ExecutionIdentityCase.forNumber(executionIdentityCase_); + } + + public Builder clearExecutionIdentity() { + executionIdentityCase_ = 0; + executionIdentity_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + .Builder, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob + .DataformRepositorySourceOrBuilder> + dataformRepositorySourceBuilder_; + /** + * + * + *
+     * The Dataform Repository pointing to a single file notebook repository.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource dataform_repository_source = 3; + * + * + * @return Whether the dataformRepositorySource field is set. + */ + @java.lang.Override + public boolean hasDataformRepositorySource() { + return notebookSourceCase_ == 3; + } + /** + * + * + *
+     * The Dataform Repository pointing to a single file notebook repository.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource dataform_repository_source = 3; + * + * + * @return The dataformRepositorySource. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + getDataformRepositorySource() { + if (dataformRepositorySourceBuilder_ == null) { + if (notebookSourceCase_ == 3) { + return (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource) + notebookSource_; + } + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + .getDefaultInstance(); + } else { + if (notebookSourceCase_ == 3) { + return dataformRepositorySourceBuilder_.getMessage(); + } + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + .getDefaultInstance(); + } + } + /** + * + * + *
+     * The Dataform Repository pointing to a single file notebook repository.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource dataform_repository_source = 3; + * + */ + public Builder setDataformRepositorySource( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource value) { + if (dataformRepositorySourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + notebookSource_ = value; + onChanged(); + } else { + dataformRepositorySourceBuilder_.setMessage(value); + } + notebookSourceCase_ = 3; + return this; + } + /** + * + * + *
+     * The Dataform Repository pointing to a single file notebook repository.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource dataform_repository_source = 3; + * + */ + public Builder setDataformRepositorySource( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource.Builder + builderForValue) { + if (dataformRepositorySourceBuilder_ == null) { + notebookSource_ = builderForValue.build(); + onChanged(); + } else { + dataformRepositorySourceBuilder_.setMessage(builderForValue.build()); + } + notebookSourceCase_ = 3; + return this; + } + /** + * + * + *
+     * The Dataform Repository pointing to a single file notebook repository.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource dataform_repository_source = 3; + * + */ + public Builder mergeDataformRepositorySource( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource value) { + if (dataformRepositorySourceBuilder_ == null) { + if (notebookSourceCase_ == 3 + && notebookSource_ + != com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + .getDefaultInstance()) { + notebookSource_ = + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + .newBuilder( + (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob + .DataformRepositorySource) + notebookSource_) + .mergeFrom(value) + .buildPartial(); + } else { + notebookSource_ = value; + } + onChanged(); + } else { + if (notebookSourceCase_ == 3) { + dataformRepositorySourceBuilder_.mergeFrom(value); + } else { + dataformRepositorySourceBuilder_.setMessage(value); + } + } + notebookSourceCase_ = 3; + return this; + } + /** + * + * + *
+     * The Dataform Repository pointing to a single file notebook repository.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource dataform_repository_source = 3; + * + */ + public Builder clearDataformRepositorySource() { + if (dataformRepositorySourceBuilder_ == null) { + if (notebookSourceCase_ == 3) { + notebookSourceCase_ = 0; + notebookSource_ = null; + onChanged(); + } + } else { + if (notebookSourceCase_ == 3) { + notebookSourceCase_ = 0; + notebookSource_ = null; + } + dataformRepositorySourceBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The Dataform Repository pointing to a single file notebook repository.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource dataform_repository_source = 3; + * + */ + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource.Builder + getDataformRepositorySourceBuilder() { + return getDataformRepositorySourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The Dataform Repository pointing to a single file notebook repository.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource dataform_repository_source = 3; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob + .DataformRepositorySourceOrBuilder + getDataformRepositorySourceOrBuilder() { + if ((notebookSourceCase_ == 3) && (dataformRepositorySourceBuilder_ != null)) { + return dataformRepositorySourceBuilder_.getMessageOrBuilder(); + } else { + if (notebookSourceCase_ == 3) { + return (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource) + notebookSource_; + } + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + .getDefaultInstance(); + } + } + /** + * + * + *
+     * The Dataform Repository pointing to a single file notebook repository.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource dataform_repository_source = 3; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + .Builder, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob + .DataformRepositorySourceOrBuilder> + getDataformRepositorySourceFieldBuilder() { + if (dataformRepositorySourceBuilder_ == null) { + if (!(notebookSourceCase_ == 3)) { + notebookSource_ = + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + .getDefaultInstance(); + } + dataformRepositorySourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + .Builder, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob + .DataformRepositorySourceOrBuilder>( + (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource) + notebookSource_, + getParentForChildren(), + isClean()); + notebookSource_ = null; + } + notebookSourceCase_ = 3; + onChanged(); + return dataformRepositorySourceBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource.Builder, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSourceOrBuilder> + gcsNotebookSourceBuilder_; + /** + * + * + *
+     * The GCS url pointing to the ipynb file. Format:
+     * `gs://bucket/notebook_file.ipynb`
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource gcs_notebook_source = 4; + * + * + * @return Whether the gcsNotebookSource field is set. + */ + @java.lang.Override + public boolean hasGcsNotebookSource() { + return notebookSourceCase_ == 4; + } + /** + * + * + *
+     * The GCS url pointing to the ipynb file. Format:
+     * `gs://bucket/notebook_file.ipynb`
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource gcs_notebook_source = 4; + * + * + * @return The gcsNotebookSource. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + getGcsNotebookSource() { + if (gcsNotebookSourceBuilder_ == null) { + if (notebookSourceCase_ == 4) { + return (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource) + notebookSource_; + } + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + .getDefaultInstance(); + } else { + if (notebookSourceCase_ == 4) { + return gcsNotebookSourceBuilder_.getMessage(); + } + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + .getDefaultInstance(); + } + } + /** + * + * + *
+     * The GCS url pointing to the ipynb file. Format:
+     * `gs://bucket/notebook_file.ipynb`
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource gcs_notebook_source = 4; + * + */ + public Builder setGcsNotebookSource( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource value) { + if (gcsNotebookSourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + notebookSource_ = value; + onChanged(); + } else { + gcsNotebookSourceBuilder_.setMessage(value); + } + notebookSourceCase_ = 4; + return this; + } + /** + * + * + *
+     * The GCS url pointing to the ipynb file. Format:
+     * `gs://bucket/notebook_file.ipynb`
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource gcs_notebook_source = 4; + * + */ + public Builder setGcsNotebookSource( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource.Builder + builderForValue) { + if (gcsNotebookSourceBuilder_ == null) { + notebookSource_ = builderForValue.build(); + onChanged(); + } else { + gcsNotebookSourceBuilder_.setMessage(builderForValue.build()); + } + notebookSourceCase_ = 4; + return this; + } + /** + * + * + *
+     * The GCS url pointing to the ipynb file. Format:
+     * `gs://bucket/notebook_file.ipynb`
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource gcs_notebook_source = 4; + * + */ + public Builder mergeGcsNotebookSource( + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource value) { + if (gcsNotebookSourceBuilder_ == null) { + if (notebookSourceCase_ == 4 + && notebookSource_ + != com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + .getDefaultInstance()) { + notebookSource_ = + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource.newBuilder( + (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource) + notebookSource_) + .mergeFrom(value) + .buildPartial(); + } else { + notebookSource_ = value; + } + onChanged(); + } else { + if (notebookSourceCase_ == 4) { + gcsNotebookSourceBuilder_.mergeFrom(value); + } else { + gcsNotebookSourceBuilder_.setMessage(value); + } + } + notebookSourceCase_ = 4; + return this; + } + /** + * + * + *
+     * The GCS url pointing to the ipynb file. Format:
+     * `gs://bucket/notebook_file.ipynb`
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource gcs_notebook_source = 4; + * + */ + public Builder clearGcsNotebookSource() { + if (gcsNotebookSourceBuilder_ == null) { + if (notebookSourceCase_ == 4) { + notebookSourceCase_ = 0; + notebookSource_ = null; + onChanged(); + } + } else { + if (notebookSourceCase_ == 4) { + notebookSourceCase_ = 0; + notebookSource_ = null; + } + gcsNotebookSourceBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The GCS url pointing to the ipynb file. Format:
+     * `gs://bucket/notebook_file.ipynb`
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource gcs_notebook_source = 4; + * + */ + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource.Builder + getGcsNotebookSourceBuilder() { + return getGcsNotebookSourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The GCS url pointing to the ipynb file. Format:
+     * `gs://bucket/notebook_file.ipynb`
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource gcs_notebook_source = 4; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSourceOrBuilder + getGcsNotebookSourceOrBuilder() { + if ((notebookSourceCase_ == 4) && (gcsNotebookSourceBuilder_ != null)) { + return gcsNotebookSourceBuilder_.getMessageOrBuilder(); + } else { + if (notebookSourceCase_ == 4) { + return (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource) + notebookSource_; + } + return com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + .getDefaultInstance(); + } + } + /** + * + * + *
+     * The GCS url pointing to the ipynb file. Format:
+     * `gs://bucket/notebook_file.ipynb`
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource gcs_notebook_source = 4; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource.Builder, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSourceOrBuilder> + getGcsNotebookSourceFieldBuilder() { + if (gcsNotebookSourceBuilder_ == null) { + if (!(notebookSourceCase_ == 4)) { + notebookSource_ = + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource + .getDefaultInstance(); + } + gcsNotebookSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource.Builder, + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob + .GcsNotebookSourceOrBuilder>( + (com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource) + notebookSource_, + getParentForChildren(), + isClean()); + notebookSource_ = null; + } + notebookSourceCase_ = 4; + onChanged(); + return gcsNotebookSourceBuilder_; + } + + /** + * + * + *
+     * The NotebookRuntimeTemplate to source compute configuration from.
+     * 
+ * + * + * string notebook_runtime_template_resource_name = 14 [(.google.api.resource_reference) = { ... } + * + * + * @return Whether the notebookRuntimeTemplateResourceName field is set. + */ + @java.lang.Override + public boolean hasNotebookRuntimeTemplateResourceName() { + return environmentSpecCase_ == 14; + } + /** + * + * + *
+     * The NotebookRuntimeTemplate to source compute configuration from.
+     * 
+ * + * + * string notebook_runtime_template_resource_name = 14 [(.google.api.resource_reference) = { ... } + * + * + * @return The notebookRuntimeTemplateResourceName. + */ + @java.lang.Override + public java.lang.String getNotebookRuntimeTemplateResourceName() { + java.lang.Object ref = ""; + if (environmentSpecCase_ == 14) { + ref = environmentSpec_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (environmentSpecCase_ == 14) { + environmentSpec_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The NotebookRuntimeTemplate to source compute configuration from.
+     * 
+ * + * + * string notebook_runtime_template_resource_name = 14 [(.google.api.resource_reference) = { ... } + * + * + * @return The bytes for notebookRuntimeTemplateResourceName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNotebookRuntimeTemplateResourceNameBytes() { + java.lang.Object ref = ""; + if (environmentSpecCase_ == 14) { + ref = environmentSpec_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (environmentSpecCase_ == 14) { + environmentSpec_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The NotebookRuntimeTemplate to source compute configuration from.
+     * 
+ * + * + * string notebook_runtime_template_resource_name = 14 [(.google.api.resource_reference) = { ... } + * + * + * @param value The notebookRuntimeTemplateResourceName to set. + * @return This builder for chaining. + */ + public Builder setNotebookRuntimeTemplateResourceName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + environmentSpecCase_ = 14; + environmentSpec_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The NotebookRuntimeTemplate to source compute configuration from.
+     * 
+ * + * + * string notebook_runtime_template_resource_name = 14 [(.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearNotebookRuntimeTemplateResourceName() { + if (environmentSpecCase_ == 14) { + environmentSpecCase_ = 0; + environmentSpec_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The NotebookRuntimeTemplate to source compute configuration from.
+     * 
+ * + * + * string notebook_runtime_template_resource_name = 14 [(.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for notebookRuntimeTemplateResourceName to set. + * @return This builder for chaining. + */ + public Builder setNotebookRuntimeTemplateResourceNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + environmentSpecCase_ = 14; + environmentSpec_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * The GCS location to upload the result to. Format:
+     * `gs://bucket-name`
+     * 
+ * + * string gcs_output_uri = 8; + * + * @return Whether the gcsOutputUri field is set. + */ + @java.lang.Override + public boolean hasGcsOutputUri() { + return executionSinkCase_ == 8; + } + /** + * + * + *
+     * The GCS location to upload the result to. Format:
+     * `gs://bucket-name`
+     * 
+ * + * string gcs_output_uri = 8; + * + * @return The gcsOutputUri. + */ + @java.lang.Override + public java.lang.String getGcsOutputUri() { + java.lang.Object ref = ""; + if (executionSinkCase_ == 8) { + ref = executionSink_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (executionSinkCase_ == 8) { + executionSink_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The GCS location to upload the result to. Format:
+     * `gs://bucket-name`
+     * 
+ * + * string gcs_output_uri = 8; + * + * @return The bytes for gcsOutputUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getGcsOutputUriBytes() { + java.lang.Object ref = ""; + if (executionSinkCase_ == 8) { + ref = executionSink_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (executionSinkCase_ == 8) { + executionSink_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The GCS location to upload the result to. Format:
+     * `gs://bucket-name`
+     * 
+ * + * string gcs_output_uri = 8; + * + * @param value The gcsOutputUri to set. + * @return This builder for chaining. + */ + public Builder setGcsOutputUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + executionSinkCase_ = 8; + executionSink_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The GCS location to upload the result to. Format:
+     * `gs://bucket-name`
+     * 
+ * + * string gcs_output_uri = 8; + * + * @return This builder for chaining. + */ + public Builder clearGcsOutputUri() { + if (executionSinkCase_ == 8) { + executionSinkCase_ = 0; + executionSink_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The GCS location to upload the result to. Format:
+     * `gs://bucket-name`
+     * 
+ * + * string gcs_output_uri = 8; + * + * @param value The bytes for gcsOutputUri to set. + * @return This builder for chaining. + */ + public Builder setGcsOutputUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + executionSinkCase_ = 8; + executionSink_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * The user email to run the execution as. Only supported by Colab runtimes.
+     * 
+ * + * string execution_user = 9; + * + * @return Whether the executionUser field is set. + */ + @java.lang.Override + public boolean hasExecutionUser() { + return executionIdentityCase_ == 9; + } + /** + * + * + *
+     * The user email to run the execution as. Only supported by Colab runtimes.
+     * 
+ * + * string execution_user = 9; + * + * @return The executionUser. + */ + @java.lang.Override + public java.lang.String getExecutionUser() { + java.lang.Object ref = ""; + if (executionIdentityCase_ == 9) { + ref = executionIdentity_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (executionIdentityCase_ == 9) { + executionIdentity_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The user email to run the execution as. Only supported by Colab runtimes.
+     * 
+ * + * string execution_user = 9; + * + * @return The bytes for executionUser. + */ + @java.lang.Override + public com.google.protobuf.ByteString getExecutionUserBytes() { + java.lang.Object ref = ""; + if (executionIdentityCase_ == 9) { + ref = executionIdentity_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (executionIdentityCase_ == 9) { + executionIdentity_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The user email to run the execution as. Only supported by Colab runtimes.
+     * 
+ * + * string execution_user = 9; + * + * @param value The executionUser to set. + * @return This builder for chaining. + */ + public Builder setExecutionUser(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + executionIdentityCase_ = 9; + executionIdentity_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The user email to run the execution as. Only supported by Colab runtimes.
+     * 
+ * + * string execution_user = 9; + * + * @return This builder for chaining. + */ + public Builder clearExecutionUser() { + if (executionIdentityCase_ == 9) { + executionIdentityCase_ = 0; + executionIdentity_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The user email to run the execution as. Only supported by Colab runtimes.
+     * 
+ * + * string execution_user = 9; + * + * @param value The bytes for executionUser to set. + * @return This builder for chaining. + */ + public Builder setExecutionUserBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + executionIdentityCase_ = 9; + executionIdentity_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * The service account to run the execution as.
+     * 
+ * + * string service_account = 18; + * + * @return Whether the serviceAccount field is set. + */ + @java.lang.Override + public boolean hasServiceAccount() { + return executionIdentityCase_ == 18; + } + /** + * + * + *
+     * The service account to run the execution as.
+     * 
+ * + * string service_account = 18; + * + * @return The serviceAccount. + */ + @java.lang.Override + public java.lang.String getServiceAccount() { + java.lang.Object ref = ""; + if (executionIdentityCase_ == 18) { + ref = executionIdentity_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (executionIdentityCase_ == 18) { + executionIdentity_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The service account to run the execution as.
+     * 
+ * + * string service_account = 18; + * + * @return The bytes for serviceAccount. + */ + @java.lang.Override + public com.google.protobuf.ByteString getServiceAccountBytes() { + java.lang.Object ref = ""; + if (executionIdentityCase_ == 18) { + ref = executionIdentity_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (executionIdentityCase_ == 18) { + executionIdentity_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The service account to run the execution as.
+     * 
+ * + * string service_account = 18; + * + * @param value The serviceAccount to set. + * @return This builder for chaining. + */ + public Builder setServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + executionIdentityCase_ = 18; + executionIdentity_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The service account to run the execution as.
+     * 
+ * + * string service_account = 18; + * + * @return This builder for chaining. + */ + public Builder clearServiceAccount() { + if (executionIdentityCase_ == 18) { + executionIdentityCase_ = 0; + executionIdentity_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The service account to run the execution as.
+     * 
+ * + * string service_account = 18; + * + * @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); + executionIdentityCase_ = 18; + executionIdentity_ = value; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Output only. The resource name of this NotebookExecutionJob. Format:
+     * `projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}`
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The resource name of this NotebookExecutionJob. Format:
+     * `projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}`
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. The resource name of this NotebookExecutionJob. Format:
+     * `projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}`
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The resource name of this NotebookExecutionJob. Format:
+     * `projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}`
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The resource name of this NotebookExecutionJob. Format:
+     * `projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}`
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.lang.Object displayName_ = ""; + /** + * + * + *
+     * The display name of the NotebookExecutionJob. The name can be up to 128
+     * characters long and can consist of any UTF-8 characters.
+     * 
+ * + * string display_name = 2; + * + * @return The displayName. + */ + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The display name of the NotebookExecutionJob. The name can be up to 128
+     * characters long and can consist of any UTF-8 characters.
+     * 
+ * + * string display_name = 2; + * + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The display name of the NotebookExecutionJob. The name can be up to 128
+     * characters long and can consist of any UTF-8 characters.
+     * 
+ * + * string display_name = 2; + * + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + displayName_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * The display name of the NotebookExecutionJob. The name can be up to 128
+     * characters long and can consist of any UTF-8 characters.
+     * 
+ * + * string display_name = 2; + * + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + displayName_ = getDefaultInstance().getDisplayName(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * + * + *
+     * The display name of the NotebookExecutionJob. The name can be up to 128
+     * characters long and can consist of any UTF-8 characters.
+     * 
+ * + * string display_name = 2; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + private com.google.protobuf.Duration executionTimeout_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + executionTimeoutBuilder_; + /** + * + * + *
+     * Max running time of the execution job in seconds (default 86400s / 24 hrs).
+     * 
+ * + * .google.protobuf.Duration execution_timeout = 5; + * + * @return Whether the executionTimeout field is set. + */ + public boolean hasExecutionTimeout() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+     * Max running time of the execution job in seconds (default 86400s / 24 hrs).
+     * 
+ * + * .google.protobuf.Duration execution_timeout = 5; + * + * @return The executionTimeout. + */ + public com.google.protobuf.Duration getExecutionTimeout() { + if (executionTimeoutBuilder_ == null) { + return executionTimeout_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionTimeout_; + } else { + return executionTimeoutBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Max running time of the execution job in seconds (default 86400s / 24 hrs).
+     * 
+ * + * .google.protobuf.Duration execution_timeout = 5; + */ + public Builder setExecutionTimeout(com.google.protobuf.Duration value) { + if (executionTimeoutBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + executionTimeout_ = value; + } else { + executionTimeoutBuilder_.setMessage(value); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+     * Max running time of the execution job in seconds (default 86400s / 24 hrs).
+     * 
+ * + * .google.protobuf.Duration execution_timeout = 5; + */ + public Builder setExecutionTimeout(com.google.protobuf.Duration.Builder builderForValue) { + if (executionTimeoutBuilder_ == null) { + executionTimeout_ = builderForValue.build(); + } else { + executionTimeoutBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+     * Max running time of the execution job in seconds (default 86400s / 24 hrs).
+     * 
+ * + * .google.protobuf.Duration execution_timeout = 5; + */ + public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) { + if (executionTimeoutBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0) + && executionTimeout_ != null + && executionTimeout_ != com.google.protobuf.Duration.getDefaultInstance()) { + getExecutionTimeoutBuilder().mergeFrom(value); + } else { + executionTimeout_ = value; + } + } else { + executionTimeoutBuilder_.mergeFrom(value); + } + if (executionTimeout_ != null) { + bitField0_ |= 0x00000100; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Max running time of the execution job in seconds (default 86400s / 24 hrs).
+     * 
+ * + * .google.protobuf.Duration execution_timeout = 5; + */ + public Builder clearExecutionTimeout() { + bitField0_ = (bitField0_ & ~0x00000100); + executionTimeout_ = null; + if (executionTimeoutBuilder_ != null) { + executionTimeoutBuilder_.dispose(); + executionTimeoutBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Max running time of the execution job in seconds (default 86400s / 24 hrs).
+     * 
+ * + * .google.protobuf.Duration execution_timeout = 5; + */ + public com.google.protobuf.Duration.Builder getExecutionTimeoutBuilder() { + bitField0_ |= 0x00000100; + onChanged(); + return getExecutionTimeoutFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Max running time of the execution job in seconds (default 86400s / 24 hrs).
+     * 
+ * + * .google.protobuf.Duration execution_timeout = 5; + */ + public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() { + if (executionTimeoutBuilder_ != null) { + return executionTimeoutBuilder_.getMessageOrBuilder(); + } else { + return executionTimeout_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionTimeout_; + } + } + /** + * + * + *
+     * Max running time of the execution job in seconds (default 86400s / 24 hrs).
+     * 
+ * + * .google.protobuf.Duration execution_timeout = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + getExecutionTimeoutFieldBuilder() { + if (executionTimeoutBuilder_ == null) { + executionTimeoutBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getExecutionTimeout(), getParentForChildren(), isClean()); + executionTimeout_ = null; + } + return executionTimeoutBuilder_; + } + + private java.lang.Object scheduleResourceName_ = ""; + /** + * + * + *
+     * Output only. The Schedule resource name if this job is triggered by one.
+     * Format:
+     * `projects/{project_id}/locations/{location}/schedules/{schedule_id}`
+     * 
+ * + * + * string schedule_resource_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The scheduleResourceName. + */ + public java.lang.String getScheduleResourceName() { + java.lang.Object ref = scheduleResourceName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + scheduleResourceName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The Schedule resource name if this job is triggered by one.
+     * Format:
+     * `projects/{project_id}/locations/{location}/schedules/{schedule_id}`
+     * 
+ * + * + * string schedule_resource_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for scheduleResourceName. + */ + public com.google.protobuf.ByteString getScheduleResourceNameBytes() { + java.lang.Object ref = scheduleResourceName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + scheduleResourceName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. The Schedule resource name if this job is triggered by one.
+     * Format:
+     * `projects/{project_id}/locations/{location}/schedules/{schedule_id}`
+     * 
+ * + * + * string schedule_resource_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @param value The scheduleResourceName to set. + * @return This builder for chaining. + */ + public Builder setScheduleResourceName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + scheduleResourceName_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The Schedule resource name if this job is triggered by one.
+     * Format:
+     * `projects/{project_id}/locations/{location}/schedules/{schedule_id}`
+     * 
+ * + * + * string schedule_resource_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearScheduleResourceName() { + scheduleResourceName_ = getDefaultInstance().getScheduleResourceName(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The Schedule resource name if this job is triggered by one.
+     * Format:
+     * `projects/{project_id}/locations/{location}/schedules/{schedule_id}`
+     * 
+ * + * + * string schedule_resource_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for scheduleResourceName to set. + * @return This builder for chaining. + */ + public Builder setScheduleResourceNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scheduleResourceName_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + + private int jobState_ = 0; + /** + * + * + *
+     * Output only. The state of the NotebookExecutionJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.JobState job_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for jobState. + */ + @java.lang.Override + public int getJobStateValue() { + return jobState_; + } + /** + * + * + *
+     * Output only. The state of the NotebookExecutionJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.JobState job_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The enum numeric value on the wire for jobState to set. + * @return This builder for chaining. + */ + public Builder setJobStateValue(int value) { + jobState_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The state of the NotebookExecutionJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.JobState job_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The jobState. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.JobState getJobState() { + com.google.cloud.aiplatform.v1beta1.JobState result = + com.google.cloud.aiplatform.v1beta1.JobState.forNumber(jobState_); + return result == null ? com.google.cloud.aiplatform.v1beta1.JobState.UNRECOGNIZED : result; + } + /** + * + * + *
+     * Output only. The state of the NotebookExecutionJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.JobState job_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The jobState to set. + * @return This builder for chaining. + */ + public Builder setJobState(com.google.cloud.aiplatform.v1beta1.JobState value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000400; + jobState_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The state of the NotebookExecutionJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.JobState job_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearJobState() { + bitField0_ = (bitField0_ & ~0x00000400); + jobState_ = 0; + onChanged(); + return this; + } + + private com.google.rpc.Status status_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + statusBuilder_; + /** + * + * + *
+     * Output only. Populated when the NotebookExecutionJob is completed. When
+     * there is an error during notebook execution, the error details are
+     * populated.
+     * 
+ * + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the status field is set. + */ + public boolean hasStatus() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + * + * + *
+     * Output only. Populated when the NotebookExecutionJob is completed. When
+     * there is an error during notebook execution, the error details are
+     * populated.
+     * 
+ * + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The status. + */ + public com.google.rpc.Status getStatus() { + if (statusBuilder_ == null) { + return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + } else { + return statusBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Populated when the NotebookExecutionJob is completed. When
+     * there is an error during notebook execution, the error details are
+     * populated.
+     * 
+ * + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setStatus(com.google.rpc.Status value) { + if (statusBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + status_ = value; + } else { + statusBuilder_.setMessage(value); + } + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Populated when the NotebookExecutionJob is completed. When
+     * there is an error during notebook execution, the error details are
+     * populated.
+     * 
+ * + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { + if (statusBuilder_ == null) { + status_ = builderForValue.build(); + } else { + statusBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Populated when the NotebookExecutionJob is completed. When
+     * there is an error during notebook execution, the error details are
+     * populated.
+     * 
+ * + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeStatus(com.google.rpc.Status value) { + if (statusBuilder_ == null) { + if (((bitField0_ & 0x00000800) != 0) + && status_ != null + && status_ != com.google.rpc.Status.getDefaultInstance()) { + getStatusBuilder().mergeFrom(value); + } else { + status_ = value; + } + } else { + statusBuilder_.mergeFrom(value); + } + if (status_ != null) { + bitField0_ |= 0x00000800; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Output only. Populated when the NotebookExecutionJob is completed. When
+     * there is an error during notebook execution, the error details are
+     * populated.
+     * 
+ * + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearStatus() { + bitField0_ = (bitField0_ & ~0x00000800); + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Populated when the NotebookExecutionJob is completed. When
+     * there is an error during notebook execution, the error details are
+     * populated.
+     * 
+ * + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.rpc.Status.Builder getStatusBuilder() { + bitField0_ |= 0x00000800; + onChanged(); + return getStatusFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Populated when the NotebookExecutionJob is completed. When
+     * there is an error during notebook execution, the error details are
+     * populated.
+     * 
+ * + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { + if (statusBuilder_ != null) { + return statusBuilder_.getMessageOrBuilder(); + } else { + return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + } + } + /** + * + * + *
+     * Output only. Populated when the NotebookExecutionJob is completed. When
+     * there is an error during notebook execution, the error details are
+     * populated.
+     * 
+ * + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + getStatusFieldBuilder() { + if (statusBuilder_ == null) { + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); + status_ = null; + } + return statusBuilder_; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; + /** + * + * + *
+     * Output only. Timestamp when this NotebookExecutionJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return ((bitField0_ & 0x00001000) != 0); + } + /** + * + * + *
+     * Output only. Timestamp when this NotebookExecutionJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Timestamp when this NotebookExecutionJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + } else { + createTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Timestamp when this NotebookExecutionJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Timestamp when this NotebookExecutionJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (((bitField0_ & 0x00001000) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreateTimeBuilder().mergeFrom(value); + } else { + createTime_ = value; + } + } else { + createTimeBuilder_.mergeFrom(value); + } + if (createTime_ != null) { + bitField0_ |= 0x00001000; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Output only. Timestamp when this NotebookExecutionJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearCreateTime() { + bitField0_ = (bitField0_ & ~0x00001000); + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Timestamp when this NotebookExecutionJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + bitField0_ |= 0x00001000; + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Timestamp when this NotebookExecutionJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } + } + /** + * + * + *
+     * Output only. Timestamp when this NotebookExecutionJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + + private com.google.protobuf.Timestamp updateTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; + /** + * + * + *
+     * Output only. Timestamp when this NotebookExecutionJob was most recently
+     * updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return ((bitField0_ & 0x00002000) != 0); + } + /** + * + * + *
+     * Output only. Timestamp when this NotebookExecutionJob was most recently
+     * updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + public com.google.protobuf.Timestamp getUpdateTime() { + if (updateTimeBuilder_ == null) { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } else { + return updateTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Timestamp when this NotebookExecutionJob was most recently
+     * updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateTime_ = value; + } else { + updateTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Timestamp when this NotebookExecutionJob was most recently
+     * updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (updateTimeBuilder_ == null) { + updateTime_ = builderForValue.build(); + } else { + updateTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Timestamp when this NotebookExecutionJob was most recently
+     * updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (((bitField0_ & 0x00002000) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getUpdateTimeBuilder().mergeFrom(value); + } else { + updateTime_ = value; + } + } else { + updateTimeBuilder_.mergeFrom(value); + } + if (updateTime_ != null) { + bitField0_ |= 0x00002000; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Output only. Timestamp when this NotebookExecutionJob was most recently
+     * updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearUpdateTime() { + bitField0_ = (bitField0_ & ~0x00002000); + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Timestamp when this NotebookExecutionJob was most recently
+     * updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + bitField0_ |= 0x00002000; + onChanged(); + return getUpdateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Timestamp when this NotebookExecutionJob was most recently
+     * updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + if (updateTimeBuilder_ != null) { + return updateTimeBuilder_.getMessageOrBuilder(); + } else { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } + } + /** + * + * + *
+     * Output only. Timestamp when this NotebookExecutionJob was most recently
+     * updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getUpdateTimeFieldBuilder() { + if (updateTimeBuilder_ == null) { + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); + updateTime_ = null; + } + return updateTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.NotebookExecutionJob) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.NotebookExecutionJob) + private static final com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob(); + } + + public static com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NotebookExecutionJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJobName.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJobName.java new file mode 100644 index 000000000000..505a2ebfb2f7 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJobName.java @@ -0,0 +1,232 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.aiplatform.v1beta1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class NotebookExecutionJobName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_NOTEBOOK_EXECUTION_JOB = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/notebookExecutionJobs/{notebook_execution_job}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String notebookExecutionJob; + + @Deprecated + protected NotebookExecutionJobName() { + project = null; + location = null; + notebookExecutionJob = null; + } + + private NotebookExecutionJobName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + notebookExecutionJob = Preconditions.checkNotNull(builder.getNotebookExecutionJob()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getNotebookExecutionJob() { + return notebookExecutionJob; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static NotebookExecutionJobName of( + String project, String location, String notebookExecutionJob) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setNotebookExecutionJob(notebookExecutionJob) + .build(); + } + + public static String format(String project, String location, String notebookExecutionJob) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setNotebookExecutionJob(notebookExecutionJob) + .build() + .toString(); + } + + public static NotebookExecutionJobName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_NOTEBOOK_EXECUTION_JOB.validatedMatch( + formattedString, "NotebookExecutionJobName.parse: formattedString not in valid format"); + return of( + matchMap.get("project"), matchMap.get("location"), matchMap.get("notebook_execution_job")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (NotebookExecutionJobName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_NOTEBOOK_EXECUTION_JOB.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (notebookExecutionJob != null) { + fieldMapBuilder.put("notebook_execution_job", notebookExecutionJob); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_NOTEBOOK_EXECUTION_JOB.instantiate( + "project", project, "location", location, "notebook_execution_job", notebookExecutionJob); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null && getClass() == o.getClass()) { + NotebookExecutionJobName that = ((NotebookExecutionJobName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.notebookExecutionJob, that.notebookExecutionJob); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(notebookExecutionJob); + return h; + } + + /** + * Builder for + * projects/{project}/locations/{location}/notebookExecutionJobs/{notebook_execution_job}. + */ + public static class Builder { + private String project; + private String location; + private String notebookExecutionJob; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getNotebookExecutionJob() { + return notebookExecutionJob; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setNotebookExecutionJob(String notebookExecutionJob) { + this.notebookExecutionJob = notebookExecutionJob; + return this; + } + + private Builder(NotebookExecutionJobName notebookExecutionJobName) { + this.project = notebookExecutionJobName.project; + this.location = notebookExecutionJobName.location; + this.notebookExecutionJob = notebookExecutionJobName.notebookExecutionJob; + } + + public NotebookExecutionJobName build() { + return new NotebookExecutionJobName(this); + } + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJobOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJobOrBuilder.java new file mode 100644 index 000000000000..d9fc85b32f77 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJobOrBuilder.java @@ -0,0 +1,553 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/notebook_execution_job.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.aiplatform.v1beta1; + +public interface NotebookExecutionJobOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.NotebookExecutionJob) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The Dataform Repository pointing to a single file notebook repository.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource dataform_repository_source = 3; + * + * + * @return Whether the dataformRepositorySource field is set. + */ + boolean hasDataformRepositorySource(); + /** + * + * + *
+   * The Dataform Repository pointing to a single file notebook repository.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource dataform_repository_source = 3; + * + * + * @return The dataformRepositorySource. + */ + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource + getDataformRepositorySource(); + /** + * + * + *
+   * The Dataform Repository pointing to a single file notebook repository.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource dataform_repository_source = 3; + * + */ + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySourceOrBuilder + getDataformRepositorySourceOrBuilder(); + + /** + * + * + *
+   * The GCS url pointing to the ipynb file. Format:
+   * `gs://bucket/notebook_file.ipynb`
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource gcs_notebook_source = 4; + * + * + * @return Whether the gcsNotebookSource field is set. + */ + boolean hasGcsNotebookSource(); + /** + * + * + *
+   * The GCS url pointing to the ipynb file. Format:
+   * `gs://bucket/notebook_file.ipynb`
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource gcs_notebook_source = 4; + * + * + * @return The gcsNotebookSource. + */ + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource getGcsNotebookSource(); + /** + * + * + *
+   * The GCS url pointing to the ipynb file. Format:
+   * `gs://bucket/notebook_file.ipynb`
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource gcs_notebook_source = 4; + * + */ + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSourceOrBuilder + getGcsNotebookSourceOrBuilder(); + + /** + * + * + *
+   * The NotebookRuntimeTemplate to source compute configuration from.
+   * 
+ * + * + * string notebook_runtime_template_resource_name = 14 [(.google.api.resource_reference) = { ... } + * + * + * @return Whether the notebookRuntimeTemplateResourceName field is set. + */ + boolean hasNotebookRuntimeTemplateResourceName(); + /** + * + * + *
+   * The NotebookRuntimeTemplate to source compute configuration from.
+   * 
+ * + * + * string notebook_runtime_template_resource_name = 14 [(.google.api.resource_reference) = { ... } + * + * + * @return The notebookRuntimeTemplateResourceName. + */ + java.lang.String getNotebookRuntimeTemplateResourceName(); + /** + * + * + *
+   * The NotebookRuntimeTemplate to source compute configuration from.
+   * 
+ * + * + * string notebook_runtime_template_resource_name = 14 [(.google.api.resource_reference) = { ... } + * + * + * @return The bytes for notebookRuntimeTemplateResourceName. + */ + com.google.protobuf.ByteString getNotebookRuntimeTemplateResourceNameBytes(); + + /** + * + * + *
+   * The GCS location to upload the result to. Format:
+   * `gs://bucket-name`
+   * 
+ * + * string gcs_output_uri = 8; + * + * @return Whether the gcsOutputUri field is set. + */ + boolean hasGcsOutputUri(); + /** + * + * + *
+   * The GCS location to upload the result to. Format:
+   * `gs://bucket-name`
+   * 
+ * + * string gcs_output_uri = 8; + * + * @return The gcsOutputUri. + */ + java.lang.String getGcsOutputUri(); + /** + * + * + *
+   * The GCS location to upload the result to. Format:
+   * `gs://bucket-name`
+   * 
+ * + * string gcs_output_uri = 8; + * + * @return The bytes for gcsOutputUri. + */ + com.google.protobuf.ByteString getGcsOutputUriBytes(); + + /** + * + * + *
+   * The user email to run the execution as. Only supported by Colab runtimes.
+   * 
+ * + * string execution_user = 9; + * + * @return Whether the executionUser field is set. + */ + boolean hasExecutionUser(); + /** + * + * + *
+   * The user email to run the execution as. Only supported by Colab runtimes.
+   * 
+ * + * string execution_user = 9; + * + * @return The executionUser. + */ + java.lang.String getExecutionUser(); + /** + * + * + *
+   * The user email to run the execution as. Only supported by Colab runtimes.
+   * 
+ * + * string execution_user = 9; + * + * @return The bytes for executionUser. + */ + com.google.protobuf.ByteString getExecutionUserBytes(); + + /** + * + * + *
+   * The service account to run the execution as.
+   * 
+ * + * string service_account = 18; + * + * @return Whether the serviceAccount field is set. + */ + boolean hasServiceAccount(); + /** + * + * + *
+   * The service account to run the execution as.
+   * 
+ * + * string service_account = 18; + * + * @return The serviceAccount. + */ + java.lang.String getServiceAccount(); + /** + * + * + *
+   * The service account to run the execution as.
+   * 
+ * + * string service_account = 18; + * + * @return The bytes for serviceAccount. + */ + com.google.protobuf.ByteString getServiceAccountBytes(); + + /** + * + * + *
+   * Output only. The resource name of this NotebookExecutionJob. Format:
+   * `projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Output only. The resource name of this NotebookExecutionJob. Format:
+   * `projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * The display name of the NotebookExecutionJob. The name can be up to 128
+   * characters long and can consist of any UTF-8 characters.
+   * 
+ * + * string display_name = 2; + * + * @return The displayName. + */ + java.lang.String getDisplayName(); + /** + * + * + *
+   * The display name of the NotebookExecutionJob. The name can be up to 128
+   * characters long and can consist of any UTF-8 characters.
+   * 
+ * + * string display_name = 2; + * + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString getDisplayNameBytes(); + + /** + * + * + *
+   * Max running time of the execution job in seconds (default 86400s / 24 hrs).
+   * 
+ * + * .google.protobuf.Duration execution_timeout = 5; + * + * @return Whether the executionTimeout field is set. + */ + boolean hasExecutionTimeout(); + /** + * + * + *
+   * Max running time of the execution job in seconds (default 86400s / 24 hrs).
+   * 
+ * + * .google.protobuf.Duration execution_timeout = 5; + * + * @return The executionTimeout. + */ + com.google.protobuf.Duration getExecutionTimeout(); + /** + * + * + *
+   * Max running time of the execution job in seconds (default 86400s / 24 hrs).
+   * 
+ * + * .google.protobuf.Duration execution_timeout = 5; + */ + com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder(); + + /** + * + * + *
+   * Output only. The Schedule resource name if this job is triggered by one.
+   * Format:
+   * `projects/{project_id}/locations/{location}/schedules/{schedule_id}`
+   * 
+ * + * + * string schedule_resource_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The scheduleResourceName. + */ + java.lang.String getScheduleResourceName(); + /** + * + * + *
+   * Output only. The Schedule resource name if this job is triggered by one.
+   * Format:
+   * `projects/{project_id}/locations/{location}/schedules/{schedule_id}`
+   * 
+ * + * + * string schedule_resource_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for scheduleResourceName. + */ + com.google.protobuf.ByteString getScheduleResourceNameBytes(); + + /** + * + * + *
+   * Output only. The state of the NotebookExecutionJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.JobState job_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for jobState. + */ + int getJobStateValue(); + /** + * + * + *
+   * Output only. The state of the NotebookExecutionJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.JobState job_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The jobState. + */ + com.google.cloud.aiplatform.v1beta1.JobState getJobState(); + + /** + * + * + *
+   * Output only. Populated when the NotebookExecutionJob is completed. When
+   * there is an error during notebook execution, the error details are
+   * populated.
+   * 
+ * + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the status field is set. + */ + boolean hasStatus(); + /** + * + * + *
+   * Output only. Populated when the NotebookExecutionJob is completed. When
+   * there is an error during notebook execution, the error details are
+   * populated.
+   * 
+ * + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The status. + */ + com.google.rpc.Status getStatus(); + /** + * + * + *
+   * Output only. Populated when the NotebookExecutionJob is completed. When
+   * there is an error during notebook execution, the error details are
+   * populated.
+   * 
+ * + * .google.rpc.Status status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.rpc.StatusOrBuilder getStatusOrBuilder(); + + /** + * + * + *
+   * Output only. Timestamp when this NotebookExecutionJob was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * + * + *
+   * Output only. Timestamp when this NotebookExecutionJob was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * + * + *
+   * Output only. Timestamp when this NotebookExecutionJob was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + * + * + *
+   * Output only. Timestamp when this NotebookExecutionJob was most recently
+   * updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + boolean hasUpdateTime(); + /** + * + * + *
+   * Output only. Timestamp when this NotebookExecutionJob was most recently
+   * updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + com.google.protobuf.Timestamp getUpdateTime(); + /** + * + * + *
+   * Output only. Timestamp when this NotebookExecutionJob was most recently
+   * updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.NotebookSourceCase + getNotebookSourceCase(); + + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.EnvironmentSpecCase + getEnvironmentSpecCase(); + + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.ExecutionSinkCase getExecutionSinkCase(); + + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.ExecutionIdentityCase + getExecutionIdentityCase(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJobProto.java new file mode 100644 index 000000000000..1dacab5ab0b7 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookExecutionJobProto.java @@ -0,0 +1,170 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/notebook_execution_job.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.aiplatform.v1beta1; + +public final class NotebookExecutionJobProto { + private NotebookExecutionJobProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_DataformRepositorySource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_DataformRepositorySource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_GcsNotebookSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_NotebookExecutionJob_GcsNotebookSource_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n + * Views for Get/List NotebookExecutionJob + * + * + * Protobuf enum {@code google.cloud.aiplatform.v1beta1.NotebookExecutionJobView} + */ +public enum NotebookExecutionJobView implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+   * When unspecified, the API defaults to the BASIC view.
+   * 
+ * + * NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED = 0; + */ + NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED(0), + /** + * + * + *
+   * Includes all fields except for direct notebook inputs.
+   * 
+ * + * NOTEBOOK_EXECUTION_JOB_VIEW_BASIC = 1; + */ + NOTEBOOK_EXECUTION_JOB_VIEW_BASIC(1), + /** + * + * + *
+   * Includes all fields.
+   * 
+ * + * NOTEBOOK_EXECUTION_JOB_VIEW_FULL = 2; + */ + NOTEBOOK_EXECUTION_JOB_VIEW_FULL(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+   * When unspecified, the API defaults to the BASIC view.
+   * 
+ * + * NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED = 0; + */ + public static final int NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+   * Includes all fields except for direct notebook inputs.
+   * 
+ * + * NOTEBOOK_EXECUTION_JOB_VIEW_BASIC = 1; + */ + public static final int NOTEBOOK_EXECUTION_JOB_VIEW_BASIC_VALUE = 1; + /** + * + * + *
+   * Includes all fields.
+   * 
+ * + * NOTEBOOK_EXECUTION_JOB_VIEW_FULL = 2; + */ + public static final int NOTEBOOK_EXECUTION_JOB_VIEW_FULL_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 NotebookExecutionJobView 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 NotebookExecutionJobView forNumber(int value) { + switch (value) { + case 0: + return NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED; + case 1: + return NOTEBOOK_EXECUTION_JOB_VIEW_BASIC; + case 2: + return NOTEBOOK_EXECUTION_JOB_VIEW_FULL; + 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 NotebookExecutionJobView findValueByNumber(int number) { + return NotebookExecutionJobView.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.cloud.aiplatform.v1beta1.NotebookServiceProto.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final NotebookExecutionJobView[] VALUES = values(); + + public static NotebookExecutionJobView 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 NotebookExecutionJobView(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1beta1.NotebookExecutionJobView) +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceProto.java index 12ea4f6a4182..4393ed75d0c6 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceProto.java @@ -100,6 +100,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_StartNotebookRuntimeResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_StartNotebookRuntimeResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_GetNotebookExecutionJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_GetNotebookExecutionJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_DeleteNotebookExecutionJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_DeleteNotebookExecutionJobRequest_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -114,153 +130,194 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "m.v1beta1\032\034google/api/annotations.proto\032" + "\027google/api/client.proto\032\037google/api/fie" + "ld_behavior.proto\032\031google/api/resource.p" - + "roto\0326google/cloud/aiplatform/v1beta1/no" - + "tebook_runtime.proto\032/google/cloud/aipla" - + "tform/v1beta1/operation.proto\032#google/lo" - + "ngrunning/operations.proto\032\033google/proto" - + "buf/empty.proto\032 google/protobuf/field_m" - + "ask.proto\"\356\001\n$CreateNotebookRuntimeTempl" - + "ateRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loca" - + "tions.googleapis.com/Location\022`\n\031noteboo" - + "k_runtime_template\030\002 \001(\01328.google.cloud." - + "aiplatform.v1beta1.NotebookRuntimeTempla" - + "teB\003\340A\002\022)\n\034notebook_runtime_template_id\030" - + "\003 \001(\tB\003\340A\001\"\205\001\n.CreateNotebookRuntimeTemp" - + "lateOperationMetadata\022S\n\020generic_metadat" - + "a\030\001 \001(\01329.google.cloud.aiplatform.v1beta" - + "1.GenericOperationMetadata\"l\n!GetNoteboo" - + "kRuntimeTemplateRequest\022G\n\004name\030\001 \001(\tB9\340" - + "A\002\372A3\n1aiplatform.googleapis.com/Noteboo" - + "kRuntimeTemplate\"\361\001\n#ListNotebookRuntime" - + "TemplatesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#" + + "roto\032.google.cloud.aiplatform.v1beta1.Upgrad" - + "eNotebookRuntimeRequest\032\035.google.longrun" - + "ning.Operation\"\237\001\312AI\n\036UpgradeNotebookRun" - + "timeResponse\022\'UpgradeNotebookRuntimeOper" - + "ationMetadata\332A\004name\202\323\344\223\002F\"A/v1beta1/{na" - + "me=projects/*/locations/*/notebookRuntim" - + "es/*}:upgrade:\001*\022\217\002\n\024StartNotebookRuntim" - + "e\022<.google.cloud.aiplatform.v1beta1.Star" - + "tNotebookRuntimeRequest\032\035.google.longrun" - + "ning.Operation\"\231\001\312AE\n\034StartNotebookRunti" - + "meResponse\022%StartNotebookRuntimeOperatio" - + "nMetadata\332A\004name\202\323\344\223\002D\"?/v1beta1/{name=p" - + "rojects/*/locations/*/notebookRuntimes/*" - + "}:start:\001*\032M\312A\031aiplatform.googleapis.com" - + "\322A.https://www.googleapis.com/auth/cloud" - + "-platformB\353\001\n#com.google.cloud.aiplatfor" - + "m.v1beta1B\024NotebookServiceProtoP\001ZCcloud" - + ".google.com/go/aiplatform/apiv1beta1/aip" - + "latformpb;aiplatformpb\252\002\037Google.Cloud.AI" - + "Platform.V1Beta1\312\002\037Google\\Cloud\\AIPlatfo" - + "rm\\V1beta1\352\002\"Google::Cloud::AIPlatform::" - + "V1beta1b\006proto3" + + "untimeTemplates\022\213\002\n\035DeleteNotebookRuntim" + + "eTemplate\022E.google.cloud.aiplatform.v1be" + + "ta1.DeleteNotebookRuntimeTemplateRequest" + + "\032\035.google.longrunning.Operation\"\203\001\312A0\n\025g" + + "oogle.protobuf.Empty\022\027DeleteOperationMet" + + "adata\332A\004name\202\323\344\223\002C*A/v1beta1/{name=proje" + + "cts/*/locations/*/notebookRuntimeTemplat" + + "es/*}\022\307\002\n\025AssignNotebookRuntime\022=.google" + + ".cloud.aiplatform.v1beta1.AssignNotebook" + + "RuntimeRequest\032\035.google.longrunning.Oper" + + "ation\"\317\001\312A9\n\017NotebookRuntime\022&AssignNote" + + "bookRuntimeOperationMetadata\332AEparent,no" + + "tebook_runtime_template,notebook_runtime" + + ",notebook_runtime_id\202\323\344\223\002E\"@/v1beta1/{pa" + + "rent=projects/*/locations/*}/notebookRun" + + "times:assign:\001*\022\314\001\n\022GetNotebookRuntime\022:" + + ".google.cloud.aiplatform.v1beta1.GetNote" + + "bookRuntimeRequest\0320.google.cloud.aiplat" + + "form.v1beta1.NotebookRuntime\"H\332A\004name\202\323\344" + + "\223\002;\0229/v1beta1/{name=projects/*/locations" + + "/*/notebookRuntimes/*}\022\337\001\n\024ListNotebookR" + + "untimes\022<.google.cloud.aiplatform.v1beta" + + "1.ListNotebookRuntimesRequest\032=.google.c" + + "loud.aiplatform.v1beta1.ListNotebookRunt" + + "imesResponse\"J\332A\006parent\202\323\344\223\002;\0229/v1beta1/" + + "{parent=projects/*/locations/*}/notebook" + + "Runtimes\022\362\001\n\025DeleteNotebookRuntime\022=.goo" + + "gle.cloud.aiplatform.v1beta1.DeleteNoteb" + + "ookRuntimeRequest\032\035.google.longrunning.O" + + "peration\"{\312A0\n\025google.protobuf.Empty\022\027De" + + "leteOperationMetadata\332A\004name\202\323\344\223\002;*9/v1b" + + "eta1/{name=projects/*/locations/*/notebo" + + "okRuntimes/*}\022\231\002\n\026UpgradeNotebookRuntime" + + "\022>.google.cloud.aiplatform.v1beta1.Upgra" + + "deNotebookRuntimeRequest\032\035.google.longru" + + "nning.Operation\"\237\001\312AI\n\036UpgradeNotebookRu" + + "ntimeResponse\022\'UpgradeNotebookRuntimeOpe" + + "rationMetadata\332A\004name\202\323\344\223\002F\"A/v1beta1/{n" + + "ame=projects/*/locations/*/notebookRunti" + + "mes/*}:upgrade:\001*\022\217\002\n\024StartNotebookRunti" + + "me\022<.google.cloud.aiplatform.v1beta1.Sta" + + "rtNotebookRuntimeRequest\032\035.google.longru" + + "nning.Operation\"\231\001\312AE\n\034StartNotebookRunt" + + "imeResponse\022%StartNotebookRuntimeOperati" + + "onMetadata\332A\004name\202\323\344\223\002D\"?/v1beta1/{name=" + + "projects/*/locations/*/notebookRuntimes/" + + "*}:start:\001*\022\340\001\n\027GetNotebookExecutionJob\022" + + "?.google.cloud.aiplatform.v1beta1.GetNot" + + "ebookExecutionJobRequest\0325.google.cloud." + + "aiplatform.v1beta1.NotebookExecutionJob\"" + + "M\332A\004name\202\323\344\223\002@\022>/v1beta1/{name=projects/" + + "*/locations/*/notebookExecutionJobs/*}\022\363" + + "\001\n\031ListNotebookExecutionJobs\022A.google.cl" + + "oud.aiplatform.v1beta1.ListNotebookExecu" + + "tionJobsRequest\032B.google.cloud.aiplatfor" + + "m.v1beta1.ListNotebookExecutionJobsRespo" + + "nse\"O\332A\006parent\202\323\344\223\002@\022>/v1beta1/{parent=p" + + "rojects/*/locations/*}/notebookExecution" + + "Jobs\022\202\002\n\032DeleteNotebookExecutionJob\022B.go" + + "ogle.cloud.aiplatform.v1beta1.DeleteNote" + + "bookExecutionJobRequest\032\035.google.longrun" + + "ning.Operation\"\200\001\312A0\n\025google.protobuf.Em" + + "pty\022\027DeleteOperationMetadata\332A\004name\202\323\344\223\002" + + "@*>/v1beta1/{name=projects/*/locations/*" + + "/notebookExecutionJobs/*}\032M\312A\031aiplatform" + + ".googleapis.com\322A.https://www.googleapis" + + ".com/auth/cloud-platformB\353\001\n#com.google." + + "cloud.aiplatform.v1beta1B\024NotebookServic" + + "eProtoP\001ZCcloud.google.com/go/aiplatform" + + "/apiv1beta1/aiplatformpb;aiplatformpb\252\002\037" + + "Google.Cloud.AIPlatform.V1Beta1\312\002\037Google" + + "\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::Clou" + + "d::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -270,6 +327,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ClientProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto.getDescriptor(), com.google.cloud.aiplatform.v1beta1.NotebookRuntimeProto.getDescriptor(), com.google.cloud.aiplatform.v1beta1.OperationProto.getDescriptor(), com.google.longrunning.OperationsProto.getDescriptor(), @@ -416,6 +474,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_StartNotebookRuntimeResponse_descriptor, new java.lang.String[] {}); + internal_static_google_cloud_aiplatform_v1beta1_GetNotebookExecutionJobRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_aiplatform_v1beta1_GetNotebookExecutionJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_GetNotebookExecutionJobRequest_descriptor, + new java.lang.String[] { + "Name", "View", + }); + internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", "OrderBy", "View", + }); + internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_ListNotebookExecutionJobsResponse_descriptor, + new java.lang.String[] { + "NotebookExecutionJobs", "NextPageToken", + }); + internal_static_google_cloud_aiplatform_v1beta1_DeleteNotebookExecutionJobRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_aiplatform_v1beta1_DeleteNotebookExecutionJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_DeleteNotebookExecutionJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); @@ -431,6 +521,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobProto.getDescriptor(); com.google.cloud.aiplatform.v1beta1.NotebookRuntimeProto.getDescriptor(); com.google.cloud.aiplatform.v1beta1.OperationProto.getDescriptor(); com.google.longrunning.OperationsProto.getDescriptor(); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/notebook_execution_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/notebook_execution_job.proto new file mode 100644 index 000000000000..5113ceedc3eb --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/notebook_execution_job.proto @@ -0,0 +1,138 @@ +// Copyright 2023 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.cloud.aiplatform.v1beta1; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/cloud/aiplatform/v1beta1/job_state.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "google/rpc/status.proto"; + +option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; +option java_multiple_files = true; +option java_outer_classname = "NotebookExecutionJobProto"; +option java_package = "com.google.cloud.aiplatform.v1beta1"; +option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1"; +option ruby_package = "Google::Cloud::AIPlatform::V1beta1"; + +// NotebookExecutionJob represents an instance of a notebook execution. +message NotebookExecutionJob { + option (google.api.resource) = { + type: "aiplatform.googleapis.com/NotebookExecutionJob" + pattern: "projects/{project}/locations/{location}/notebookExecutionJobs/{notebook_execution_job}" + plural: "notebookExecutionJobs" + singular: "notebookExecutionJob" + }; + + // The Dataform Repository containing the input notebook. + message DataformRepositorySource { + // The resource name of the Dataform Repository. Format: + // `projects/{project_id}/locations/{location}/repositories/{repository_id}` + string dataform_repository_resource_name = 1; + + // The commit SHA to read repository with. If unset, the file will be read + // at HEAD. + string commit_sha = 2; + } + + // The Cloud Storage uri for the input notebook. + message GcsNotebookSource { + // The Cloud Storage uri pointing to the ipynb file. Format: + // `gs://bucket/notebook_file.ipynb` + string uri = 1; + + // The version of the Cloud Storage object to read. If unset, the current + // version of the object is read. See + // https://cloud.google.com/storage/docs/metadata#generation-number. + string generation = 2; + } + + // The input notebook. + oneof notebook_source { + // The Dataform Repository pointing to a single file notebook repository. + DataformRepositorySource dataform_repository_source = 3; + + // The GCS url pointing to the ipynb file. Format: + // `gs://bucket/notebook_file.ipynb` + GcsNotebookSource gcs_notebook_source = 4; + } + + // The compute config to use for an execution job. + oneof environment_spec { + // The NotebookRuntimeTemplate to source compute configuration from. + string notebook_runtime_template_resource_name = 14 + [(google.api.resource_reference) = { + type: "aiplatform.googleapis.com/NotebookRuntimeTemplate" + }]; + } + + // The location to store the notebook execution result. + oneof execution_sink { + // The GCS location to upload the result to. Format: + // `gs://bucket-name` + string gcs_output_uri = 8; + } + + // The identity to run the execution as. + oneof execution_identity { + // The user email to run the execution as. Only supported by Colab runtimes. + string execution_user = 9; + + // The service account to run the execution as. + string service_account = 18; + } + + // Output only. The resource name of this NotebookExecutionJob. Format: + // `projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The display name of the NotebookExecutionJob. The name can be up to 128 + // characters long and can consist of any UTF-8 characters. + string display_name = 2; + + // Max running time of the execution job in seconds (default 86400s / 24 hrs). + google.protobuf.Duration execution_timeout = 5; + + // Output only. The Schedule resource name if this job is triggered by one. + // Format: + // `projects/{project_id}/locations/{location}/schedules/{schedule_id}` + string schedule_resource_name = 6 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Schedule" + } + ]; + + // Output only. The state of the NotebookExecutionJob. + JobState job_state = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Populated when the NotebookExecutionJob is completed. When + // there is an error during notebook execution, the error details are + // populated. + google.rpc.Status status = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Timestamp when this NotebookExecutionJob was created. + google.protobuf.Timestamp create_time = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Timestamp when this NotebookExecutionJob was most recently + // updated. + google.protobuf.Timestamp update_time = 13 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/notebook_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/notebook_service.proto index 50cf6bd7d0cd..f35b83017efa 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/notebook_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/notebook_service.proto @@ -20,6 +20,7 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/aiplatform/v1beta1/notebook_execution_job.proto"; import "google/cloud/aiplatform/v1beta1/notebook_runtime.proto"; import "google/cloud/aiplatform/v1beta1/operation.proto"; import "google/longrunning/operations.proto"; @@ -159,6 +160,49 @@ service NotebookService { metadata_type: "StartNotebookRuntimeOperationMetadata" }; } + + // Gets a NotebookExecutionJob. + rpc GetNotebookExecutionJob(GetNotebookExecutionJobRequest) + returns (NotebookExecutionJob) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/notebookExecutionJobs/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists NotebookExecutionJobs in a Location. + rpc ListNotebookExecutionJobs(ListNotebookExecutionJobsRequest) + returns (ListNotebookExecutionJobsResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=projects/*/locations/*}/notebookExecutionJobs" + }; + option (google.api.method_signature) = "parent"; + } + + // Deletes a NotebookExecutionJob. + rpc DeleteNotebookExecutionJob(DeleteNotebookExecutionJobRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1beta1/{name=projects/*/locations/*/notebookExecutionJobs/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "DeleteOperationMetadata" + }; + } +} + +// Views for Get/List NotebookExecutionJob +enum NotebookExecutionJobView { + // When unspecified, the API defaults to the BASIC view. + NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED = 0; + + // Includes all fields except for direct notebook inputs. + NOTEBOOK_EXECUTION_JOB_VIEW_BASIC = 1; + + // Includes all fields. + NOTEBOOK_EXECUTION_JOB_VIEW_FULL = 2; } // Request message for @@ -510,3 +554,89 @@ message StartNotebookRuntimeOperationMetadata { // Response message for // [NotebookService.StartNotebookRuntime][google.cloud.aiplatform.v1beta1.NotebookService.StartNotebookRuntime]. message StartNotebookRuntimeResponse {} + +// Request message for [NotebookService.GetNotebookExecutionJob] +message GetNotebookExecutionJobRequest { + // Required. The name of the NotebookExecutionJob resource. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/NotebookExecutionJob" + } + ]; + + // Optional. The NotebookExecutionJob view. Defaults to BASIC. + NotebookExecutionJobView view = 6 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for [NotebookService.ListNotebookExecutionJobs] +message ListNotebookExecutionJobsRequest { + // Required. The resource name of the Location from which to list the + // NotebookExecutionJobs. + // Format: `projects/{project}/locations/{location}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Optional. An expression for filtering the results of the request. For field + // names both snake_case and camelCase are supported. + // + // * `notebookExecutionJob` supports = and !=. `notebookExecutionJob` + // represents the NotebookExecutionJob ID. + // * `displayName` supports = and != and regex. + // * `schedule` supports = and != and regex. + // + // Some examples: + // * `notebookExecutionJob="123"` + // * `notebookExecutionJob="my-execution-job"` + // * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"` + string filter = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The standard list page size. + int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The standard list page token. + // Typically obtained via + // [ListNotebookExecutionJobs.next_page_token][] of the previous + // [NotebookService.ListNotebookExecutionJobs][google.cloud.aiplatform.v1beta1.NotebookService.ListNotebookExecutionJobs] + // call. + string page_token = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A comma-separated list of fields to order by, sorted in ascending + // order. Use "desc" after a field name for descending. Supported fields: + // + // * `display_name` + // * `create_time` + // * `update_time` + // + // Example: `display_name, create_time desc`. + string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The NotebookExecutionJob view. Defaults to BASIC. + NotebookExecutionJobView view = 6 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for [NotebookService.CreateNotebookExecutionJob] +message ListNotebookExecutionJobsResponse { + // List of NotebookExecutionJobs in the requested page. + repeated NotebookExecutionJob notebook_execution_jobs = 1; + + // A token to retrieve next page of results. + // Pass to [ListNotebookExecutionJobs.page_token][] to obtain that + // page. + string next_page_token = 2; +} + +// Request message for [NotebookService.DeleteNotebookExecutionJob] +message DeleteNotebookExecutionJobRequest { + // Required. The name of the NotebookExecutionJob resource to be deleted. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/NotebookExecutionJob" + } + ]; +} diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/deletenotebookexecutionjob/AsyncDeleteNotebookExecutionJob.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/deletenotebookexecutionjob/AsyncDeleteNotebookExecutionJob.java new file mode 100644 index 000000000000..49598bb18661 --- /dev/null +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/deletenotebookexecutionjob/AsyncDeleteNotebookExecutionJob.java @@ -0,0 +1,52 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.aiplatform.v1beta1.samples; + +// [START aiplatform_v1beta1_generated_NotebookService_DeleteNotebookExecutionJob_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobName; +import com.google.cloud.aiplatform.v1beta1.NotebookServiceClient; +import com.google.longrunning.Operation; + +public class AsyncDeleteNotebookExecutionJob { + + public static void main(String[] args) throws Exception { + asyncDeleteNotebookExecutionJob(); + } + + public static void asyncDeleteNotebookExecutionJob() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) { + DeleteNotebookExecutionJobRequest request = + DeleteNotebookExecutionJobRequest.newBuilder() + .setName( + NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]") + .toString()) + .build(); + ApiFuture future = + notebookServiceClient.deleteNotebookExecutionJobCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END aiplatform_v1beta1_generated_NotebookService_DeleteNotebookExecutionJob_async] diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/deletenotebookexecutionjob/AsyncDeleteNotebookExecutionJobLRO.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/deletenotebookexecutionjob/AsyncDeleteNotebookExecutionJobLRO.java new file mode 100644 index 000000000000..c799e9737ef8 --- /dev/null +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/deletenotebookexecutionjob/AsyncDeleteNotebookExecutionJobLRO.java @@ -0,0 +1,53 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.aiplatform.v1beta1.samples; + +// [START aiplatform_v1beta1_generated_NotebookService_DeleteNotebookExecutionJob_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest; +import com.google.cloud.aiplatform.v1beta1.DeleteOperationMetadata; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobName; +import com.google.cloud.aiplatform.v1beta1.NotebookServiceClient; +import com.google.protobuf.Empty; + +public class AsyncDeleteNotebookExecutionJobLRO { + + public static void main(String[] args) throws Exception { + asyncDeleteNotebookExecutionJobLRO(); + } + + public static void asyncDeleteNotebookExecutionJobLRO() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) { + DeleteNotebookExecutionJobRequest request = + DeleteNotebookExecutionJobRequest.newBuilder() + .setName( + NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]") + .toString()) + .build(); + OperationFuture future = + notebookServiceClient.deleteNotebookExecutionJobOperationCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END aiplatform_v1beta1_generated_NotebookService_DeleteNotebookExecutionJob_LRO_async] diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/deletenotebookexecutionjob/SyncDeleteNotebookExecutionJob.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/deletenotebookexecutionjob/SyncDeleteNotebookExecutionJob.java new file mode 100644 index 000000000000..c0b7c32ef3ba --- /dev/null +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/deletenotebookexecutionjob/SyncDeleteNotebookExecutionJob.java @@ -0,0 +1,48 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.aiplatform.v1beta1.samples; + +// [START aiplatform_v1beta1_generated_NotebookService_DeleteNotebookExecutionJob_sync] +import com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobName; +import com.google.cloud.aiplatform.v1beta1.NotebookServiceClient; +import com.google.protobuf.Empty; + +public class SyncDeleteNotebookExecutionJob { + + public static void main(String[] args) throws Exception { + syncDeleteNotebookExecutionJob(); + } + + public static void syncDeleteNotebookExecutionJob() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) { + DeleteNotebookExecutionJobRequest request = + DeleteNotebookExecutionJobRequest.newBuilder() + .setName( + NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]") + .toString()) + .build(); + notebookServiceClient.deleteNotebookExecutionJobAsync(request).get(); + } + } +} +// [END aiplatform_v1beta1_generated_NotebookService_DeleteNotebookExecutionJob_sync] diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/deletenotebookexecutionjob/SyncDeleteNotebookExecutionJobNotebookexecutionjobname.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/deletenotebookexecutionjob/SyncDeleteNotebookExecutionJobNotebookexecutionjobname.java new file mode 100644 index 000000000000..12502ff2d801 --- /dev/null +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/deletenotebookexecutionjob/SyncDeleteNotebookExecutionJobNotebookexecutionjobname.java @@ -0,0 +1,43 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.aiplatform.v1beta1.samples; + +// [START aiplatform_v1beta1_generated_NotebookService_DeleteNotebookExecutionJob_Notebookexecutionjobname_sync] +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobName; +import com.google.cloud.aiplatform.v1beta1.NotebookServiceClient; +import com.google.protobuf.Empty; + +public class SyncDeleteNotebookExecutionJobNotebookexecutionjobname { + + public static void main(String[] args) throws Exception { + syncDeleteNotebookExecutionJobNotebookexecutionjobname(); + } + + public static void syncDeleteNotebookExecutionJobNotebookexecutionjobname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) { + NotebookExecutionJobName name = + NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]"); + notebookServiceClient.deleteNotebookExecutionJobAsync(name).get(); + } + } +} +// [END aiplatform_v1beta1_generated_NotebookService_DeleteNotebookExecutionJob_Notebookexecutionjobname_sync] diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/deletenotebookexecutionjob/SyncDeleteNotebookExecutionJobString.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/deletenotebookexecutionjob/SyncDeleteNotebookExecutionJobString.java new file mode 100644 index 000000000000..77f62f782d64 --- /dev/null +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/deletenotebookexecutionjob/SyncDeleteNotebookExecutionJobString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.aiplatform.v1beta1.samples; + +// [START aiplatform_v1beta1_generated_NotebookService_DeleteNotebookExecutionJob_String_sync] +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobName; +import com.google.cloud.aiplatform.v1beta1.NotebookServiceClient; +import com.google.protobuf.Empty; + +public class SyncDeleteNotebookExecutionJobString { + + public static void main(String[] args) throws Exception { + syncDeleteNotebookExecutionJobString(); + } + + public static void syncDeleteNotebookExecutionJobString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) { + String name = + NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]") + .toString(); + notebookServiceClient.deleteNotebookExecutionJobAsync(name).get(); + } + } +} +// [END aiplatform_v1beta1_generated_NotebookService_DeleteNotebookExecutionJob_String_sync] diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/getnotebookexecutionjob/AsyncGetNotebookExecutionJob.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/getnotebookexecutionjob/AsyncGetNotebookExecutionJob.java new file mode 100644 index 000000000000..3bde08f23453 --- /dev/null +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/getnotebookexecutionjob/AsyncGetNotebookExecutionJob.java @@ -0,0 +1,54 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.aiplatform.v1beta1.samples; + +// [START aiplatform_v1beta1_generated_NotebookService_GetNotebookExecutionJob_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobName; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView; +import com.google.cloud.aiplatform.v1beta1.NotebookServiceClient; + +public class AsyncGetNotebookExecutionJob { + + public static void main(String[] args) throws Exception { + asyncGetNotebookExecutionJob(); + } + + public static void asyncGetNotebookExecutionJob() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) { + GetNotebookExecutionJobRequest request = + GetNotebookExecutionJobRequest.newBuilder() + .setName( + NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]") + .toString()) + .setView(NotebookExecutionJobView.forNumber(0)) + .build(); + ApiFuture future = + notebookServiceClient.getNotebookExecutionJobCallable().futureCall(request); + // Do something. + NotebookExecutionJob response = future.get(); + } + } +} +// [END aiplatform_v1beta1_generated_NotebookService_GetNotebookExecutionJob_async] diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/getnotebookexecutionjob/SyncGetNotebookExecutionJob.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/getnotebookexecutionjob/SyncGetNotebookExecutionJob.java new file mode 100644 index 000000000000..0d29bdebc185 --- /dev/null +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/getnotebookexecutionjob/SyncGetNotebookExecutionJob.java @@ -0,0 +1,50 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.aiplatform.v1beta1.samples; + +// [START aiplatform_v1beta1_generated_NotebookService_GetNotebookExecutionJob_sync] +import com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobName; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView; +import com.google.cloud.aiplatform.v1beta1.NotebookServiceClient; + +public class SyncGetNotebookExecutionJob { + + public static void main(String[] args) throws Exception { + syncGetNotebookExecutionJob(); + } + + public static void syncGetNotebookExecutionJob() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) { + GetNotebookExecutionJobRequest request = + GetNotebookExecutionJobRequest.newBuilder() + .setName( + NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]") + .toString()) + .setView(NotebookExecutionJobView.forNumber(0)) + .build(); + NotebookExecutionJob response = notebookServiceClient.getNotebookExecutionJob(request); + } + } +} +// [END aiplatform_v1beta1_generated_NotebookService_GetNotebookExecutionJob_sync] diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/getnotebookexecutionjob/SyncGetNotebookExecutionJobNotebookexecutionjobname.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/getnotebookexecutionjob/SyncGetNotebookExecutionJobNotebookexecutionjobname.java new file mode 100644 index 000000000000..b00624650e38 --- /dev/null +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/getnotebookexecutionjob/SyncGetNotebookExecutionJobNotebookexecutionjobname.java @@ -0,0 +1,43 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.aiplatform.v1beta1.samples; + +// [START aiplatform_v1beta1_generated_NotebookService_GetNotebookExecutionJob_Notebookexecutionjobname_sync] +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobName; +import com.google.cloud.aiplatform.v1beta1.NotebookServiceClient; + +public class SyncGetNotebookExecutionJobNotebookexecutionjobname { + + public static void main(String[] args) throws Exception { + syncGetNotebookExecutionJobNotebookexecutionjobname(); + } + + public static void syncGetNotebookExecutionJobNotebookexecutionjobname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) { + NotebookExecutionJobName name = + NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]"); + NotebookExecutionJob response = notebookServiceClient.getNotebookExecutionJob(name); + } + } +} +// [END aiplatform_v1beta1_generated_NotebookService_GetNotebookExecutionJob_Notebookexecutionjobname_sync] diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/getnotebookexecutionjob/SyncGetNotebookExecutionJobString.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/getnotebookexecutionjob/SyncGetNotebookExecutionJobString.java new file mode 100644 index 000000000000..c4a894ddacf5 --- /dev/null +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/getnotebookexecutionjob/SyncGetNotebookExecutionJobString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.aiplatform.v1beta1.samples; + +// [START aiplatform_v1beta1_generated_NotebookService_GetNotebookExecutionJob_String_sync] +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobName; +import com.google.cloud.aiplatform.v1beta1.NotebookServiceClient; + +public class SyncGetNotebookExecutionJobString { + + public static void main(String[] args) throws Exception { + syncGetNotebookExecutionJobString(); + } + + public static void syncGetNotebookExecutionJobString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) { + String name = + NotebookExecutionJobName.of("[PROJECT]", "[LOCATION]", "[NOTEBOOK_EXECUTION_JOB]") + .toString(); + NotebookExecutionJob response = notebookServiceClient.getNotebookExecutionJob(name); + } + } +} +// [END aiplatform_v1beta1_generated_NotebookService_GetNotebookExecutionJob_String_sync] diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/listnotebookexecutionjobs/AsyncListNotebookExecutionJobs.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/listnotebookexecutionjobs/AsyncListNotebookExecutionJobs.java new file mode 100644 index 000000000000..24e532339ab2 --- /dev/null +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/listnotebookexecutionjobs/AsyncListNotebookExecutionJobs.java @@ -0,0 +1,58 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.aiplatform.v1beta1.samples; + +// [START aiplatform_v1beta1_generated_NotebookService_ListNotebookExecutionJobs_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest; +import com.google.cloud.aiplatform.v1beta1.LocationName; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView; +import com.google.cloud.aiplatform.v1beta1.NotebookServiceClient; + +public class AsyncListNotebookExecutionJobs { + + public static void main(String[] args) throws Exception { + asyncListNotebookExecutionJobs(); + } + + public static void asyncListNotebookExecutionJobs() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) { + ListNotebookExecutionJobsRequest request = + ListNotebookExecutionJobsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setOrderBy("orderBy-1207110587") + .setView(NotebookExecutionJobView.forNumber(0)) + .build(); + ApiFuture future = + notebookServiceClient.listNotebookExecutionJobsPagedCallable().futureCall(request); + // Do something. + for (NotebookExecutionJob element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END aiplatform_v1beta1_generated_NotebookService_ListNotebookExecutionJobs_async] diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/listnotebookexecutionjobs/AsyncListNotebookExecutionJobsPaged.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/listnotebookexecutionjobs/AsyncListNotebookExecutionJobsPaged.java new file mode 100644 index 000000000000..9b2a26b50fc0 --- /dev/null +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/listnotebookexecutionjobs/AsyncListNotebookExecutionJobsPaged.java @@ -0,0 +1,66 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.aiplatform.v1beta1.samples; + +// [START aiplatform_v1beta1_generated_NotebookService_ListNotebookExecutionJobs_Paged_async] +import com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest; +import com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse; +import com.google.cloud.aiplatform.v1beta1.LocationName; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView; +import com.google.cloud.aiplatform.v1beta1.NotebookServiceClient; +import com.google.common.base.Strings; + +public class AsyncListNotebookExecutionJobsPaged { + + public static void main(String[] args) throws Exception { + asyncListNotebookExecutionJobsPaged(); + } + + public static void asyncListNotebookExecutionJobsPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) { + ListNotebookExecutionJobsRequest request = + ListNotebookExecutionJobsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setOrderBy("orderBy-1207110587") + .setView(NotebookExecutionJobView.forNumber(0)) + .build(); + while (true) { + ListNotebookExecutionJobsResponse response = + notebookServiceClient.listNotebookExecutionJobsCallable().call(request); + for (NotebookExecutionJob element : response.getNotebookExecutionJobsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END aiplatform_v1beta1_generated_NotebookService_ListNotebookExecutionJobs_Paged_async] diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/listnotebookexecutionjobs/SyncListNotebookExecutionJobs.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/listnotebookexecutionjobs/SyncListNotebookExecutionJobs.java new file mode 100644 index 000000000000..4dd39690ff55 --- /dev/null +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/listnotebookexecutionjobs/SyncListNotebookExecutionJobs.java @@ -0,0 +1,55 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.aiplatform.v1beta1.samples; + +// [START aiplatform_v1beta1_generated_NotebookService_ListNotebookExecutionJobs_sync] +import com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest; +import com.google.cloud.aiplatform.v1beta1.LocationName; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJobView; +import com.google.cloud.aiplatform.v1beta1.NotebookServiceClient; + +public class SyncListNotebookExecutionJobs { + + public static void main(String[] args) throws Exception { + syncListNotebookExecutionJobs(); + } + + public static void syncListNotebookExecutionJobs() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) { + ListNotebookExecutionJobsRequest request = + ListNotebookExecutionJobsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setOrderBy("orderBy-1207110587") + .setView(NotebookExecutionJobView.forNumber(0)) + .build(); + for (NotebookExecutionJob element : + notebookServiceClient.listNotebookExecutionJobs(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END aiplatform_v1beta1_generated_NotebookService_ListNotebookExecutionJobs_sync] diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/listnotebookexecutionjobs/SyncListNotebookExecutionJobsLocationname.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/listnotebookexecutionjobs/SyncListNotebookExecutionJobsLocationname.java new file mode 100644 index 000000000000..71b648d75e91 --- /dev/null +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/listnotebookexecutionjobs/SyncListNotebookExecutionJobsLocationname.java @@ -0,0 +1,45 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.aiplatform.v1beta1.samples; + +// [START aiplatform_v1beta1_generated_NotebookService_ListNotebookExecutionJobs_Locationname_sync] +import com.google.cloud.aiplatform.v1beta1.LocationName; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob; +import com.google.cloud.aiplatform.v1beta1.NotebookServiceClient; + +public class SyncListNotebookExecutionJobsLocationname { + + public static void main(String[] args) throws Exception { + syncListNotebookExecutionJobsLocationname(); + } + + public static void syncListNotebookExecutionJobsLocationname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + for (NotebookExecutionJob element : + notebookServiceClient.listNotebookExecutionJobs(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END aiplatform_v1beta1_generated_NotebookService_ListNotebookExecutionJobs_Locationname_sync] diff --git a/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/listnotebookexecutionjobs/SyncListNotebookExecutionJobsString.java b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/listnotebookexecutionjobs/SyncListNotebookExecutionJobsString.java new file mode 100644 index 000000000000..6143bd8bac40 --- /dev/null +++ b/java-aiplatform/samples/snippets/generated/com/google/cloud/aiplatform/v1beta1/notebookservice/listnotebookexecutionjobs/SyncListNotebookExecutionJobsString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.aiplatform.v1beta1.samples; + +// [START aiplatform_v1beta1_generated_NotebookService_ListNotebookExecutionJobs_String_sync] +import com.google.cloud.aiplatform.v1beta1.LocationName; +import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob; +import com.google.cloud.aiplatform.v1beta1.NotebookServiceClient; + +public class SyncListNotebookExecutionJobsString { + + public static void main(String[] args) throws Exception { + syncListNotebookExecutionJobsString(); + } + + public static void syncListNotebookExecutionJobsString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + for (NotebookExecutionJob element : + notebookServiceClient.listNotebookExecutionJobs(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END aiplatform_v1beta1_generated_NotebookService_ListNotebookExecutionJobs_String_sync] diff --git a/java-alloydb-connectors/README.md b/java-alloydb-connectors/README.md index ecb0d8b84fd5..f594a18cdcaf 100644 --- a/java-alloydb-connectors/README.md +++ b/java-alloydb-connectors/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-alloydb-connectors.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb-connectors/0.19.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb-connectors/0.20.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-alloydb/README.md b/java-alloydb/README.md index 754f94277191..f7f586a807ca 100644 --- a/java-alloydb/README.md +++ b/java-alloydb/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-alloydb.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb/0.30.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb/0.31.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-analytics-admin/README.md b/java-analytics-admin/README.md index b14e5345dfea..34efeb77637e 100644 --- a/java-analytics-admin/README.md +++ b/java-analytics-admin/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.analytics/google-analytics-admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.51.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.52.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-analytics-data/README.md b/java-analytics-data/README.md index 3edd027bacb5..d35b0574a643 100644 --- a/java-analytics-data/README.md +++ b/java-analytics-data/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.analytics/google-analytics-data.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-data/0.52.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-data/0.53.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-analyticshub/README.md b/java-analyticshub/README.md index 9b794fa5c0c1..d62f3434b51d 100644 --- a/java-analyticshub/README.md +++ b/java-analyticshub/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-analyticshub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-analyticshub/0.38.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-analyticshub/0.39.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-api-gateway/README.md b/java-api-gateway/README.md index 51a86a55528c..c14b8dde12f2 100644 --- a/java-api-gateway/README.md +++ b/java-api-gateway/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-api-gateway.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-api-gateway/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-api-gateway/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-apigee-connect/README.md b/java-apigee-connect/README.md index 6806d3d9aec1..1cf968c7b673 100644 --- a/java-apigee-connect/README.md +++ b/java-apigee-connect/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apigee-connect.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-connect/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-connect/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-apigee-registry/README.md b/java-apigee-registry/README.md index 4b9ac2f9ffe5..a86f1068d6d4 100644 --- a/java-apigee-registry/README.md +++ b/java-apigee-registry/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apigee-registry.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-registry/0.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-registry/0.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-apikeys/README.md b/java-apikeys/README.md index c1292db5a903..86b9176ab185 100644 --- a/java-apikeys/README.md +++ b/java-apikeys/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apikeys.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apikeys/0.39.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apikeys/0.40.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-appengine-admin/README.md b/java-appengine-admin/README.md index 11e599eda10d..b785565b4995 100644 --- a/java-appengine-admin/README.md +++ b/java-appengine-admin/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-appengine-admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-appengine-admin/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-appengine-admin/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-apphub/README.md b/java-apphub/README.md index f1a4e98a3b14..05868ed1da05 100644 --- a/java-apphub/README.md +++ b/java-apphub/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apphub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apphub/0.5.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apphub/0.6.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-area120-tables/README.md b/java-area120-tables/README.md index 3dcf2f3167eb..c52370935dc2 100644 --- a/java-area120-tables/README.md +++ b/java-area120-tables/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.area120/google-area120-tables.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.area120/google-area120-tables/0.45.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.area120/google-area120-tables/0.46.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-artifact-registry/README.md b/java-artifact-registry/README.md index cef1a51f55b2..755651903f96 100644 --- a/java-artifact-registry/README.md +++ b/java-artifact-registry/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-artifact-registry.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-artifact-registry/1.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-artifact-registry/1.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-asset/README.md b/java-asset/README.md index 4823fb399020..acc49fb490dd 100644 --- a/java-asset/README.md +++ b/java-asset/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-asset.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-asset/3.45.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-asset/3.46.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-assured-workloads/README.md b/java-assured-workloads/README.md index a8cc5379b8ff..f7e17359bc14 100644 --- a/java-assured-workloads/README.md +++ b/java-assured-workloads/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-assured-workloads.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-assured-workloads/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-assured-workloads/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-automl/README.md b/java-automl/README.md index b2c0c1df1e9e..7a18dc6746ac 100644 --- a/java-automl/README.md +++ b/java-automl/README.md @@ -206,7 +206,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-automl.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-automl/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-automl/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-backupdr/README.md b/java-backupdr/README.md index 0c9735ca1d6f..0ce1551b3a24 100644 --- a/java-backupdr/README.md +++ b/java-backupdr/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-backupdr.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-backupdr/0.0.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-backupdr/0.1.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bare-metal-solution/README.md b/java-bare-metal-solution/README.md index e97b4bb9b036..15d20e2f0abc 100644 --- a/java-bare-metal-solution/README.md +++ b/java-bare-metal-solution/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bare-metal-solution.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bare-metal-solution/0.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bare-metal-solution/0.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-batch/README.md b/java-batch/README.md index 83bfac53b04a..328a750f886d 100644 --- a/java-batch/README.md +++ b/java-batch/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-batch.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-batch/0.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-batch/0.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/AllocationPolicy.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/AllocationPolicy.java index 32c2ed4c7839..d51c91a201c7 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/AllocationPolicy.java +++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/AllocationPolicy.java @@ -287,11 +287,11 @@ public interface LocationPolicyOrBuilder * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -312,11 +312,11 @@ public interface LocationPolicyOrBuilder * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -337,11 +337,11 @@ public interface LocationPolicyOrBuilder * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -363,11 +363,11 @@ public interface LocationPolicyOrBuilder * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -431,11 +431,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -458,11 +458,11 @@ public com.google.protobuf.ProtocolStringList getAllowedLocationsList() { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -485,11 +485,11 @@ public int getAllowedLocationsCount() { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -513,11 +513,11 @@ public java.lang.String getAllowedLocations(int index) { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -904,11 +904,11 @@ private void ensureAllowedLocationsIsMutable() { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -932,11 +932,11 @@ public com.google.protobuf.ProtocolStringList getAllowedLocationsList() { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -959,11 +959,11 @@ public int getAllowedLocationsCount() { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -987,11 +987,11 @@ public java.lang.String getAllowedLocations(int index) { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -1015,11 +1015,11 @@ public com.google.protobuf.ByteString getAllowedLocationsBytes(int index) { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -1051,11 +1051,11 @@ public Builder setAllowedLocations(int index, java.lang.String value) { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -1086,11 +1086,11 @@ public Builder addAllowedLocations(java.lang.String value) { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -1118,11 +1118,11 @@ public Builder addAllAllowedLocations(java.lang.Iterable value * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -1149,11 +1149,11 @@ public Builder clearAllowedLocations() { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto index 56224852c9b3..391fd75fafa7 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto +++ b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto @@ -258,11 +258,11 @@ message AllocationPolicy { // ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs // in zones us-central1-a and us-central1-c. // - // All locations end up in different regions would cause errors. + // Mixing locations from different regions would cause errors. // For example, // ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - // "zones/us-west1-a"] contains 2 regions "us-central1" and - // "us-west1". An error is expected in this case. + // "zones/us-west1-a"] contains locations from two distinct regions: + // us-central1 and us-west1. This combination will trigger an error. repeated string allowed_locations = 1; } diff --git a/java-beyondcorp-appconnections/README.md b/java-beyondcorp-appconnections/README.md index 7dfaa48978a5..d9774fc88c2b 100644 --- a/java-beyondcorp-appconnections/README.md +++ b/java-beyondcorp-appconnections/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-appconnections.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnections/0.39.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnections/0.40.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-beyondcorp-appconnectors/README.md b/java-beyondcorp-appconnectors/README.md index d7fd74068997..a1b032bca43f 100644 --- a/java-beyondcorp-appconnectors/README.md +++ b/java-beyondcorp-appconnectors/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-appconnectors.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnectors/0.39.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnectors/0.40.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-beyondcorp-appgateways/README.md b/java-beyondcorp-appgateways/README.md index 332bce100edf..c271c1014ab2 100644 --- a/java-beyondcorp-appgateways/README.md +++ b/java-beyondcorp-appgateways/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-appgateways.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appgateways/0.39.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appgateways/0.40.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-beyondcorp-clientconnectorservices/README.md b/java-beyondcorp-clientconnectorservices/README.md index 2e47b9220f39..dba170f505e0 100644 --- a/java-beyondcorp-clientconnectorservices/README.md +++ b/java-beyondcorp-clientconnectorservices/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-clientconnectorservices.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientconnectorservices/0.39.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientconnectorservices/0.40.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-beyondcorp-clientgateways/README.md b/java-beyondcorp-clientgateways/README.md index da5209443520..f62d247640cc 100644 --- a/java-beyondcorp-clientgateways/README.md +++ b/java-beyondcorp-clientgateways/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-clientgateways.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientgateways/0.39.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientgateways/0.40.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-biglake/README.md b/java-biglake/README.md index 7113d0a78754..ee7e21b93d6d 100644 --- a/java-biglake/README.md +++ b/java-biglake/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-biglake.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-biglake/0.29.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-biglake/0.30.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigquery-data-exchange/README.md b/java-bigquery-data-exchange/README.md index d1eb03c5b2d1..4eb9b20b9400 100644 --- a/java-bigquery-data-exchange/README.md +++ b/java-bigquery-data-exchange/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquery-data-exchange.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquery-data-exchange/2.36.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquery-data-exchange/2.37.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigqueryconnection/README.md b/java-bigqueryconnection/README.md index 46df9fe1b14e..32f76243cfaa 100644 --- a/java-bigqueryconnection/README.md +++ b/java-bigqueryconnection/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigqueryconnection.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryconnection/2.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryconnection/2.44.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigquerydatapolicy/README.md b/java-bigquerydatapolicy/README.md index 157712ea7a05..01f939190373 100644 --- a/java-bigquerydatapolicy/README.md +++ b/java-bigquerydatapolicy/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerydatapolicy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatapolicy/0.38.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatapolicy/0.39.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigquerydatatransfer/README.md b/java-bigquerydatatransfer/README.md index 98c0f592c357..45bbcba86a41 100644 --- a/java-bigquerydatatransfer/README.md +++ b/java-bigquerydatatransfer/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerydatatransfer.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatatransfer/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatatransfer/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigquerymigration/README.md b/java-bigquerymigration/README.md index 804963d0249f..8c6679a31a45 100644 --- a/java-bigquerymigration/README.md +++ b/java-bigquerymigration/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerymigration.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerymigration/0.44.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerymigration/0.45.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigqueryreservation/README.md b/java-bigqueryreservation/README.md index fcf96b4f895e..a338caceaa46 100644 --- a/java-bigqueryreservation/README.md +++ b/java-bigqueryreservation/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigqueryreservation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryreservation/2.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryreservation/2.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-billing/README.md b/java-billing/README.md index d9c61d0c878a..523fb86327c3 100644 --- a/java-billing/README.md +++ b/java-billing/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-billing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billing/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billing/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-billingbudgets/README.md b/java-billingbudgets/README.md index 6e7d61cf21bc..14ff44dabbfa 100644 --- a/java-billingbudgets/README.md +++ b/java-billingbudgets/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-billingbudgets.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billingbudgets/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billingbudgets/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-binary-authorization/README.md b/java-binary-authorization/README.md index 863c8f0eb3c6..b141a7f0e434 100644 --- a/java-binary-authorization/README.md +++ b/java-binary-authorization/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-binary-authorization.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-binary-authorization/1.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-binary-authorization/1.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-certificate-manager/README.md b/java-certificate-manager/README.md index 00211312f5d3..240c094f219e 100644 --- a/java-certificate-manager/README.md +++ b/java-certificate-manager/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-certificate-manager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-certificate-manager/0.44.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-certificate-manager/0.45.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-channel/README.md b/java-channel/README.md index 2a90dd0edc9c..3baecbf60e08 100644 --- a/java-channel/README.md +++ b/java-channel/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-channel.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-channel/3.45.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-channel/3.46.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-chat/README.md b/java-chat/README.md index 5c428100beba..560584900369 100644 --- a/java-chat/README.md +++ b/java-chat/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-chat.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chat/0.5.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chat/0.6.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudbuild/README.md b/java-cloudbuild/README.md index cab1a7bfdf38..3f9b848b3c8f 100644 --- a/java-cloudbuild/README.md +++ b/java-cloudbuild/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-build.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-build/3.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-build/3.44.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudcommerceconsumerprocurement/README.md b/java-cloudcommerceconsumerprocurement/README.md index 20e4974585d0..3f829ec6e0a9 100644 --- a/java-cloudcommerceconsumerprocurement/README.md +++ b/java-cloudcommerceconsumerprocurement/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement/0.39.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement/0.40.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudcontrolspartner/README.md b/java-cloudcontrolspartner/README.md index e3b13862564c..a915196d5886 100644 --- a/java-cloudcontrolspartner/README.md +++ b/java-cloudcontrolspartner/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudcontrolspartner.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcontrolspartner/0.5.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcontrolspartner/0.6.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudquotas/README.md b/java-cloudquotas/README.md index d77fe4416a1b..07a0a18f46b2 100644 --- a/java-cloudquotas/README.md +++ b/java-cloudquotas/README.md @@ -203,7 +203,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudquotas.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudquotas/0.9.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudquotas/0.10.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudsupport/README.md b/java-cloudsupport/README.md index 65a22ea2a565..71e4dd76eab8 100644 --- a/java-cloudsupport/README.md +++ b/java-cloudsupport/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudsupport.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsupport/0.25.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsupport/0.26.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-compute/README.md b/java-compute/README.md index bec1c2198cf8..1cea5453e8af 100644 --- a/java-compute/README.md +++ b/java-compute/README.md @@ -258,7 +258,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-compute.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-compute/1.51.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-compute/1.52.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsClient.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsClient.java new file mode 100644 index 000000000000..de77f02bde80 --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsClient.java @@ -0,0 +1,1134 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1; + +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.longrunning.OperationFuture; +import com.google.api.gax.paging.AbstractFixedSizeCollection; +import com.google.api.gax.paging.AbstractPage; +import com.google.api.gax.paging.AbstractPagedListResponse; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.compute.v1.stub.InstanceGroupManagerResizeRequestsStub; +import com.google.cloud.compute.v1.stub.InstanceGroupManagerResizeRequestsStubSettings; +import com.google.common.util.concurrent.MoreExecutors; +import java.io.IOException; +import java.util.List; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: The InstanceGroupManagerResizeRequests API. + * + *

This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+ *     InstanceGroupManagerResizeRequestsClient.create()) {
+ *   String project = "project-309310695";
+ *   String zone = "zone3744684";
+ *   String instanceGroupManager = "instanceGroupManager-388242077";
+ *   String resizeRequest = "resizeRequest-1656358085";
+ *   InstanceGroupManagerResizeRequest response =
+ *       instanceGroupManagerResizeRequestsClient.get(
+ *           project, zone, instanceGroupManager, resizeRequest);
+ * }
+ * }
+ * + *

Note: close() needs to be called on the InstanceGroupManagerResizeRequestsClient object to + * clean up resources such as threads. In the example above, try-with-resources is used, which + * automatically calls close(). + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Methods
MethodDescriptionMethod Variants

Cancel

Cancels the specified resize request and removes it from the queue. Cancelled resize request does no longer wait for the resources to be provisioned. Cancel is only possible for requests that are accepted in the queue.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • cancelAsync(CancelInstanceGroupManagerResizeRequestRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • cancelAsync(String project, String zone, String instanceGroupManager, String resizeRequest) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • cancelOperationCallable() + *

  • cancelCallable() + *

+ *

Delete

Deletes the specified, inactive resize request. Requests that are still active cannot be deleted. Deleting request does not delete instances that were provisioned previously.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • deleteAsync(DeleteInstanceGroupManagerResizeRequestRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • deleteAsync(String project, String zone, String instanceGroupManager, String resizeRequest) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • deleteOperationCallable() + *

  • deleteCallable() + *

+ *

Get

Returns all of the details about the specified resize request.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • get(GetInstanceGroupManagerResizeRequestRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • get(String project, String zone, String instanceGroupManager, String resizeRequest) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getCallable() + *

+ *

Insert

Creates a new resize request that starts provisioning VMs immediately or queues VM creation.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • insertAsync(InsertInstanceGroupManagerResizeRequestRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • insertAsync(String project, String zone, String instanceGroupManager, InstanceGroupManagerResizeRequest instanceGroupManagerResizeRequestResource) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • insertOperationCallable() + *

  • insertCallable() + *

+ *

List

Retrieves a list of resize requests that are contained in the managed instance group.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • list(ListInstanceGroupManagerResizeRequestsRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • list(String project, String zone, String instanceGroupManager) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listPagedCallable() + *

  • listCallable() + *

+ *
+ * + *

See the individual methods for example code. + * + *

Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *

This class can be customized by passing in a custom instance of + * InstanceGroupManagerResizeRequestsSettings to create(). For example: + * + *

To customize credentials: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * InstanceGroupManagerResizeRequestsSettings instanceGroupManagerResizeRequestsSettings =
+ *     InstanceGroupManagerResizeRequestsSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+ *     InstanceGroupManagerResizeRequestsClient.create(instanceGroupManagerResizeRequestsSettings);
+ * }
+ * + *

To customize the endpoint: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * InstanceGroupManagerResizeRequestsSettings instanceGroupManagerResizeRequestsSettings =
+ *     InstanceGroupManagerResizeRequestsSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+ *     InstanceGroupManagerResizeRequestsClient.create(instanceGroupManagerResizeRequestsSettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class InstanceGroupManagerResizeRequestsClient implements BackgroundResource { + private final InstanceGroupManagerResizeRequestsSettings settings; + private final InstanceGroupManagerResizeRequestsStub stub; + + /** Constructs an instance of InstanceGroupManagerResizeRequestsClient with default settings. */ + public static final InstanceGroupManagerResizeRequestsClient create() throws IOException { + return create(InstanceGroupManagerResizeRequestsSettings.newBuilder().build()); + } + + /** + * Constructs an instance of InstanceGroupManagerResizeRequestsClient, using the given settings. + * The channels are created based on the settings passed in, or defaults for any settings that are + * not set. + */ + public static final InstanceGroupManagerResizeRequestsClient create( + InstanceGroupManagerResizeRequestsSettings settings) throws IOException { + return new InstanceGroupManagerResizeRequestsClient(settings); + } + + /** + * Constructs an instance of InstanceGroupManagerResizeRequestsClient, using the given stub for + * making calls. This is for advanced usage - prefer using + * create(InstanceGroupManagerResizeRequestsSettings). + */ + public static final InstanceGroupManagerResizeRequestsClient create( + InstanceGroupManagerResizeRequestsStub stub) { + return new InstanceGroupManagerResizeRequestsClient(stub); + } + + /** + * Constructs an instance of InstanceGroupManagerResizeRequestsClient, using the given settings. + * This is protected so that it is easy to make a subclass, but otherwise, the static factory + * methods should be preferred. + */ + protected InstanceGroupManagerResizeRequestsClient( + InstanceGroupManagerResizeRequestsSettings settings) throws IOException { + this.settings = settings; + this.stub = + ((InstanceGroupManagerResizeRequestsStubSettings) settings.getStubSettings()).createStub(); + } + + protected InstanceGroupManagerResizeRequestsClient(InstanceGroupManagerResizeRequestsStub stub) { + this.settings = null; + this.stub = stub; + } + + public final InstanceGroupManagerResizeRequestsSettings getSettings() { + return settings; + } + + public InstanceGroupManagerResizeRequestsStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Cancels the specified resize request and removes it from the queue. Cancelled resize request + * does no longer wait for the resources to be provisioned. Cancel is only possible for requests + * that are accepted in the queue. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   String instanceGroupManager = "instanceGroupManager-388242077";
+   *   String resizeRequest = "resizeRequest-1656358085";
+   *   Operation response =
+   *       instanceGroupManagerResizeRequestsClient
+   *           .cancelAsync(project, zone, instanceGroupManager, resizeRequest)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone The name of the zone where the managed instance group is located. The name should + * conform to RFC1035. + * @param instanceGroupManager The name of the managed instance group. The name should conform to + * RFC1035 or be a resource ID. + * @param resizeRequest The name of the resize request to cancel. The name should conform to + * RFC1035 or be a resource ID. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture cancelAsync( + String project, String zone, String instanceGroupManager, String resizeRequest) { + CancelInstanceGroupManagerResizeRequestRequest request = + CancelInstanceGroupManagerResizeRequestRequest.newBuilder() + .setProject(project) + .setZone(zone) + .setInstanceGroupManager(instanceGroupManager) + .setResizeRequest(resizeRequest) + .build(); + return cancelAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Cancels the specified resize request and removes it from the queue. Cancelled resize request + * does no longer wait for the resources to be provisioned. Cancel is only possible for requests + * that are accepted in the queue. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   CancelInstanceGroupManagerResizeRequestRequest request =
+   *       CancelInstanceGroupManagerResizeRequestRequest.newBuilder()
+   *           .setInstanceGroupManager("instanceGroupManager-388242077")
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setResizeRequest("resizeRequest-1656358085")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   Operation response = instanceGroupManagerResizeRequestsClient.cancelAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture cancelAsync( + CancelInstanceGroupManagerResizeRequestRequest request) { + return cancelOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Cancels the specified resize request and removes it from the queue. Cancelled resize request + * does no longer wait for the resources to be provisioned. Cancel is only possible for requests + * that are accepted in the queue. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   CancelInstanceGroupManagerResizeRequestRequest request =
+   *       CancelInstanceGroupManagerResizeRequestRequest.newBuilder()
+   *           .setInstanceGroupManager("instanceGroupManager-388242077")
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setResizeRequest("resizeRequest-1656358085")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   OperationFuture future =
+   *       instanceGroupManagerResizeRequestsClient.cancelOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable< + CancelInstanceGroupManagerResizeRequestRequest, Operation, Operation> + cancelOperationCallable() { + return stub.cancelOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Cancels the specified resize request and removes it from the queue. Cancelled resize request + * does no longer wait for the resources to be provisioned. Cancel is only possible for requests + * that are accepted in the queue. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   CancelInstanceGroupManagerResizeRequestRequest request =
+   *       CancelInstanceGroupManagerResizeRequestRequest.newBuilder()
+   *           .setInstanceGroupManager("instanceGroupManager-388242077")
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setResizeRequest("resizeRequest-1656358085")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future =
+   *       instanceGroupManagerResizeRequestsClient.cancelCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + cancelCallable() { + return stub.cancelCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified, inactive resize request. Requests that are still active cannot be + * deleted. Deleting request does not delete instances that were provisioned previously. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   String instanceGroupManager = "instanceGroupManager-388242077";
+   *   String resizeRequest = "resizeRequest-1656358085";
+   *   Operation response =
+   *       instanceGroupManagerResizeRequestsClient
+   *           .deleteAsync(project, zone, instanceGroupManager, resizeRequest)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone The name of the zone where the managed instance group is located. The name should + * conform to RFC1035. + * @param instanceGroupManager The name of the managed instance group. The name should conform to + * RFC1035 or be a resource ID. + * @param resizeRequest The name of the resize request to delete. The name should conform to + * RFC1035 or be a resource ID. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deleteAsync( + String project, String zone, String instanceGroupManager, String resizeRequest) { + DeleteInstanceGroupManagerResizeRequestRequest request = + DeleteInstanceGroupManagerResizeRequestRequest.newBuilder() + .setProject(project) + .setZone(zone) + .setInstanceGroupManager(instanceGroupManager) + .setResizeRequest(resizeRequest) + .build(); + return deleteAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified, inactive resize request. Requests that are still active cannot be + * deleted. Deleting request does not delete instances that were provisioned previously. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   DeleteInstanceGroupManagerResizeRequestRequest request =
+   *       DeleteInstanceGroupManagerResizeRequestRequest.newBuilder()
+   *           .setInstanceGroupManager("instanceGroupManager-388242077")
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setResizeRequest("resizeRequest-1656358085")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   Operation response = instanceGroupManagerResizeRequestsClient.deleteAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deleteAsync( + DeleteInstanceGroupManagerResizeRequestRequest request) { + return deleteOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified, inactive resize request. Requests that are still active cannot be + * deleted. Deleting request does not delete instances that were provisioned previously. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   DeleteInstanceGroupManagerResizeRequestRequest request =
+   *       DeleteInstanceGroupManagerResizeRequestRequest.newBuilder()
+   *           .setInstanceGroupManager("instanceGroupManager-388242077")
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setResizeRequest("resizeRequest-1656358085")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   OperationFuture future =
+   *       instanceGroupManagerResizeRequestsClient.deleteOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable< + DeleteInstanceGroupManagerResizeRequestRequest, Operation, Operation> + deleteOperationCallable() { + return stub.deleteOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified, inactive resize request. Requests that are still active cannot be + * deleted. Deleting request does not delete instances that were provisioned previously. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   DeleteInstanceGroupManagerResizeRequestRequest request =
+   *       DeleteInstanceGroupManagerResizeRequestRequest.newBuilder()
+   *           .setInstanceGroupManager("instanceGroupManager-388242077")
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setResizeRequest("resizeRequest-1656358085")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future =
+   *       instanceGroupManagerResizeRequestsClient.deleteCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + deleteCallable() { + return stub.deleteCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns all of the details about the specified resize request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   String instanceGroupManager = "instanceGroupManager-388242077";
+   *   String resizeRequest = "resizeRequest-1656358085";
+   *   InstanceGroupManagerResizeRequest response =
+   *       instanceGroupManagerResizeRequestsClient.get(
+   *           project, zone, instanceGroupManager, resizeRequest);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone Name of the href="/compute/docs/regions-zones/#available">zone scoping this + * request. Name should conform to RFC1035. + * @param instanceGroupManager The name of the managed instance group. Name should conform to + * RFC1035 or be a resource ID. + * @param resizeRequest The name of the resize request. Name should conform to RFC1035 or be a + * resource ID. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final InstanceGroupManagerResizeRequest get( + String project, String zone, String instanceGroupManager, String resizeRequest) { + GetInstanceGroupManagerResizeRequestRequest request = + GetInstanceGroupManagerResizeRequestRequest.newBuilder() + .setProject(project) + .setZone(zone) + .setInstanceGroupManager(instanceGroupManager) + .setResizeRequest(resizeRequest) + .build(); + return get(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns all of the details about the specified resize request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   GetInstanceGroupManagerResizeRequestRequest request =
+   *       GetInstanceGroupManagerResizeRequestRequest.newBuilder()
+   *           .setInstanceGroupManager("instanceGroupManager-388242077")
+   *           .setProject("project-309310695")
+   *           .setResizeRequest("resizeRequest-1656358085")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   InstanceGroupManagerResizeRequest response =
+   *       instanceGroupManagerResizeRequestsClient.get(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final InstanceGroupManagerResizeRequest get( + GetInstanceGroupManagerResizeRequestRequest request) { + return getCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns all of the details about the specified resize request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   GetInstanceGroupManagerResizeRequestRequest request =
+   *       GetInstanceGroupManagerResizeRequestRequest.newBuilder()
+   *           .setInstanceGroupManager("instanceGroupManager-388242077")
+   *           .setProject("project-309310695")
+   *           .setResizeRequest("resizeRequest-1656358085")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future =
+   *       instanceGroupManagerResizeRequestsClient.getCallable().futureCall(request);
+   *   // Do something.
+   *   InstanceGroupManagerResizeRequest response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable< + GetInstanceGroupManagerResizeRequestRequest, InstanceGroupManagerResizeRequest> + getCallable() { + return stub.getCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new resize request that starts provisioning VMs immediately or queues VM creation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   String instanceGroupManager = "instanceGroupManager-388242077";
+   *   InstanceGroupManagerResizeRequest instanceGroupManagerResizeRequestResource =
+   *       InstanceGroupManagerResizeRequest.newBuilder().build();
+   *   Operation response =
+   *       instanceGroupManagerResizeRequestsClient
+   *           .insertAsync(
+   *               project, zone, instanceGroupManager, instanceGroupManagerResizeRequestResource)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone The name of the zone where the managed instance group is located and where the + * resize request will be created. Name should conform to RFC1035. + * @param instanceGroupManager The name of the managed instance group to which the resize request + * will be added. Name should conform to RFC1035 or be a resource ID. + * @param instanceGroupManagerResizeRequestResource The body resource for this request + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture insertAsync( + String project, + String zone, + String instanceGroupManager, + InstanceGroupManagerResizeRequest instanceGroupManagerResizeRequestResource) { + InsertInstanceGroupManagerResizeRequestRequest request = + InsertInstanceGroupManagerResizeRequestRequest.newBuilder() + .setProject(project) + .setZone(zone) + .setInstanceGroupManager(instanceGroupManager) + .setInstanceGroupManagerResizeRequestResource(instanceGroupManagerResizeRequestResource) + .build(); + return insertAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new resize request that starts provisioning VMs immediately or queues VM creation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   InsertInstanceGroupManagerResizeRequestRequest request =
+   *       InsertInstanceGroupManagerResizeRequestRequest.newBuilder()
+   *           .setInstanceGroupManager("instanceGroupManager-388242077")
+   *           .setInstanceGroupManagerResizeRequestResource(
+   *               InstanceGroupManagerResizeRequest.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   Operation response = instanceGroupManagerResizeRequestsClient.insertAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture insertAsync( + InsertInstanceGroupManagerResizeRequestRequest request) { + return insertOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new resize request that starts provisioning VMs immediately or queues VM creation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   InsertInstanceGroupManagerResizeRequestRequest request =
+   *       InsertInstanceGroupManagerResizeRequestRequest.newBuilder()
+   *           .setInstanceGroupManager("instanceGroupManager-388242077")
+   *           .setInstanceGroupManagerResizeRequestResource(
+   *               InstanceGroupManagerResizeRequest.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   OperationFuture future =
+   *       instanceGroupManagerResizeRequestsClient.insertOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable< + InsertInstanceGroupManagerResizeRequestRequest, Operation, Operation> + insertOperationCallable() { + return stub.insertOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new resize request that starts provisioning VMs immediately or queues VM creation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   InsertInstanceGroupManagerResizeRequestRequest request =
+   *       InsertInstanceGroupManagerResizeRequestRequest.newBuilder()
+   *           .setInstanceGroupManager("instanceGroupManager-388242077")
+   *           .setInstanceGroupManagerResizeRequestResource(
+   *               InstanceGroupManagerResizeRequest.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future =
+   *       instanceGroupManagerResizeRequestsClient.insertCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + insertCallable() { + return stub.insertCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves a list of resize requests that are contained in the managed instance group. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   String instanceGroupManager = "instanceGroupManager-388242077";
+   *   for (InstanceGroupManagerResizeRequest element :
+   *       instanceGroupManagerResizeRequestsClient
+   *           .list(project, zone, instanceGroupManager)
+   *           .iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone The name of the zone where the managed instance group is located. The name should + * conform to RFC1035. + * @param instanceGroupManager The name of the managed instance group. The name should conform to + * RFC1035. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListPagedResponse list(String project, String zone, String instanceGroupManager) { + ListInstanceGroupManagerResizeRequestsRequest request = + ListInstanceGroupManagerResizeRequestsRequest.newBuilder() + .setProject(project) + .setZone(zone) + .setInstanceGroupManager(instanceGroupManager) + .build(); + return list(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves a list of resize requests that are contained in the managed instance group. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   ListInstanceGroupManagerResizeRequestsRequest request =
+   *       ListInstanceGroupManagerResizeRequestsRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setInstanceGroupManager("instanceGroupManager-388242077")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .setZone("zone3744684")
+   *           .build();
+   *   for (InstanceGroupManagerResizeRequest element :
+   *       instanceGroupManagerResizeRequestsClient.list(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListPagedResponse list(ListInstanceGroupManagerResizeRequestsRequest request) { + return listPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves a list of resize requests that are contained in the managed instance group. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   ListInstanceGroupManagerResizeRequestsRequest request =
+   *       ListInstanceGroupManagerResizeRequestsRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setInstanceGroupManager("instanceGroupManager-388242077")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future =
+   *       instanceGroupManagerResizeRequestsClient.listPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (InstanceGroupManagerResizeRequest element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listPagedCallable() { + return stub.listPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves a list of resize requests that are contained in the managed instance group. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+   *     InstanceGroupManagerResizeRequestsClient.create()) {
+   *   ListInstanceGroupManagerResizeRequestsRequest request =
+   *       ListInstanceGroupManagerResizeRequestsRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setInstanceGroupManager("instanceGroupManager-388242077")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .setZone("zone3744684")
+   *           .build();
+   *   while (true) {
+   *     InstanceGroupManagerResizeRequestsListResponse response =
+   *         instanceGroupManagerResizeRequestsClient.listCallable().call(request);
+   *     for (InstanceGroupManagerResizeRequest element : response.getItemsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse> + listCallable() { + return stub.listCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } + + public static class ListPagedResponse + extends AbstractPagedListResponse< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse, + InstanceGroupManagerResizeRequest, + ListPage, + ListFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse, + InstanceGroupManagerResizeRequest> + context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, input -> new ListPagedResponse(input), MoreExecutors.directExecutor()); + } + + private ListPagedResponse(ListPage page) { + super(page, ListFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListPage + extends AbstractPage< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse, + InstanceGroupManagerResizeRequest, + ListPage> { + + private ListPage( + PageContext< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse, + InstanceGroupManagerResizeRequest> + context, + InstanceGroupManagerResizeRequestsListResponse response) { + super(context, response); + } + + private static ListPage createEmptyPage() { + return new ListPage(null, null); + } + + @Override + protected ListPage createPage( + PageContext< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse, + InstanceGroupManagerResizeRequest> + context, + InstanceGroupManagerResizeRequestsListResponse response) { + return new ListPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse, + InstanceGroupManagerResizeRequest> + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListFixedSizeCollection + extends AbstractFixedSizeCollection< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse, + InstanceGroupManagerResizeRequest, + ListPage, + ListFixedSizeCollection> { + + private ListFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListFixedSizeCollection createEmptyCollection() { + return new ListFixedSizeCollection(null, 0); + } + + @Override + protected ListFixedSizeCollection createCollection(List pages, int collectionSize) { + return new ListFixedSizeCollection(pages, collectionSize); + } + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsSettings.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsSettings.java new file mode 100644 index 000000000000..e8f5a6f3e3ba --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsSettings.java @@ -0,0 +1,293 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1; + +import static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient.ListPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.cloud.compute.v1.stub.InstanceGroupManagerResizeRequestsStubSettings; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link InstanceGroupManagerResizeRequestsClient}. + * + *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

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

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * InstanceGroupManagerResizeRequestsSettings.Builder
+ *     instanceGroupManagerResizeRequestsSettingsBuilder =
+ *         InstanceGroupManagerResizeRequestsSettings.newBuilder();
+ * instanceGroupManagerResizeRequestsSettingsBuilder
+ *     .getSettings()
+ *     .setRetrySettings(
+ *         instanceGroupManagerResizeRequestsSettingsBuilder
+ *             .getSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * InstanceGroupManagerResizeRequestsSettings instanceGroupManagerResizeRequestsSettings =
+ *     instanceGroupManagerResizeRequestsSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class InstanceGroupManagerResizeRequestsSettings + extends ClientSettings { + + /** Returns the object with the settings used for calls to cancel. */ + public UnaryCallSettings + cancelSettings() { + return ((InstanceGroupManagerResizeRequestsStubSettings) getStubSettings()).cancelSettings(); + } + + /** Returns the object with the settings used for calls to cancel. */ + public OperationCallSettings + cancelOperationSettings() { + return ((InstanceGroupManagerResizeRequestsStubSettings) getStubSettings()) + .cancelOperationSettings(); + } + + /** Returns the object with the settings used for calls to delete. */ + public UnaryCallSettings + deleteSettings() { + return ((InstanceGroupManagerResizeRequestsStubSettings) getStubSettings()).deleteSettings(); + } + + /** Returns the object with the settings used for calls to delete. */ + public OperationCallSettings + deleteOperationSettings() { + return ((InstanceGroupManagerResizeRequestsStubSettings) getStubSettings()) + .deleteOperationSettings(); + } + + /** Returns the object with the settings used for calls to get. */ + public UnaryCallSettings< + GetInstanceGroupManagerResizeRequestRequest, InstanceGroupManagerResizeRequest> + getSettings() { + return ((InstanceGroupManagerResizeRequestsStubSettings) getStubSettings()).getSettings(); + } + + /** Returns the object with the settings used for calls to insert. */ + public UnaryCallSettings + insertSettings() { + return ((InstanceGroupManagerResizeRequestsStubSettings) getStubSettings()).insertSettings(); + } + + /** Returns the object with the settings used for calls to insert. */ + public OperationCallSettings + insertOperationSettings() { + return ((InstanceGroupManagerResizeRequestsStubSettings) getStubSettings()) + .insertOperationSettings(); + } + + /** Returns the object with the settings used for calls to list. */ + public PagedCallSettings< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse, + ListPagedResponse> + listSettings() { + return ((InstanceGroupManagerResizeRequestsStubSettings) getStubSettings()).listSettings(); + } + + public static final InstanceGroupManagerResizeRequestsSettings create( + InstanceGroupManagerResizeRequestsStubSettings stub) throws IOException { + return new InstanceGroupManagerResizeRequestsSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstanceGroupManagerResizeRequestsStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return InstanceGroupManagerResizeRequestsStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return InstanceGroupManagerResizeRequestsStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return InstanceGroupManagerResizeRequestsStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstanceGroupManagerResizeRequestsStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return InstanceGroupManagerResizeRequestsStubSettings.defaultTransportChannelProvider(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return InstanceGroupManagerResizeRequestsStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected InstanceGroupManagerResizeRequestsSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for InstanceGroupManagerResizeRequestsSettings. */ + public static class Builder + extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(InstanceGroupManagerResizeRequestsStubSettings.newBuilder(clientContext)); + } + + protected Builder(InstanceGroupManagerResizeRequestsSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(InstanceGroupManagerResizeRequestsStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(InstanceGroupManagerResizeRequestsStubSettings.newBuilder()); + } + + public InstanceGroupManagerResizeRequestsStubSettings.Builder getStubSettingsBuilder() { + return ((InstanceGroupManagerResizeRequestsStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to cancel. */ + public UnaryCallSettings.Builder + cancelSettings() { + return getStubSettingsBuilder().cancelSettings(); + } + + /** Returns the builder for the settings used for calls to cancel. */ + public OperationCallSettings.Builder< + CancelInstanceGroupManagerResizeRequestRequest, Operation, Operation> + cancelOperationSettings() { + return getStubSettingsBuilder().cancelOperationSettings(); + } + + /** Returns the builder for the settings used for calls to delete. */ + public UnaryCallSettings.Builder + deleteSettings() { + return getStubSettingsBuilder().deleteSettings(); + } + + /** Returns the builder for the settings used for calls to delete. */ + public OperationCallSettings.Builder< + DeleteInstanceGroupManagerResizeRequestRequest, Operation, Operation> + deleteOperationSettings() { + return getStubSettingsBuilder().deleteOperationSettings(); + } + + /** Returns the builder for the settings used for calls to get. */ + public UnaryCallSettings.Builder< + GetInstanceGroupManagerResizeRequestRequest, InstanceGroupManagerResizeRequest> + getSettings() { + return getStubSettingsBuilder().getSettings(); + } + + /** Returns the builder for the settings used for calls to insert. */ + public UnaryCallSettings.Builder + insertSettings() { + return getStubSettingsBuilder().insertSettings(); + } + + /** Returns the builder for the settings used for calls to insert. */ + public OperationCallSettings.Builder< + InsertInstanceGroupManagerResizeRequestRequest, Operation, Operation> + insertOperationSettings() { + return getStubSettingsBuilder().insertOperationSettings(); + } + + /** Returns the builder for the settings used for calls to list. */ + public PagedCallSettings.Builder< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse, + ListPagedResponse> + listSettings() { + return getStubSettingsBuilder().listSettings(); + } + + @Override + public InstanceGroupManagerResizeRequestsSettings build() throws IOException { + return new InstanceGroupManagerResizeRequestsSettings(this); + } + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceSettingsServiceClient.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceSettingsServiceClient.java new file mode 100644 index 000000000000..f10e74bf687c --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceSettingsServiceClient.java @@ -0,0 +1,450 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.longrunning.OperationFuture; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.compute.v1.stub.InstanceSettingsServiceStub; +import com.google.cloud.compute.v1.stub.InstanceSettingsServiceStubSettings; +import java.io.IOException; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: The InstanceSettings API. + * + *

This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (InstanceSettingsServiceClient instanceSettingsServiceClient =
+ *     InstanceSettingsServiceClient.create()) {
+ *   String project = "project-309310695";
+ *   String zone = "zone3744684";
+ *   InstanceSettings response = instanceSettingsServiceClient.get(project, zone);
+ * }
+ * }
+ * + *

Note: close() needs to be called on the InstanceSettingsServiceClient object to clean up + * resources such as threads. In the example above, try-with-resources is used, which automatically + * calls close(). + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Methods
MethodDescriptionMethod Variants

Get

Get Instance settings.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • get(GetInstanceSettingRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • get(String project, String zone) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getCallable() + *

+ *

Patch

Patch Instance settings

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • patchAsync(PatchInstanceSettingRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • patchAsync(String project, String zone, InstanceSettings instanceSettingsResource) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • patchOperationCallable() + *

  • patchCallable() + *

+ *
+ * + *

See the individual methods for example code. + * + *

Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *

This class can be customized by passing in a custom instance of + * InstanceSettingsServiceSettings to create(). For example: + * + *

To customize credentials: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * InstanceSettingsServiceSettings instanceSettingsServiceSettings =
+ *     InstanceSettingsServiceSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * InstanceSettingsServiceClient instanceSettingsServiceClient =
+ *     InstanceSettingsServiceClient.create(instanceSettingsServiceSettings);
+ * }
+ * + *

To customize the endpoint: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * InstanceSettingsServiceSettings instanceSettingsServiceSettings =
+ *     InstanceSettingsServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * InstanceSettingsServiceClient instanceSettingsServiceClient =
+ *     InstanceSettingsServiceClient.create(instanceSettingsServiceSettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class InstanceSettingsServiceClient implements BackgroundResource { + private final InstanceSettingsServiceSettings settings; + private final InstanceSettingsServiceStub stub; + + /** Constructs an instance of InstanceSettingsServiceClient with default settings. */ + public static final InstanceSettingsServiceClient create() throws IOException { + return create(InstanceSettingsServiceSettings.newBuilder().build()); + } + + /** + * Constructs an instance of InstanceSettingsServiceClient, using the given settings. The channels + * are created based on the settings passed in, or defaults for any settings that are not set. + */ + public static final InstanceSettingsServiceClient create(InstanceSettingsServiceSettings settings) + throws IOException { + return new InstanceSettingsServiceClient(settings); + } + + /** + * Constructs an instance of InstanceSettingsServiceClient, using the given stub for making calls. + * This is for advanced usage - prefer using create(InstanceSettingsServiceSettings). + */ + public static final InstanceSettingsServiceClient create(InstanceSettingsServiceStub stub) { + return new InstanceSettingsServiceClient(stub); + } + + /** + * Constructs an instance of InstanceSettingsServiceClient, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected InstanceSettingsServiceClient(InstanceSettingsServiceSettings settings) + throws IOException { + this.settings = settings; + this.stub = ((InstanceSettingsServiceStubSettings) settings.getStubSettings()).createStub(); + } + + protected InstanceSettingsServiceClient(InstanceSettingsServiceStub stub) { + this.settings = null; + this.stub = stub; + } + + public final InstanceSettingsServiceSettings getSettings() { + return settings; + } + + public InstanceSettingsServiceStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Get Instance settings. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceSettingsServiceClient instanceSettingsServiceClient =
+   *     InstanceSettingsServiceClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   InstanceSettings response = instanceSettingsServiceClient.get(project, zone);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone Name of the zone for this request. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final InstanceSettings get(String project, String zone) { + GetInstanceSettingRequest request = + GetInstanceSettingRequest.newBuilder().setProject(project).setZone(zone).build(); + return get(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Get Instance settings. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceSettingsServiceClient instanceSettingsServiceClient =
+   *     InstanceSettingsServiceClient.create()) {
+   *   GetInstanceSettingRequest request =
+   *       GetInstanceSettingRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   InstanceSettings response = instanceSettingsServiceClient.get(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final InstanceSettings get(GetInstanceSettingRequest request) { + return getCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Get Instance settings. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceSettingsServiceClient instanceSettingsServiceClient =
+   *     InstanceSettingsServiceClient.create()) {
+   *   GetInstanceSettingRequest request =
+   *       GetInstanceSettingRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future =
+   *       instanceSettingsServiceClient.getCallable().futureCall(request);
+   *   // Do something.
+   *   InstanceSettings response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getCallable() { + return stub.getCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patch Instance settings + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceSettingsServiceClient instanceSettingsServiceClient =
+   *     InstanceSettingsServiceClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   InstanceSettings instanceSettingsResource = InstanceSettings.newBuilder().build();
+   *   Operation response =
+   *       instanceSettingsServiceClient.patchAsync(project, zone, instanceSettingsResource).get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone The zone scoping this request. It should conform to RFC1035. + * @param instanceSettingsResource The body resource for this request + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture patchAsync( + String project, String zone, InstanceSettings instanceSettingsResource) { + PatchInstanceSettingRequest request = + PatchInstanceSettingRequest.newBuilder() + .setProject(project) + .setZone(zone) + .setInstanceSettingsResource(instanceSettingsResource) + .build(); + return patchAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patch Instance settings + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceSettingsServiceClient instanceSettingsServiceClient =
+   *     InstanceSettingsServiceClient.create()) {
+   *   PatchInstanceSettingRequest request =
+   *       PatchInstanceSettingRequest.newBuilder()
+   *           .setInstanceSettingsResource(InstanceSettings.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setUpdateMask("updateMask-296147115")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   Operation response = instanceSettingsServiceClient.patchAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture patchAsync( + PatchInstanceSettingRequest request) { + return patchOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patch Instance settings + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceSettingsServiceClient instanceSettingsServiceClient =
+   *     InstanceSettingsServiceClient.create()) {
+   *   PatchInstanceSettingRequest request =
+   *       PatchInstanceSettingRequest.newBuilder()
+   *           .setInstanceSettingsResource(InstanceSettings.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setUpdateMask("updateMask-296147115")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   OperationFuture future =
+   *       instanceSettingsServiceClient.patchOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + patchOperationCallable() { + return stub.patchOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patch Instance settings + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (InstanceSettingsServiceClient instanceSettingsServiceClient =
+   *     InstanceSettingsServiceClient.create()) {
+   *   PatchInstanceSettingRequest request =
+   *       PatchInstanceSettingRequest.newBuilder()
+   *           .setInstanceSettingsResource(InstanceSettings.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setUpdateMask("updateMask-296147115")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future =
+   *       instanceSettingsServiceClient.patchCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable patchCallable() { + return stub.patchCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceSettingsServiceSettings.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceSettingsServiceSettings.java new file mode 100644 index 000000000000..c5d5e8d9ba9b --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceSettingsServiceSettings.java @@ -0,0 +1,211 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1; + +import com.google.api.core.ApiFunction; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.cloud.compute.v1.stub.InstanceSettingsServiceStubSettings; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link InstanceSettingsServiceClient}. + * + *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

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

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * InstanceSettingsServiceSettings.Builder instanceSettingsServiceSettingsBuilder =
+ *     InstanceSettingsServiceSettings.newBuilder();
+ * instanceSettingsServiceSettingsBuilder
+ *     .getSettings()
+ *     .setRetrySettings(
+ *         instanceSettingsServiceSettingsBuilder
+ *             .getSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * InstanceSettingsServiceSettings instanceSettingsServiceSettings =
+ *     instanceSettingsServiceSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class InstanceSettingsServiceSettings + extends ClientSettings { + + /** Returns the object with the settings used for calls to get. */ + public UnaryCallSettings getSettings() { + return ((InstanceSettingsServiceStubSettings) getStubSettings()).getSettings(); + } + + /** Returns the object with the settings used for calls to patch. */ + public UnaryCallSettings patchSettings() { + return ((InstanceSettingsServiceStubSettings) getStubSettings()).patchSettings(); + } + + /** Returns the object with the settings used for calls to patch. */ + public OperationCallSettings + patchOperationSettings() { + return ((InstanceSettingsServiceStubSettings) getStubSettings()).patchOperationSettings(); + } + + public static final InstanceSettingsServiceSettings create( + InstanceSettingsServiceStubSettings stub) throws IOException { + return new InstanceSettingsServiceSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstanceSettingsServiceStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return InstanceSettingsServiceStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return InstanceSettingsServiceStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return InstanceSettingsServiceStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstanceSettingsServiceStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return InstanceSettingsServiceStubSettings.defaultTransportChannelProvider(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return InstanceSettingsServiceStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected InstanceSettingsServiceSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for InstanceSettingsServiceSettings. */ + public static class Builder + extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(InstanceSettingsServiceStubSettings.newBuilder(clientContext)); + } + + protected Builder(InstanceSettingsServiceSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(InstanceSettingsServiceStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(InstanceSettingsServiceStubSettings.newBuilder()); + } + + public InstanceSettingsServiceStubSettings.Builder getStubSettingsBuilder() { + return ((InstanceSettingsServiceStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to get. */ + public UnaryCallSettings.Builder getSettings() { + return getStubSettingsBuilder().getSettings(); + } + + /** Returns the builder for the settings used for calls to patch. */ + public UnaryCallSettings.Builder patchSettings() { + return getStubSettingsBuilder().patchSettings(); + } + + /** Returns the builder for the settings used for calls to patch. */ + public OperationCallSettings.Builder + patchOperationSettings() { + return getStubSettingsBuilder().patchOperationSettings(); + } + + @Override + public InstanceSettingsServiceSettings build() throws IOException { + return new InstanceSettingsServiceSettings(this); + } + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsClient.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsClient.java index 306ffe272027..a4913cd93e5e 100644 --- a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsClient.java +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsClient.java @@ -255,6 +255,25 @@ * * * + *

PerformMaintenance + *

Perform maintenance on a subset of nodes in the node group. + * + *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • performMaintenanceAsync(PerformMaintenanceNodeGroupRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • performMaintenanceAsync(String project, String zone, String nodeGroup, NodeGroupsPerformMaintenanceRequest nodeGroupsPerformMaintenanceRequestResource) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • performMaintenanceOperationCallable() + *

  • performMaintenanceCallable() + *

+ * + * + * *

SetIamPolicy *

Sets the access control policy on the specified resource. Replaces any existing policy. * @@ -1765,6 +1784,156 @@ public final UnaryCallable patchCallable() { return stub.patchCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Perform maintenance on a subset of nodes in the node group. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NodeGroupsClient nodeGroupsClient = NodeGroupsClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   String nodeGroup = "nodeGroup443599261";
+   *   NodeGroupsPerformMaintenanceRequest nodeGroupsPerformMaintenanceRequestResource =
+   *       NodeGroupsPerformMaintenanceRequest.newBuilder().build();
+   *   Operation response =
+   *       nodeGroupsClient
+   *           .performMaintenanceAsync(
+   *               project, zone, nodeGroup, nodeGroupsPerformMaintenanceRequestResource)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone The name of the zone for this request. + * @param nodeGroup Name of the node group scoping this request. + * @param nodeGroupsPerformMaintenanceRequestResource The body resource for this request + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture performMaintenanceAsync( + String project, + String zone, + String nodeGroup, + NodeGroupsPerformMaintenanceRequest nodeGroupsPerformMaintenanceRequestResource) { + PerformMaintenanceNodeGroupRequest request = + PerformMaintenanceNodeGroupRequest.newBuilder() + .setProject(project) + .setZone(zone) + .setNodeGroup(nodeGroup) + .setNodeGroupsPerformMaintenanceRequestResource( + nodeGroupsPerformMaintenanceRequestResource) + .build(); + return performMaintenanceAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Perform maintenance on a subset of nodes in the node group. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NodeGroupsClient nodeGroupsClient = NodeGroupsClient.create()) {
+   *   PerformMaintenanceNodeGroupRequest request =
+   *       PerformMaintenanceNodeGroupRequest.newBuilder()
+   *           .setNodeGroup("nodeGroup443599261")
+   *           .setNodeGroupsPerformMaintenanceRequestResource(
+   *               NodeGroupsPerformMaintenanceRequest.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   Operation response = nodeGroupsClient.performMaintenanceAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture performMaintenanceAsync( + PerformMaintenanceNodeGroupRequest request) { + return performMaintenanceOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Perform maintenance on a subset of nodes in the node group. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NodeGroupsClient nodeGroupsClient = NodeGroupsClient.create()) {
+   *   PerformMaintenanceNodeGroupRequest request =
+   *       PerformMaintenanceNodeGroupRequest.newBuilder()
+   *           .setNodeGroup("nodeGroup443599261")
+   *           .setNodeGroupsPerformMaintenanceRequestResource(
+   *               NodeGroupsPerformMaintenanceRequest.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   OperationFuture future =
+   *       nodeGroupsClient.performMaintenanceOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + performMaintenanceOperationCallable() { + return stub.performMaintenanceOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Perform maintenance on a subset of nodes in the node group. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (NodeGroupsClient nodeGroupsClient = NodeGroupsClient.create()) {
+   *   PerformMaintenanceNodeGroupRequest request =
+   *       PerformMaintenanceNodeGroupRequest.newBuilder()
+   *           .setNodeGroup("nodeGroup443599261")
+   *           .setNodeGroupsPerformMaintenanceRequestResource(
+   *               NodeGroupsPerformMaintenanceRequest.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future =
+   *       nodeGroupsClient.performMaintenanceCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + performMaintenanceCallable() { + return stub.performMaintenanceCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Sets the access control policy on the specified resource. Replaces any existing policy. diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsSettings.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsSettings.java index f40a6983ee41..91363baf7f44 100644 --- a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsSettings.java +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupsSettings.java @@ -158,6 +158,18 @@ public UnaryCallSettings patchSettings() { return ((NodeGroupsStubSettings) getStubSettings()).patchOperationSettings(); } + /** Returns the object with the settings used for calls to performMaintenance. */ + public UnaryCallSettings + performMaintenanceSettings() { + return ((NodeGroupsStubSettings) getStubSettings()).performMaintenanceSettings(); + } + + /** Returns the object with the settings used for calls to performMaintenance. */ + public OperationCallSettings + performMaintenanceOperationSettings() { + return ((NodeGroupsStubSettings) getStubSettings()).performMaintenanceOperationSettings(); + } + /** Returns the object with the settings used for calls to setIamPolicy. */ public UnaryCallSettings setIamPolicySettings() { return ((NodeGroupsStubSettings) getStubSettings()).setIamPolicySettings(); @@ -373,6 +385,18 @@ public UnaryCallSettings.Builder patchSettings return getStubSettingsBuilder().patchOperationSettings(); } + /** Returns the builder for the settings used for calls to performMaintenance. */ + public UnaryCallSettings.Builder + performMaintenanceSettings() { + return getStubSettingsBuilder().performMaintenanceSettings(); + } + + /** Returns the builder for the settings used for calls to performMaintenance. */ + public OperationCallSettings.Builder + performMaintenanceOperationSettings() { + return getStubSettingsBuilder().performMaintenanceOperationSettings(); + } + /** Returns the builder for the settings used for calls to setIamPolicy. */ public UnaryCallSettings.Builder setIamPolicySettings() { return getStubSettingsBuilder().setIamPolicySettings(); diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StoragePoolTypesClient.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StoragePoolTypesClient.java new file mode 100644 index 000000000000..8da6e6411a66 --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StoragePoolTypesClient.java @@ -0,0 +1,809 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1; + +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.paging.AbstractFixedSizeCollection; +import com.google.api.gax.paging.AbstractPage; +import com.google.api.gax.paging.AbstractPagedListResponse; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.compute.v1.stub.StoragePoolTypesStub; +import com.google.cloud.compute.v1.stub.StoragePoolTypesStubSettings; +import com.google.common.util.concurrent.MoreExecutors; +import java.io.IOException; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: The StoragePoolTypes API. + * + *

This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) {
+ *   String project = "project-309310695";
+ *   String zone = "zone3744684";
+ *   String storagePoolType = "storagePoolType-354080495";
+ *   StoragePoolType response = storagePoolTypesClient.get(project, zone, storagePoolType);
+ * }
+ * }
+ * + *

Note: close() needs to be called on the StoragePoolTypesClient object to clean up resources + * such as threads. In the example above, try-with-resources is used, which automatically calls + * close(). + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Methods
MethodDescriptionMethod Variants

AggregatedList

Retrieves an aggregated list of storage pool types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • aggregatedList(AggregatedListStoragePoolTypesRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • aggregatedList(String project) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • aggregatedListPagedCallable() + *

  • aggregatedListCallable() + *

+ *

Get

Returns the specified storage pool type.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • get(GetStoragePoolTypeRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • get(String project, String zone, String storagePoolType) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getCallable() + *

+ *

List

Retrieves a list of storage pool types available to the specified project.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • list(ListStoragePoolTypesRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • list(String project, String zone) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listPagedCallable() + *

  • listCallable() + *

+ *
+ * + *

See the individual methods for example code. + * + *

Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *

This class can be customized by passing in a custom instance of StoragePoolTypesSettings to + * create(). For example: + * + *

To customize credentials: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * StoragePoolTypesSettings storagePoolTypesSettings =
+ *     StoragePoolTypesSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * StoragePoolTypesClient storagePoolTypesClient =
+ *     StoragePoolTypesClient.create(storagePoolTypesSettings);
+ * }
+ * + *

To customize the endpoint: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * StoragePoolTypesSettings storagePoolTypesSettings =
+ *     StoragePoolTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * StoragePoolTypesClient storagePoolTypesClient =
+ *     StoragePoolTypesClient.create(storagePoolTypesSettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class StoragePoolTypesClient implements BackgroundResource { + private final StoragePoolTypesSettings settings; + private final StoragePoolTypesStub stub; + + /** Constructs an instance of StoragePoolTypesClient with default settings. */ + public static final StoragePoolTypesClient create() throws IOException { + return create(StoragePoolTypesSettings.newBuilder().build()); + } + + /** + * Constructs an instance of StoragePoolTypesClient, using the given settings. The channels are + * created based on the settings passed in, or defaults for any settings that are not set. + */ + public static final StoragePoolTypesClient create(StoragePoolTypesSettings settings) + throws IOException { + return new StoragePoolTypesClient(settings); + } + + /** + * Constructs an instance of StoragePoolTypesClient, using the given stub for making calls. This + * is for advanced usage - prefer using create(StoragePoolTypesSettings). + */ + public static final StoragePoolTypesClient create(StoragePoolTypesStub stub) { + return new StoragePoolTypesClient(stub); + } + + /** + * Constructs an instance of StoragePoolTypesClient, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected StoragePoolTypesClient(StoragePoolTypesSettings settings) throws IOException { + this.settings = settings; + this.stub = ((StoragePoolTypesStubSettings) settings.getStubSettings()).createStub(); + } + + protected StoragePoolTypesClient(StoragePoolTypesStub stub) { + this.settings = null; + this.stub = stub; + } + + public final StoragePoolTypesSettings getSettings() { + return settings; + } + + public StoragePoolTypesStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves an aggregated list of storage pool types. To prevent failure, Google recommends that + * you set the `returnPartialSuccess` parameter to `true`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) {
+   *   String project = "project-309310695";
+   *   for (Map.Entry element :
+   *       storagePoolTypesClient.aggregatedList(project).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AggregatedListPagedResponse aggregatedList(String project) { + AggregatedListStoragePoolTypesRequest request = + AggregatedListStoragePoolTypesRequest.newBuilder().setProject(project).build(); + return aggregatedList(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves an aggregated list of storage pool types. To prevent failure, Google recommends that + * you set the `returnPartialSuccess` parameter to `true`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) {
+   *   AggregatedListStoragePoolTypesRequest request =
+   *       AggregatedListStoragePoolTypesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setIncludeAllScopes(true)
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .setServiceProjectNumber(-1293855239)
+   *           .build();
+   *   for (Map.Entry element :
+   *       storagePoolTypesClient.aggregatedList(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AggregatedListPagedResponse aggregatedList( + AggregatedListStoragePoolTypesRequest request) { + return aggregatedListPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves an aggregated list of storage pool types. To prevent failure, Google recommends that + * you set the `returnPartialSuccess` parameter to `true`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) {
+   *   AggregatedListStoragePoolTypesRequest request =
+   *       AggregatedListStoragePoolTypesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setIncludeAllScopes(true)
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .setServiceProjectNumber(-1293855239)
+   *           .build();
+   *   ApiFuture> future =
+   *       storagePoolTypesClient.aggregatedListPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (Map.Entry element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + aggregatedListPagedCallable() { + return stub.aggregatedListPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves an aggregated list of storage pool types. To prevent failure, Google recommends that + * you set the `returnPartialSuccess` parameter to `true`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) {
+   *   AggregatedListStoragePoolTypesRequest request =
+   *       AggregatedListStoragePoolTypesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setIncludeAllScopes(true)
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .setServiceProjectNumber(-1293855239)
+   *           .build();
+   *   while (true) {
+   *     StoragePoolTypeAggregatedList response =
+   *         storagePoolTypesClient.aggregatedListCallable().call(request);
+   *     for (Map.Entry element : response.getItemsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + aggregatedListCallable() { + return stub.aggregatedListCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the specified storage pool type. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   String storagePoolType = "storagePoolType-354080495";
+   *   StoragePoolType response = storagePoolTypesClient.get(project, zone, storagePoolType);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone The name of the zone for this request. + * @param storagePoolType Name of the storage pool type to return. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final StoragePoolType get(String project, String zone, String storagePoolType) { + GetStoragePoolTypeRequest request = + GetStoragePoolTypeRequest.newBuilder() + .setProject(project) + .setZone(zone) + .setStoragePoolType(storagePoolType) + .build(); + return get(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the specified storage pool type. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) {
+   *   GetStoragePoolTypeRequest request =
+   *       GetStoragePoolTypeRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setStoragePoolType("storagePoolType-354080495")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   StoragePoolType response = storagePoolTypesClient.get(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final StoragePoolType get(GetStoragePoolTypeRequest request) { + return getCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the specified storage pool type. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) {
+   *   GetStoragePoolTypeRequest request =
+   *       GetStoragePoolTypeRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setStoragePoolType("storagePoolType-354080495")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future = storagePoolTypesClient.getCallable().futureCall(request);
+   *   // Do something.
+   *   StoragePoolType response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getCallable() { + return stub.getCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves a list of storage pool types available to the specified project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   for (StoragePoolType element : storagePoolTypesClient.list(project, zone).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone The name of the zone for this request. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListPagedResponse list(String project, String zone) { + ListStoragePoolTypesRequest request = + ListStoragePoolTypesRequest.newBuilder().setProject(project).setZone(zone).build(); + return list(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves a list of storage pool types available to the specified project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) {
+   *   ListStoragePoolTypesRequest request =
+   *       ListStoragePoolTypesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .setZone("zone3744684")
+   *           .build();
+   *   for (StoragePoolType element : storagePoolTypesClient.list(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListPagedResponse list(ListStoragePoolTypesRequest request) { + return listPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves a list of storage pool types available to the specified project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) {
+   *   ListStoragePoolTypesRequest request =
+   *       ListStoragePoolTypesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future =
+   *       storagePoolTypesClient.listPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (StoragePoolType element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listPagedCallable() { + return stub.listPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves a list of storage pool types available to the specified project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) {
+   *   ListStoragePoolTypesRequest request =
+   *       ListStoragePoolTypesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .setZone("zone3744684")
+   *           .build();
+   *   while (true) {
+   *     StoragePoolTypeList response = storagePoolTypesClient.listCallable().call(request);
+   *     for (StoragePoolType element : response.getItemsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listCallable() { + return stub.listCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } + + public static class AggregatedListPagedResponse + extends AbstractPagedListResponse< + AggregatedListStoragePoolTypesRequest, + StoragePoolTypeAggregatedList, + Map.Entry, + AggregatedListPage, + AggregatedListFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext< + AggregatedListStoragePoolTypesRequest, + StoragePoolTypeAggregatedList, + Map.Entry> + context, + ApiFuture futureResponse) { + ApiFuture futurePage = + AggregatedListPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new AggregatedListPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private AggregatedListPagedResponse(AggregatedListPage page) { + super(page, AggregatedListFixedSizeCollection.createEmptyCollection()); + } + } + + public static class AggregatedListPage + extends AbstractPage< + AggregatedListStoragePoolTypesRequest, + StoragePoolTypeAggregatedList, + Map.Entry, + AggregatedListPage> { + + private AggregatedListPage( + PageContext< + AggregatedListStoragePoolTypesRequest, + StoragePoolTypeAggregatedList, + Map.Entry> + context, + StoragePoolTypeAggregatedList response) { + super(context, response); + } + + private static AggregatedListPage createEmptyPage() { + return new AggregatedListPage(null, null); + } + + @Override + protected AggregatedListPage createPage( + PageContext< + AggregatedListStoragePoolTypesRequest, + StoragePoolTypeAggregatedList, + Map.Entry> + context, + StoragePoolTypeAggregatedList response) { + return new AggregatedListPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext< + AggregatedListStoragePoolTypesRequest, + StoragePoolTypeAggregatedList, + Map.Entry> + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class AggregatedListFixedSizeCollection + extends AbstractFixedSizeCollection< + AggregatedListStoragePoolTypesRequest, + StoragePoolTypeAggregatedList, + Map.Entry, + AggregatedListPage, + AggregatedListFixedSizeCollection> { + + private AggregatedListFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static AggregatedListFixedSizeCollection createEmptyCollection() { + return new AggregatedListFixedSizeCollection(null, 0); + } + + @Override + protected AggregatedListFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new AggregatedListFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListPagedResponse + extends AbstractPagedListResponse< + ListStoragePoolTypesRequest, + StoragePoolTypeList, + StoragePoolType, + ListPage, + ListFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, input -> new ListPagedResponse(input), MoreExecutors.directExecutor()); + } + + private ListPagedResponse(ListPage page) { + super(page, ListFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListPage + extends AbstractPage< + ListStoragePoolTypesRequest, StoragePoolTypeList, StoragePoolType, ListPage> { + + private ListPage( + PageContext context, + StoragePoolTypeList response) { + super(context, response); + } + + private static ListPage createEmptyPage() { + return new ListPage(null, null); + } + + @Override + protected ListPage createPage( + PageContext context, + StoragePoolTypeList response) { + return new ListPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListFixedSizeCollection + extends AbstractFixedSizeCollection< + ListStoragePoolTypesRequest, + StoragePoolTypeList, + StoragePoolType, + ListPage, + ListFixedSizeCollection> { + + private ListFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListFixedSizeCollection createEmptyCollection() { + return new ListFixedSizeCollection(null, 0); + } + + @Override + protected ListFixedSizeCollection createCollection(List pages, int collectionSize) { + return new ListFixedSizeCollection(pages, collectionSize); + } + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StoragePoolTypesSettings.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StoragePoolTypesSettings.java new file mode 100644 index 000000000000..541b4e363297 --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StoragePoolTypesSettings.java @@ -0,0 +1,220 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1; + +import static com.google.cloud.compute.v1.StoragePoolTypesClient.AggregatedListPagedResponse; +import static com.google.cloud.compute.v1.StoragePoolTypesClient.ListPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.cloud.compute.v1.stub.StoragePoolTypesStubSettings; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link StoragePoolTypesClient}. + * + *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

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

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * StoragePoolTypesSettings.Builder storagePoolTypesSettingsBuilder =
+ *     StoragePoolTypesSettings.newBuilder();
+ * storagePoolTypesSettingsBuilder
+ *     .getSettings()
+ *     .setRetrySettings(
+ *         storagePoolTypesSettingsBuilder
+ *             .getSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * StoragePoolTypesSettings storagePoolTypesSettings = storagePoolTypesSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class StoragePoolTypesSettings extends ClientSettings { + + /** Returns the object with the settings used for calls to aggregatedList. */ + public PagedCallSettings< + AggregatedListStoragePoolTypesRequest, + StoragePoolTypeAggregatedList, + AggregatedListPagedResponse> + aggregatedListSettings() { + return ((StoragePoolTypesStubSettings) getStubSettings()).aggregatedListSettings(); + } + + /** Returns the object with the settings used for calls to get. */ + public UnaryCallSettings getSettings() { + return ((StoragePoolTypesStubSettings) getStubSettings()).getSettings(); + } + + /** Returns the object with the settings used for calls to list. */ + public PagedCallSettings + listSettings() { + return ((StoragePoolTypesStubSettings) getStubSettings()).listSettings(); + } + + public static final StoragePoolTypesSettings create(StoragePoolTypesStubSettings stub) + throws IOException { + return new StoragePoolTypesSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return StoragePoolTypesStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return StoragePoolTypesStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return StoragePoolTypesStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return StoragePoolTypesStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return StoragePoolTypesStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return StoragePoolTypesStubSettings.defaultTransportChannelProvider(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return StoragePoolTypesStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected StoragePoolTypesSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for StoragePoolTypesSettings. */ + public static class Builder extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(StoragePoolTypesStubSettings.newBuilder(clientContext)); + } + + protected Builder(StoragePoolTypesSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(StoragePoolTypesStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(StoragePoolTypesStubSettings.newBuilder()); + } + + public StoragePoolTypesStubSettings.Builder getStubSettingsBuilder() { + return ((StoragePoolTypesStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to aggregatedList. */ + public PagedCallSettings.Builder< + AggregatedListStoragePoolTypesRequest, + StoragePoolTypeAggregatedList, + AggregatedListPagedResponse> + aggregatedListSettings() { + return getStubSettingsBuilder().aggregatedListSettings(); + } + + /** Returns the builder for the settings used for calls to get. */ + public UnaryCallSettings.Builder getSettings() { + return getStubSettingsBuilder().getSettings(); + } + + /** Returns the builder for the settings used for calls to list. */ + public PagedCallSettings.Builder< + ListStoragePoolTypesRequest, StoragePoolTypeList, ListPagedResponse> + listSettings() { + return getStubSettingsBuilder().listSettings(); + } + + @Override + public StoragePoolTypesSettings build() throws IOException { + return new StoragePoolTypesSettings(this); + } + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StoragePoolsClient.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StoragePoolsClient.java new file mode 100644 index 000000000000..f520648b4da6 --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StoragePoolsClient.java @@ -0,0 +1,1894 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1; + +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.longrunning.OperationFuture; +import com.google.api.gax.paging.AbstractFixedSizeCollection; +import com.google.api.gax.paging.AbstractPage; +import com.google.api.gax.paging.AbstractPagedListResponse; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.compute.v1.stub.StoragePoolsStub; +import com.google.cloud.compute.v1.stub.StoragePoolsStubSettings; +import com.google.common.util.concurrent.MoreExecutors; +import java.io.IOException; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: The StoragePools API. + * + *

This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+ *   String project = "project-309310695";
+ *   String zone = "zone3744684";
+ *   String storagePool = "storagePool-525690569";
+ *   StoragePool response = storagePoolsClient.get(project, zone, storagePool);
+ * }
+ * }
+ * + *

Note: close() needs to be called on the StoragePoolsClient object to clean up resources such + * as threads. In the example above, try-with-resources is used, which automatically calls close(). + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Methods
MethodDescriptionMethod Variants

AggregatedList

Retrieves an aggregated list of storage pools. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • aggregatedList(AggregatedListStoragePoolsRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • aggregatedList(String project) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • aggregatedListPagedCallable() + *

  • aggregatedListCallable() + *

+ *

Delete

Deletes the specified storage pool. Deleting a storagePool removes its data permanently and is irreversible. However, deleting a storagePool does not delete any snapshots previously made from the storagePool. You must separately delete snapshots.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • deleteAsync(DeleteStoragePoolRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • deleteAsync(String project, String zone, String storagePool) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • deleteOperationCallable() + *

  • deleteCallable() + *

+ *

Get

Returns a specified storage pool. Gets a list of available storage pools by making a list() request.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • get(GetStoragePoolRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • get(String project, String zone, String storagePool) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getCallable() + *

+ *

GetIamPolicy

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • getIamPolicy(GetIamPolicyStoragePoolRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • getIamPolicy(String project, String zone, String resource) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getIamPolicyCallable() + *

+ *

Insert

Creates a storage pool in the specified project using the data in the request.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • insertAsync(InsertStoragePoolRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • insertAsync(String project, String zone, StoragePool storagePoolResource) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • insertOperationCallable() + *

  • insertCallable() + *

+ *

List

Retrieves a list of storage pools contained within the specified zone.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • list(ListStoragePoolsRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • list(String project, String zone) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listPagedCallable() + *

  • listCallable() + *

+ *

ListDisks

Lists the disks in a specified storage pool.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • listDisks(ListDisksStoragePoolsRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • listDisks(String project, String zone, String storagePool) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listDisksPagedCallable() + *

  • listDisksCallable() + *

+ *

SetIamPolicy

Sets the access control policy on the specified resource. Replaces any existing policy.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • setIamPolicy(SetIamPolicyStoragePoolRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • setIamPolicy(String project, String zone, String resource, ZoneSetPolicyRequest zoneSetPolicyRequestResource) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • setIamPolicyCallable() + *

+ *

TestIamPermissions

Returns permissions that a caller has on the specified resource.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • testIamPermissions(TestIamPermissionsStoragePoolRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • testIamPermissions(String project, String zone, String resource, TestPermissionsRequest testPermissionsRequestResource) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • testIamPermissionsCallable() + *

+ *

Update

Updates the specified storagePool with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: size_tb and provisioned_iops.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • updateAsync(UpdateStoragePoolRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • updateAsync(String project, String zone, String storagePool, StoragePool storagePoolResource) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • updateOperationCallable() + *

  • updateCallable() + *

+ *
+ * + *

See the individual methods for example code. + * + *

Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *

This class can be customized by passing in a custom instance of StoragePoolsSettings to + * create(). For example: + * + *

To customize credentials: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * StoragePoolsSettings storagePoolsSettings =
+ *     StoragePoolsSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * StoragePoolsClient storagePoolsClient = StoragePoolsClient.create(storagePoolsSettings);
+ * }
+ * + *

To customize the endpoint: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * StoragePoolsSettings storagePoolsSettings =
+ *     StoragePoolsSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * StoragePoolsClient storagePoolsClient = StoragePoolsClient.create(storagePoolsSettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class StoragePoolsClient implements BackgroundResource { + private final StoragePoolsSettings settings; + private final StoragePoolsStub stub; + + /** Constructs an instance of StoragePoolsClient with default settings. */ + public static final StoragePoolsClient create() throws IOException { + return create(StoragePoolsSettings.newBuilder().build()); + } + + /** + * Constructs an instance of StoragePoolsClient, using the given settings. The channels are + * created based on the settings passed in, or defaults for any settings that are not set. + */ + public static final StoragePoolsClient create(StoragePoolsSettings settings) throws IOException { + return new StoragePoolsClient(settings); + } + + /** + * Constructs an instance of StoragePoolsClient, using the given stub for making calls. This is + * for advanced usage - prefer using create(StoragePoolsSettings). + */ + public static final StoragePoolsClient create(StoragePoolsStub stub) { + return new StoragePoolsClient(stub); + } + + /** + * Constructs an instance of StoragePoolsClient, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected StoragePoolsClient(StoragePoolsSettings settings) throws IOException { + this.settings = settings; + this.stub = ((StoragePoolsStubSettings) settings.getStubSettings()).createStub(); + } + + protected StoragePoolsClient(StoragePoolsStub stub) { + this.settings = null; + this.stub = stub; + } + + public final StoragePoolsSettings getSettings() { + return settings; + } + + public StoragePoolsStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves an aggregated list of storage pools. To prevent failure, Google recommends that you + * set the `returnPartialSuccess` parameter to `true`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   String project = "project-309310695";
+   *   for (Map.Entry element :
+   *       storagePoolsClient.aggregatedList(project).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AggregatedListPagedResponse aggregatedList(String project) { + AggregatedListStoragePoolsRequest request = + AggregatedListStoragePoolsRequest.newBuilder().setProject(project).build(); + return aggregatedList(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves an aggregated list of storage pools. To prevent failure, Google recommends that you + * set the `returnPartialSuccess` parameter to `true`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   AggregatedListStoragePoolsRequest request =
+   *       AggregatedListStoragePoolsRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setIncludeAllScopes(true)
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .setServiceProjectNumber(-1293855239)
+   *           .build();
+   *   for (Map.Entry element :
+   *       storagePoolsClient.aggregatedList(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AggregatedListPagedResponse aggregatedList( + AggregatedListStoragePoolsRequest request) { + return aggregatedListPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves an aggregated list of storage pools. To prevent failure, Google recommends that you + * set the `returnPartialSuccess` parameter to `true`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   AggregatedListStoragePoolsRequest request =
+   *       AggregatedListStoragePoolsRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setIncludeAllScopes(true)
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .setServiceProjectNumber(-1293855239)
+   *           .build();
+   *   ApiFuture> future =
+   *       storagePoolsClient.aggregatedListPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (Map.Entry element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + aggregatedListPagedCallable() { + return stub.aggregatedListPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves an aggregated list of storage pools. To prevent failure, Google recommends that you + * set the `returnPartialSuccess` parameter to `true`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   AggregatedListStoragePoolsRequest request =
+   *       AggregatedListStoragePoolsRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setIncludeAllScopes(true)
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .setServiceProjectNumber(-1293855239)
+   *           .build();
+   *   while (true) {
+   *     StoragePoolAggregatedList response =
+   *         storagePoolsClient.aggregatedListCallable().call(request);
+   *     for (Map.Entry element : response.getItemsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + aggregatedListCallable() { + return stub.aggregatedListCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified storage pool. Deleting a storagePool removes its data permanently and is + * irreversible. However, deleting a storagePool does not delete any snapshots previously made + * from the storagePool. You must separately delete snapshots. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   String storagePool = "storagePool-525690569";
+   *   Operation response = storagePoolsClient.deleteAsync(project, zone, storagePool).get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone The name of the zone for this request. + * @param storagePool Name of the storage pool to delete. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deleteAsync( + String project, String zone, String storagePool) { + DeleteStoragePoolRequest request = + DeleteStoragePoolRequest.newBuilder() + .setProject(project) + .setZone(zone) + .setStoragePool(storagePool) + .build(); + return deleteAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified storage pool. Deleting a storagePool removes its data permanently and is + * irreversible. However, deleting a storagePool does not delete any snapshots previously made + * from the storagePool. You must separately delete snapshots. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   DeleteStoragePoolRequest request =
+   *       DeleteStoragePoolRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setStoragePool("storagePool-525690569")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   Operation response = storagePoolsClient.deleteAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deleteAsync(DeleteStoragePoolRequest request) { + return deleteOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified storage pool. Deleting a storagePool removes its data permanently and is + * irreversible. However, deleting a storagePool does not delete any snapshots previously made + * from the storagePool. You must separately delete snapshots. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   DeleteStoragePoolRequest request =
+   *       DeleteStoragePoolRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setStoragePool("storagePool-525690569")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   OperationFuture future =
+   *       storagePoolsClient.deleteOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + deleteOperationCallable() { + return stub.deleteOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified storage pool. Deleting a storagePool removes its data permanently and is + * irreversible. However, deleting a storagePool does not delete any snapshots previously made + * from the storagePool. You must separately delete snapshots. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   DeleteStoragePoolRequest request =
+   *       DeleteStoragePoolRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setStoragePool("storagePool-525690569")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future = storagePoolsClient.deleteCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteCallable() { + return stub.deleteCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns a specified storage pool. Gets a list of available storage pools by making a list() + * request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   String storagePool = "storagePool-525690569";
+   *   StoragePool response = storagePoolsClient.get(project, zone, storagePool);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone The name of the zone for this request. + * @param storagePool Name of the storage pool to return. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final StoragePool get(String project, String zone, String storagePool) { + GetStoragePoolRequest request = + GetStoragePoolRequest.newBuilder() + .setProject(project) + .setZone(zone) + .setStoragePool(storagePool) + .build(); + return get(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns a specified storage pool. Gets a list of available storage pools by making a list() + * request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   GetStoragePoolRequest request =
+   *       GetStoragePoolRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setStoragePool("storagePool-525690569")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   StoragePool response = storagePoolsClient.get(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final StoragePool get(GetStoragePoolRequest request) { + return getCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns a specified storage pool. Gets a list of available storage pools by making a list() + * request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   GetStoragePoolRequest request =
+   *       GetStoragePoolRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setStoragePool("storagePool-525690569")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future = storagePoolsClient.getCallable().futureCall(request);
+   *   // Do something.
+   *   StoragePool response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getCallable() { + return stub.getCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for a resource. May be empty if no such policy or resource + * exists. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   String resource = "resource-341064690";
+   *   Policy response = storagePoolsClient.getIamPolicy(project, zone, resource);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone The name of the zone for this request. + * @param resource Name or id of the resource for this request. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getIamPolicy(String project, String zone, String resource) { + GetIamPolicyStoragePoolRequest request = + GetIamPolicyStoragePoolRequest.newBuilder() + .setProject(project) + .setZone(zone) + .setResource(resource) + .build(); + return getIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for a resource. May be empty if no such policy or resource + * exists. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   GetIamPolicyStoragePoolRequest request =
+   *       GetIamPolicyStoragePoolRequest.newBuilder()
+   *           .setOptionsRequestedPolicyVersion(-574521795)
+   *           .setProject("project-309310695")
+   *           .setResource("resource-341064690")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   Policy response = storagePoolsClient.getIamPolicy(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getIamPolicy(GetIamPolicyStoragePoolRequest request) { + return getIamPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for a resource. May be empty if no such policy or resource + * exists. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   GetIamPolicyStoragePoolRequest request =
+   *       GetIamPolicyStoragePoolRequest.newBuilder()
+   *           .setOptionsRequestedPolicyVersion(-574521795)
+   *           .setProject("project-309310695")
+   *           .setResource("resource-341064690")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future = storagePoolsClient.getIamPolicyCallable().futureCall(request);
+   *   // Do something.
+   *   Policy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getIamPolicyCallable() { + return stub.getIamPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a storage pool in the specified project using the data in the request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   StoragePool storagePoolResource = StoragePool.newBuilder().build();
+   *   Operation response = storagePoolsClient.insertAsync(project, zone, storagePoolResource).get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone The name of the zone for this request. + * @param storagePoolResource The body resource for this request + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture insertAsync( + String project, String zone, StoragePool storagePoolResource) { + InsertStoragePoolRequest request = + InsertStoragePoolRequest.newBuilder() + .setProject(project) + .setZone(zone) + .setStoragePoolResource(storagePoolResource) + .build(); + return insertAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a storage pool in the specified project using the data in the request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   InsertStoragePoolRequest request =
+   *       InsertStoragePoolRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setStoragePoolResource(StoragePool.newBuilder().build())
+   *           .setZone("zone3744684")
+   *           .build();
+   *   Operation response = storagePoolsClient.insertAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture insertAsync(InsertStoragePoolRequest request) { + return insertOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a storage pool in the specified project using the data in the request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   InsertStoragePoolRequest request =
+   *       InsertStoragePoolRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setStoragePoolResource(StoragePool.newBuilder().build())
+   *           .setZone("zone3744684")
+   *           .build();
+   *   OperationFuture future =
+   *       storagePoolsClient.insertOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + insertOperationCallable() { + return stub.insertOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a storage pool in the specified project using the data in the request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   InsertStoragePoolRequest request =
+   *       InsertStoragePoolRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setStoragePoolResource(StoragePool.newBuilder().build())
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future = storagePoolsClient.insertCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable insertCallable() { + return stub.insertCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves a list of storage pools contained within the specified zone. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   for (StoragePool element : storagePoolsClient.list(project, zone).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone The name of the zone for this request. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListPagedResponse list(String project, String zone) { + ListStoragePoolsRequest request = + ListStoragePoolsRequest.newBuilder().setProject(project).setZone(zone).build(); + return list(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves a list of storage pools contained within the specified zone. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   ListStoragePoolsRequest request =
+   *       ListStoragePoolsRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .setZone("zone3744684")
+   *           .build();
+   *   for (StoragePool element : storagePoolsClient.list(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListPagedResponse list(ListStoragePoolsRequest request) { + return listPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves a list of storage pools contained within the specified zone. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   ListStoragePoolsRequest request =
+   *       ListStoragePoolsRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future = storagePoolsClient.listPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (StoragePool element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listPagedCallable() { + return stub.listPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves a list of storage pools contained within the specified zone. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   ListStoragePoolsRequest request =
+   *       ListStoragePoolsRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .setZone("zone3744684")
+   *           .build();
+   *   while (true) {
+   *     StoragePoolList response = storagePoolsClient.listCallable().call(request);
+   *     for (StoragePool element : response.getItemsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listCallable() { + return stub.listCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists the disks in a specified storage pool. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   String storagePool = "storagePool-525690569";
+   *   for (StoragePoolDisk element :
+   *       storagePoolsClient.listDisks(project, zone, storagePool).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone The name of the zone for this request. + * @param storagePool Name of the storage pool to list disks of. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListDisksPagedResponse listDisks(String project, String zone, String storagePool) { + ListDisksStoragePoolsRequest request = + ListDisksStoragePoolsRequest.newBuilder() + .setProject(project) + .setZone(zone) + .setStoragePool(storagePool) + .build(); + return listDisks(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists the disks in a specified storage pool. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   ListDisksStoragePoolsRequest request =
+   *       ListDisksStoragePoolsRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .setStoragePool("storagePool-525690569")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   for (StoragePoolDisk element : storagePoolsClient.listDisks(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListDisksPagedResponse listDisks(ListDisksStoragePoolsRequest request) { + return listDisksPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists the disks in a specified storage pool. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   ListDisksStoragePoolsRequest request =
+   *       ListDisksStoragePoolsRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .setStoragePool("storagePool-525690569")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future =
+   *       storagePoolsClient.listDisksPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (StoragePoolDisk element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listDisksPagedCallable() { + return stub.listDisksPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists the disks in a specified storage pool. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   ListDisksStoragePoolsRequest request =
+   *       ListDisksStoragePoolsRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .setStoragePool("storagePool-525690569")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   while (true) {
+   *     StoragePoolListDisks response = storagePoolsClient.listDisksCallable().call(request);
+   *     for (StoragePoolDisk element : response.getItemsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listDisksCallable() { + return stub.listDisksCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on the specified resource. Replaces any existing policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   String resource = "resource-341064690";
+   *   ZoneSetPolicyRequest zoneSetPolicyRequestResource = ZoneSetPolicyRequest.newBuilder().build();
+   *   Policy response =
+   *       storagePoolsClient.setIamPolicy(project, zone, resource, zoneSetPolicyRequestResource);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone The name of the zone for this request. + * @param resource Name or id of the resource for this request. + * @param zoneSetPolicyRequestResource The body resource for this request + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy setIamPolicy( + String project, + String zone, + String resource, + ZoneSetPolicyRequest zoneSetPolicyRequestResource) { + SetIamPolicyStoragePoolRequest request = + SetIamPolicyStoragePoolRequest.newBuilder() + .setProject(project) + .setZone(zone) + .setResource(resource) + .setZoneSetPolicyRequestResource(zoneSetPolicyRequestResource) + .build(); + return setIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on the specified resource. Replaces any existing policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   SetIamPolicyStoragePoolRequest request =
+   *       SetIamPolicyStoragePoolRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setResource("resource-341064690")
+   *           .setZone("zone3744684")
+   *           .setZoneSetPolicyRequestResource(ZoneSetPolicyRequest.newBuilder().build())
+   *           .build();
+   *   Policy response = storagePoolsClient.setIamPolicy(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy setIamPolicy(SetIamPolicyStoragePoolRequest request) { + return setIamPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on the specified resource. Replaces any existing policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   SetIamPolicyStoragePoolRequest request =
+   *       SetIamPolicyStoragePoolRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setResource("resource-341064690")
+   *           .setZone("zone3744684")
+   *           .setZoneSetPolicyRequestResource(ZoneSetPolicyRequest.newBuilder().build())
+   *           .build();
+   *   ApiFuture future = storagePoolsClient.setIamPolicyCallable().futureCall(request);
+   *   // Do something.
+   *   Policy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable setIamPolicyCallable() { + return stub.setIamPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that a caller has on the specified resource. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   String resource = "resource-341064690";
+   *   TestPermissionsRequest testPermissionsRequestResource =
+   *       TestPermissionsRequest.newBuilder().build();
+   *   TestPermissionsResponse response =
+   *       storagePoolsClient.testIamPermissions(
+   *           project, zone, resource, testPermissionsRequestResource);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone The name of the zone for this request. + * @param resource Name or id of the resource for this request. + * @param testPermissionsRequestResource The body resource for this request + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TestPermissionsResponse testIamPermissions( + String project, + String zone, + String resource, + TestPermissionsRequest testPermissionsRequestResource) { + TestIamPermissionsStoragePoolRequest request = + TestIamPermissionsStoragePoolRequest.newBuilder() + .setProject(project) + .setZone(zone) + .setResource(resource) + .setTestPermissionsRequestResource(testPermissionsRequestResource) + .build(); + return testIamPermissions(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that a caller has on the specified resource. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   TestIamPermissionsStoragePoolRequest request =
+   *       TestIamPermissionsStoragePoolRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setResource("resource-341064690")
+   *           .setTestPermissionsRequestResource(TestPermissionsRequest.newBuilder().build())
+   *           .setZone("zone3744684")
+   *           .build();
+   *   TestPermissionsResponse response = storagePoolsClient.testIamPermissions(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TestPermissionsResponse testIamPermissions( + TestIamPermissionsStoragePoolRequest request) { + return testIamPermissionsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that a caller has on the specified resource. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   TestIamPermissionsStoragePoolRequest request =
+   *       TestIamPermissionsStoragePoolRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setResource("resource-341064690")
+   *           .setTestPermissionsRequestResource(TestPermissionsRequest.newBuilder().build())
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future =
+   *       storagePoolsClient.testIamPermissionsCallable().futureCall(request);
+   *   // Do something.
+   *   TestPermissionsResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + testIamPermissionsCallable() { + return stub.testIamPermissionsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the specified storagePool with the data included in the request. The update is + * performed only on selected fields included as part of update-mask. Only the following fields + * can be modified: size_tb and provisioned_iops. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   String project = "project-309310695";
+   *   String zone = "zone3744684";
+   *   String storagePool = "storagePool-525690569";
+   *   StoragePool storagePoolResource = StoragePool.newBuilder().build();
+   *   Operation response =
+   *       storagePoolsClient.updateAsync(project, zone, storagePool, storagePoolResource).get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param zone The name of the zone for this request. + * @param storagePool The storagePool name for this request. + * @param storagePoolResource The body resource for this request + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture updateAsync( + String project, String zone, String storagePool, StoragePool storagePoolResource) { + UpdateStoragePoolRequest request = + UpdateStoragePoolRequest.newBuilder() + .setProject(project) + .setZone(zone) + .setStoragePool(storagePool) + .setStoragePoolResource(storagePoolResource) + .build(); + return updateAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the specified storagePool with the data included in the request. The update is + * performed only on selected fields included as part of update-mask. Only the following fields + * can be modified: size_tb and provisioned_iops. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   UpdateStoragePoolRequest request =
+   *       UpdateStoragePoolRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setStoragePool("storagePool-525690569")
+   *           .setStoragePoolResource(StoragePool.newBuilder().build())
+   *           .setUpdateMask("updateMask-296147115")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   Operation response = storagePoolsClient.updateAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture updateAsync(UpdateStoragePoolRequest request) { + return updateOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the specified storagePool with the data included in the request. The update is + * performed only on selected fields included as part of update-mask. Only the following fields + * can be modified: size_tb and provisioned_iops. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   UpdateStoragePoolRequest request =
+   *       UpdateStoragePoolRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setStoragePool("storagePool-525690569")
+   *           .setStoragePoolResource(StoragePool.newBuilder().build())
+   *           .setUpdateMask("updateMask-296147115")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   OperationFuture future =
+   *       storagePoolsClient.updateOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + updateOperationCallable() { + return stub.updateOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the specified storagePool with the data included in the request. The update is + * performed only on selected fields included as part of update-mask. Only the following fields + * can be modified: size_tb and provisioned_iops. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+   *   UpdateStoragePoolRequest request =
+   *       UpdateStoragePoolRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setStoragePool("storagePool-525690569")
+   *           .setStoragePoolResource(StoragePool.newBuilder().build())
+   *           .setUpdateMask("updateMask-296147115")
+   *           .setZone("zone3744684")
+   *           .build();
+   *   ApiFuture future = storagePoolsClient.updateCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateCallable() { + return stub.updateCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } + + public static class AggregatedListPagedResponse + extends AbstractPagedListResponse< + AggregatedListStoragePoolsRequest, + StoragePoolAggregatedList, + Map.Entry, + AggregatedListPage, + AggregatedListFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext< + AggregatedListStoragePoolsRequest, + StoragePoolAggregatedList, + Map.Entry> + context, + ApiFuture futureResponse) { + ApiFuture futurePage = + AggregatedListPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new AggregatedListPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private AggregatedListPagedResponse(AggregatedListPage page) { + super(page, AggregatedListFixedSizeCollection.createEmptyCollection()); + } + } + + public static class AggregatedListPage + extends AbstractPage< + AggregatedListStoragePoolsRequest, + StoragePoolAggregatedList, + Map.Entry, + AggregatedListPage> { + + private AggregatedListPage( + PageContext< + AggregatedListStoragePoolsRequest, + StoragePoolAggregatedList, + Map.Entry> + context, + StoragePoolAggregatedList response) { + super(context, response); + } + + private static AggregatedListPage createEmptyPage() { + return new AggregatedListPage(null, null); + } + + @Override + protected AggregatedListPage createPage( + PageContext< + AggregatedListStoragePoolsRequest, + StoragePoolAggregatedList, + Map.Entry> + context, + StoragePoolAggregatedList response) { + return new AggregatedListPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext< + AggregatedListStoragePoolsRequest, + StoragePoolAggregatedList, + Map.Entry> + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class AggregatedListFixedSizeCollection + extends AbstractFixedSizeCollection< + AggregatedListStoragePoolsRequest, + StoragePoolAggregatedList, + Map.Entry, + AggregatedListPage, + AggregatedListFixedSizeCollection> { + + private AggregatedListFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static AggregatedListFixedSizeCollection createEmptyCollection() { + return new AggregatedListFixedSizeCollection(null, 0); + } + + @Override + protected AggregatedListFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new AggregatedListFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListPagedResponse + extends AbstractPagedListResponse< + ListStoragePoolsRequest, + StoragePoolList, + StoragePool, + ListPage, + ListFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, input -> new ListPagedResponse(input), MoreExecutors.directExecutor()); + } + + private ListPagedResponse(ListPage page) { + super(page, ListFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListPage + extends AbstractPage { + + private ListPage( + PageContext context, + StoragePoolList response) { + super(context, response); + } + + private static ListPage createEmptyPage() { + return new ListPage(null, null); + } + + @Override + protected ListPage createPage( + PageContext context, + StoragePoolList response) { + return new ListPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListFixedSizeCollection + extends AbstractFixedSizeCollection< + ListStoragePoolsRequest, + StoragePoolList, + StoragePool, + ListPage, + ListFixedSizeCollection> { + + private ListFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListFixedSizeCollection createEmptyCollection() { + return new ListFixedSizeCollection(null, 0); + } + + @Override + protected ListFixedSizeCollection createCollection(List pages, int collectionSize) { + return new ListFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListDisksPagedResponse + extends AbstractPagedListResponse< + ListDisksStoragePoolsRequest, + StoragePoolListDisks, + StoragePoolDisk, + ListDisksPage, + ListDisksFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListDisksPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, input -> new ListDisksPagedResponse(input), MoreExecutors.directExecutor()); + } + + private ListDisksPagedResponse(ListDisksPage page) { + super(page, ListDisksFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListDisksPage + extends AbstractPage< + ListDisksStoragePoolsRequest, StoragePoolListDisks, StoragePoolDisk, ListDisksPage> { + + private ListDisksPage( + PageContext context, + StoragePoolListDisks response) { + super(context, response); + } + + private static ListDisksPage createEmptyPage() { + return new ListDisksPage(null, null); + } + + @Override + protected ListDisksPage createPage( + PageContext context, + StoragePoolListDisks response) { + return new ListDisksPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListDisksFixedSizeCollection + extends AbstractFixedSizeCollection< + ListDisksStoragePoolsRequest, + StoragePoolListDisks, + StoragePoolDisk, + ListDisksPage, + ListDisksFixedSizeCollection> { + + private ListDisksFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListDisksFixedSizeCollection createEmptyCollection() { + return new ListDisksFixedSizeCollection(null, 0); + } + + @Override + protected ListDisksFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListDisksFixedSizeCollection(pages, collectionSize); + } + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StoragePoolsSettings.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StoragePoolsSettings.java new file mode 100644 index 000000000000..f84300b42f56 --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/StoragePoolsSettings.java @@ -0,0 +1,332 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1; + +import static com.google.cloud.compute.v1.StoragePoolsClient.AggregatedListPagedResponse; +import static com.google.cloud.compute.v1.StoragePoolsClient.ListDisksPagedResponse; +import static com.google.cloud.compute.v1.StoragePoolsClient.ListPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.cloud.compute.v1.stub.StoragePoolsStubSettings; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link StoragePoolsClient}. + * + *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

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

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * StoragePoolsSettings.Builder storagePoolsSettingsBuilder = StoragePoolsSettings.newBuilder();
+ * storagePoolsSettingsBuilder
+ *     .getSettings()
+ *     .setRetrySettings(
+ *         storagePoolsSettingsBuilder
+ *             .getSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * StoragePoolsSettings storagePoolsSettings = storagePoolsSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class StoragePoolsSettings extends ClientSettings { + + /** Returns the object with the settings used for calls to aggregatedList. */ + public PagedCallSettings< + AggregatedListStoragePoolsRequest, StoragePoolAggregatedList, AggregatedListPagedResponse> + aggregatedListSettings() { + return ((StoragePoolsStubSettings) getStubSettings()).aggregatedListSettings(); + } + + /** Returns the object with the settings used for calls to delete. */ + public UnaryCallSettings deleteSettings() { + return ((StoragePoolsStubSettings) getStubSettings()).deleteSettings(); + } + + /** Returns the object with the settings used for calls to delete. */ + public OperationCallSettings + deleteOperationSettings() { + return ((StoragePoolsStubSettings) getStubSettings()).deleteOperationSettings(); + } + + /** Returns the object with the settings used for calls to get. */ + public UnaryCallSettings getSettings() { + return ((StoragePoolsStubSettings) getStubSettings()).getSettings(); + } + + /** Returns the object with the settings used for calls to getIamPolicy. */ + public UnaryCallSettings getIamPolicySettings() { + return ((StoragePoolsStubSettings) getStubSettings()).getIamPolicySettings(); + } + + /** Returns the object with the settings used for calls to insert. */ + public UnaryCallSettings insertSettings() { + return ((StoragePoolsStubSettings) getStubSettings()).insertSettings(); + } + + /** Returns the object with the settings used for calls to insert. */ + public OperationCallSettings + insertOperationSettings() { + return ((StoragePoolsStubSettings) getStubSettings()).insertOperationSettings(); + } + + /** Returns the object with the settings used for calls to list. */ + public PagedCallSettings + listSettings() { + return ((StoragePoolsStubSettings) getStubSettings()).listSettings(); + } + + /** Returns the object with the settings used for calls to listDisks. */ + public PagedCallSettings< + ListDisksStoragePoolsRequest, StoragePoolListDisks, ListDisksPagedResponse> + listDisksSettings() { + return ((StoragePoolsStubSettings) getStubSettings()).listDisksSettings(); + } + + /** Returns the object with the settings used for calls to setIamPolicy. */ + public UnaryCallSettings setIamPolicySettings() { + return ((StoragePoolsStubSettings) getStubSettings()).setIamPolicySettings(); + } + + /** Returns the object with the settings used for calls to testIamPermissions. */ + public UnaryCallSettings + testIamPermissionsSettings() { + return ((StoragePoolsStubSettings) getStubSettings()).testIamPermissionsSettings(); + } + + /** Returns the object with the settings used for calls to update. */ + public UnaryCallSettings updateSettings() { + return ((StoragePoolsStubSettings) getStubSettings()).updateSettings(); + } + + /** Returns the object with the settings used for calls to update. */ + public OperationCallSettings + updateOperationSettings() { + return ((StoragePoolsStubSettings) getStubSettings()).updateOperationSettings(); + } + + public static final StoragePoolsSettings create(StoragePoolsStubSettings stub) + throws IOException { + return new StoragePoolsSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return StoragePoolsStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return StoragePoolsStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return StoragePoolsStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return StoragePoolsStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return StoragePoolsStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return StoragePoolsStubSettings.defaultTransportChannelProvider(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return StoragePoolsStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected StoragePoolsSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for StoragePoolsSettings. */ + public static class Builder extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(StoragePoolsStubSettings.newBuilder(clientContext)); + } + + protected Builder(StoragePoolsSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(StoragePoolsStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(StoragePoolsStubSettings.newBuilder()); + } + + public StoragePoolsStubSettings.Builder getStubSettingsBuilder() { + return ((StoragePoolsStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to aggregatedList. */ + public PagedCallSettings.Builder< + AggregatedListStoragePoolsRequest, + StoragePoolAggregatedList, + AggregatedListPagedResponse> + aggregatedListSettings() { + return getStubSettingsBuilder().aggregatedListSettings(); + } + + /** Returns the builder for the settings used for calls to delete. */ + public UnaryCallSettings.Builder deleteSettings() { + return getStubSettingsBuilder().deleteSettings(); + } + + /** Returns the builder for the settings used for calls to delete. */ + public OperationCallSettings.Builder + deleteOperationSettings() { + return getStubSettingsBuilder().deleteOperationSettings(); + } + + /** Returns the builder for the settings used for calls to get. */ + public UnaryCallSettings.Builder getSettings() { + return getStubSettingsBuilder().getSettings(); + } + + /** Returns the builder for the settings used for calls to getIamPolicy. */ + public UnaryCallSettings.Builder + getIamPolicySettings() { + return getStubSettingsBuilder().getIamPolicySettings(); + } + + /** Returns the builder for the settings used for calls to insert. */ + public UnaryCallSettings.Builder insertSettings() { + return getStubSettingsBuilder().insertSettings(); + } + + /** Returns the builder for the settings used for calls to insert. */ + public OperationCallSettings.Builder + insertOperationSettings() { + return getStubSettingsBuilder().insertOperationSettings(); + } + + /** Returns the builder for the settings used for calls to list. */ + public PagedCallSettings.Builder + listSettings() { + return getStubSettingsBuilder().listSettings(); + } + + /** Returns the builder for the settings used for calls to listDisks. */ + public PagedCallSettings.Builder< + ListDisksStoragePoolsRequest, StoragePoolListDisks, ListDisksPagedResponse> + listDisksSettings() { + return getStubSettingsBuilder().listDisksSettings(); + } + + /** Returns the builder for the settings used for calls to setIamPolicy. */ + public UnaryCallSettings.Builder + setIamPolicySettings() { + return getStubSettingsBuilder().setIamPolicySettings(); + } + + /** Returns the builder for the settings used for calls to testIamPermissions. */ + public UnaryCallSettings.Builder + testIamPermissionsSettings() { + return getStubSettingsBuilder().testIamPermissionsSettings(); + } + + /** Returns the builder for the settings used for calls to update. */ + public UnaryCallSettings.Builder updateSettings() { + return getStubSettingsBuilder().updateSettings(); + } + + /** Returns the builder for the settings used for calls to update. */ + public OperationCallSettings.Builder + updateOperationSettings() { + return getStubSettingsBuilder().updateOperationSettings(); + } + + @Override + public StoragePoolsSettings build() throws IOException { + return new StoragePoolsSettings(this); + } + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/gapic_metadata.json b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/gapic_metadata.json index 4bceb9e85c09..c0f0e7e0ffcc 100644 --- a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/gapic_metadata.json +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/gapic_metadata.json @@ -653,6 +653,30 @@ } } }, + "InstanceGroupManagerResizeRequests": { + "clients": { + "grpc": { + "libraryClient": "InstanceGroupManagerResizeRequestsClient", + "rpcs": { + "Cancel": { + "methods": ["cancelAsync", "cancelAsync", "cancelOperationCallable", "cancelCallable"] + }, + "Delete": { + "methods": ["deleteAsync", "deleteAsync", "deleteOperationCallable", "deleteCallable"] + }, + "Get": { + "methods": ["get", "get", "getCallable"] + }, + "Insert": { + "methods": ["insertAsync", "insertAsync", "insertOperationCallable", "insertCallable"] + }, + "List": { + "methods": ["list", "list", "listPagedCallable", "listCallable"] + } + } + } + } + }, "InstanceGroupManagers": { "clients": { "grpc": { @@ -758,6 +782,21 @@ } } }, + "InstanceSettingsService": { + "clients": { + "grpc": { + "libraryClient": "InstanceSettingsServiceClient", + "rpcs": { + "Get": { + "methods": ["get", "get", "getCallable"] + }, + "Patch": { + "methods": ["patchAsync", "patchAsync", "patchOperationCallable", "patchCallable"] + } + } + } + } + }, "InstanceTemplates": { "clients": { "grpc": { @@ -1396,6 +1435,9 @@ "Patch": { "methods": ["patchAsync", "patchAsync", "patchOperationCallable", "patchCallable"] }, + "PerformMaintenance": { + "methods": ["performMaintenanceAsync", "performMaintenanceAsync", "performMaintenanceOperationCallable", "performMaintenanceCallable"] + }, "SetIamPolicy": { "methods": ["setIamPolicy", "setIamPolicy", "setIamPolicyCallable"] }, @@ -2651,6 +2693,63 @@ } } }, + "StoragePoolTypes": { + "clients": { + "grpc": { + "libraryClient": "StoragePoolTypesClient", + "rpcs": { + "AggregatedList": { + "methods": ["aggregatedList", "aggregatedList", "aggregatedListPagedCallable", "aggregatedListCallable"] + }, + "Get": { + "methods": ["get", "get", "getCallable"] + }, + "List": { + "methods": ["list", "list", "listPagedCallable", "listCallable"] + } + } + } + } + }, + "StoragePools": { + "clients": { + "grpc": { + "libraryClient": "StoragePoolsClient", + "rpcs": { + "AggregatedList": { + "methods": ["aggregatedList", "aggregatedList", "aggregatedListPagedCallable", "aggregatedListCallable"] + }, + "Delete": { + "methods": ["deleteAsync", "deleteAsync", "deleteOperationCallable", "deleteCallable"] + }, + "Get": { + "methods": ["get", "get", "getCallable"] + }, + "GetIamPolicy": { + "methods": ["getIamPolicy", "getIamPolicy", "getIamPolicyCallable"] + }, + "Insert": { + "methods": ["insertAsync", "insertAsync", "insertOperationCallable", "insertCallable"] + }, + "List": { + "methods": ["list", "list", "listPagedCallable", "listCallable"] + }, + "ListDisks": { + "methods": ["listDisks", "listDisks", "listDisksPagedCallable", "listDisksCallable"] + }, + "SetIamPolicy": { + "methods": ["setIamPolicy", "setIamPolicy", "setIamPolicyCallable"] + }, + "TestIamPermissions": { + "methods": ["testIamPermissions", "testIamPermissions", "testIamPermissionsCallable"] + }, + "Update": { + "methods": ["updateAsync", "updateAsync", "updateOperationCallable", "updateCallable"] + } + } + } + } + }, "Subnetworks": { "clients": { "grpc": { diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/package-info.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/package-info.java index 4a48dddd179a..be6de403c41a 100644 --- a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/package-info.java +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/package-info.java @@ -413,6 +413,30 @@ * } * } * + *

======================= InstanceGroupManagerResizeRequestsClient ======================= + * + *

Service Description: The InstanceGroupManagerResizeRequests API. + * + *

Sample for InstanceGroupManagerResizeRequestsClient: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient =
+ *     InstanceGroupManagerResizeRequestsClient.create()) {
+ *   String project = "project-309310695";
+ *   String zone = "zone3744684";
+ *   String instanceGroupManager = "instanceGroupManager-388242077";
+ *   String resizeRequest = "resizeRequest-1656358085";
+ *   InstanceGroupManagerResizeRequest response =
+ *       instanceGroupManagerResizeRequestsClient.get(
+ *           project, zone, instanceGroupManager, resizeRequest);
+ * }
+ * }
+ * *

======================= InstanceGroupManagersClient ======================= * *

Service Description: The InstanceGroupManagers API. @@ -455,6 +479,26 @@ * } * } * + *

======================= InstanceSettingsServiceClient ======================= + * + *

Service Description: The InstanceSettings API. + * + *

Sample for InstanceSettingsServiceClient: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (InstanceSettingsServiceClient instanceSettingsServiceClient =
+ *     InstanceSettingsServiceClient.create()) {
+ *   String project = "project-309310695";
+ *   String zone = "zone3744684";
+ *   InstanceSettings response = instanceSettingsServiceClient.get(project, zone);
+ * }
+ * }
+ * *

======================= InstanceTemplatesClient ======================= * *

Service Description: The InstanceTemplates API. @@ -1639,6 +1683,46 @@ * } * } * + *

======================= StoragePoolTypesClient ======================= + * + *

Service Description: The StoragePoolTypes API. + * + *

Sample for StoragePoolTypesClient: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) {
+ *   String project = "project-309310695";
+ *   String zone = "zone3744684";
+ *   String storagePoolType = "storagePoolType-354080495";
+ *   StoragePoolType response = storagePoolTypesClient.get(project, zone, storagePoolType);
+ * }
+ * }
+ * + *

======================= StoragePoolsClient ======================= + * + *

Service Description: The StoragePools API. + * + *

Sample for StoragePoolsClient: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) {
+ *   String project = "project-309310695";
+ *   String zone = "zone3744684";
+ *   String storagePool = "storagePool-525690569";
+ *   StoragePool response = storagePoolsClient.get(project, zone, storagePool);
+ * }
+ * }
+ * *

======================= SubnetworksClient ======================= * *

Service Description: The Subnetworks API. diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerResizeRequestsCallableFactory.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerResizeRequestsCallableFactory.java new file mode 100644 index 000000000000..d4a866d8e748 --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerResizeRequestsCallableFactory.java @@ -0,0 +1,100 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub; + +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.compute.v1.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the InstanceGroupManagerResizeRequests service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +public class HttpJsonInstanceGroupManagerResizeRequestsCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + ZoneOperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerResizeRequestsStub.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerResizeRequestsStub.java new file mode 100644 index 000000000000..95ad42275ba5 --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerResizeRequestsStub.java @@ -0,0 +1,657 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub; + +import static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient.ListPagedResponse; + +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshot; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse; +import com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.Operation.Status; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the InstanceGroupManagerResizeRequests service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public class HttpJsonInstanceGroupManagerResizeRequestsStub + extends InstanceGroupManagerResizeRequestsStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder().add(Operation.getDescriptor()).build(); + + private static final ApiMethodDescriptor< + CancelInstanceGroupManagerResizeRequestRequest, Operation> + cancelMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName( + "google.cloud.compute.v1.InstanceGroupManagerResizeRequests/Cancel") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}/cancel", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "instanceGroupManager", request.getInstanceGroupManager()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam( + fields, "resizeRequest", request.getResizeRequest()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + if (request.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CancelInstanceGroupManagerResizeRequestRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getZone()); + return HttpJsonOperationSnapshot.newBuilder() + .setName(opName.toString()) + .setMetadata(response) + .setDone(Status.DONE.equals(response.getStatus())) + .setResponse(response) + .setError(response.getHttpErrorStatusCode(), response.getHttpErrorMessage()) + .build(); + }) + .build(); + + private static final ApiMethodDescriptor< + DeleteInstanceGroupManagerResizeRequestRequest, Operation> + deleteMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName( + "google.cloud.compute.v1.InstanceGroupManagerResizeRequests/Delete") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "instanceGroupManager", request.getInstanceGroupManager()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam( + fields, "resizeRequest", request.getResizeRequest()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + if (request.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeleteInstanceGroupManagerResizeRequestRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getZone()); + return HttpJsonOperationSnapshot.newBuilder() + .setName(opName.toString()) + .setMetadata(response) + .setDone(Status.DONE.equals(response.getStatus())) + .setResponse(response) + .setError(response.getHttpErrorStatusCode(), response.getHttpErrorMessage()) + .build(); + }) + .build(); + + private static final ApiMethodDescriptor< + GetInstanceGroupManagerResizeRequestRequest, InstanceGroupManagerResizeRequest> + getMethodDescriptor = + ApiMethodDescriptor + . + newBuilder() + .setFullMethodName("google.cloud.compute.v1.InstanceGroupManagerResizeRequests/Get") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "instanceGroupManager", request.getInstanceGroupManager()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam( + fields, "resizeRequest", request.getResizeRequest()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(InstanceGroupManagerResizeRequest.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor< + InsertInstanceGroupManagerResizeRequestRequest, Operation> + insertMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName( + "google.cloud.compute.v1.InstanceGroupManagerResizeRequests/Insert") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "instanceGroupManager", request.getInstanceGroupManager()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + if (request.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "instanceGroupManagerResizeRequestResource", + request.getInstanceGroupManagerResizeRequestResource(), + false)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (InsertInstanceGroupManagerResizeRequestRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getZone()); + return HttpJsonOperationSnapshot.newBuilder() + .setName(opName.toString()) + .setMetadata(response) + .setDone(Status.DONE.equals(response.getStatus())) + .setResponse(response) + .setError(response.getHttpErrorStatusCode(), response.getHttpErrorMessage()) + .build(); + }) + .build(); + + private static final ApiMethodDescriptor< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse> + listMethodDescriptor = + ApiMethodDescriptor + . + newBuilder() + .setFullMethodName("google.cloud.compute.v1.InstanceGroupManagerResizeRequests/List") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "instanceGroupManager", request.getInstanceGroupManager()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + if (request.hasFilter()) { + serializer.putQueryParam(fields, "filter", request.getFilter()); + } + if (request.hasMaxResults()) { + serializer.putQueryParam( + fields, "maxResults", request.getMaxResults()); + } + if (request.hasOrderBy()) { + serializer.putQueryParam(fields, "orderBy", request.getOrderBy()); + } + if (request.hasPageToken()) { + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + } + if (request.hasReturnPartialSuccess()) { + serializer.putQueryParam( + fields, + "returnPartialSuccess", + request.getReturnPartialSuccess()); + } + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser + .newBuilder() + .setDefaultInstance( + InstanceGroupManagerResizeRequestsListResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable + cancelCallable; + private final OperationCallable< + CancelInstanceGroupManagerResizeRequestRequest, Operation, Operation> + cancelOperationCallable; + private final UnaryCallable + deleteCallable; + private final OperationCallable< + DeleteInstanceGroupManagerResizeRequestRequest, Operation, Operation> + deleteOperationCallable; + private final UnaryCallable< + GetInstanceGroupManagerResizeRequestRequest, InstanceGroupManagerResizeRequest> + getCallable; + private final UnaryCallable + insertCallable; + private final OperationCallable< + InsertInstanceGroupManagerResizeRequestRequest, Operation, Operation> + insertOperationCallable; + private final UnaryCallable< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse> + listCallable; + private final UnaryCallable + listPagedCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonZoneOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonInstanceGroupManagerResizeRequestsStub create( + InstanceGroupManagerResizeRequestsStubSettings settings) throws IOException { + return new HttpJsonInstanceGroupManagerResizeRequestsStub( + settings, ClientContext.create(settings)); + } + + public static final HttpJsonInstanceGroupManagerResizeRequestsStub create( + ClientContext clientContext) throws IOException { + return new HttpJsonInstanceGroupManagerResizeRequestsStub( + InstanceGroupManagerResizeRequestsStubSettings.newBuilder().build(), clientContext); + } + + public static final HttpJsonInstanceGroupManagerResizeRequestsStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonInstanceGroupManagerResizeRequestsStub( + InstanceGroupManagerResizeRequestsStubSettings.newBuilder().build(), + clientContext, + callableFactory); + } + + /** + * Constructs an instance of HttpJsonInstanceGroupManagerResizeRequestsStub, using the given + * settings. This is protected so that it is easy to make a subclass, but otherwise, the static + * factory methods should be preferred. + */ + protected HttpJsonInstanceGroupManagerResizeRequestsStub( + InstanceGroupManagerResizeRequestsStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonInstanceGroupManagerResizeRequestsCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonInstanceGroupManagerResizeRequestsStub, using the given + * settings. This is protected so that it is easy to make a subclass, but otherwise, the static + * factory methods should be preferred. + */ + protected HttpJsonInstanceGroupManagerResizeRequestsStub( + InstanceGroupManagerResizeRequestsStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = HttpJsonZoneOperationsStub.create(clientContext, callableFactory); + + HttpJsonCallSettings + cancelTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(cancelMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + "instance_group_manager", + String.valueOf(request.getInstanceGroupManager())); + builder.add("project", String.valueOf(request.getProject())); + builder.add("resize_request", String.valueOf(request.getResizeRequest())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings + deleteTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(deleteMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + "instance_group_manager", + String.valueOf(request.getInstanceGroupManager())); + builder.add("project", String.valueOf(request.getProject())); + builder.add("resize_request", String.valueOf(request.getResizeRequest())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings< + GetInstanceGroupManagerResizeRequestRequest, InstanceGroupManagerResizeRequest> + getTransportSettings = + HttpJsonCallSettings + . + newBuilder() + .setMethodDescriptor(getMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + "instance_group_manager", + String.valueOf(request.getInstanceGroupManager())); + builder.add("project", String.valueOf(request.getProject())); + builder.add("resize_request", String.valueOf(request.getResizeRequest())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings + insertTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(insertMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + "instance_group_manager", + String.valueOf(request.getInstanceGroupManager())); + builder.add("project", String.valueOf(request.getProject())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse> + listTransportSettings = + HttpJsonCallSettings + . + newBuilder() + .setMethodDescriptor(listMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + "instance_group_manager", + String.valueOf(request.getInstanceGroupManager())); + builder.add("project", String.valueOf(request.getProject())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); + + this.cancelCallable = + callableFactory.createUnaryCallable( + cancelTransportSettings, settings.cancelSettings(), clientContext); + this.cancelOperationCallable = + callableFactory.createOperationCallable( + cancelTransportSettings, + settings.cancelOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.deleteCallable = + callableFactory.createUnaryCallable( + deleteTransportSettings, settings.deleteSettings(), clientContext); + this.deleteOperationCallable = + callableFactory.createOperationCallable( + deleteTransportSettings, + settings.deleteOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.getCallable = + callableFactory.createUnaryCallable( + getTransportSettings, settings.getSettings(), clientContext); + this.insertCallable = + callableFactory.createUnaryCallable( + insertTransportSettings, settings.insertSettings(), clientContext); + this.insertOperationCallable = + callableFactory.createOperationCallable( + insertTransportSettings, + settings.insertOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.listCallable = + callableFactory.createUnaryCallable( + listTransportSettings, settings.listSettings(), clientContext); + this.listPagedCallable = + callableFactory.createPagedCallable( + listTransportSettings, settings.listSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(cancelMethodDescriptor); + methodDescriptors.add(deleteMethodDescriptor); + methodDescriptors.add(getMethodDescriptor); + methodDescriptors.add(insertMethodDescriptor); + methodDescriptors.add(listMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable cancelCallable() { + return cancelCallable; + } + + @Override + public OperationCallable + cancelOperationCallable() { + return cancelOperationCallable; + } + + @Override + public UnaryCallable deleteCallable() { + return deleteCallable; + } + + @Override + public OperationCallable + deleteOperationCallable() { + return deleteOperationCallable; + } + + @Override + public UnaryCallable< + GetInstanceGroupManagerResizeRequestRequest, InstanceGroupManagerResizeRequest> + getCallable() { + return getCallable; + } + + @Override + public UnaryCallable insertCallable() { + return insertCallable; + } + + @Override + public OperationCallable + insertOperationCallable() { + return insertOperationCallable; + } + + @Override + public UnaryCallable< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse> + listCallable() { + return listCallable; + } + + @Override + public UnaryCallable + listPagedCallable() { + return listPagedCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceSettingsServiceCallableFactory.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceSettingsServiceCallableFactory.java new file mode 100644 index 000000000000..57322ba1f2fa --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceSettingsServiceCallableFactory.java @@ -0,0 +1,100 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub; + +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.compute.v1.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the InstanceSettingsService service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +public class HttpJsonInstanceSettingsServiceCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + ZoneOperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceSettingsServiceStub.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceSettingsServiceStub.java new file mode 100644 index 000000000000..42eab1290748 --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceSettingsServiceStub.java @@ -0,0 +1,303 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub; + +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshot; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.compute.v1.GetInstanceSettingRequest; +import com.google.cloud.compute.v1.InstanceSettings; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.Operation.Status; +import com.google.cloud.compute.v1.PatchInstanceSettingRequest; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the InstanceSettingsService service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public class HttpJsonInstanceSettingsServiceStub extends InstanceSettingsServiceStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder().add(Operation.getDescriptor()).build(); + + private static final ApiMethodDescriptor + getMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.InstanceSettingsService/Get") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/instanceSettings", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(InstanceSettings.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + patchMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.InstanceSettingsService/Patch") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/instanceSettings", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + if (request.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + if (request.hasUpdateMask()) { + serializer.putQueryParam( + fields, "updateMask", request.getUpdateMask()); + } + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "instanceSettingsResource", + request.getInstanceSettingsResource(), + false)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (PatchInstanceSettingRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getZone()); + return HttpJsonOperationSnapshot.newBuilder() + .setName(opName.toString()) + .setMetadata(response) + .setDone(Status.DONE.equals(response.getStatus())) + .setResponse(response) + .setError(response.getHttpErrorStatusCode(), response.getHttpErrorMessage()) + .build(); + }) + .build(); + + private final UnaryCallable getCallable; + private final UnaryCallable patchCallable; + private final OperationCallable + patchOperationCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonZoneOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonInstanceSettingsServiceStub create( + InstanceSettingsServiceStubSettings settings) throws IOException { + return new HttpJsonInstanceSettingsServiceStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonInstanceSettingsServiceStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonInstanceSettingsServiceStub( + InstanceSettingsServiceStubSettings.newBuilder().build(), clientContext); + } + + public static final HttpJsonInstanceSettingsServiceStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonInstanceSettingsServiceStub( + InstanceSettingsServiceStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonInstanceSettingsServiceStub, using the given settings. This + * is protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonInstanceSettingsServiceStub( + InstanceSettingsServiceStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonInstanceSettingsServiceCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonInstanceSettingsServiceStub, using the given settings. This + * is protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonInstanceSettingsServiceStub( + InstanceSettingsServiceStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = HttpJsonZoneOperationsStub.create(clientContext, callableFactory); + + HttpJsonCallSettings getTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings patchTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(patchMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); + + this.getCallable = + callableFactory.createUnaryCallable( + getTransportSettings, settings.getSettings(), clientContext); + this.patchCallable = + callableFactory.createUnaryCallable( + patchTransportSettings, settings.patchSettings(), clientContext); + this.patchOperationCallable = + callableFactory.createOperationCallable( + patchTransportSettings, + settings.patchOperationSettings(), + clientContext, + httpJsonOperationsStub); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(getMethodDescriptor); + methodDescriptors.add(patchMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable getCallable() { + return getCallable; + } + + @Override + public UnaryCallable patchCallable() { + return patchCallable; + } + + @Override + public OperationCallable + patchOperationCallable() { + return patchOperationCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeGroupsStub.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeGroupsStub.java index 7eeb1f259a3c..9ffe4b2a70f4 100644 --- a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeGroupsStub.java +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeGroupsStub.java @@ -50,6 +50,7 @@ import com.google.cloud.compute.v1.Operation; import com.google.cloud.compute.v1.Operation.Status; import com.google.cloud.compute.v1.PatchNodeGroupRequest; +import com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest; import com.google.cloud.compute.v1.Policy; import com.google.cloud.compute.v1.SetIamPolicyNodeGroupRequest; import com.google.cloud.compute.v1.SetNodeTemplateNodeGroupRequest; @@ -594,6 +595,63 @@ public class HttpJsonNodeGroupsStub extends NodeGroupsStub { }) .build(); + private static final ApiMethodDescriptor + performMaintenanceMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.NodeGroups/PerformMaintenance") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/performMaintenance", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "nodeGroup", request.getNodeGroup()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + if (request.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "nodeGroupsPerformMaintenanceRequestResource", + request.getNodeGroupsPerformMaintenanceRequestResource(), + false)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (PerformMaintenanceNodeGroupRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getZone()); + return HttpJsonOperationSnapshot.newBuilder() + .setName(opName.toString()) + .setMetadata(response) + .setDone(Status.DONE.equals(response.getStatus())) + .setResponse(response) + .setError(response.getHttpErrorStatusCode(), response.getHttpErrorMessage()) + .build(); + }) + .build(); + private static final ApiMethodDescriptor setIamPolicyMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -820,6 +878,10 @@ public class HttpJsonNodeGroupsStub extends NodeGroupsStub { private final UnaryCallable patchCallable; private final OperationCallable patchOperationCallable; + private final UnaryCallable + performMaintenanceCallable; + private final OperationCallable + performMaintenanceOperationCallable; private final UnaryCallable setIamPolicyCallable; private final UnaryCallable setNodeTemplateCallable; private final OperationCallable @@ -1003,6 +1065,20 @@ protected HttpJsonNodeGroupsStub( return builder.build(); }) .build(); + HttpJsonCallSettings + performMaintenanceTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(performMaintenanceMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("node_group", String.valueOf(request.getNodeGroup())); + builder.add("project", String.valueOf(request.getProject())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); HttpJsonCallSettings setIamPolicyTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(setIamPolicyMethodDescriptor) @@ -1129,6 +1205,17 @@ protected HttpJsonNodeGroupsStub( settings.patchOperationSettings(), clientContext, httpJsonOperationsStub); + this.performMaintenanceCallable = + callableFactory.createUnaryCallable( + performMaintenanceTransportSettings, + settings.performMaintenanceSettings(), + clientContext); + this.performMaintenanceOperationCallable = + callableFactory.createOperationCallable( + performMaintenanceTransportSettings, + settings.performMaintenanceOperationSettings(), + clientContext, + httpJsonOperationsStub); this.setIamPolicyCallable = callableFactory.createUnaryCallable( setIamPolicyTransportSettings, settings.setIamPolicySettings(), clientContext); @@ -1175,6 +1262,7 @@ public static List getMethodDescriptors() { methodDescriptors.add(listMethodDescriptor); methodDescriptors.add(listNodesMethodDescriptor); methodDescriptors.add(patchMethodDescriptor); + methodDescriptors.add(performMaintenanceMethodDescriptor); methodDescriptors.add(setIamPolicyMethodDescriptor); methodDescriptors.add(setNodeTemplateMethodDescriptor); methodDescriptors.add(simulateMaintenanceEventMethodDescriptor); @@ -1277,6 +1365,17 @@ public OperationCallable patchOpera return patchOperationCallable; } + @Override + public UnaryCallable performMaintenanceCallable() { + return performMaintenanceCallable; + } + + @Override + public OperationCallable + performMaintenanceOperationCallable() { + return performMaintenanceOperationCallable; + } + @Override public UnaryCallable setIamPolicyCallable() { return setIamPolicyCallable; diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonStoragePoolTypesCallableFactory.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonStoragePoolTypesCallableFactory.java new file mode 100644 index 000000000000..86bff8ed4526 --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonStoragePoolTypesCallableFactory.java @@ -0,0 +1,101 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub; + +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the StoragePoolTypes service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +public class HttpJsonStoragePoolTypesCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonStoragePoolTypesStub.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonStoragePoolTypesStub.java new file mode 100644 index 000000000000..44367f4cb1a7 --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonStoragePoolTypesStub.java @@ -0,0 +1,392 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub; + +import static com.google.cloud.compute.v1.StoragePoolTypesClient.AggregatedListPagedResponse; +import static com.google.cloud.compute.v1.StoragePoolTypesClient.ListPagedResponse; + +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest; +import com.google.cloud.compute.v1.GetStoragePoolTypeRequest; +import com.google.cloud.compute.v1.ListStoragePoolTypesRequest; +import com.google.cloud.compute.v1.StoragePoolType; +import com.google.cloud.compute.v1.StoragePoolTypeAggregatedList; +import com.google.cloud.compute.v1.StoragePoolTypeList; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the StoragePoolTypes service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public class HttpJsonStoragePoolTypesStub extends StoragePoolTypesStub { + private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); + + private static final ApiMethodDescriptor< + AggregatedListStoragePoolTypesRequest, StoragePoolTypeAggregatedList> + aggregatedListMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName("google.cloud.compute.v1.StoragePoolTypes/AggregatedList") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/aggregated/storagePoolTypes", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + if (request.hasFilter()) { + serializer.putQueryParam(fields, "filter", request.getFilter()); + } + if (request.hasIncludeAllScopes()) { + serializer.putQueryParam( + fields, "includeAllScopes", request.getIncludeAllScopes()); + } + if (request.hasMaxResults()) { + serializer.putQueryParam( + fields, "maxResults", request.getMaxResults()); + } + if (request.hasOrderBy()) { + serializer.putQueryParam(fields, "orderBy", request.getOrderBy()); + } + if (request.hasPageToken()) { + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + } + if (request.hasReturnPartialSuccess()) { + serializer.putQueryParam( + fields, + "returnPartialSuccess", + request.getReturnPartialSuccess()); + } + if (request.hasServiceProjectNumber()) { + serializer.putQueryParam( + fields, + "serviceProjectNumber", + request.getServiceProjectNumber()); + } + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(StoragePoolTypeAggregatedList.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.StoragePoolTypes/Get") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/storagePoolTypes/{storagePoolType}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam( + fields, "storagePoolType", request.getStoragePoolType()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(StoragePoolType.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.StoragePoolTypes/List") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/storagePoolTypes", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + if (request.hasFilter()) { + serializer.putQueryParam(fields, "filter", request.getFilter()); + } + if (request.hasMaxResults()) { + serializer.putQueryParam( + fields, "maxResults", request.getMaxResults()); + } + if (request.hasOrderBy()) { + serializer.putQueryParam(fields, "orderBy", request.getOrderBy()); + } + if (request.hasPageToken()) { + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + } + if (request.hasReturnPartialSuccess()) { + serializer.putQueryParam( + fields, + "returnPartialSuccess", + request.getReturnPartialSuccess()); + } + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(StoragePoolTypeList.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable + aggregatedListCallable; + private final UnaryCallable + aggregatedListPagedCallable; + private final UnaryCallable getCallable; + private final UnaryCallable listCallable; + private final UnaryCallable listPagedCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonStoragePoolTypesStub create(StoragePoolTypesStubSettings settings) + throws IOException { + return new HttpJsonStoragePoolTypesStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonStoragePoolTypesStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonStoragePoolTypesStub( + StoragePoolTypesStubSettings.newBuilder().build(), clientContext); + } + + public static final HttpJsonStoragePoolTypesStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonStoragePoolTypesStub( + StoragePoolTypesStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonStoragePoolTypesStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonStoragePoolTypesStub( + StoragePoolTypesStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new HttpJsonStoragePoolTypesCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonStoragePoolTypesStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonStoragePoolTypesStub( + StoragePoolTypesStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + HttpJsonCallSettings + aggregatedListTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(aggregatedListMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings getTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + builder.add("storage_pool_type", String.valueOf(request.getStoragePoolType())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings listTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); + + this.aggregatedListCallable = + callableFactory.createUnaryCallable( + aggregatedListTransportSettings, settings.aggregatedListSettings(), clientContext); + this.aggregatedListPagedCallable = + callableFactory.createPagedCallable( + aggregatedListTransportSettings, settings.aggregatedListSettings(), clientContext); + this.getCallable = + callableFactory.createUnaryCallable( + getTransportSettings, settings.getSettings(), clientContext); + this.listCallable = + callableFactory.createUnaryCallable( + listTransportSettings, settings.listSettings(), clientContext); + this.listPagedCallable = + callableFactory.createPagedCallable( + listTransportSettings, settings.listSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(aggregatedListMethodDescriptor); + methodDescriptors.add(getMethodDescriptor); + methodDescriptors.add(listMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable + aggregatedListCallable() { + return aggregatedListCallable; + } + + @Override + public UnaryCallable + aggregatedListPagedCallable() { + return aggregatedListPagedCallable; + } + + @Override + public UnaryCallable getCallable() { + return getCallable; + } + + @Override + public UnaryCallable listCallable() { + return listCallable; + } + + @Override + public UnaryCallable listPagedCallable() { + return listPagedCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonStoragePoolsCallableFactory.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonStoragePoolsCallableFactory.java new file mode 100644 index 000000000000..9f7abe773c01 --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonStoragePoolsCallableFactory.java @@ -0,0 +1,100 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub; + +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.compute.v1.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the StoragePools service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +public class HttpJsonStoragePoolsCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + ZoneOperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonStoragePoolsStub.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonStoragePoolsStub.java new file mode 100644 index 000000000000..020e27feeecb --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonStoragePoolsStub.java @@ -0,0 +1,978 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub; + +import static com.google.cloud.compute.v1.StoragePoolsClient.AggregatedListPagedResponse; +import static com.google.cloud.compute.v1.StoragePoolsClient.ListDisksPagedResponse; +import static com.google.cloud.compute.v1.StoragePoolsClient.ListPagedResponse; + +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshot; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest; +import com.google.cloud.compute.v1.DeleteStoragePoolRequest; +import com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest; +import com.google.cloud.compute.v1.GetStoragePoolRequest; +import com.google.cloud.compute.v1.InsertStoragePoolRequest; +import com.google.cloud.compute.v1.ListDisksStoragePoolsRequest; +import com.google.cloud.compute.v1.ListStoragePoolsRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.Operation.Status; +import com.google.cloud.compute.v1.Policy; +import com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest; +import com.google.cloud.compute.v1.StoragePool; +import com.google.cloud.compute.v1.StoragePoolAggregatedList; +import com.google.cloud.compute.v1.StoragePoolList; +import com.google.cloud.compute.v1.StoragePoolListDisks; +import com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest; +import com.google.cloud.compute.v1.TestPermissionsResponse; +import com.google.cloud.compute.v1.UpdateStoragePoolRequest; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the StoragePools service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public class HttpJsonStoragePoolsStub extends StoragePoolsStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder().add(Operation.getDescriptor()).build(); + + private static final ApiMethodDescriptor< + AggregatedListStoragePoolsRequest, StoragePoolAggregatedList> + aggregatedListMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName("google.cloud.compute.v1.StoragePools/AggregatedList") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/aggregated/storagePools", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + if (request.hasFilter()) { + serializer.putQueryParam(fields, "filter", request.getFilter()); + } + if (request.hasIncludeAllScopes()) { + serializer.putQueryParam( + fields, "includeAllScopes", request.getIncludeAllScopes()); + } + if (request.hasMaxResults()) { + serializer.putQueryParam( + fields, "maxResults", request.getMaxResults()); + } + if (request.hasOrderBy()) { + serializer.putQueryParam(fields, "orderBy", request.getOrderBy()); + } + if (request.hasPageToken()) { + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + } + if (request.hasReturnPartialSuccess()) { + serializer.putQueryParam( + fields, + "returnPartialSuccess", + request.getReturnPartialSuccess()); + } + if (request.hasServiceProjectNumber()) { + serializer.putQueryParam( + fields, + "serviceProjectNumber", + request.getServiceProjectNumber()); + } + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(StoragePoolAggregatedList.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.StoragePools/Delete") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/storagePools/{storagePool}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam( + fields, "storagePool", request.getStoragePool()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + if (request.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeleteStoragePoolRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getZone()); + return HttpJsonOperationSnapshot.newBuilder() + .setName(opName.toString()) + .setMetadata(response) + .setDone(Status.DONE.equals(response.getStatus())) + .setResponse(response) + .setError(response.getHttpErrorStatusCode(), response.getHttpErrorMessage()) + .build(); + }) + .build(); + + private static final ApiMethodDescriptor getMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.StoragePools/Get") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/storagePools/{storagePool}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "storagePool", request.getStoragePool()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(StoragePool.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getIamPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.StoragePools/GetIamPolicy") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/storagePools/{resource}/getIamPolicy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "resource", request.getResource()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + if (request.hasOptionsRequestedPolicyVersion()) { + serializer.putQueryParam( + fields, + "optionsRequestedPolicyVersion", + request.getOptionsRequestedPolicyVersion()); + } + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + insertMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.StoragePools/Insert") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/storagePools", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + if (request.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "storagePoolResource", + request.getStoragePoolResource(), + false)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (InsertStoragePoolRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getZone()); + return HttpJsonOperationSnapshot.newBuilder() + .setName(opName.toString()) + .setMetadata(response) + .setDone(Status.DONE.equals(response.getStatus())) + .setResponse(response) + .setError(response.getHttpErrorStatusCode(), response.getHttpErrorMessage()) + .build(); + }) + .build(); + + private static final ApiMethodDescriptor + listMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.StoragePools/List") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/storagePools", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + if (request.hasFilter()) { + serializer.putQueryParam(fields, "filter", request.getFilter()); + } + if (request.hasMaxResults()) { + serializer.putQueryParam( + fields, "maxResults", request.getMaxResults()); + } + if (request.hasOrderBy()) { + serializer.putQueryParam(fields, "orderBy", request.getOrderBy()); + } + if (request.hasPageToken()) { + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + } + if (request.hasReturnPartialSuccess()) { + serializer.putQueryParam( + fields, + "returnPartialSuccess", + request.getReturnPartialSuccess()); + } + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(StoragePoolList.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listDisksMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.StoragePools/ListDisks") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/storagePools/{storagePool}/listDisks", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam( + fields, "storagePool", request.getStoragePool()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + if (request.hasFilter()) { + serializer.putQueryParam(fields, "filter", request.getFilter()); + } + if (request.hasMaxResults()) { + serializer.putQueryParam( + fields, "maxResults", request.getMaxResults()); + } + if (request.hasOrderBy()) { + serializer.putQueryParam(fields, "orderBy", request.getOrderBy()); + } + if (request.hasPageToken()) { + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + } + if (request.hasReturnPartialSuccess()) { + serializer.putQueryParam( + fields, + "returnPartialSuccess", + request.getReturnPartialSuccess()); + } + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(StoragePoolListDisks.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + setIamPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.StoragePools/SetIamPolicy") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/storagePools/{resource}/setIamPolicy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "resource", request.getResource()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "zoneSetPolicyRequestResource", + request.getZoneSetPolicyRequestResource(), + false)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor< + TestIamPermissionsStoragePoolRequest, TestPermissionsResponse> + testIamPermissionsMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName("google.cloud.compute.v1.StoragePools/TestIamPermissions") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/storagePools/{resource}/testIamPermissions", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "resource", request.getResource()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "testPermissionsRequestResource", + request.getTestPermissionsRequestResource(), + false)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(TestPermissionsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + updateMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.StoragePools/Update") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/zones/{zone}/storagePools/{storagePool}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam( + fields, "storagePool", request.getStoragePool()); + serializer.putPathParam(fields, "zone", request.getZone()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + if (request.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + if (request.hasUpdateMask()) { + serializer.putQueryParam( + fields, "updateMask", request.getUpdateMask()); + } + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "storagePoolResource", + request.getStoragePoolResource(), + false)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (UpdateStoragePoolRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getZone()); + return HttpJsonOperationSnapshot.newBuilder() + .setName(opName.toString()) + .setMetadata(response) + .setDone(Status.DONE.equals(response.getStatus())) + .setResponse(response) + .setError(response.getHttpErrorStatusCode(), response.getHttpErrorMessage()) + .build(); + }) + .build(); + + private final UnaryCallable + aggregatedListCallable; + private final UnaryCallable + aggregatedListPagedCallable; + private final UnaryCallable deleteCallable; + private final OperationCallable + deleteOperationCallable; + private final UnaryCallable getCallable; + private final UnaryCallable getIamPolicyCallable; + private final UnaryCallable insertCallable; + private final OperationCallable + insertOperationCallable; + private final UnaryCallable listCallable; + private final UnaryCallable listPagedCallable; + private final UnaryCallable listDisksCallable; + private final UnaryCallable + listDisksPagedCallable; + private final UnaryCallable setIamPolicyCallable; + private final UnaryCallable + testIamPermissionsCallable; + private final UnaryCallable updateCallable; + private final OperationCallable + updateOperationCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonZoneOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonStoragePoolsStub create(StoragePoolsStubSettings settings) + throws IOException { + return new HttpJsonStoragePoolsStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonStoragePoolsStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonStoragePoolsStub( + StoragePoolsStubSettings.newBuilder().build(), clientContext); + } + + public static final HttpJsonStoragePoolsStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonStoragePoolsStub( + StoragePoolsStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonStoragePoolsStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonStoragePoolsStub(StoragePoolsStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonStoragePoolsCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonStoragePoolsStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonStoragePoolsStub( + StoragePoolsStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = HttpJsonZoneOperationsStub.create(clientContext, callableFactory); + + HttpJsonCallSettings + aggregatedListTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(aggregatedListMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings deleteTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + builder.add("storage_pool", String.valueOf(request.getStoragePool())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings getTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + builder.add("storage_pool", String.valueOf(request.getStoragePool())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings getIamPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getIamPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + builder.add("resource", String.valueOf(request.getResource())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings insertTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(insertMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings listTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings + listDisksTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listDisksMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + builder.add("storage_pool", String.valueOf(request.getStoragePool())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings setIamPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(setIamPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + builder.add("resource", String.valueOf(request.getResource())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings + testIamPermissionsTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(testIamPermissionsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + builder.add("resource", String.valueOf(request.getResource())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings updateTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project", String.valueOf(request.getProject())); + builder.add("storage_pool", String.valueOf(request.getStoragePool())); + builder.add("zone", String.valueOf(request.getZone())); + return builder.build(); + }) + .build(); + + this.aggregatedListCallable = + callableFactory.createUnaryCallable( + aggregatedListTransportSettings, settings.aggregatedListSettings(), clientContext); + this.aggregatedListPagedCallable = + callableFactory.createPagedCallable( + aggregatedListTransportSettings, settings.aggregatedListSettings(), clientContext); + this.deleteCallable = + callableFactory.createUnaryCallable( + deleteTransportSettings, settings.deleteSettings(), clientContext); + this.deleteOperationCallable = + callableFactory.createOperationCallable( + deleteTransportSettings, + settings.deleteOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.getCallable = + callableFactory.createUnaryCallable( + getTransportSettings, settings.getSettings(), clientContext); + this.getIamPolicyCallable = + callableFactory.createUnaryCallable( + getIamPolicyTransportSettings, settings.getIamPolicySettings(), clientContext); + this.insertCallable = + callableFactory.createUnaryCallable( + insertTransportSettings, settings.insertSettings(), clientContext); + this.insertOperationCallable = + callableFactory.createOperationCallable( + insertTransportSettings, + settings.insertOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.listCallable = + callableFactory.createUnaryCallable( + listTransportSettings, settings.listSettings(), clientContext); + this.listPagedCallable = + callableFactory.createPagedCallable( + listTransportSettings, settings.listSettings(), clientContext); + this.listDisksCallable = + callableFactory.createUnaryCallable( + listDisksTransportSettings, settings.listDisksSettings(), clientContext); + this.listDisksPagedCallable = + callableFactory.createPagedCallable( + listDisksTransportSettings, settings.listDisksSettings(), clientContext); + this.setIamPolicyCallable = + callableFactory.createUnaryCallable( + setIamPolicyTransportSettings, settings.setIamPolicySettings(), clientContext); + this.testIamPermissionsCallable = + callableFactory.createUnaryCallable( + testIamPermissionsTransportSettings, + settings.testIamPermissionsSettings(), + clientContext); + this.updateCallable = + callableFactory.createUnaryCallable( + updateTransportSettings, settings.updateSettings(), clientContext); + this.updateOperationCallable = + callableFactory.createOperationCallable( + updateTransportSettings, + settings.updateOperationSettings(), + clientContext, + httpJsonOperationsStub); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(aggregatedListMethodDescriptor); + methodDescriptors.add(deleteMethodDescriptor); + methodDescriptors.add(getMethodDescriptor); + methodDescriptors.add(getIamPolicyMethodDescriptor); + methodDescriptors.add(insertMethodDescriptor); + methodDescriptors.add(listMethodDescriptor); + methodDescriptors.add(listDisksMethodDescriptor); + methodDescriptors.add(setIamPolicyMethodDescriptor); + methodDescriptors.add(testIamPermissionsMethodDescriptor); + methodDescriptors.add(updateMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable + aggregatedListCallable() { + return aggregatedListCallable; + } + + @Override + public UnaryCallable + aggregatedListPagedCallable() { + return aggregatedListPagedCallable; + } + + @Override + public UnaryCallable deleteCallable() { + return deleteCallable; + } + + @Override + public OperationCallable + deleteOperationCallable() { + return deleteOperationCallable; + } + + @Override + public UnaryCallable getCallable() { + return getCallable; + } + + @Override + public UnaryCallable getIamPolicyCallable() { + return getIamPolicyCallable; + } + + @Override + public UnaryCallable insertCallable() { + return insertCallable; + } + + @Override + public OperationCallable + insertOperationCallable() { + return insertOperationCallable; + } + + @Override + public UnaryCallable listCallable() { + return listCallable; + } + + @Override + public UnaryCallable listPagedCallable() { + return listPagedCallable; + } + + @Override + public UnaryCallable listDisksCallable() { + return listDisksCallable; + } + + @Override + public UnaryCallable + listDisksPagedCallable() { + return listDisksPagedCallable; + } + + @Override + public UnaryCallable setIamPolicyCallable() { + return setIamPolicyCallable; + } + + @Override + public UnaryCallable + testIamPermissionsCallable() { + return testIamPermissionsCallable; + } + + @Override + public UnaryCallable updateCallable() { + return updateCallable; + } + + @Override + public OperationCallable + updateOperationCallable() { + return updateOperationCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerResizeRequestsStub.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerResizeRequestsStub.java new file mode 100644 index 000000000000..7679b5d23f07 --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerResizeRequestsStub.java @@ -0,0 +1,90 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub; + +import static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient.ListPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse; +import com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest; +import com.google.cloud.compute.v1.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the InstanceGroupManagerResizeRequests service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public abstract class InstanceGroupManagerResizeRequestsStub implements BackgroundResource { + + public OperationCallable + cancelOperationCallable() { + throw new UnsupportedOperationException("Not implemented: cancelOperationCallable()"); + } + + public UnaryCallable cancelCallable() { + throw new UnsupportedOperationException("Not implemented: cancelCallable()"); + } + + public OperationCallable + deleteOperationCallable() { + throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()"); + } + + public UnaryCallable deleteCallable() { + throw new UnsupportedOperationException("Not implemented: deleteCallable()"); + } + + public UnaryCallable< + GetInstanceGroupManagerResizeRequestRequest, InstanceGroupManagerResizeRequest> + getCallable() { + throw new UnsupportedOperationException("Not implemented: getCallable()"); + } + + public OperationCallable + insertOperationCallable() { + throw new UnsupportedOperationException("Not implemented: insertOperationCallable()"); + } + + public UnaryCallable insertCallable() { + throw new UnsupportedOperationException("Not implemented: insertCallable()"); + } + + public UnaryCallable + listPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listPagedCallable()"); + } + + public UnaryCallable< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse> + listCallable() { + throw new UnsupportedOperationException("Not implemented: listCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerResizeRequestsStubSettings.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerResizeRequestsStubSettings.java new file mode 100644 index 000000000000..fd0a3f697a19 --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceGroupManagerResizeRequestsStubSettings.java @@ -0,0 +1,660 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub; + +import static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient.ListPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.ApiFuture; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.httpjson.ProtoOperationTransformers; +import com.google.api.gax.longrunning.OperationSnapshot; +import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiCallContext; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.PagedListDescriptor; +import com.google.api.gax.rpc.PagedListResponseFactory; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse; +import com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link InstanceGroupManagerResizeRequestsStub}. + * + *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

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

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * InstanceGroupManagerResizeRequestsStubSettings.Builder
+ *     instanceGroupManagerResizeRequestsSettingsBuilder =
+ *         InstanceGroupManagerResizeRequestsStubSettings.newBuilder();
+ * instanceGroupManagerResizeRequestsSettingsBuilder
+ *     .getSettings()
+ *     .setRetrySettings(
+ *         instanceGroupManagerResizeRequestsSettingsBuilder
+ *             .getSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * InstanceGroupManagerResizeRequestsStubSettings instanceGroupManagerResizeRequestsSettings =
+ *     instanceGroupManagerResizeRequestsSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class InstanceGroupManagerResizeRequestsStubSettings + extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder() + .add("https://www.googleapis.com/auth/compute") + .add("https://www.googleapis.com/auth/cloud-platform") + .build(); + + private final UnaryCallSettings + cancelSettings; + private final OperationCallSettings< + CancelInstanceGroupManagerResizeRequestRequest, Operation, Operation> + cancelOperationSettings; + private final UnaryCallSettings + deleteSettings; + private final OperationCallSettings< + DeleteInstanceGroupManagerResizeRequestRequest, Operation, Operation> + deleteOperationSettings; + private final UnaryCallSettings< + GetInstanceGroupManagerResizeRequestRequest, InstanceGroupManagerResizeRequest> + getSettings; + private final UnaryCallSettings + insertSettings; + private final OperationCallSettings< + InsertInstanceGroupManagerResizeRequestRequest, Operation, Operation> + insertOperationSettings; + private final PagedCallSettings< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse, + ListPagedResponse> + listSettings; + + private static final PagedListDescriptor< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse, + InstanceGroupManagerResizeRequest> + LIST_PAGE_STR_DESC = + new PagedListDescriptor< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse, + InstanceGroupManagerResizeRequest>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListInstanceGroupManagerResizeRequestsRequest injectToken( + ListInstanceGroupManagerResizeRequestsRequest payload, String token) { + return ListInstanceGroupManagerResizeRequestsRequest.newBuilder(payload) + .setPageToken(token) + .build(); + } + + @Override + public ListInstanceGroupManagerResizeRequestsRequest injectPageSize( + ListInstanceGroupManagerResizeRequestsRequest payload, int pageSize) { + return ListInstanceGroupManagerResizeRequestsRequest.newBuilder(payload) + .setMaxResults(pageSize) + .build(); + } + + @Override + public Integer extractPageSize(ListInstanceGroupManagerResizeRequestsRequest payload) { + return payload.getMaxResults(); + } + + @Override + public String extractNextToken(InstanceGroupManagerResizeRequestsListResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources( + InstanceGroupManagerResizeRequestsListResponse payload) { + return payload.getItemsList() == null + ? ImmutableList.of() + : payload.getItemsList(); + } + }; + + private static final PagedListResponseFactory< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse, + ListPagedResponse> + LIST_PAGE_STR_FACT = + new PagedListResponseFactory< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse, + ListPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse> + callable, + ListInstanceGroupManagerResizeRequestsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse, + InstanceGroupManagerResizeRequest> + pageContext = PageContext.create(callable, LIST_PAGE_STR_DESC, request, context); + return ListPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Returns the object with the settings used for calls to cancel. */ + public UnaryCallSettings + cancelSettings() { + return cancelSettings; + } + + /** Returns the object with the settings used for calls to cancel. */ + public OperationCallSettings + cancelOperationSettings() { + return cancelOperationSettings; + } + + /** Returns the object with the settings used for calls to delete. */ + public UnaryCallSettings + deleteSettings() { + return deleteSettings; + } + + /** Returns the object with the settings used for calls to delete. */ + public OperationCallSettings + deleteOperationSettings() { + return deleteOperationSettings; + } + + /** Returns the object with the settings used for calls to get. */ + public UnaryCallSettings< + GetInstanceGroupManagerResizeRequestRequest, InstanceGroupManagerResizeRequest> + getSettings() { + return getSettings; + } + + /** Returns the object with the settings used for calls to insert. */ + public UnaryCallSettings + insertSettings() { + return insertSettings; + } + + /** Returns the object with the settings used for calls to insert. */ + public OperationCallSettings + insertOperationSettings() { + return insertOperationSettings; + } + + /** Returns the object with the settings used for calls to list. */ + public PagedCallSettings< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse, + ListPagedResponse> + listSettings() { + return listSettings; + } + + public InstanceGroupManagerResizeRequestsStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonInstanceGroupManagerResizeRequestsStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns the default service name. */ + @Override + public String getServiceName() { + return "compute"; + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "compute.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "compute.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultHttpJsonTransportProviderBuilder().build(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", + GaxProperties.getLibraryVersion(InstanceGroupManagerResizeRequestsStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected InstanceGroupManagerResizeRequestsStubSettings(Builder settingsBuilder) + throws IOException { + super(settingsBuilder); + + cancelSettings = settingsBuilder.cancelSettings().build(); + cancelOperationSettings = settingsBuilder.cancelOperationSettings().build(); + deleteSettings = settingsBuilder.deleteSettings().build(); + deleteOperationSettings = settingsBuilder.deleteOperationSettings().build(); + getSettings = settingsBuilder.getSettings().build(); + insertSettings = settingsBuilder.insertSettings().build(); + insertOperationSettings = settingsBuilder.insertOperationSettings().build(); + listSettings = settingsBuilder.listSettings().build(); + } + + /** Builder for InstanceGroupManagerResizeRequestsStubSettings. */ + public static class Builder + extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final UnaryCallSettings.Builder< + CancelInstanceGroupManagerResizeRequestRequest, Operation> + cancelSettings; + private final OperationCallSettings.Builder< + CancelInstanceGroupManagerResizeRequestRequest, Operation, Operation> + cancelOperationSettings; + private final UnaryCallSettings.Builder< + DeleteInstanceGroupManagerResizeRequestRequest, Operation> + deleteSettings; + private final OperationCallSettings.Builder< + DeleteInstanceGroupManagerResizeRequestRequest, Operation, Operation> + deleteOperationSettings; + private final UnaryCallSettings.Builder< + GetInstanceGroupManagerResizeRequestRequest, InstanceGroupManagerResizeRequest> + getSettings; + private final UnaryCallSettings.Builder< + InsertInstanceGroupManagerResizeRequestRequest, Operation> + insertSettings; + private final OperationCallSettings.Builder< + InsertInstanceGroupManagerResizeRequestRequest, Operation, Operation> + insertOperationSettings; + private final PagedCallSettings.Builder< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse, + ListPagedResponse> + listSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "retry_policy_0_codes", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE))); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(600000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(600000L)) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build(); + definitions.put("no_retry_1_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(100L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ofMillis(600000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(600000L)) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build(); + definitions.put("retry_policy_0_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + cancelSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + cancelOperationSettings = OperationCallSettings.newBuilder(); + deleteSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteOperationSettings = OperationCallSettings.newBuilder(); + getSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + insertSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + insertOperationSettings = OperationCallSettings.newBuilder(); + listSettings = PagedCallSettings.newBuilder(LIST_PAGE_STR_FACT); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + cancelSettings, deleteSettings, getSettings, insertSettings, listSettings); + initDefaults(this); + } + + protected Builder(InstanceGroupManagerResizeRequestsStubSettings settings) { + super(settings); + + cancelSettings = settings.cancelSettings.toBuilder(); + cancelOperationSettings = settings.cancelOperationSettings.toBuilder(); + deleteSettings = settings.deleteSettings.toBuilder(); + deleteOperationSettings = settings.deleteOperationSettings.toBuilder(); + getSettings = settings.getSettings.toBuilder(); + insertSettings = settings.insertSettings.toBuilder(); + insertOperationSettings = settings.insertOperationSettings.toBuilder(); + listSettings = settings.listSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + cancelSettings, deleteSettings, getSettings, insertSettings, listSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .cancelSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .deleteSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .getSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .insertSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .listSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .cancelOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + . + newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Operation.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(Operation.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(20000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + builder + .deleteOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + . + newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Operation.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(Operation.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(20000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + builder + .insertOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + . + newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Operation.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(Operation.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(20000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to cancel. */ + public UnaryCallSettings.Builder + cancelSettings() { + return cancelSettings; + } + + /** Returns the builder for the settings used for calls to cancel. */ + public OperationCallSettings.Builder< + CancelInstanceGroupManagerResizeRequestRequest, Operation, Operation> + cancelOperationSettings() { + return cancelOperationSettings; + } + + /** Returns the builder for the settings used for calls to delete. */ + public UnaryCallSettings.Builder + deleteSettings() { + return deleteSettings; + } + + /** Returns the builder for the settings used for calls to delete. */ + public OperationCallSettings.Builder< + DeleteInstanceGroupManagerResizeRequestRequest, Operation, Operation> + deleteOperationSettings() { + return deleteOperationSettings; + } + + /** Returns the builder for the settings used for calls to get. */ + public UnaryCallSettings.Builder< + GetInstanceGroupManagerResizeRequestRequest, InstanceGroupManagerResizeRequest> + getSettings() { + return getSettings; + } + + /** Returns the builder for the settings used for calls to insert. */ + public UnaryCallSettings.Builder + insertSettings() { + return insertSettings; + } + + /** Returns the builder for the settings used for calls to insert. */ + public OperationCallSettings.Builder< + InsertInstanceGroupManagerResizeRequestRequest, Operation, Operation> + insertOperationSettings() { + return insertOperationSettings; + } + + /** Returns the builder for the settings used for calls to list. */ + public PagedCallSettings.Builder< + ListInstanceGroupManagerResizeRequestsRequest, + InstanceGroupManagerResizeRequestsListResponse, + ListPagedResponse> + listSettings() { + return listSettings; + } + + @Override + public InstanceGroupManagerResizeRequestsStubSettings build() throws IOException { + return new InstanceGroupManagerResizeRequestsStubSettings(this); + } + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceSettingsServiceStub.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceSettingsServiceStub.java new file mode 100644 index 000000000000..fc06eed44ea7 --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceSettingsServiceStub.java @@ -0,0 +1,52 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.compute.v1.GetInstanceSettingRequest; +import com.google.cloud.compute.v1.InstanceSettings; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.PatchInstanceSettingRequest; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the InstanceSettingsService service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public abstract class InstanceSettingsServiceStub implements BackgroundResource { + + public UnaryCallable getCallable() { + throw new UnsupportedOperationException("Not implemented: getCallable()"); + } + + public OperationCallable + patchOperationCallable() { + throw new UnsupportedOperationException("Not implemented: patchOperationCallable()"); + } + + public UnaryCallable patchCallable() { + throw new UnsupportedOperationException("Not implemented: patchCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceSettingsServiceStubSettings.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceSettingsServiceStubSettings.java new file mode 100644 index 000000000000..557859322c24 --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/InstanceSettingsServiceStubSettings.java @@ -0,0 +1,370 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub; + +import com.google.api.core.ApiFunction; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.httpjson.ProtoOperationTransformers; +import com.google.api.gax.longrunning.OperationSnapshot; +import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.cloud.compute.v1.GetInstanceSettingRequest; +import com.google.cloud.compute.v1.InstanceSettings; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.PatchInstanceSettingRequest; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link InstanceSettingsServiceStub}. + * + *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

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

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * InstanceSettingsServiceStubSettings.Builder instanceSettingsServiceSettingsBuilder =
+ *     InstanceSettingsServiceStubSettings.newBuilder();
+ * instanceSettingsServiceSettingsBuilder
+ *     .getSettings()
+ *     .setRetrySettings(
+ *         instanceSettingsServiceSettingsBuilder
+ *             .getSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * InstanceSettingsServiceStubSettings instanceSettingsServiceSettings =
+ *     instanceSettingsServiceSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class InstanceSettingsServiceStubSettings + extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder() + .add("https://www.googleapis.com/auth/compute") + .add("https://www.googleapis.com/auth/cloud-platform") + .build(); + + private final UnaryCallSettings getSettings; + private final UnaryCallSettings patchSettings; + private final OperationCallSettings + patchOperationSettings; + + /** Returns the object with the settings used for calls to get. */ + public UnaryCallSettings getSettings() { + return getSettings; + } + + /** Returns the object with the settings used for calls to patch. */ + public UnaryCallSettings patchSettings() { + return patchSettings; + } + + /** Returns the object with the settings used for calls to patch. */ + public OperationCallSettings + patchOperationSettings() { + return patchOperationSettings; + } + + public InstanceSettingsServiceStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonInstanceSettingsServiceStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns the default service name. */ + @Override + public String getServiceName() { + return "compute"; + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "compute.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "compute.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultHttpJsonTransportProviderBuilder().build(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(InstanceSettingsServiceStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected InstanceSettingsServiceStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + getSettings = settingsBuilder.getSettings().build(); + patchSettings = settingsBuilder.patchSettings().build(); + patchOperationSettings = settingsBuilder.patchOperationSettings().build(); + } + + /** Builder for InstanceSettingsServiceStubSettings. */ + public static class Builder + extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final UnaryCallSettings.Builder + getSettings; + private final UnaryCallSettings.Builder patchSettings; + private final OperationCallSettings.Builder + patchOperationSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "retry_policy_0_codes", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE))); + definitions.put( + "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(100L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ofMillis(600000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(600000L)) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build(); + definitions.put("retry_policy_0_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(600000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(600000L)) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build(); + definitions.put("no_retry_1_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + getSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + patchSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + patchOperationSettings = OperationCallSettings.newBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of(getSettings, patchSettings); + initDefaults(this); + } + + protected Builder(InstanceSettingsServiceStubSettings settings) { + super(settings); + + getSettings = settings.getSettings.toBuilder(); + patchSettings = settings.patchSettings.toBuilder(); + patchOperationSettings = settings.patchOperationSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of(getSettings, patchSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .getSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .patchSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .patchOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Operation.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(Operation.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(20000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to get. */ + public UnaryCallSettings.Builder getSettings() { + return getSettings; + } + + /** Returns the builder for the settings used for calls to patch. */ + public UnaryCallSettings.Builder patchSettings() { + return patchSettings; + } + + /** Returns the builder for the settings used for calls to patch. */ + public OperationCallSettings.Builder + patchOperationSettings() { + return patchOperationSettings; + } + + @Override + public InstanceSettingsServiceStubSettings build() throws IOException { + return new InstanceSettingsServiceStubSettings(this); + } + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeGroupsStub.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeGroupsStub.java index 284e51bf484a..7e54d7cc5c8b 100644 --- a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeGroupsStub.java +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeGroupsStub.java @@ -38,6 +38,7 @@ import com.google.cloud.compute.v1.NodeGroupsListNodes; import com.google.cloud.compute.v1.Operation; import com.google.cloud.compute.v1.PatchNodeGroupRequest; +import com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest; import com.google.cloud.compute.v1.Policy; import com.google.cloud.compute.v1.SetIamPolicyNodeGroupRequest; import com.google.cloud.compute.v1.SetNodeTemplateNodeGroupRequest; @@ -132,6 +133,16 @@ public UnaryCallable patchCallable() { throw new UnsupportedOperationException("Not implemented: patchCallable()"); } + public OperationCallable + performMaintenanceOperationCallable() { + throw new UnsupportedOperationException( + "Not implemented: performMaintenanceOperationCallable()"); + } + + public UnaryCallable performMaintenanceCallable() { + throw new UnsupportedOperationException("Not implemented: performMaintenanceCallable()"); + } + public UnaryCallable setIamPolicyCallable() { throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); } diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeGroupsStubSettings.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeGroupsStubSettings.java index 4b82c8a7b960..a8af055d4bc0 100644 --- a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeGroupsStubSettings.java +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NodeGroupsStubSettings.java @@ -62,6 +62,7 @@ import com.google.cloud.compute.v1.NodeGroupsScopedList; import com.google.cloud.compute.v1.Operation; import com.google.cloud.compute.v1.PatchNodeGroupRequest; +import com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest; import com.google.cloud.compute.v1.Policy; import com.google.cloud.compute.v1.SetIamPolicyNodeGroupRequest; import com.google.cloud.compute.v1.SetNodeTemplateNodeGroupRequest; @@ -149,6 +150,10 @@ public class NodeGroupsStubSettings extends StubSettings private final UnaryCallSettings patchSettings; private final OperationCallSettings patchOperationSettings; + private final UnaryCallSettings + performMaintenanceSettings; + private final OperationCallSettings + performMaintenanceOperationSettings; private final UnaryCallSettings setIamPolicySettings; private final UnaryCallSettings setNodeTemplateSettings; @@ -428,6 +433,18 @@ public UnaryCallSettings patchSettings() { return patchOperationSettings; } + /** Returns the object with the settings used for calls to performMaintenance. */ + public UnaryCallSettings + performMaintenanceSettings() { + return performMaintenanceSettings; + } + + /** Returns the object with the settings used for calls to performMaintenance. */ + public OperationCallSettings + performMaintenanceOperationSettings() { + return performMaintenanceOperationSettings; + } + /** Returns the object with the settings used for calls to setIamPolicy. */ public UnaryCallSettings setIamPolicySettings() { return setIamPolicySettings; @@ -558,6 +575,9 @@ protected NodeGroupsStubSettings(Builder settingsBuilder) throws IOException { listNodesSettings = settingsBuilder.listNodesSettings().build(); patchSettings = settingsBuilder.patchSettings().build(); patchOperationSettings = settingsBuilder.patchOperationSettings().build(); + performMaintenanceSettings = settingsBuilder.performMaintenanceSettings().build(); + performMaintenanceOperationSettings = + settingsBuilder.performMaintenanceOperationSettings().build(); setIamPolicySettings = settingsBuilder.setIamPolicySettings().build(); setNodeTemplateSettings = settingsBuilder.setNodeTemplateSettings().build(); setNodeTemplateOperationSettings = settingsBuilder.setNodeTemplateOperationSettings().build(); @@ -597,6 +617,11 @@ public static class Builder extends StubSettings.Builder patchSettings; private final OperationCallSettings.Builder patchOperationSettings; + private final UnaryCallSettings.Builder + performMaintenanceSettings; + private final OperationCallSettings.Builder< + PerformMaintenanceNodeGroupRequest, Operation, Operation> + performMaintenanceOperationSettings; private final UnaryCallSettings.Builder setIamPolicySettings; private final UnaryCallSettings.Builder @@ -677,6 +702,8 @@ protected Builder(ClientContext clientContext) { listNodesSettings = PagedCallSettings.newBuilder(LIST_NODES_PAGE_STR_FACT); patchSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); patchOperationSettings = OperationCallSettings.newBuilder(); + performMaintenanceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + performMaintenanceOperationSettings = OperationCallSettings.newBuilder(); setIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); setNodeTemplateSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); setNodeTemplateOperationSettings = OperationCallSettings.newBuilder(); @@ -696,6 +723,7 @@ protected Builder(ClientContext clientContext) { listSettings, listNodesSettings, patchSettings, + performMaintenanceSettings, setIamPolicySettings, setNodeTemplateSettings, simulateMaintenanceEventSettings, @@ -721,6 +749,9 @@ protected Builder(NodeGroupsStubSettings settings) { listNodesSettings = settings.listNodesSettings.toBuilder(); patchSettings = settings.patchSettings.toBuilder(); patchOperationSettings = settings.patchOperationSettings.toBuilder(); + performMaintenanceSettings = settings.performMaintenanceSettings.toBuilder(); + performMaintenanceOperationSettings = + settings.performMaintenanceOperationSettings.toBuilder(); setIamPolicySettings = settings.setIamPolicySettings.toBuilder(); setNodeTemplateSettings = settings.setNodeTemplateSettings.toBuilder(); setNodeTemplateOperationSettings = settings.setNodeTemplateOperationSettings.toBuilder(); @@ -741,6 +772,7 @@ protected Builder(NodeGroupsStubSettings settings) { listSettings, listNodesSettings, patchSettings, + performMaintenanceSettings, setIamPolicySettings, setNodeTemplateSettings, simulateMaintenanceEventSettings, @@ -810,6 +842,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + builder + .performMaintenanceSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + builder .setIamPolicySettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) @@ -950,6 +987,31 @@ private static Builder initDefaults(Builder builder) { .setTotalTimeout(Duration.ofMillis(600000L)) .build())); + builder + .performMaintenanceOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + . + newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Operation.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(Operation.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(20000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + builder .setNodeTemplateOperationSettings() .setInitialCallSettings( @@ -1102,6 +1164,18 @@ public UnaryCallSettings.Builder patchSettings return patchOperationSettings; } + /** Returns the builder for the settings used for calls to performMaintenance. */ + public UnaryCallSettings.Builder + performMaintenanceSettings() { + return performMaintenanceSettings; + } + + /** Returns the builder for the settings used for calls to performMaintenance. */ + public OperationCallSettings.Builder + performMaintenanceOperationSettings() { + return performMaintenanceOperationSettings; + } + /** Returns the builder for the settings used for calls to setIamPolicy. */ public UnaryCallSettings.Builder setIamPolicySettings() { return setIamPolicySettings; diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/StoragePoolTypesStub.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/StoragePoolTypesStub.java new file mode 100644 index 000000000000..f814ba0b9d88 --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/StoragePoolTypesStub.java @@ -0,0 +1,65 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub; + +import static com.google.cloud.compute.v1.StoragePoolTypesClient.AggregatedListPagedResponse; +import static com.google.cloud.compute.v1.StoragePoolTypesClient.ListPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest; +import com.google.cloud.compute.v1.GetStoragePoolTypeRequest; +import com.google.cloud.compute.v1.ListStoragePoolTypesRequest; +import com.google.cloud.compute.v1.StoragePoolType; +import com.google.cloud.compute.v1.StoragePoolTypeAggregatedList; +import com.google.cloud.compute.v1.StoragePoolTypeList; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the StoragePoolTypes service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public abstract class StoragePoolTypesStub implements BackgroundResource { + + public UnaryCallable + aggregatedListPagedCallable() { + throw new UnsupportedOperationException("Not implemented: aggregatedListPagedCallable()"); + } + + public UnaryCallable + aggregatedListCallable() { + throw new UnsupportedOperationException("Not implemented: aggregatedListCallable()"); + } + + public UnaryCallable getCallable() { + throw new UnsupportedOperationException("Not implemented: getCallable()"); + } + + public UnaryCallable listPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listPagedCallable()"); + } + + public UnaryCallable listCallable() { + throw new UnsupportedOperationException("Not implemented: listCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/StoragePoolTypesStubSettings.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/StoragePoolTypesStubSettings.java new file mode 100644 index 000000000000..72f13a9e8424 --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/StoragePoolTypesStubSettings.java @@ -0,0 +1,504 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub; + +import static com.google.cloud.compute.v1.StoragePoolTypesClient.AggregatedListPagedResponse; +import static com.google.cloud.compute.v1.StoragePoolTypesClient.ListPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.ApiFuture; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiCallContext; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.PagedListDescriptor; +import com.google.api.gax.rpc.PagedListResponseFactory; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest; +import com.google.cloud.compute.v1.GetStoragePoolTypeRequest; +import com.google.cloud.compute.v1.ListStoragePoolTypesRequest; +import com.google.cloud.compute.v1.StoragePoolType; +import com.google.cloud.compute.v1.StoragePoolTypeAggregatedList; +import com.google.cloud.compute.v1.StoragePoolTypeList; +import com.google.cloud.compute.v1.StoragePoolTypesScopedList; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import java.io.IOException; +import java.util.Collections; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link StoragePoolTypesStub}. + * + *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

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

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * StoragePoolTypesStubSettings.Builder storagePoolTypesSettingsBuilder =
+ *     StoragePoolTypesStubSettings.newBuilder();
+ * storagePoolTypesSettingsBuilder
+ *     .getSettings()
+ *     .setRetrySettings(
+ *         storagePoolTypesSettingsBuilder
+ *             .getSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * StoragePoolTypesStubSettings storagePoolTypesSettings = storagePoolTypesSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class StoragePoolTypesStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder() + .add("https://www.googleapis.com/auth/compute.readonly") + .add("https://www.googleapis.com/auth/compute") + .add("https://www.googleapis.com/auth/cloud-platform") + .build(); + + private final PagedCallSettings< + AggregatedListStoragePoolTypesRequest, + StoragePoolTypeAggregatedList, + AggregatedListPagedResponse> + aggregatedListSettings; + private final UnaryCallSettings getSettings; + private final PagedCallSettings< + ListStoragePoolTypesRequest, StoragePoolTypeList, ListPagedResponse> + listSettings; + + private static final PagedListDescriptor< + AggregatedListStoragePoolTypesRequest, + StoragePoolTypeAggregatedList, + Map.Entry> + AGGREGATED_LIST_PAGE_STR_DESC = + new PagedListDescriptor< + AggregatedListStoragePoolTypesRequest, + StoragePoolTypeAggregatedList, + Map.Entry>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public AggregatedListStoragePoolTypesRequest injectToken( + AggregatedListStoragePoolTypesRequest payload, String token) { + return AggregatedListStoragePoolTypesRequest.newBuilder(payload) + .setPageToken(token) + .build(); + } + + @Override + public AggregatedListStoragePoolTypesRequest injectPageSize( + AggregatedListStoragePoolTypesRequest payload, int pageSize) { + return AggregatedListStoragePoolTypesRequest.newBuilder(payload) + .setMaxResults(pageSize) + .build(); + } + + @Override + public Integer extractPageSize(AggregatedListStoragePoolTypesRequest payload) { + return payload.getMaxResults(); + } + + @Override + public String extractNextToken(StoragePoolTypeAggregatedList payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable> extractResources( + StoragePoolTypeAggregatedList payload) { + return payload.getItemsMap() == null + ? Collections.>emptySet() + : payload.getItemsMap().entrySet(); + } + }; + + private static final PagedListDescriptor< + ListStoragePoolTypesRequest, StoragePoolTypeList, StoragePoolType> + LIST_PAGE_STR_DESC = + new PagedListDescriptor< + ListStoragePoolTypesRequest, StoragePoolTypeList, StoragePoolType>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListStoragePoolTypesRequest injectToken( + ListStoragePoolTypesRequest payload, String token) { + return ListStoragePoolTypesRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListStoragePoolTypesRequest injectPageSize( + ListStoragePoolTypesRequest payload, int pageSize) { + return ListStoragePoolTypesRequest.newBuilder(payload) + .setMaxResults(pageSize) + .build(); + } + + @Override + public Integer extractPageSize(ListStoragePoolTypesRequest payload) { + return payload.getMaxResults(); + } + + @Override + public String extractNextToken(StoragePoolTypeList payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(StoragePoolTypeList payload) { + return payload.getItemsList() == null + ? ImmutableList.of() + : payload.getItemsList(); + } + }; + + private static final PagedListResponseFactory< + AggregatedListStoragePoolTypesRequest, + StoragePoolTypeAggregatedList, + AggregatedListPagedResponse> + AGGREGATED_LIST_PAGE_STR_FACT = + new PagedListResponseFactory< + AggregatedListStoragePoolTypesRequest, + StoragePoolTypeAggregatedList, + AggregatedListPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable + callable, + AggregatedListStoragePoolTypesRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext< + AggregatedListStoragePoolTypesRequest, + StoragePoolTypeAggregatedList, + Map.Entry> + pageContext = + PageContext.create(callable, AGGREGATED_LIST_PAGE_STR_DESC, request, context); + return AggregatedListPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListStoragePoolTypesRequest, StoragePoolTypeList, ListPagedResponse> + LIST_PAGE_STR_FACT = + new PagedListResponseFactory< + ListStoragePoolTypesRequest, StoragePoolTypeList, ListPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListStoragePoolTypesRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext + pageContext = PageContext.create(callable, LIST_PAGE_STR_DESC, request, context); + return ListPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Returns the object with the settings used for calls to aggregatedList. */ + public PagedCallSettings< + AggregatedListStoragePoolTypesRequest, + StoragePoolTypeAggregatedList, + AggregatedListPagedResponse> + aggregatedListSettings() { + return aggregatedListSettings; + } + + /** Returns the object with the settings used for calls to get. */ + public UnaryCallSettings getSettings() { + return getSettings; + } + + /** Returns the object with the settings used for calls to list. */ + public PagedCallSettings + listSettings() { + return listSettings; + } + + public StoragePoolTypesStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonStoragePoolTypesStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns the default service name. */ + @Override + public String getServiceName() { + return "compute"; + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "compute.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "compute.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultHttpJsonTransportProviderBuilder().build(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(StoragePoolTypesStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected StoragePoolTypesStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + aggregatedListSettings = settingsBuilder.aggregatedListSettings().build(); + getSettings = settingsBuilder.getSettings().build(); + listSettings = settingsBuilder.listSettings().build(); + } + + /** Builder for StoragePoolTypesStubSettings. */ + public static class Builder extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final PagedCallSettings.Builder< + AggregatedListStoragePoolTypesRequest, + StoragePoolTypeAggregatedList, + AggregatedListPagedResponse> + aggregatedListSettings; + private final UnaryCallSettings.Builder getSettings; + private final PagedCallSettings.Builder< + ListStoragePoolTypesRequest, StoragePoolTypeList, ListPagedResponse> + listSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "retry_policy_0_codes", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE))); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(100L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ofMillis(600000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(600000L)) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build(); + definitions.put("retry_policy_0_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + aggregatedListSettings = PagedCallSettings.newBuilder(AGGREGATED_LIST_PAGE_STR_FACT); + getSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listSettings = PagedCallSettings.newBuilder(LIST_PAGE_STR_FACT); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + aggregatedListSettings, getSettings, listSettings); + initDefaults(this); + } + + protected Builder(StoragePoolTypesStubSettings settings) { + super(settings); + + aggregatedListSettings = settings.aggregatedListSettings.toBuilder(); + getSettings = settings.getSettings.toBuilder(); + listSettings = settings.listSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + aggregatedListSettings, getSettings, listSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .aggregatedListSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .getSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .listSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to aggregatedList. */ + public PagedCallSettings.Builder< + AggregatedListStoragePoolTypesRequest, + StoragePoolTypeAggregatedList, + AggregatedListPagedResponse> + aggregatedListSettings() { + return aggregatedListSettings; + } + + /** Returns the builder for the settings used for calls to get. */ + public UnaryCallSettings.Builder getSettings() { + return getSettings; + } + + /** Returns the builder for the settings used for calls to list. */ + public PagedCallSettings.Builder< + ListStoragePoolTypesRequest, StoragePoolTypeList, ListPagedResponse> + listSettings() { + return listSettings; + } + + @Override + public StoragePoolTypesStubSettings build() throws IOException { + return new StoragePoolTypesStubSettings(this); + } + } +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/StoragePoolsStub.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/StoragePoolsStub.java new file mode 100644 index 000000000000..023f492393ac --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/StoragePoolsStub.java @@ -0,0 +1,127 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub; + +import static com.google.cloud.compute.v1.StoragePoolsClient.AggregatedListPagedResponse; +import static com.google.cloud.compute.v1.StoragePoolsClient.ListDisksPagedResponse; +import static com.google.cloud.compute.v1.StoragePoolsClient.ListPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest; +import com.google.cloud.compute.v1.DeleteStoragePoolRequest; +import com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest; +import com.google.cloud.compute.v1.GetStoragePoolRequest; +import com.google.cloud.compute.v1.InsertStoragePoolRequest; +import com.google.cloud.compute.v1.ListDisksStoragePoolsRequest; +import com.google.cloud.compute.v1.ListStoragePoolsRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.Policy; +import com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest; +import com.google.cloud.compute.v1.StoragePool; +import com.google.cloud.compute.v1.StoragePoolAggregatedList; +import com.google.cloud.compute.v1.StoragePoolList; +import com.google.cloud.compute.v1.StoragePoolListDisks; +import com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest; +import com.google.cloud.compute.v1.TestPermissionsResponse; +import com.google.cloud.compute.v1.UpdateStoragePoolRequest; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the StoragePools service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public abstract class StoragePoolsStub implements BackgroundResource { + + public UnaryCallable + aggregatedListPagedCallable() { + throw new UnsupportedOperationException("Not implemented: aggregatedListPagedCallable()"); + } + + public UnaryCallable + aggregatedListCallable() { + throw new UnsupportedOperationException("Not implemented: aggregatedListCallable()"); + } + + public OperationCallable + deleteOperationCallable() { + throw new UnsupportedOperationException("Not implemented: deleteOperationCallable()"); + } + + public UnaryCallable deleteCallable() { + throw new UnsupportedOperationException("Not implemented: deleteCallable()"); + } + + public UnaryCallable getCallable() { + throw new UnsupportedOperationException("Not implemented: getCallable()"); + } + + public UnaryCallable getIamPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); + } + + public OperationCallable + insertOperationCallable() { + throw new UnsupportedOperationException("Not implemented: insertOperationCallable()"); + } + + public UnaryCallable insertCallable() { + throw new UnsupportedOperationException("Not implemented: insertCallable()"); + } + + public UnaryCallable listPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listPagedCallable()"); + } + + public UnaryCallable listCallable() { + throw new UnsupportedOperationException("Not implemented: listCallable()"); + } + + public UnaryCallable + listDisksPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listDisksPagedCallable()"); + } + + public UnaryCallable listDisksCallable() { + throw new UnsupportedOperationException("Not implemented: listDisksCallable()"); + } + + public UnaryCallable setIamPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); + } + + public UnaryCallable + testIamPermissionsCallable() { + throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); + } + + public OperationCallable + updateOperationCallable() { + throw new UnsupportedOperationException("Not implemented: updateOperationCallable()"); + } + + public UnaryCallable updateCallable() { + throw new UnsupportedOperationException("Not implemented: updateCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/StoragePoolsStubSettings.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/StoragePoolsStubSettings.java new file mode 100644 index 000000000000..fa1de5eca04a --- /dev/null +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/StoragePoolsStubSettings.java @@ -0,0 +1,882 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub; + +import static com.google.cloud.compute.v1.StoragePoolsClient.AggregatedListPagedResponse; +import static com.google.cloud.compute.v1.StoragePoolsClient.ListDisksPagedResponse; +import static com.google.cloud.compute.v1.StoragePoolsClient.ListPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.ApiFuture; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.httpjson.ProtoOperationTransformers; +import com.google.api.gax.longrunning.OperationSnapshot; +import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiCallContext; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.PagedListDescriptor; +import com.google.api.gax.rpc.PagedListResponseFactory; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest; +import com.google.cloud.compute.v1.DeleteStoragePoolRequest; +import com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest; +import com.google.cloud.compute.v1.GetStoragePoolRequest; +import com.google.cloud.compute.v1.InsertStoragePoolRequest; +import com.google.cloud.compute.v1.ListDisksStoragePoolsRequest; +import com.google.cloud.compute.v1.ListStoragePoolsRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.Policy; +import com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest; +import com.google.cloud.compute.v1.StoragePool; +import com.google.cloud.compute.v1.StoragePoolAggregatedList; +import com.google.cloud.compute.v1.StoragePoolDisk; +import com.google.cloud.compute.v1.StoragePoolList; +import com.google.cloud.compute.v1.StoragePoolListDisks; +import com.google.cloud.compute.v1.StoragePoolsScopedList; +import com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest; +import com.google.cloud.compute.v1.TestPermissionsResponse; +import com.google.cloud.compute.v1.UpdateStoragePoolRequest; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import java.io.IOException; +import java.util.Collections; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link StoragePoolsStub}. + * + *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

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

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * StoragePoolsStubSettings.Builder storagePoolsSettingsBuilder =
+ *     StoragePoolsStubSettings.newBuilder();
+ * storagePoolsSettingsBuilder
+ *     .getSettings()
+ *     .setRetrySettings(
+ *         storagePoolsSettingsBuilder
+ *             .getSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * StoragePoolsStubSettings storagePoolsSettings = storagePoolsSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class StoragePoolsStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder() + .add("https://www.googleapis.com/auth/compute") + .add("https://www.googleapis.com/auth/cloud-platform") + .build(); + + private final PagedCallSettings< + AggregatedListStoragePoolsRequest, StoragePoolAggregatedList, AggregatedListPagedResponse> + aggregatedListSettings; + private final UnaryCallSettings deleteSettings; + private final OperationCallSettings + deleteOperationSettings; + private final UnaryCallSettings getSettings; + private final UnaryCallSettings getIamPolicySettings; + private final UnaryCallSettings insertSettings; + private final OperationCallSettings + insertOperationSettings; + private final PagedCallSettings + listSettings; + private final PagedCallSettings< + ListDisksStoragePoolsRequest, StoragePoolListDisks, ListDisksPagedResponse> + listDisksSettings; + private final UnaryCallSettings setIamPolicySettings; + private final UnaryCallSettings + testIamPermissionsSettings; + private final UnaryCallSettings updateSettings; + private final OperationCallSettings + updateOperationSettings; + + private static final PagedListDescriptor< + AggregatedListStoragePoolsRequest, + StoragePoolAggregatedList, + Map.Entry> + AGGREGATED_LIST_PAGE_STR_DESC = + new PagedListDescriptor< + AggregatedListStoragePoolsRequest, + StoragePoolAggregatedList, + Map.Entry>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public AggregatedListStoragePoolsRequest injectToken( + AggregatedListStoragePoolsRequest payload, String token) { + return AggregatedListStoragePoolsRequest.newBuilder(payload) + .setPageToken(token) + .build(); + } + + @Override + public AggregatedListStoragePoolsRequest injectPageSize( + AggregatedListStoragePoolsRequest payload, int pageSize) { + return AggregatedListStoragePoolsRequest.newBuilder(payload) + .setMaxResults(pageSize) + .build(); + } + + @Override + public Integer extractPageSize(AggregatedListStoragePoolsRequest payload) { + return payload.getMaxResults(); + } + + @Override + public String extractNextToken(StoragePoolAggregatedList payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable> extractResources( + StoragePoolAggregatedList payload) { + return payload.getItemsMap() == null + ? Collections.>emptySet() + : payload.getItemsMap().entrySet(); + } + }; + + private static final PagedListDescriptor + LIST_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListStoragePoolsRequest injectToken( + ListStoragePoolsRequest payload, String token) { + return ListStoragePoolsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListStoragePoolsRequest injectPageSize( + ListStoragePoolsRequest payload, int pageSize) { + return ListStoragePoolsRequest.newBuilder(payload).setMaxResults(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListStoragePoolsRequest payload) { + return payload.getMaxResults(); + } + + @Override + public String extractNextToken(StoragePoolList payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(StoragePoolList payload) { + return payload.getItemsList() == null + ? ImmutableList.of() + : payload.getItemsList(); + } + }; + + private static final PagedListDescriptor< + ListDisksStoragePoolsRequest, StoragePoolListDisks, StoragePoolDisk> + LIST_DISKS_PAGE_STR_DESC = + new PagedListDescriptor< + ListDisksStoragePoolsRequest, StoragePoolListDisks, StoragePoolDisk>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListDisksStoragePoolsRequest injectToken( + ListDisksStoragePoolsRequest payload, String token) { + return ListDisksStoragePoolsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListDisksStoragePoolsRequest injectPageSize( + ListDisksStoragePoolsRequest payload, int pageSize) { + return ListDisksStoragePoolsRequest.newBuilder(payload) + .setMaxResults(pageSize) + .build(); + } + + @Override + public Integer extractPageSize(ListDisksStoragePoolsRequest payload) { + return payload.getMaxResults(); + } + + @Override + public String extractNextToken(StoragePoolListDisks payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(StoragePoolListDisks payload) { + return payload.getItemsList() == null + ? ImmutableList.of() + : payload.getItemsList(); + } + }; + + private static final PagedListResponseFactory< + AggregatedListStoragePoolsRequest, StoragePoolAggregatedList, AggregatedListPagedResponse> + AGGREGATED_LIST_PAGE_STR_FACT = + new PagedListResponseFactory< + AggregatedListStoragePoolsRequest, + StoragePoolAggregatedList, + AggregatedListPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable + callable, + AggregatedListStoragePoolsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext< + AggregatedListStoragePoolsRequest, + StoragePoolAggregatedList, + Map.Entry> + pageContext = + PageContext.create(callable, AGGREGATED_LIST_PAGE_STR_DESC, request, context); + return AggregatedListPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListStoragePoolsRequest, StoragePoolList, ListPagedResponse> + LIST_PAGE_STR_FACT = + new PagedListResponseFactory< + ListStoragePoolsRequest, StoragePoolList, ListPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListStoragePoolsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_PAGE_STR_DESC, request, context); + return ListPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListDisksStoragePoolsRequest, StoragePoolListDisks, ListDisksPagedResponse> + LIST_DISKS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListDisksStoragePoolsRequest, StoragePoolListDisks, ListDisksPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListDisksStoragePoolsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext + pageContext = + PageContext.create(callable, LIST_DISKS_PAGE_STR_DESC, request, context); + return ListDisksPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Returns the object with the settings used for calls to aggregatedList. */ + public PagedCallSettings< + AggregatedListStoragePoolsRequest, StoragePoolAggregatedList, AggregatedListPagedResponse> + aggregatedListSettings() { + return aggregatedListSettings; + } + + /** Returns the object with the settings used for calls to delete. */ + public UnaryCallSettings deleteSettings() { + return deleteSettings; + } + + /** Returns the object with the settings used for calls to delete. */ + public OperationCallSettings + deleteOperationSettings() { + return deleteOperationSettings; + } + + /** Returns the object with the settings used for calls to get. */ + public UnaryCallSettings getSettings() { + return getSettings; + } + + /** Returns the object with the settings used for calls to getIamPolicy. */ + public UnaryCallSettings getIamPolicySettings() { + return getIamPolicySettings; + } + + /** Returns the object with the settings used for calls to insert. */ + public UnaryCallSettings insertSettings() { + return insertSettings; + } + + /** Returns the object with the settings used for calls to insert. */ + public OperationCallSettings + insertOperationSettings() { + return insertOperationSettings; + } + + /** Returns the object with the settings used for calls to list. */ + public PagedCallSettings + listSettings() { + return listSettings; + } + + /** Returns the object with the settings used for calls to listDisks. */ + public PagedCallSettings< + ListDisksStoragePoolsRequest, StoragePoolListDisks, ListDisksPagedResponse> + listDisksSettings() { + return listDisksSettings; + } + + /** Returns the object with the settings used for calls to setIamPolicy. */ + public UnaryCallSettings setIamPolicySettings() { + return setIamPolicySettings; + } + + /** Returns the object with the settings used for calls to testIamPermissions. */ + public UnaryCallSettings + testIamPermissionsSettings() { + return testIamPermissionsSettings; + } + + /** Returns the object with the settings used for calls to update. */ + public UnaryCallSettings updateSettings() { + return updateSettings; + } + + /** Returns the object with the settings used for calls to update. */ + public OperationCallSettings + updateOperationSettings() { + return updateOperationSettings; + } + + public StoragePoolsStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonStoragePoolsStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns the default service name. */ + @Override + public String getServiceName() { + return "compute"; + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "compute.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "compute.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultHttpJsonTransportProviderBuilder().build(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(StoragePoolsStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected StoragePoolsStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + aggregatedListSettings = settingsBuilder.aggregatedListSettings().build(); + deleteSettings = settingsBuilder.deleteSettings().build(); + deleteOperationSettings = settingsBuilder.deleteOperationSettings().build(); + getSettings = settingsBuilder.getSettings().build(); + getIamPolicySettings = settingsBuilder.getIamPolicySettings().build(); + insertSettings = settingsBuilder.insertSettings().build(); + insertOperationSettings = settingsBuilder.insertOperationSettings().build(); + listSettings = settingsBuilder.listSettings().build(); + listDisksSettings = settingsBuilder.listDisksSettings().build(); + setIamPolicySettings = settingsBuilder.setIamPolicySettings().build(); + testIamPermissionsSettings = settingsBuilder.testIamPermissionsSettings().build(); + updateSettings = settingsBuilder.updateSettings().build(); + updateOperationSettings = settingsBuilder.updateOperationSettings().build(); + } + + /** Builder for StoragePoolsStubSettings. */ + public static class Builder extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final PagedCallSettings.Builder< + AggregatedListStoragePoolsRequest, + StoragePoolAggregatedList, + AggregatedListPagedResponse> + aggregatedListSettings; + private final UnaryCallSettings.Builder deleteSettings; + private final OperationCallSettings.Builder + deleteOperationSettings; + private final UnaryCallSettings.Builder getSettings; + private final UnaryCallSettings.Builder + getIamPolicySettings; + private final UnaryCallSettings.Builder insertSettings; + private final OperationCallSettings.Builder + insertOperationSettings; + private final PagedCallSettings.Builder< + ListStoragePoolsRequest, StoragePoolList, ListPagedResponse> + listSettings; + private final PagedCallSettings.Builder< + ListDisksStoragePoolsRequest, StoragePoolListDisks, ListDisksPagedResponse> + listDisksSettings; + private final UnaryCallSettings.Builder + setIamPolicySettings; + private final UnaryCallSettings.Builder< + TestIamPermissionsStoragePoolRequest, TestPermissionsResponse> + testIamPermissionsSettings; + private final UnaryCallSettings.Builder updateSettings; + private final OperationCallSettings.Builder + updateOperationSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "retry_policy_0_codes", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE))); + definitions.put( + "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(100L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ofMillis(600000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(600000L)) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build(); + definitions.put("retry_policy_0_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(600000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(600000L)) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build(); + definitions.put("no_retry_1_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + aggregatedListSettings = PagedCallSettings.newBuilder(AGGREGATED_LIST_PAGE_STR_FACT); + deleteSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteOperationSettings = OperationCallSettings.newBuilder(); + getSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + insertSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + insertOperationSettings = OperationCallSettings.newBuilder(); + listSettings = PagedCallSettings.newBuilder(LIST_PAGE_STR_FACT); + listDisksSettings = PagedCallSettings.newBuilder(LIST_DISKS_PAGE_STR_FACT); + setIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + testIamPermissionsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateOperationSettings = OperationCallSettings.newBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + aggregatedListSettings, + deleteSettings, + getSettings, + getIamPolicySettings, + insertSettings, + listSettings, + listDisksSettings, + setIamPolicySettings, + testIamPermissionsSettings, + updateSettings); + initDefaults(this); + } + + protected Builder(StoragePoolsStubSettings settings) { + super(settings); + + aggregatedListSettings = settings.aggregatedListSettings.toBuilder(); + deleteSettings = settings.deleteSettings.toBuilder(); + deleteOperationSettings = settings.deleteOperationSettings.toBuilder(); + getSettings = settings.getSettings.toBuilder(); + getIamPolicySettings = settings.getIamPolicySettings.toBuilder(); + insertSettings = settings.insertSettings.toBuilder(); + insertOperationSettings = settings.insertOperationSettings.toBuilder(); + listSettings = settings.listSettings.toBuilder(); + listDisksSettings = settings.listDisksSettings.toBuilder(); + setIamPolicySettings = settings.setIamPolicySettings.toBuilder(); + testIamPermissionsSettings = settings.testIamPermissionsSettings.toBuilder(); + updateSettings = settings.updateSettings.toBuilder(); + updateOperationSettings = settings.updateOperationSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + aggregatedListSettings, + deleteSettings, + getSettings, + getIamPolicySettings, + insertSettings, + listSettings, + listDisksSettings, + setIamPolicySettings, + testIamPermissionsSettings, + updateSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .aggregatedListSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .deleteSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .getSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .getIamPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .insertSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .listSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .listDisksSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .setIamPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .testIamPermissionsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .updateSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .deleteOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Operation.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(Operation.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(20000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + builder + .insertOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Operation.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(Operation.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(20000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + builder + .updateOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Operation.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(Operation.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(20000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to aggregatedList. */ + public PagedCallSettings.Builder< + AggregatedListStoragePoolsRequest, + StoragePoolAggregatedList, + AggregatedListPagedResponse> + aggregatedListSettings() { + return aggregatedListSettings; + } + + /** Returns the builder for the settings used for calls to delete. */ + public UnaryCallSettings.Builder deleteSettings() { + return deleteSettings; + } + + /** Returns the builder for the settings used for calls to delete. */ + public OperationCallSettings.Builder + deleteOperationSettings() { + return deleteOperationSettings; + } + + /** Returns the builder for the settings used for calls to get. */ + public UnaryCallSettings.Builder getSettings() { + return getSettings; + } + + /** Returns the builder for the settings used for calls to getIamPolicy. */ + public UnaryCallSettings.Builder + getIamPolicySettings() { + return getIamPolicySettings; + } + + /** Returns the builder for the settings used for calls to insert. */ + public UnaryCallSettings.Builder insertSettings() { + return insertSettings; + } + + /** Returns the builder for the settings used for calls to insert. */ + public OperationCallSettings.Builder + insertOperationSettings() { + return insertOperationSettings; + } + + /** Returns the builder for the settings used for calls to list. */ + public PagedCallSettings.Builder + listSettings() { + return listSettings; + } + + /** Returns the builder for the settings used for calls to listDisks. */ + public PagedCallSettings.Builder< + ListDisksStoragePoolsRequest, StoragePoolListDisks, ListDisksPagedResponse> + listDisksSettings() { + return listDisksSettings; + } + + /** Returns the builder for the settings used for calls to setIamPolicy. */ + public UnaryCallSettings.Builder + setIamPolicySettings() { + return setIamPolicySettings; + } + + /** Returns the builder for the settings used for calls to testIamPermissions. */ + public UnaryCallSettings.Builder + testIamPermissionsSettings() { + return testIamPermissionsSettings; + } + + /** Returns the builder for the settings used for calls to update. */ + public UnaryCallSettings.Builder updateSettings() { + return updateSettings; + } + + /** Returns the builder for the settings used for calls to update. */ + public OperationCallSettings.Builder + updateOperationSettings() { + return updateOperationSettings; + } + + @Override + public StoragePoolsStubSettings build() throws IOException { + return new StoragePoolsStubSettings(this); + } + } +} diff --git a/java-compute/google-cloud-compute/src/main/resources/META-INF/native-image/com.google.cloud.compute.v1/reflect-config.json b/java-compute/google-cloud-compute/src/main/resources/META-INF/native-image/com.google.cloud.compute.v1/reflect-config.json index 657b5c555447..b4213bc51f9b 100644 --- a/java-compute/google-cloud-compute/src/main/resources/META-INF/native-image/com.google.cloud.compute.v1/reflect-config.json +++ b/java-compute/google-cloud-compute/src/main/resources/META-INF/native-image/com.google.cloud.compute.v1/reflect-config.json @@ -1646,6 +1646,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.AggregatedListSubnetworksRequest", "queryAllDeclaredConstructors": true, @@ -3473,6 +3509,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.CircuitBreakers", "queryAllDeclaredConstructors": true, @@ -4292,6 +4346,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.DeleteInstanceGroupRequest", "queryAllDeclaredConstructors": true, @@ -5264,6 +5336,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.DeleteStoragePoolRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.DeleteStoragePoolRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.DeleteSubnetworkRequest", "queryAllDeclaredConstructors": true, @@ -7811,6 +7901,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.GetIamPolicySubnetworkRequest", "queryAllDeclaredConstructors": true, @@ -7883,6 +7991,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.GetInstanceGroupRequest", "queryAllDeclaredConstructors": true, @@ -7919,6 +8045,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.GetInstanceSettingRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.GetInstanceSettingRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.GetInstanceTemplateRequest", "queryAllDeclaredConstructors": true, @@ -9143,6 +9287,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.GetStoragePoolRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.GetStoragePoolRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.GetStoragePoolTypeRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.GetStoragePoolTypeRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.GetSubnetworkRequest", "queryAllDeclaredConstructors": true, @@ -10637,6 +10817,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.InsertInstanceGroupRequest", "queryAllDeclaredConstructors": true, @@ -11465,6 +11663,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.InsertStoragePoolRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.InsertStoragePoolRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.InsertSubnetworkRequest", "queryAllDeclaredConstructors": true, @@ -11988,7 +12204,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatus", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -11997,7 +12213,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatus$Builder", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12006,7 +12222,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatusAllInstancesConfig", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest$State", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12015,7 +12231,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatusAllInstancesConfig$Builder", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12024,7 +12240,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatusStateful", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12033,7 +12249,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatusStateful$Builder", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12042,7 +12258,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12051,7 +12267,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs$Builder", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12060,7 +12276,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatusVersionTarget", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12069,7 +12285,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatusVersionTarget$Builder", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatus", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12078,7 +12294,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatus$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12087,7 +12303,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy$Builder", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatusAllInstancesConfig", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12096,7 +12312,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy$InstanceRedistributionType", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatusAllInstancesConfig$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12105,7 +12321,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy$MinimalAction", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatusStateful", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12114,7 +12330,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy$MostDisruptiveAllowedAction", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatusStateful$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12123,7 +12339,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy$ReplacementMethod", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12132,7 +12348,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy$Type", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12141,7 +12357,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerVersion", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatusVersionTarget", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12150,7 +12366,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagerVersion$Builder", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerStatusVersionTarget$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12159,7 +12375,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagersAbandonInstancesRequest", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12168,7 +12384,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagersAbandonInstancesRequest$Builder", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12177,7 +12393,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy$InstanceRedistributionType", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12186,7 +12402,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest$Builder", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy$MinimalAction", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12195,7 +12411,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest$MinimalAction", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy$MostDisruptiveAllowedAction", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12204,7 +12420,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest$MostDisruptiveAllowedAction", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy$ReplacementMethod", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12213,7 +12429,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagersCreateInstancesRequest", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy$Type", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12222,7 +12438,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagersCreateInstancesRequest$Builder", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerVersion", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12231,7 +12447,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagersDeleteInstancesRequest", + "name": "com.google.cloud.compute.v1.InstanceGroupManagerVersion$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12240,7 +12456,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagersDeleteInstancesRequest$Builder", + "name": "com.google.cloud.compute.v1.InstanceGroupManagersAbandonInstancesRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12249,7 +12465,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagersDeletePerInstanceConfigsReq", + "name": "com.google.cloud.compute.v1.InstanceGroupManagersAbandonInstancesRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12258,7 +12474,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagersDeletePerInstanceConfigsReq$Builder", + "name": "com.google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12267,7 +12483,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagersListErrorsResponse", + "name": "com.google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12276,7 +12492,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagersListErrorsResponse$Builder", + "name": "com.google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest$MinimalAction", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12285,7 +12501,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagersListManagedInstancesResponse", + "name": "com.google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest$MostDisruptiveAllowedAction", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12294,7 +12510,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagersListManagedInstancesResponse$Builder", + "name": "com.google.cloud.compute.v1.InstanceGroupManagersCreateInstancesRequest", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12303,7 +12519,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagersListPerInstanceConfigsResp", + "name": "com.google.cloud.compute.v1.InstanceGroupManagersCreateInstancesRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12312,7 +12528,88 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.InstanceGroupManagersListPerInstanceConfigsResp$Builder", + "name": "com.google.cloud.compute.v1.InstanceGroupManagersDeleteInstancesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.InstanceGroupManagersDeleteInstancesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.InstanceGroupManagersDeletePerInstanceConfigsReq", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.InstanceGroupManagersDeletePerInstanceConfigsReq$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.InstanceGroupManagersListErrorsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.InstanceGroupManagersListErrorsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.InstanceGroupManagersListManagedInstancesResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.InstanceGroupManagersListManagedInstancesResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.InstanceGroupManagersListPerInstanceConfigsResp", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.InstanceGroupManagersListPerInstanceConfigsResp$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -12752,6 +13049,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.InstanceSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.InstanceSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.InstanceSettingsMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.InstanceSettingsMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.InstanceTemplate", "queryAllDeclaredConstructors": true, @@ -14435,6 +14768,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.ListDisksStoragePoolsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.ListDisksStoragePoolsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.ListErrorsInstanceGroupManagersRequest", "queryAllDeclaredConstructors": true, @@ -14687,6 +15038,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.ListInstanceGroupManagersRequest", "queryAllDeclaredConstructors": true, @@ -15920,6 +16289,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.ListStoragePoolTypesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.ListStoragePoolTypesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.ListStoragePoolsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.ListStoragePoolsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.ListSubnetworksRequest", "queryAllDeclaredConstructors": true, @@ -17657,6 +18062,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.NodeGroup$MaintenanceInterval", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.NodeGroup$MaintenancePolicy", "queryAllDeclaredConstructors": true, @@ -17846,6 +18260,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.NodeGroupsScopedList", "queryAllDeclaredConstructors": true, @@ -18665,6 +19097,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.PatchInstanceSettingRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.PatchInstanceSettingRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.PatchInterconnectAttachmentRequest", "queryAllDeclaredConstructors": true, @@ -19430,6 +19880,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.Policy", "queryAllDeclaredConstructors": true, @@ -19871,6 +20339,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.PublicDelegatedPrefix$Mode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.PublicDelegatedPrefix$Status", "queryAllDeclaredConstructors": true, @@ -19934,6 +20411,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix$Mode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix$Status", "queryAllDeclaredConstructors": true, @@ -20016,7 +20502,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.RawDisk", + "name": "com.google.cloud.compute.v1.QuotaStatusWarning", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -20025,7 +20511,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.RawDisk$Builder", + "name": "com.google.cloud.compute.v1.QuotaStatusWarning$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -20034,7 +20520,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.RawDisk$ContainerType", + "name": "com.google.cloud.compute.v1.QuotaStatusWarning$Code", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -20043,7 +20529,7 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.RecreateInstancesInstanceGroupManagerRequest", + "name": "com.google.cloud.compute.v1.RawDisk", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -20052,7 +20538,34 @@ "allPublicClasses": true }, { - "name": "com.google.cloud.compute.v1.RecreateInstancesInstanceGroupManagerRequest$Builder", + "name": "com.google.cloud.compute.v1.RawDisk$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.RawDisk$ContainerType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.RecreateInstancesInstanceGroupManagerRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.RecreateInstancesInstanceGroupManagerRequest$Builder", "queryAllDeclaredConstructors": true, "queryAllPublicConstructors": true, "queryAllDeclaredMethods": true, @@ -22022,6 +22535,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.RouterInterface$IpVersion", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.RouterInterface$ManagementType", "queryAllDeclaredConstructors": true, @@ -24209,6 +24731,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.SetIamPolicySubnetworkRequest", "queryAllDeclaredConstructors": true, @@ -26108,6 +26648,240 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.StoragePool", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePool$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePool$CapacityProvisioningType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePool$PerformanceProvisioningType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePool$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolAggregatedList", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolAggregatedList$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolDisk", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolDisk$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolDisk$Status", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolList", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolList$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolListDisks", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolListDisks$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolResourceStatus", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolResourceStatus$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolType$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolTypeAggregatedList", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolTypeAggregatedList$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolTypeList", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolTypeList$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolTypesScopedList", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolTypesScopedList$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolsScopedList", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.StoragePoolsScopedList$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.Subnetwork", "queryAllDeclaredConstructors": true, @@ -27782,6 +28556,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.TestIamPermissionsSubnetworkRequest", "queryAllDeclaredConstructors": true, @@ -28322,6 +29114,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.compute.v1.UpdateStoragePoolRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.compute.v1.UpdateStoragePoolRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.compute.v1.UpdateUrlMapRequest", "queryAllDeclaredConstructors": true, diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/DisksClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/DisksClientTest.java index 176901941ac7..051b3288c62d 100644 --- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/DisksClientTest.java +++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/DisksClientTest.java @@ -493,6 +493,7 @@ public void getTest() throws Exception { .setSourceSnapshotId("sourceSnapshotId-1480876934") .setSourceStorageObject("sourceStorageObject1498862911") .setStatus("status-892481550") + .setStoragePool("storagePool-525690569") .setType("type3575610") .addAllUsers(new ArrayList()) .setZone("zone3744684") diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ForwardingRulesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ForwardingRulesClientTest.java index 6a88f6b6ac2f..e85c2e812d3e 100644 --- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ForwardingRulesClientTest.java +++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/ForwardingRulesClientTest.java @@ -223,6 +223,7 @@ public void getTest() throws Exception { .setDescription("description-1724546052") .setFingerprint("fingerprint-1375934236") .setId(3355) + .setIpCollection("ipCollection1525846821") .setIpVersion("ipVersion-1161634383") .setIsMirroringCollector(true) .setKind("kind3292052") diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalForwardingRulesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalForwardingRulesClientTest.java index 4f7e423dfe4c..63736d51dbed 100644 --- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalForwardingRulesClientTest.java +++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalForwardingRulesClientTest.java @@ -166,6 +166,7 @@ public void getTest() throws Exception { .setDescription("description-1724546052") .setFingerprint("fingerprint-1375934236") .setId(3355) + .setIpCollection("ipCollection1525846821") .setIpVersion("ipVersion-1161634383") .setIsMirroringCollector(true) .setKind("kind3292052") diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalPublicDelegatedPrefixesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalPublicDelegatedPrefixesClientTest.java index 769ac327a956..e7faf8b8878a 100644 --- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalPublicDelegatedPrefixesClientTest.java +++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalPublicDelegatedPrefixesClientTest.java @@ -154,6 +154,7 @@ public void deleteExceptionTest() throws Exception { public void getTest() throws Exception { PublicDelegatedPrefix expectedResponse = PublicDelegatedPrefix.newBuilder() + .setAllocatablePrefixLength(1649040182) .setByoipApiVersion("byoipApiVersion-693290787") .setCreationTimestamp("creationTimestamp-370203401") .setDescription("description-1724546052") @@ -162,6 +163,7 @@ public void getTest() throws Exception { .setIpCidrRange("ipCidrRange-866375486") .setIsLiveMigration(true) .setKind("kind3292052") + .setMode("mode3357091") .setName("name3373707") .setParentPrefix("parentPrefix975306716") .addAllPublicDelegatedSubPrefixs( diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsClientTest.java new file mode 100644 index 000000000000..5edfa3edf66f --- /dev/null +++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsClientTest.java @@ -0,0 +1,437 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1; + +import static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient.ListPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.compute.v1.Operation.Status; +import com.google.cloud.compute.v1.stub.HttpJsonInstanceGroupManagerResizeRequestsStub; +import com.google.common.collect.Lists; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class InstanceGroupManagerResizeRequestsClientTest { + private static MockHttpService mockService; + private static InstanceGroupManagerResizeRequestsClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonInstanceGroupManagerResizeRequestsStub.getMethodDescriptors(), + InstanceGroupManagerResizeRequestsSettings.getDefaultEndpoint()); + InstanceGroupManagerResizeRequestsSettings settings = + InstanceGroupManagerResizeRequestsSettings.newBuilder() + .setTransportChannelProvider( + InstanceGroupManagerResizeRequestsSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = InstanceGroupManagerResizeRequestsClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void cancelTest() throws Exception { + Operation expectedResponse = + Operation.newBuilder() + .setClientOperationId("clientOperationId-1230366697") + .setCreationTimestamp("creationTimestamp-370203401") + .setDescription("description-1724546052") + .setEndTime("endTime-1607243192") + .setError(Error.newBuilder().build()) + .setHttpErrorMessage("httpErrorMessage1577303431") + .setHttpErrorStatusCode(0) + .setId(3355) + .setInsertTime("insertTime966165798") + .setInstancesBulkInsertOperationMetadata( + InstancesBulkInsertOperationMetadata.newBuilder().build()) + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .setSetCommonInstanceMetadataOperationMetadata( + SetCommonInstanceMetadataOperationMetadata.newBuilder().build()) + .setStartTime("startTime-2129294769") + .setStatus(Status.DONE) + .setStatusMessage("statusMessage-958704715") + .setTargetId(-815576439) + .setTargetLink("targetLink486368555") + .setUser("user3599307") + .addAllWarnings(new ArrayList()) + .setZone("zone3744684") + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + String instanceGroupManager = "instanceGroupManager-7543"; + String resizeRequest = "resizeRequest-6959"; + + Operation actualResponse = + client.cancelAsync(project, zone, instanceGroupManager, resizeRequest).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void cancelExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + String instanceGroupManager = "instanceGroupManager-7543"; + String resizeRequest = "resizeRequest-6959"; + client.cancelAsync(project, zone, instanceGroupManager, resizeRequest).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deleteTest() throws Exception { + Operation expectedResponse = + Operation.newBuilder() + .setClientOperationId("clientOperationId-1230366697") + .setCreationTimestamp("creationTimestamp-370203401") + .setDescription("description-1724546052") + .setEndTime("endTime-1607243192") + .setError(Error.newBuilder().build()) + .setHttpErrorMessage("httpErrorMessage1577303431") + .setHttpErrorStatusCode(0) + .setId(3355) + .setInsertTime("insertTime966165798") + .setInstancesBulkInsertOperationMetadata( + InstancesBulkInsertOperationMetadata.newBuilder().build()) + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .setSetCommonInstanceMetadataOperationMetadata( + SetCommonInstanceMetadataOperationMetadata.newBuilder().build()) + .setStartTime("startTime-2129294769") + .setStatus(Status.DONE) + .setStatusMessage("statusMessage-958704715") + .setTargetId(-815576439) + .setTargetLink("targetLink486368555") + .setUser("user3599307") + .addAllWarnings(new ArrayList()) + .setZone("zone3744684") + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + String instanceGroupManager = "instanceGroupManager-7543"; + String resizeRequest = "resizeRequest-6959"; + + Operation actualResponse = + client.deleteAsync(project, zone, instanceGroupManager, resizeRequest).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + String instanceGroupManager = "instanceGroupManager-7543"; + String resizeRequest = "resizeRequest-6959"; + client.deleteAsync(project, zone, instanceGroupManager, resizeRequest).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getTest() throws Exception { + InstanceGroupManagerResizeRequest expectedResponse = + InstanceGroupManagerResizeRequest.newBuilder() + .setCreationTimestamp("creationTimestamp-370203401") + .setDescription("description-1724546052") + .setId(3355) + .setKind("kind3292052") + .setName("name3373707") + .setRequestedRunDuration(Duration.newBuilder().build()) + .setResizeBy(2144348098) + .setSelfLink("selfLink1191800166") + .setSelfLinkWithId("selfLinkWithId-776809081") + .setState("state109757585") + .setStatus(InstanceGroupManagerResizeRequestStatus.newBuilder().build()) + .setZone("zone3744684") + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + String instanceGroupManager = "instanceGroupManager-7543"; + String resizeRequest = "resizeRequest-6959"; + + InstanceGroupManagerResizeRequest actualResponse = + client.get(project, zone, instanceGroupManager, resizeRequest); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + String instanceGroupManager = "instanceGroupManager-7543"; + String resizeRequest = "resizeRequest-6959"; + client.get(project, zone, instanceGroupManager, resizeRequest); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void insertTest() throws Exception { + Operation expectedResponse = + Operation.newBuilder() + .setClientOperationId("clientOperationId-1230366697") + .setCreationTimestamp("creationTimestamp-370203401") + .setDescription("description-1724546052") + .setEndTime("endTime-1607243192") + .setError(Error.newBuilder().build()) + .setHttpErrorMessage("httpErrorMessage1577303431") + .setHttpErrorStatusCode(0) + .setId(3355) + .setInsertTime("insertTime966165798") + .setInstancesBulkInsertOperationMetadata( + InstancesBulkInsertOperationMetadata.newBuilder().build()) + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .setSetCommonInstanceMetadataOperationMetadata( + SetCommonInstanceMetadataOperationMetadata.newBuilder().build()) + .setStartTime("startTime-2129294769") + .setStatus(Status.DONE) + .setStatusMessage("statusMessage-958704715") + .setTargetId(-815576439) + .setTargetLink("targetLink486368555") + .setUser("user3599307") + .addAllWarnings(new ArrayList()) + .setZone("zone3744684") + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + String instanceGroupManager = "instanceGroupManager-7543"; + InstanceGroupManagerResizeRequest instanceGroupManagerResizeRequestResource = + InstanceGroupManagerResizeRequest.newBuilder().build(); + + Operation actualResponse = + client + .insertAsync( + project, zone, instanceGroupManager, instanceGroupManagerResizeRequestResource) + .get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void insertExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + String instanceGroupManager = "instanceGroupManager-7543"; + InstanceGroupManagerResizeRequest instanceGroupManagerResizeRequestResource = + InstanceGroupManagerResizeRequest.newBuilder().build(); + client + .insertAsync( + project, zone, instanceGroupManager, instanceGroupManagerResizeRequestResource) + .get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void listTest() throws Exception { + InstanceGroupManagerResizeRequest responsesElement = + InstanceGroupManagerResizeRequest.newBuilder().build(); + InstanceGroupManagerResizeRequestsListResponse expectedResponse = + InstanceGroupManagerResizeRequestsListResponse.newBuilder() + .setNextPageToken("") + .addAllItems(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + String instanceGroupManager = "instanceGroupManager-7543"; + + ListPagedResponse pagedListResponse = client.list(project, zone, instanceGroupManager); + + List resources = + Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getItemsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + String instanceGroupManager = "instanceGroupManager-7543"; + client.list(project, zone, instanceGroupManager); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceSettingsServiceClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceSettingsServiceClientTest.java new file mode 100644 index 000000000000..bd4bcddbf5c1 --- /dev/null +++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceSettingsServiceClientTest.java @@ -0,0 +1,199 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.compute.v1.Operation.Status; +import com.google.cloud.compute.v1.stub.HttpJsonInstanceSettingsServiceStub; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class InstanceSettingsServiceClientTest { + private static MockHttpService mockService; + private static InstanceSettingsServiceClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonInstanceSettingsServiceStub.getMethodDescriptors(), + InstanceSettingsServiceSettings.getDefaultEndpoint()); + InstanceSettingsServiceSettings settings = + InstanceSettingsServiceSettings.newBuilder() + .setTransportChannelProvider( + InstanceSettingsServiceSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = InstanceSettingsServiceClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void getTest() throws Exception { + InstanceSettings expectedResponse = + InstanceSettings.newBuilder() + .setFingerprint("fingerprint-1375934236") + .setKind("kind3292052") + .setMetadata(InstanceSettingsMetadata.newBuilder().build()) + .setZone("zone3744684") + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + + InstanceSettings actualResponse = client.get(project, zone); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + client.get(project, zone); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void patchTest() throws Exception { + Operation expectedResponse = + Operation.newBuilder() + .setClientOperationId("clientOperationId-1230366697") + .setCreationTimestamp("creationTimestamp-370203401") + .setDescription("description-1724546052") + .setEndTime("endTime-1607243192") + .setError(Error.newBuilder().build()) + .setHttpErrorMessage("httpErrorMessage1577303431") + .setHttpErrorStatusCode(0) + .setId(3355) + .setInsertTime("insertTime966165798") + .setInstancesBulkInsertOperationMetadata( + InstancesBulkInsertOperationMetadata.newBuilder().build()) + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .setSetCommonInstanceMetadataOperationMetadata( + SetCommonInstanceMetadataOperationMetadata.newBuilder().build()) + .setStartTime("startTime-2129294769") + .setStatus(Status.DONE) + .setStatusMessage("statusMessage-958704715") + .setTargetId(-815576439) + .setTargetLink("targetLink486368555") + .setUser("user3599307") + .addAllWarnings(new ArrayList()) + .setZone("zone3744684") + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + InstanceSettings instanceSettingsResource = InstanceSettings.newBuilder().build(); + + Operation actualResponse = client.patchAsync(project, zone, instanceSettingsResource).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void patchExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + InstanceSettings instanceSettingsResource = InstanceSettings.newBuilder().build(); + client.patchAsync(project, zone, instanceSettingsResource).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } +} diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeGroupsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeGroupsClientTest.java index 20789824f080..b5fbb9b7dd0e 100644 --- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeGroupsClientTest.java +++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NodeGroupsClientTest.java @@ -378,6 +378,7 @@ public void getTest() throws Exception { .setId(3355) .setKind("kind3292052") .setLocationHint("locationHint-58650660") + .setMaintenanceInterval("maintenanceInterval1631222008") .setMaintenancePolicy("maintenancePolicy-1365923291") .setMaintenanceWindow(NodeGroupMaintenanceWindow.newBuilder().build()) .setName("name3373707") @@ -742,6 +743,91 @@ public void patchExceptionTest() throws Exception { } } + @Test + public void performMaintenanceTest() throws Exception { + Operation expectedResponse = + Operation.newBuilder() + .setClientOperationId("clientOperationId-1230366697") + .setCreationTimestamp("creationTimestamp-370203401") + .setDescription("description-1724546052") + .setEndTime("endTime-1607243192") + .setError(Error.newBuilder().build()) + .setHttpErrorMessage("httpErrorMessage1577303431") + .setHttpErrorStatusCode(0) + .setId(3355) + .setInsertTime("insertTime966165798") + .setInstancesBulkInsertOperationMetadata( + InstancesBulkInsertOperationMetadata.newBuilder().build()) + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .setSetCommonInstanceMetadataOperationMetadata( + SetCommonInstanceMetadataOperationMetadata.newBuilder().build()) + .setStartTime("startTime-2129294769") + .setStatus(Status.DONE) + .setStatusMessage("statusMessage-958704715") + .setTargetId(-815576439) + .setTargetLink("targetLink486368555") + .setUser("user3599307") + .addAllWarnings(new ArrayList()) + .setZone("zone3744684") + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + String nodeGroup = "nodeGroup-5245"; + NodeGroupsPerformMaintenanceRequest nodeGroupsPerformMaintenanceRequestResource = + NodeGroupsPerformMaintenanceRequest.newBuilder().build(); + + Operation actualResponse = + client + .performMaintenanceAsync( + project, zone, nodeGroup, nodeGroupsPerformMaintenanceRequestResource) + .get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void performMaintenanceExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + String nodeGroup = "nodeGroup-5245"; + NodeGroupsPerformMaintenanceRequest nodeGroupsPerformMaintenanceRequestResource = + NodeGroupsPerformMaintenanceRequest.newBuilder().build(); + client + .performMaintenanceAsync( + project, zone, nodeGroup, nodeGroupsPerformMaintenanceRequestResource) + .get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + @Test public void setIamPolicyTest() throws Exception { Policy expectedResponse = diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PublicDelegatedPrefixesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PublicDelegatedPrefixesClientTest.java index 5ac3ae0d7233..92113c84bc3f 100644 --- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PublicDelegatedPrefixesClientTest.java +++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/PublicDelegatedPrefixesClientTest.java @@ -286,6 +286,7 @@ public void deleteExceptionTest() throws Exception { public void getTest() throws Exception { PublicDelegatedPrefix expectedResponse = PublicDelegatedPrefix.newBuilder() + .setAllocatablePrefixLength(1649040182) .setByoipApiVersion("byoipApiVersion-693290787") .setCreationTimestamp("creationTimestamp-370203401") .setDescription("description-1724546052") @@ -294,6 +295,7 @@ public void getTest() throws Exception { .setIpCidrRange("ipCidrRange-866375486") .setIsLiveMigration(true) .setKind("kind3292052") + .setMode("mode3357091") .setName("name3373707") .setParentPrefix("parentPrefix975306716") .addAllPublicDelegatedSubPrefixs( diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionDisksClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionDisksClientTest.java index e1e1799f9835..200ffb1a1481 100644 --- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionDisksClientTest.java +++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionDisksClientTest.java @@ -441,6 +441,7 @@ public void getTest() throws Exception { .setSourceSnapshotId("sourceSnapshotId-1480876934") .setSourceStorageObject("sourceStorageObject1498862911") .setStatus("status-892481550") + .setStoragePool("storagePool-525690569") .setType("type3575610") .addAllUsers(new ArrayList()) .setZone("zone3744684") diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionsClientTest.java index e48df326fac8..8fc8c98d46de 100644 --- a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionsClientTest.java +++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionsClientTest.java @@ -85,6 +85,7 @@ public void getTest() throws Exception { .setId(3355) .setKind("kind3292052") .setName("name3373707") + .setQuotaStatusWarning(QuotaStatusWarning.newBuilder().build()) .addAllQuotas(new ArrayList()) .setSelfLink("selfLink1191800166") .setStatus("status-892481550") diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/StoragePoolTypesClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/StoragePoolTypesClientTest.java new file mode 100644 index 000000000000..dcc2a568efe0 --- /dev/null +++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/StoragePoolTypesClientTest.java @@ -0,0 +1,249 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1; + +import static com.google.cloud.compute.v1.StoragePoolTypesClient.AggregatedListPagedResponse; +import static com.google.cloud.compute.v1.StoragePoolTypesClient.ListPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.compute.v1.stub.HttpJsonStoragePoolTypesStub; +import com.google.common.collect.Lists; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class StoragePoolTypesClientTest { + private static MockHttpService mockService; + private static StoragePoolTypesClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonStoragePoolTypesStub.getMethodDescriptors(), + StoragePoolTypesSettings.getDefaultEndpoint()); + StoragePoolTypesSettings settings = + StoragePoolTypesSettings.newBuilder() + .setTransportChannelProvider( + StoragePoolTypesSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = StoragePoolTypesClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void aggregatedListTest() throws Exception { + StoragePoolTypesScopedList responsesElement = StoragePoolTypesScopedList.newBuilder().build(); + StoragePoolTypeAggregatedList expectedResponse = + StoragePoolTypeAggregatedList.newBuilder() + .setNextPageToken("") + .putAllItems(Collections.singletonMap("items", responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + + AggregatedListPagedResponse pagedListResponse = client.aggregatedList(project); + + List> resources = + Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals( + expectedResponse.getItemsMap().entrySet().iterator().next(), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void aggregatedListExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + client.aggregatedList(project); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getTest() throws Exception { + StoragePoolType expectedResponse = + StoragePoolType.newBuilder() + .setCreationTimestamp("creationTimestamp-370203401") + .setDeprecated(DeprecationStatus.newBuilder().build()) + .setDescription("description-1724546052") + .setId(3355) + .setKind("kind3292052") + .setMaxPoolProvisionedCapacityGb(1255880909) + .setMaxPoolProvisionedIops(-1095342084) + .setMaxPoolProvisionedThroughput(1302669885) + .setMinPoolProvisionedCapacityGb(-345848161) + .setMinPoolProvisionedIops(-1194139030) + .setMinPoolProvisionedThroughput(-1242850773) + .setMinSizeGb(1459020012) + .setName("name3373707") + .setSelfLink("selfLink1191800166") + .setSelfLinkWithId("selfLinkWithId-776809081") + .addAllSupportedDiskTypes(new ArrayList()) + .setZone("zone3744684") + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + String storagePoolType = "storagePoolType-6585"; + + StoragePoolType actualResponse = client.get(project, zone, storagePoolType); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + String storagePoolType = "storagePoolType-6585"; + client.get(project, zone, storagePoolType); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listTest() throws Exception { + StoragePoolType responsesElement = StoragePoolType.newBuilder().build(); + StoragePoolTypeList expectedResponse = + StoragePoolTypeList.newBuilder() + .setNextPageToken("") + .addAllItems(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + + ListPagedResponse pagedListResponse = client.list(project, zone); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getItemsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + client.list(project, zone); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/StoragePoolsClientTest.java b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/StoragePoolsClientTest.java new file mode 100644 index 000000000000..8b71e3fc44e3 --- /dev/null +++ b/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/StoragePoolsClientTest.java @@ -0,0 +1,694 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1; + +import static com.google.cloud.compute.v1.StoragePoolsClient.AggregatedListPagedResponse; +import static com.google.cloud.compute.v1.StoragePoolsClient.ListDisksPagedResponse; +import static com.google.cloud.compute.v1.StoragePoolsClient.ListPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.compute.v1.Operation.Status; +import com.google.cloud.compute.v1.stub.HttpJsonStoragePoolsStub; +import com.google.common.collect.Lists; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class StoragePoolsClientTest { + private static MockHttpService mockService; + private static StoragePoolsClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonStoragePoolsStub.getMethodDescriptors(), + StoragePoolsSettings.getDefaultEndpoint()); + StoragePoolsSettings settings = + StoragePoolsSettings.newBuilder() + .setTransportChannelProvider( + StoragePoolsSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = StoragePoolsClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void aggregatedListTest() throws Exception { + StoragePoolsScopedList responsesElement = StoragePoolsScopedList.newBuilder().build(); + StoragePoolAggregatedList expectedResponse = + StoragePoolAggregatedList.newBuilder() + .setNextPageToken("") + .putAllItems(Collections.singletonMap("items", responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + + AggregatedListPagedResponse pagedListResponse = client.aggregatedList(project); + + List> resources = + Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals( + expectedResponse.getItemsMap().entrySet().iterator().next(), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void aggregatedListExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + client.aggregatedList(project); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteTest() throws Exception { + Operation expectedResponse = + Operation.newBuilder() + .setClientOperationId("clientOperationId-1230366697") + .setCreationTimestamp("creationTimestamp-370203401") + .setDescription("description-1724546052") + .setEndTime("endTime-1607243192") + .setError(Error.newBuilder().build()) + .setHttpErrorMessage("httpErrorMessage1577303431") + .setHttpErrorStatusCode(0) + .setId(3355) + .setInsertTime("insertTime966165798") + .setInstancesBulkInsertOperationMetadata( + InstancesBulkInsertOperationMetadata.newBuilder().build()) + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .setSetCommonInstanceMetadataOperationMetadata( + SetCommonInstanceMetadataOperationMetadata.newBuilder().build()) + .setStartTime("startTime-2129294769") + .setStatus(Status.DONE) + .setStatusMessage("statusMessage-958704715") + .setTargetId(-815576439) + .setTargetLink("targetLink486368555") + .setUser("user3599307") + .addAllWarnings(new ArrayList()) + .setZone("zone3744684") + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + String storagePool = "storagePool-1587"; + + Operation actualResponse = client.deleteAsync(project, zone, storagePool).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + String storagePool = "storagePool-1587"; + client.deleteAsync(project, zone, storagePool).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getTest() throws Exception { + StoragePool expectedResponse = + StoragePool.newBuilder() + .setCapacityProvisioningType("capacityProvisioningType1353661601") + .setCreationTimestamp("creationTimestamp-370203401") + .setDescription("description-1724546052") + .setId(3355) + .setKind("kind3292052") + .setLabelFingerprint("labelFingerprint379449680") + .putAllLabels(new HashMap()) + .setName("name3373707") + .setPerformanceProvisioningType("performanceProvisioningType2104724503") + .setPoolProvisionedCapacityGb(-1132075054) + .setPoolProvisionedIops(1185834135) + .setPoolProvisionedThroughput(1779828376) + .setResourceStatus(StoragePoolResourceStatus.newBuilder().build()) + .setSelfLink("selfLink1191800166") + .setSelfLinkWithId("selfLinkWithId-776809081") + .setState("state109757585") + .setStatus(StoragePoolResourceStatus.newBuilder().build()) + .setStoragePoolType("storagePoolType-354080495") + .setZone("zone3744684") + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + String storagePool = "storagePool-1587"; + + StoragePool actualResponse = client.get(project, zone, storagePool); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + String storagePool = "storagePool-1587"; + client.get(project, zone, storagePool); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .addAllAuditConfigs(new ArrayList()) + .addAllBindings(new ArrayList()) + .setEtag("etag3123477") + .setIamOwned(true) + .addAllRules(new ArrayList()) + .setVersion(351608024) + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + String resource = "resource-756"; + + Policy actualResponse = client.getIamPolicy(project, zone, resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + String resource = "resource-756"; + client.getIamPolicy(project, zone, resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void insertTest() throws Exception { + Operation expectedResponse = + Operation.newBuilder() + .setClientOperationId("clientOperationId-1230366697") + .setCreationTimestamp("creationTimestamp-370203401") + .setDescription("description-1724546052") + .setEndTime("endTime-1607243192") + .setError(Error.newBuilder().build()) + .setHttpErrorMessage("httpErrorMessage1577303431") + .setHttpErrorStatusCode(0) + .setId(3355) + .setInsertTime("insertTime966165798") + .setInstancesBulkInsertOperationMetadata( + InstancesBulkInsertOperationMetadata.newBuilder().build()) + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .setSetCommonInstanceMetadataOperationMetadata( + SetCommonInstanceMetadataOperationMetadata.newBuilder().build()) + .setStartTime("startTime-2129294769") + .setStatus(Status.DONE) + .setStatusMessage("statusMessage-958704715") + .setTargetId(-815576439) + .setTargetLink("targetLink486368555") + .setUser("user3599307") + .addAllWarnings(new ArrayList()) + .setZone("zone3744684") + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + StoragePool storagePoolResource = StoragePool.newBuilder().build(); + + Operation actualResponse = client.insertAsync(project, zone, storagePoolResource).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void insertExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + StoragePool storagePoolResource = StoragePool.newBuilder().build(); + client.insertAsync(project, zone, storagePoolResource).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void listTest() throws Exception { + StoragePool responsesElement = StoragePool.newBuilder().build(); + StoragePoolList expectedResponse = + StoragePoolList.newBuilder() + .setNextPageToken("") + .addAllItems(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + + ListPagedResponse pagedListResponse = client.list(project, zone); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getItemsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + client.list(project, zone); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDisksTest() throws Exception { + StoragePoolDisk responsesElement = StoragePoolDisk.newBuilder().build(); + StoragePoolListDisks expectedResponse = + StoragePoolListDisks.newBuilder() + .setNextPageToken("") + .addAllItems(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + String storagePool = "storagePool-1587"; + + ListDisksPagedResponse pagedListResponse = client.listDisks(project, zone, storagePool); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getItemsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listDisksExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + String storagePool = "storagePool-1587"; + client.listDisks(project, zone, storagePool); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .addAllAuditConfigs(new ArrayList()) + .addAllBindings(new ArrayList()) + .setEtag("etag3123477") + .setIamOwned(true) + .addAllRules(new ArrayList()) + .setVersion(351608024) + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + String resource = "resource-756"; + ZoneSetPolicyRequest zoneSetPolicyRequestResource = ZoneSetPolicyRequest.newBuilder().build(); + + Policy actualResponse = + client.setIamPolicy(project, zone, resource, zoneSetPolicyRequestResource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + String resource = "resource-756"; + ZoneSetPolicyRequest zoneSetPolicyRequestResource = ZoneSetPolicyRequest.newBuilder().build(); + client.setIamPolicy(project, zone, resource, zoneSetPolicyRequestResource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestPermissionsResponse expectedResponse = + TestPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + String resource = "resource-756"; + TestPermissionsRequest testPermissionsRequestResource = + TestPermissionsRequest.newBuilder().build(); + + TestPermissionsResponse actualResponse = + client.testIamPermissions(project, zone, resource, testPermissionsRequestResource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + String resource = "resource-756"; + TestPermissionsRequest testPermissionsRequestResource = + TestPermissionsRequest.newBuilder().build(); + client.testIamPermissions(project, zone, resource, testPermissionsRequestResource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateTest() throws Exception { + Operation expectedResponse = + Operation.newBuilder() + .setClientOperationId("clientOperationId-1230366697") + .setCreationTimestamp("creationTimestamp-370203401") + .setDescription("description-1724546052") + .setEndTime("endTime-1607243192") + .setError(Error.newBuilder().build()) + .setHttpErrorMessage("httpErrorMessage1577303431") + .setHttpErrorStatusCode(0) + .setId(3355) + .setInsertTime("insertTime966165798") + .setInstancesBulkInsertOperationMetadata( + InstancesBulkInsertOperationMetadata.newBuilder().build()) + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .setSetCommonInstanceMetadataOperationMetadata( + SetCommonInstanceMetadataOperationMetadata.newBuilder().build()) + .setStartTime("startTime-2129294769") + .setStatus(Status.DONE) + .setStatusMessage("statusMessage-958704715") + .setTargetId(-815576439) + .setTargetLink("targetLink486368555") + .setUser("user3599307") + .addAllWarnings(new ArrayList()) + .setZone("zone3744684") + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String zone = "zone-5246"; + String storagePool = "storagePool-1587"; + StoragePool storagePoolResource = StoragePool.newBuilder().build(); + + Operation actualResponse = + client.updateAsync(project, zone, storagePool, storagePoolResource).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String zone = "zone-5246"; + String storagePool = "storagePool-1587"; + StoragePool storagePoolResource = StoragePool.newBuilder().build(); + client.updateAsync(project, zone, storagePool, storagePoolResource).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListStoragePoolTypesRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListStoragePoolTypesRequest.java new file mode 100644 index 000000000000..1a2a5b73843a --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListStoragePoolTypesRequest.java @@ -0,0 +1,1809 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *

+ * A request message for StoragePoolTypes.AggregatedList. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest} + */ +public final class AggregatedListStoragePoolTypesRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest) + AggregatedListStoragePoolTypesRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use AggregatedListStoragePoolTypesRequest.newBuilder() to construct. + private AggregatedListStoragePoolTypesRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private AggregatedListStoragePoolTypesRequest() { + filter_ = ""; + orderBy_ = ""; + pageToken_ = ""; + project_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AggregatedListStoragePoolTypesRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AggregatedListStoragePoolTypesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AggregatedListStoragePoolTypesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest.class, + com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest.Builder.class); + } + + private int bitField0_; + public static final int FILTER_FIELD_NUMBER = 336120696; + + @SuppressWarnings("serial") + private volatile java.lang.Object filter_ = ""; + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + @java.lang.Override + public boolean hasFilter() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + @java.lang.Override + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + 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(); + filter_ = s; + return s; + } + } + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The bytes for filter. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INCLUDE_ALL_SCOPES_FIELD_NUMBER = 391327988; + private boolean includeAllScopes_ = false; + /** + * + * + *
+   * Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
+   * 
+ * + * optional bool include_all_scopes = 391327988; + * + * @return Whether the includeAllScopes field is set. + */ + @java.lang.Override + public boolean hasIncludeAllScopes() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
+   * 
+ * + * optional bool include_all_scopes = 391327988; + * + * @return The includeAllScopes. + */ + @java.lang.Override + public boolean getIncludeAllScopes() { + return includeAllScopes_; + } + + public static final int MAX_RESULTS_FIELD_NUMBER = 54715419; + private int maxResults_ = 0; + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return Whether the maxResults field is set. + */ + @java.lang.Override + public boolean hasMaxResults() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return The maxResults. + */ + @java.lang.Override + public int getMaxResults() { + return maxResults_; + } + + public static final int ORDER_BY_FIELD_NUMBER = 160562920; + + @SuppressWarnings("serial") + private volatile java.lang.Object orderBy_ = ""; + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return Whether the orderBy field is set. + */ + @java.lang.Override + public boolean hasOrderBy() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The orderBy. + */ + @java.lang.Override + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + 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(); + orderBy_ = s; + return s; + } + } + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The bytes for orderBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 19994697; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return Whether the pageToken field is set. + */ + @java.lang.Override + public boolean hasPageToken() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + 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(); + pageToken_ = s; + return s; + } + } + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RETURN_PARTIAL_SUCCESS_FIELD_NUMBER = 517198390; + private boolean returnPartialSuccess_ = false; + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return Whether the returnPartialSuccess field is set. + */ + @java.lang.Override + public boolean hasReturnPartialSuccess() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + @java.lang.Override + public boolean getReturnPartialSuccess() { + return returnPartialSuccess_; + } + + public static final int SERVICE_PROJECT_NUMBER_FIELD_NUMBER = 316757497; + private long serviceProjectNumber_ = 0L; + /** + * + * + *
+   * The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
+   * 
+ * + * optional int64 service_project_number = 316757497; + * + * @return Whether the serviceProjectNumber field is set. + */ + @java.lang.Override + public boolean hasServiceProjectNumber() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+   * The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
+   * 
+ * + * optional int64 service_project_number = 316757497; + * + * @return The serviceProjectNumber. + */ + @java.lang.Override + public long getServiceProjectNumber() { + return serviceProjectNumber_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 19994697, pageToken_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeUInt32(54715419, maxResults_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 160562920, orderBy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (((bitField0_ & 0x00000040) != 0)) { + output.writeInt64(316757497, serviceProjectNumber_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 336120696, filter_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeBool(391327988, includeAllScopes_); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeBool(517198390, returnPartialSuccess_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19994697, pageToken_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(54715419, maxResults_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(160562920, orderBy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (((bitField0_ & 0x00000040) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(316757497, serviceProjectNumber_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(336120696, filter_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(391327988, includeAllScopes_); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(517198390, returnPartialSuccess_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest other = + (com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest) obj; + + if (hasFilter() != other.hasFilter()) return false; + if (hasFilter()) { + if (!getFilter().equals(other.getFilter())) return false; + } + if (hasIncludeAllScopes() != other.hasIncludeAllScopes()) return false; + if (hasIncludeAllScopes()) { + if (getIncludeAllScopes() != other.getIncludeAllScopes()) return false; + } + if (hasMaxResults() != other.hasMaxResults()) return false; + if (hasMaxResults()) { + if (getMaxResults() != other.getMaxResults()) return false; + } + if (hasOrderBy() != other.hasOrderBy()) return false; + if (hasOrderBy()) { + if (!getOrderBy().equals(other.getOrderBy())) return false; + } + if (hasPageToken() != other.hasPageToken()) return false; + if (hasPageToken()) { + if (!getPageToken().equals(other.getPageToken())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (hasReturnPartialSuccess() != other.hasReturnPartialSuccess()) return false; + if (hasReturnPartialSuccess()) { + if (getReturnPartialSuccess() != other.getReturnPartialSuccess()) return false; + } + if (hasServiceProjectNumber() != other.hasServiceProjectNumber()) return false; + if (hasServiceProjectNumber()) { + if (getServiceProjectNumber() != other.getServiceProjectNumber()) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasFilter()) { + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + } + if (hasIncludeAllScopes()) { + hash = (37 * hash) + INCLUDE_ALL_SCOPES_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeAllScopes()); + } + if (hasMaxResults()) { + hash = (37 * hash) + MAX_RESULTS_FIELD_NUMBER; + hash = (53 * hash) + getMaxResults(); + } + if (hasOrderBy()) { + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); + } + if (hasPageToken()) { + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + if (hasReturnPartialSuccess()) { + hash = (37 * hash) + RETURN_PARTIAL_SUCCESS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPartialSuccess()); + } + if (hasServiceProjectNumber()) { + hash = (37 * hash) + SERVICE_PROJECT_NUMBER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getServiceProjectNumber()); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for StoragePoolTypes.AggregatedList. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest) + com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AggregatedListStoragePoolTypesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AggregatedListStoragePoolTypesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest.class, + com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + filter_ = ""; + includeAllScopes_ = false; + maxResults_ = 0; + orderBy_ = ""; + pageToken_ = ""; + project_ = ""; + returnPartialSuccess_ = false; + serviceProjectNumber_ = 0L; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AggregatedListStoragePoolTypesRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest build() { + com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest buildPartial() { + com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest result = + new com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.filter_ = filter_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.includeAllScopes_ = includeAllScopes_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.maxResults_ = maxResults_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.orderBy_ = orderBy_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.pageToken_ = pageToken_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.project_ = project_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.returnPartialSuccess_ = returnPartialSuccess_; + to_bitField0_ |= 0x00000020; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.serviceProjectNumber_ = serviceProjectNumber_; + to_bitField0_ |= 0x00000040; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest) { + return mergeFrom((com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest other) { + if (other + == com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest.getDefaultInstance()) + return this; + if (other.hasFilter()) { + filter_ = other.filter_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasIncludeAllScopes()) { + setIncludeAllScopes(other.getIncludeAllScopes()); + } + if (other.hasMaxResults()) { + setMaxResults(other.getMaxResults()); + } + if (other.hasOrderBy()) { + orderBy_ = other.orderBy_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasPageToken()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (other.hasReturnPartialSuccess()) { + setReturnPartialSuccess(other.getReturnPartialSuccess()); + } + if (other.hasServiceProjectNumber()) { + setServiceProjectNumber(other.getServiceProjectNumber()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 159957578: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 159957578 + case 437723352: + { + maxResults_ = input.readUInt32(); + bitField0_ |= 0x00000004; + break; + } // case 437723352 + case 1284503362: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 1284503362 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 1820481738 + case -1760907320: + { + serviceProjectNumber_ = input.readInt64(); + bitField0_ |= 0x00000080; + break; + } // case -1760907320 + case -1606001726: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case -1606001726 + case -1164343392: + { + includeAllScopes_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case -1164343392 + case -157380176: + { + returnPartialSuccess_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case -157380176 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object filter_ = ""; + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + public boolean hasFilter() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return The bytes for filter. + */ + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @param value The filter to set. + * @return This builder for chaining. + */ + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + filter_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + filter_ = getDefaultInstance().getFilter(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. + */ + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private boolean includeAllScopes_; + /** + * + * + *
+     * Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
+     * 
+ * + * optional bool include_all_scopes = 391327988; + * + * @return Whether the includeAllScopes field is set. + */ + @java.lang.Override + public boolean hasIncludeAllScopes() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
+     * 
+ * + * optional bool include_all_scopes = 391327988; + * + * @return The includeAllScopes. + */ + @java.lang.Override + public boolean getIncludeAllScopes() { + return includeAllScopes_; + } + /** + * + * + *
+     * Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
+     * 
+ * + * optional bool include_all_scopes = 391327988; + * + * @param value The includeAllScopes to set. + * @return This builder for chaining. + */ + public Builder setIncludeAllScopes(boolean value) { + + includeAllScopes_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
+     * 
+ * + * optional bool include_all_scopes = 391327988; + * + * @return This builder for chaining. + */ + public Builder clearIncludeAllScopes() { + bitField0_ = (bitField0_ & ~0x00000002); + includeAllScopes_ = false; + onChanged(); + return this; + } + + private int maxResults_; + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @return Whether the maxResults field is set. + */ + @java.lang.Override + public boolean hasMaxResults() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @return The maxResults. + */ + @java.lang.Override + public int getMaxResults() { + return maxResults_; + } + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @param value The maxResults to set. + * @return This builder for chaining. + */ + public Builder setMaxResults(int value) { + + maxResults_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @return This builder for chaining. + */ + public Builder clearMaxResults() { + bitField0_ = (bitField0_ & ~0x00000004); + maxResults_ = 0; + onChanged(); + return this; + } + + private java.lang.Object orderBy_ = ""; + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return Whether the orderBy field is set. + */ + public boolean hasOrderBy() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return The orderBy. + */ + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return The bytes for orderBy. + */ + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @param value The orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + orderBy_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return This builder for chaining. + */ + public Builder clearOrderBy() { + orderBy_ = getDefaultInstance().getOrderBy(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @param value The bytes for orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return Whether the pageToken field is set. + */ + public boolean hasPageToken() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageToken_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private boolean returnPartialSuccess_; + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return Whether the returnPartialSuccess field is set. + */ + @java.lang.Override + public boolean hasReturnPartialSuccess() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + @java.lang.Override + public boolean getReturnPartialSuccess() { + return returnPartialSuccess_; + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @param value The returnPartialSuccess to set. + * @return This builder for chaining. + */ + public Builder setReturnPartialSuccess(boolean value) { + + returnPartialSuccess_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return This builder for chaining. + */ + public Builder clearReturnPartialSuccess() { + bitField0_ = (bitField0_ & ~0x00000040); + returnPartialSuccess_ = false; + onChanged(); + return this; + } + + private long serviceProjectNumber_; + /** + * + * + *
+     * The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
+     * 
+ * + * optional int64 service_project_number = 316757497; + * + * @return Whether the serviceProjectNumber field is set. + */ + @java.lang.Override + public boolean hasServiceProjectNumber() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+     * The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
+     * 
+ * + * optional int64 service_project_number = 316757497; + * + * @return The serviceProjectNumber. + */ + @java.lang.Override + public long getServiceProjectNumber() { + return serviceProjectNumber_; + } + /** + * + * + *
+     * The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
+     * 
+ * + * optional int64 service_project_number = 316757497; + * + * @param value The serviceProjectNumber to set. + * @return This builder for chaining. + */ + public Builder setServiceProjectNumber(long value) { + + serviceProjectNumber_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
+     * 
+ * + * optional int64 service_project_number = 316757497; + * + * @return This builder for chaining. + */ + public Builder clearServiceProjectNumber() { + bitField0_ = (bitField0_ & ~0x00000080); + serviceProjectNumber_ = 0L; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest) + private static final com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest(); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AggregatedListStoragePoolTypesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListStoragePoolTypesRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListStoragePoolTypesRequestOrBuilder.java new file mode 100644 index 000000000000..a29f95ad0489 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListStoragePoolTypesRequestOrBuilder.java @@ -0,0 +1,262 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface AggregatedListStoragePoolTypesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + boolean hasFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + java.lang.String getFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The bytes for filter. + */ + com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
+   * 
+ * + * optional bool include_all_scopes = 391327988; + * + * @return Whether the includeAllScopes field is set. + */ + boolean hasIncludeAllScopes(); + /** + * + * + *
+   * Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
+   * 
+ * + * optional bool include_all_scopes = 391327988; + * + * @return The includeAllScopes. + */ + boolean getIncludeAllScopes(); + + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return Whether the maxResults field is set. + */ + boolean hasMaxResults(); + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return The maxResults. + */ + int getMaxResults(); + + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return Whether the orderBy field is set. + */ + boolean hasOrderBy(); + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The orderBy. + */ + java.lang.String getOrderBy(); + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The bytes for orderBy. + */ + com.google.protobuf.ByteString getOrderByBytes(); + + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return Whether the pageToken field is set. + */ + boolean hasPageToken(); + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return Whether the returnPartialSuccess field is set. + */ + boolean hasReturnPartialSuccess(); + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + boolean getReturnPartialSuccess(); + + /** + * + * + *
+   * The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
+   * 
+ * + * optional int64 service_project_number = 316757497; + * + * @return Whether the serviceProjectNumber field is set. + */ + boolean hasServiceProjectNumber(); + /** + * + * + *
+   * The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
+   * 
+ * + * optional int64 service_project_number = 316757497; + * + * @return The serviceProjectNumber. + */ + long getServiceProjectNumber(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListStoragePoolsRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListStoragePoolsRequest.java new file mode 100644 index 000000000000..429c3ee9822d --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListStoragePoolsRequest.java @@ -0,0 +1,1803 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for StoragePools.AggregatedList. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.AggregatedListStoragePoolsRequest} + */ +public final class AggregatedListStoragePoolsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.AggregatedListStoragePoolsRequest) + AggregatedListStoragePoolsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use AggregatedListStoragePoolsRequest.newBuilder() to construct. + private AggregatedListStoragePoolsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private AggregatedListStoragePoolsRequest() { + filter_ = ""; + orderBy_ = ""; + pageToken_ = ""; + project_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AggregatedListStoragePoolsRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AggregatedListStoragePoolsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AggregatedListStoragePoolsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest.class, + com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest.Builder.class); + } + + private int bitField0_; + public static final int FILTER_FIELD_NUMBER = 336120696; + + @SuppressWarnings("serial") + private volatile java.lang.Object filter_ = ""; + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + @java.lang.Override + public boolean hasFilter() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + @java.lang.Override + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + 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(); + filter_ = s; + return s; + } + } + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The bytes for filter. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INCLUDE_ALL_SCOPES_FIELD_NUMBER = 391327988; + private boolean includeAllScopes_ = false; + /** + * + * + *
+   * Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
+   * 
+ * + * optional bool include_all_scopes = 391327988; + * + * @return Whether the includeAllScopes field is set. + */ + @java.lang.Override + public boolean hasIncludeAllScopes() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
+   * 
+ * + * optional bool include_all_scopes = 391327988; + * + * @return The includeAllScopes. + */ + @java.lang.Override + public boolean getIncludeAllScopes() { + return includeAllScopes_; + } + + public static final int MAX_RESULTS_FIELD_NUMBER = 54715419; + private int maxResults_ = 0; + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return Whether the maxResults field is set. + */ + @java.lang.Override + public boolean hasMaxResults() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return The maxResults. + */ + @java.lang.Override + public int getMaxResults() { + return maxResults_; + } + + public static final int ORDER_BY_FIELD_NUMBER = 160562920; + + @SuppressWarnings("serial") + private volatile java.lang.Object orderBy_ = ""; + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return Whether the orderBy field is set. + */ + @java.lang.Override + public boolean hasOrderBy() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The orderBy. + */ + @java.lang.Override + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + 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(); + orderBy_ = s; + return s; + } + } + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The bytes for orderBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 19994697; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return Whether the pageToken field is set. + */ + @java.lang.Override + public boolean hasPageToken() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + 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(); + pageToken_ = s; + return s; + } + } + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RETURN_PARTIAL_SUCCESS_FIELD_NUMBER = 517198390; + private boolean returnPartialSuccess_ = false; + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return Whether the returnPartialSuccess field is set. + */ + @java.lang.Override + public boolean hasReturnPartialSuccess() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + @java.lang.Override + public boolean getReturnPartialSuccess() { + return returnPartialSuccess_; + } + + public static final int SERVICE_PROJECT_NUMBER_FIELD_NUMBER = 316757497; + private long serviceProjectNumber_ = 0L; + /** + * + * + *
+   * The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
+   * 
+ * + * optional int64 service_project_number = 316757497; + * + * @return Whether the serviceProjectNumber field is set. + */ + @java.lang.Override + public boolean hasServiceProjectNumber() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+   * The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
+   * 
+ * + * optional int64 service_project_number = 316757497; + * + * @return The serviceProjectNumber. + */ + @java.lang.Override + public long getServiceProjectNumber() { + return serviceProjectNumber_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 19994697, pageToken_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeUInt32(54715419, maxResults_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 160562920, orderBy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (((bitField0_ & 0x00000040) != 0)) { + output.writeInt64(316757497, serviceProjectNumber_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 336120696, filter_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeBool(391327988, includeAllScopes_); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeBool(517198390, returnPartialSuccess_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19994697, pageToken_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(54715419, maxResults_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(160562920, orderBy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (((bitField0_ & 0x00000040) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(316757497, serviceProjectNumber_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(336120696, filter_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(391327988, includeAllScopes_); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(517198390, returnPartialSuccess_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest other = + (com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest) obj; + + if (hasFilter() != other.hasFilter()) return false; + if (hasFilter()) { + if (!getFilter().equals(other.getFilter())) return false; + } + if (hasIncludeAllScopes() != other.hasIncludeAllScopes()) return false; + if (hasIncludeAllScopes()) { + if (getIncludeAllScopes() != other.getIncludeAllScopes()) return false; + } + if (hasMaxResults() != other.hasMaxResults()) return false; + if (hasMaxResults()) { + if (getMaxResults() != other.getMaxResults()) return false; + } + if (hasOrderBy() != other.hasOrderBy()) return false; + if (hasOrderBy()) { + if (!getOrderBy().equals(other.getOrderBy())) return false; + } + if (hasPageToken() != other.hasPageToken()) return false; + if (hasPageToken()) { + if (!getPageToken().equals(other.getPageToken())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (hasReturnPartialSuccess() != other.hasReturnPartialSuccess()) return false; + if (hasReturnPartialSuccess()) { + if (getReturnPartialSuccess() != other.getReturnPartialSuccess()) return false; + } + if (hasServiceProjectNumber() != other.hasServiceProjectNumber()) return false; + if (hasServiceProjectNumber()) { + if (getServiceProjectNumber() != other.getServiceProjectNumber()) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasFilter()) { + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + } + if (hasIncludeAllScopes()) { + hash = (37 * hash) + INCLUDE_ALL_SCOPES_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeAllScopes()); + } + if (hasMaxResults()) { + hash = (37 * hash) + MAX_RESULTS_FIELD_NUMBER; + hash = (53 * hash) + getMaxResults(); + } + if (hasOrderBy()) { + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); + } + if (hasPageToken()) { + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + if (hasReturnPartialSuccess()) { + hash = (37 * hash) + RETURN_PARTIAL_SUCCESS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPartialSuccess()); + } + if (hasServiceProjectNumber()) { + hash = (37 * hash) + SERVICE_PROJECT_NUMBER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getServiceProjectNumber()); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for StoragePools.AggregatedList. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.AggregatedListStoragePoolsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.AggregatedListStoragePoolsRequest) + com.google.cloud.compute.v1.AggregatedListStoragePoolsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AggregatedListStoragePoolsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AggregatedListStoragePoolsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest.class, + com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + filter_ = ""; + includeAllScopes_ = false; + maxResults_ = 0; + orderBy_ = ""; + pageToken_ = ""; + project_ = ""; + returnPartialSuccess_ = false; + serviceProjectNumber_ = 0L; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AggregatedListStoragePoolsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest build() { + com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest buildPartial() { + com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest result = + new com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.filter_ = filter_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.includeAllScopes_ = includeAllScopes_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.maxResults_ = maxResults_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.orderBy_ = orderBy_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.pageToken_ = pageToken_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.project_ = project_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.returnPartialSuccess_ = returnPartialSuccess_; + to_bitField0_ |= 0x00000020; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.serviceProjectNumber_ = serviceProjectNumber_; + to_bitField0_ |= 0x00000040; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest) { + return mergeFrom((com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest other) { + if (other + == com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest.getDefaultInstance()) + return this; + if (other.hasFilter()) { + filter_ = other.filter_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasIncludeAllScopes()) { + setIncludeAllScopes(other.getIncludeAllScopes()); + } + if (other.hasMaxResults()) { + setMaxResults(other.getMaxResults()); + } + if (other.hasOrderBy()) { + orderBy_ = other.orderBy_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasPageToken()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (other.hasReturnPartialSuccess()) { + setReturnPartialSuccess(other.getReturnPartialSuccess()); + } + if (other.hasServiceProjectNumber()) { + setServiceProjectNumber(other.getServiceProjectNumber()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 159957578: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 159957578 + case 437723352: + { + maxResults_ = input.readUInt32(); + bitField0_ |= 0x00000004; + break; + } // case 437723352 + case 1284503362: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 1284503362 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 1820481738 + case -1760907320: + { + serviceProjectNumber_ = input.readInt64(); + bitField0_ |= 0x00000080; + break; + } // case -1760907320 + case -1606001726: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case -1606001726 + case -1164343392: + { + includeAllScopes_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case -1164343392 + case -157380176: + { + returnPartialSuccess_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case -157380176 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object filter_ = ""; + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + public boolean hasFilter() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return The bytes for filter. + */ + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @param value The filter to set. + * @return This builder for chaining. + */ + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + filter_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + filter_ = getDefaultInstance().getFilter(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. + */ + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private boolean includeAllScopes_; + /** + * + * + *
+     * Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
+     * 
+ * + * optional bool include_all_scopes = 391327988; + * + * @return Whether the includeAllScopes field is set. + */ + @java.lang.Override + public boolean hasIncludeAllScopes() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
+     * 
+ * + * optional bool include_all_scopes = 391327988; + * + * @return The includeAllScopes. + */ + @java.lang.Override + public boolean getIncludeAllScopes() { + return includeAllScopes_; + } + /** + * + * + *
+     * Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
+     * 
+ * + * optional bool include_all_scopes = 391327988; + * + * @param value The includeAllScopes to set. + * @return This builder for chaining. + */ + public Builder setIncludeAllScopes(boolean value) { + + includeAllScopes_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
+     * 
+ * + * optional bool include_all_scopes = 391327988; + * + * @return This builder for chaining. + */ + public Builder clearIncludeAllScopes() { + bitField0_ = (bitField0_ & ~0x00000002); + includeAllScopes_ = false; + onChanged(); + return this; + } + + private int maxResults_; + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @return Whether the maxResults field is set. + */ + @java.lang.Override + public boolean hasMaxResults() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @return The maxResults. + */ + @java.lang.Override + public int getMaxResults() { + return maxResults_; + } + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @param value The maxResults to set. + * @return This builder for chaining. + */ + public Builder setMaxResults(int value) { + + maxResults_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @return This builder for chaining. + */ + public Builder clearMaxResults() { + bitField0_ = (bitField0_ & ~0x00000004); + maxResults_ = 0; + onChanged(); + return this; + } + + private java.lang.Object orderBy_ = ""; + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return Whether the orderBy field is set. + */ + public boolean hasOrderBy() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return The orderBy. + */ + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return The bytes for orderBy. + */ + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @param value The orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + orderBy_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return This builder for chaining. + */ + public Builder clearOrderBy() { + orderBy_ = getDefaultInstance().getOrderBy(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @param value The bytes for orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return Whether the pageToken field is set. + */ + public boolean hasPageToken() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageToken_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private boolean returnPartialSuccess_; + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return Whether the returnPartialSuccess field is set. + */ + @java.lang.Override + public boolean hasReturnPartialSuccess() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + @java.lang.Override + public boolean getReturnPartialSuccess() { + return returnPartialSuccess_; + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @param value The returnPartialSuccess to set. + * @return This builder for chaining. + */ + public Builder setReturnPartialSuccess(boolean value) { + + returnPartialSuccess_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return This builder for chaining. + */ + public Builder clearReturnPartialSuccess() { + bitField0_ = (bitField0_ & ~0x00000040); + returnPartialSuccess_ = false; + onChanged(); + return this; + } + + private long serviceProjectNumber_; + /** + * + * + *
+     * The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
+     * 
+ * + * optional int64 service_project_number = 316757497; + * + * @return Whether the serviceProjectNumber field is set. + */ + @java.lang.Override + public boolean hasServiceProjectNumber() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+     * The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
+     * 
+ * + * optional int64 service_project_number = 316757497; + * + * @return The serviceProjectNumber. + */ + @java.lang.Override + public long getServiceProjectNumber() { + return serviceProjectNumber_; + } + /** + * + * + *
+     * The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
+     * 
+ * + * optional int64 service_project_number = 316757497; + * + * @param value The serviceProjectNumber to set. + * @return This builder for chaining. + */ + public Builder setServiceProjectNumber(long value) { + + serviceProjectNumber_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
+     * 
+ * + * optional int64 service_project_number = 316757497; + * + * @return This builder for chaining. + */ + public Builder clearServiceProjectNumber() { + bitField0_ = (bitField0_ & ~0x00000080); + serviceProjectNumber_ = 0L; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.AggregatedListStoragePoolsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.AggregatedListStoragePoolsRequest) + private static final com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest(); + } + + public static com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AggregatedListStoragePoolsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListStoragePoolsRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListStoragePoolsRequestOrBuilder.java new file mode 100644 index 000000000000..10ccfc890a5e --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListStoragePoolsRequestOrBuilder.java @@ -0,0 +1,262 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface AggregatedListStoragePoolsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.AggregatedListStoragePoolsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + boolean hasFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + java.lang.String getFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The bytes for filter. + */ + com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
+   * 
+ * + * optional bool include_all_scopes = 391327988; + * + * @return Whether the includeAllScopes field is set. + */ + boolean hasIncludeAllScopes(); + /** + * + * + *
+   * Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
+   * 
+ * + * optional bool include_all_scopes = 391327988; + * + * @return The includeAllScopes. + */ + boolean getIncludeAllScopes(); + + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return Whether the maxResults field is set. + */ + boolean hasMaxResults(); + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return The maxResults. + */ + int getMaxResults(); + + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return Whether the orderBy field is set. + */ + boolean hasOrderBy(); + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The orderBy. + */ + java.lang.String getOrderBy(); + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The bytes for orderBy. + */ + com.google.protobuf.ByteString getOrderByBytes(); + + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return Whether the pageToken field is set. + */ + boolean hasPageToken(); + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return Whether the returnPartialSuccess field is set. + */ + boolean hasReturnPartialSuccess(); + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + boolean getReturnPartialSuccess(); + + /** + * + * + *
+   * The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
+   * 
+ * + * optional int64 service_project_number = 316757497; + * + * @return Whether the serviceProjectNumber field is set. + */ + boolean hasServiceProjectNumber(); + /** + * + * + *
+   * The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
+   * 
+ * + * optional int64 service_project_number = 316757497; + * + * @return The serviceProjectNumber. + */ + long getServiceProjectNumber(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AllocationSpecificSKUReservation.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AllocationSpecificSKUReservation.java index 0f1b9b250dcd..05edc39c8418 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AllocationSpecificSKUReservation.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AllocationSpecificSKUReservation.java @@ -23,7 +23,7 @@ * * *
- * This reservation type allows to pre allocate specific instance configuration. Next ID: 6
+ * This reservation type allows to pre allocate specific instance configuration.
  * 
* * Protobuf type {@code google.cloud.compute.v1.AllocationSpecificSKUReservation} @@ -522,7 +522,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * This reservation type allows to pre allocate specific instance configuration. Next ID: 6
+   * This reservation type allows to pre allocate specific instance configuration.
    * 
* * Protobuf type {@code google.cloud.compute.v1.AllocationSpecificSKUReservation} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java index 39f678573326..3b98114efc1c 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParams.java @@ -49,6 +49,7 @@ private AttachedDiskInitializeParams() { resourcePolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); sourceImage_ = ""; sourceSnapshot_ = ""; + storagePool_ = ""; } @java.lang.Override @@ -1563,6 +1564,72 @@ public com.google.cloud.compute.v1.CustomerEncryptionKey getSourceSnapshotEncryp : sourceSnapshotEncryptionKey_; } + public static final int STORAGE_POOL_FIELD_NUMBER = 360473440; + + @SuppressWarnings("serial") + private volatile java.lang.Object storagePool_ = ""; + /** + * + * + *
+   * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+   * 
+ * + * optional string storage_pool = 360473440; + * + * @return Whether the storagePool field is set. + */ + @java.lang.Override + public boolean hasStoragePool() { + return ((bitField0_ & 0x00002000) != 0); + } + /** + * + * + *
+   * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+   * 
+ * + * optional string storage_pool = 360473440; + * + * @return The storagePool. + */ + @java.lang.Override + public java.lang.String getStoragePool() { + java.lang.Object ref = storagePool_; + 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(); + storagePool_ = s; + return s; + } + } + /** + * + * + *
+   * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+   * 
+ * + * optional string storage_pool = 360473440; + * + * @return The bytes for storagePool. + */ + @java.lang.Override + public com.google.protobuf.ByteString getStoragePoolBytes() { + java.lang.Object ref = storagePool_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + storagePool_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1617,6 +1684,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < licenses_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 337642578, licenses_.getRaw(i)); } + if (((bitField0_ & 0x00002000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 360473440, storagePool_); + } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetResourceManagerTags(), @@ -1700,6 +1770,9 @@ public int getSerializedSize() { size += dataSize; size += 5 * getLicensesList().size(); } + if (((bitField0_ & 0x00002000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(360473440, storagePool_); + } for (java.util.Map.Entry entry : internalGetResourceManagerTags().getMap().entrySet()) { com.google.protobuf.MapEntry resourceManagerTags__ = @@ -1809,6 +1882,10 @@ public boolean equals(final java.lang.Object obj) { if (!getSourceSnapshotEncryptionKey().equals(other.getSourceSnapshotEncryptionKey())) return false; } + if (hasStoragePool() != other.hasStoragePool()) return false; + if (hasStoragePool()) { + if (!getStoragePool().equals(other.getStoragePool())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1892,6 +1969,10 @@ public int hashCode() { hash = (37 * hash) + SOURCE_SNAPSHOT_ENCRYPTION_KEY_FIELD_NUMBER; hash = (53 * hash) + getSourceSnapshotEncryptionKey().hashCode(); } + if (hasStoragePool()) { + hash = (37 * hash) + STORAGE_POOL_FIELD_NUMBER; + hash = (53 * hash) + getStoragePool().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -2094,6 +2175,7 @@ public Builder clear() { sourceSnapshotEncryptionKeyBuilder_.dispose(); sourceSnapshotEncryptionKeyBuilder_ = null; } + storagePool_ = ""; return this; } @@ -2209,6 +2291,10 @@ private void buildPartial0(com.google.cloud.compute.v1.AttachedDiskInitializePar : sourceSnapshotEncryptionKeyBuilder_.build(); to_bitField0_ |= 0x00001000; } + if (((from_bitField0_ & 0x00040000) != 0)) { + result.storagePool_ = storagePool_; + to_bitField0_ |= 0x00002000; + } result.bitField0_ |= to_bitField0_; } @@ -2345,6 +2431,11 @@ public Builder mergeFrom(com.google.cloud.compute.v1.AttachedDiskInitializeParam if (other.hasSourceSnapshotEncryptionKey()) { mergeSourceSnapshotEncryptionKey(other.getSourceSnapshotEncryptionKey()); } + if (other.hasStoragePool()) { + storagePool_ = other.storagePool_; + bitField0_ |= 0x00040000; + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -2453,6 +2544,12 @@ public Builder mergeFrom( licenses_.add(s); break; } // case -1593826670 + case -1411179774: + { + storagePool_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00040000; + break; + } // case -1411179774 case -1273597982: { com.google.protobuf.MapEntry @@ -4913,6 +5010,126 @@ public Builder clearSourceSnapshotEncryptionKey() { return sourceSnapshotEncryptionKeyBuilder_; } + private java.lang.Object storagePool_ = ""; + /** + * + * + *
+     * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+     * 
+ * + * optional string storage_pool = 360473440; + * + * @return Whether the storagePool field is set. + */ + public boolean hasStoragePool() { + return ((bitField0_ & 0x00040000) != 0); + } + /** + * + * + *
+     * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+     * 
+ * + * optional string storage_pool = 360473440; + * + * @return The storagePool. + */ + public java.lang.String getStoragePool() { + java.lang.Object ref = storagePool_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + storagePool_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+     * 
+ * + * optional string storage_pool = 360473440; + * + * @return The bytes for storagePool. + */ + public com.google.protobuf.ByteString getStoragePoolBytes() { + java.lang.Object ref = storagePool_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + storagePool_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+     * 
+ * + * optional string storage_pool = 360473440; + * + * @param value The storagePool to set. + * @return This builder for chaining. + */ + public Builder setStoragePool(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + storagePool_ = value; + bitField0_ |= 0x00040000; + onChanged(); + return this; + } + /** + * + * + *
+     * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+     * 
+ * + * optional string storage_pool = 360473440; + * + * @return This builder for chaining. + */ + public Builder clearStoragePool() { + storagePool_ = getDefaultInstance().getStoragePool(); + bitField0_ = (bitField0_ & ~0x00040000); + onChanged(); + return this; + } + /** + * + * + *
+     * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+     * 
+ * + * optional string storage_pool = 360473440; + * + * @param value The bytes for storagePool to set. + * @return This builder for chaining. + */ + public Builder setStoragePoolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + storagePool_ = value; + bitField0_ |= 0x00040000; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParamsOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParamsOrBuilder.java index 5fbfd4b91b5e..3bc83365cac1 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParamsOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AttachedDiskInitializeParamsOrBuilder.java @@ -740,4 +740,41 @@ java.lang.String getResourceManagerTagsOrDefault( */ com.google.cloud.compute.v1.CustomerEncryptionKeyOrBuilder getSourceSnapshotEncryptionKeyOrBuilder(); + + /** + * + * + *
+   * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+   * 
+ * + * optional string storage_pool = 360473440; + * + * @return Whether the storagePool field is set. + */ + boolean hasStoragePool(); + /** + * + * + *
+   * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+   * 
+ * + * optional string storage_pool = 360473440; + * + * @return The storagePool. + */ + java.lang.String getStoragePool(); + /** + * + * + *
+   * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+   * 
+ * + * optional string storage_pool = 360473440; + * + * @return The bytes for storagePool. + */ + com.google.protobuf.ByteString getStoragePoolBytes(); } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CancelInstanceGroupManagerResizeRequestRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CancelInstanceGroupManagerResizeRequestRequest.java new file mode 100644 index 000000000000..c3c937a69c36 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CancelInstanceGroupManagerResizeRequestRequest.java @@ -0,0 +1,1458 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for InstanceGroupManagerResizeRequests.Cancel. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest} + */ +public final class CancelInstanceGroupManagerResizeRequestRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest) + CancelInstanceGroupManagerResizeRequestRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CancelInstanceGroupManagerResizeRequestRequest.newBuilder() to construct. + private CancelInstanceGroupManagerResizeRequestRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CancelInstanceGroupManagerResizeRequestRequest() { + instanceGroupManager_ = ""; + project_ = ""; + requestId_ = ""; + resizeRequest_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CancelInstanceGroupManagerResizeRequestRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_CancelInstanceGroupManagerResizeRequestRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_CancelInstanceGroupManagerResizeRequestRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest.class, + com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest.Builder + .class); + } + + private int bitField0_; + public static final int INSTANCE_GROUP_MANAGER_FIELD_NUMBER = 249363395; + + @SuppressWarnings("serial") + private volatile java.lang.Object instanceGroupManager_ = ""; + /** + * + * + *
+   * The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceGroupManager. + */ + @java.lang.Override + public java.lang.String getInstanceGroupManager() { + java.lang.Object ref = instanceGroupManager_; + 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(); + instanceGroupManager_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for instanceGroupManager. + */ + @java.lang.Override + public com.google.protobuf.ByteString getInstanceGroupManagerBytes() { + java.lang.Object ref = instanceGroupManager_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + instanceGroupManager_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestId_ = ""; + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + @java.lang.Override + public boolean hasRequestId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + @java.lang.Override + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + 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(); + requestId_ = s; + return s; + } + } + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESIZE_REQUEST_FIELD_NUMBER = 216941060; + + @SuppressWarnings("serial") + private volatile java.lang.Object resizeRequest_ = ""; + /** + * + * + *
+   * The name of the resize request to cancel. The name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The resizeRequest. + */ + @java.lang.Override + public java.lang.String getResizeRequest() { + java.lang.Object ref = resizeRequest_; + 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(); + resizeRequest_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the resize request to cancel. The name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for resizeRequest. + */ + @java.lang.Override + public com.google.protobuf.ByteString getResizeRequestBytes() { + java.lang.Object ref = resizeRequest_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + resizeRequest_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resizeRequest_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 216941060, resizeRequest_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceGroupManager_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 249363395, instanceGroupManager_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resizeRequest_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(216941060, resizeRequest_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceGroupManager_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 249363395, instanceGroupManager_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest other = + (com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest) obj; + + if (!getInstanceGroupManager().equals(other.getInstanceGroupManager())) return false; + if (!getProject().equals(other.getProject())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!getResizeRequest().equals(other.getResizeRequest())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INSTANCE_GROUP_MANAGER_FIELD_NUMBER; + hash = (53 * hash) + getInstanceGroupManager().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (37 * hash) + RESIZE_REQUEST_FIELD_NUMBER; + hash = (53 * hash) + getResizeRequest().hashCode(); + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for InstanceGroupManagerResizeRequests.Cancel. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest) + com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_CancelInstanceGroupManagerResizeRequestRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_CancelInstanceGroupManagerResizeRequestRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest.class, + com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + instanceGroupManager_ = ""; + project_ = ""; + requestId_ = ""; + resizeRequest_ = ""; + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_CancelInstanceGroupManagerResizeRequestRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest build() { + com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + buildPartial() { + com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest result = + new com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.instanceGroupManager_ = instanceGroupManager_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.project_ = project_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.requestId_ = requestId_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.resizeRequest_ = resizeRequest_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.zone_ = zone_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest other) { + if (other + == com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + .getDefaultInstance()) return this; + if (!other.getInstanceGroupManager().isEmpty()) { + instanceGroupManager_ = other.instanceGroupManager_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasRequestId()) { + requestId_ = other.requestId_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getResizeRequest().isEmpty()) { + resizeRequest_ = other.resizeRequest_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 29957474 + case 296879706: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 296879706 + case 1735528482: + { + resizeRequest_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 1735528482 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 1820481738 + case 1994907162: + { + instanceGroupManager_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 1994907162 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object instanceGroupManager_ = ""; + /** + * + * + *
+     * The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceGroupManager. + */ + public java.lang.String getInstanceGroupManager() { + java.lang.Object ref = instanceGroupManager_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + instanceGroupManager_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for instanceGroupManager. + */ + public com.google.protobuf.ByteString getInstanceGroupManagerBytes() { + java.lang.Object ref = instanceGroupManager_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + instanceGroupManager_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The instanceGroupManager to set. + * @return This builder for chaining. + */ + public Builder setInstanceGroupManager(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + instanceGroupManager_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearInstanceGroupManager() { + instanceGroupManager_ = getDefaultInstance().getInstanceGroupManager(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The bytes for instanceGroupManager to set. + * @return This builder for chaining. + */ + public Builder setInstanceGroupManagerBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceGroupManager_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object requestId_ = ""; + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + public boolean hasRequestId() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @param value The requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return This builder for chaining. + */ + public Builder clearRequestId() { + requestId_ = getDefaultInstance().getRequestId(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object resizeRequest_ = ""; + /** + * + * + *
+     * The name of the resize request to cancel. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The resizeRequest. + */ + public java.lang.String getResizeRequest() { + java.lang.Object ref = resizeRequest_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resizeRequest_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the resize request to cancel. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for resizeRequest. + */ + public com.google.protobuf.ByteString getResizeRequestBytes() { + java.lang.Object ref = resizeRequest_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + resizeRequest_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the resize request to cancel. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The resizeRequest to set. + * @return This builder for chaining. + */ + public Builder setResizeRequest(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + resizeRequest_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the resize request to cancel. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearResizeRequest() { + resizeRequest_ = getDefaultInstance().getResizeRequest(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the resize request to cancel. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for resizeRequest to set. + * @return This builder for chaining. + */ + public Builder setResizeRequestBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resizeRequest_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest) + private static final com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest(); + } + + public static com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelInstanceGroupManagerResizeRequestRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser + parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser + getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CancelInstanceGroupManagerResizeRequestRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CancelInstanceGroupManagerResizeRequestRequestOrBuilder.java new file mode 100644 index 000000000000..11d39409c33e --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CancelInstanceGroupManagerResizeRequestRequestOrBuilder.java @@ -0,0 +1,173 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface CancelInstanceGroupManagerResizeRequestRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceGroupManager. + */ + java.lang.String getInstanceGroupManager(); + /** + * + * + *
+   * The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for instanceGroupManager. + */ + com.google.protobuf.ByteString getInstanceGroupManagerBytes(); + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + boolean hasRequestId(); + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + java.lang.String getRequestId(); + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); + + /** + * + * + *
+   * The name of the resize request to cancel. The name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The resizeRequest. + */ + java.lang.String getResizeRequest(); + /** + * + * + *
+   * The name of the resize request to cancel. The name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for resizeRequest. + */ + com.google.protobuf.ByteString getResizeRequestBytes(); + + /** + * + * + *
+   * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Commitment.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Commitment.java index cabd6c282d61..8ac3703e4b83 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Commitment.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Commitment.java @@ -543,6 +543,8 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { GENERAL_PURPOSE_N2(301912156), /** GENERAL_PURPOSE_N2D = 232471400; */ GENERAL_PURPOSE_N2D(232471400), + /** GENERAL_PURPOSE_N4 = 301912158; */ + GENERAL_PURPOSE_N4(301912158), /** GENERAL_PURPOSE_T2D = 232477166; */ GENERAL_PURPOSE_T2D(232477166), /** GRAPHICS_OPTIMIZED = 68500563; */ @@ -590,6 +592,8 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { public static final int GENERAL_PURPOSE_N2_VALUE = 301912156; /** GENERAL_PURPOSE_N2D = 232471400; */ public static final int GENERAL_PURPOSE_N2D_VALUE = 232471400; + /** GENERAL_PURPOSE_N4 = 301912158; */ + public static final int GENERAL_PURPOSE_N4_VALUE = 301912158; /** GENERAL_PURPOSE_T2D = 232477166; */ public static final int GENERAL_PURPOSE_T2D_VALUE = 232477166; /** GRAPHICS_OPTIMIZED = 68500563; */ @@ -651,6 +655,8 @@ public static Type forNumber(int value) { return GENERAL_PURPOSE_N2; case 232471400: return GENERAL_PURPOSE_N2D; + case 301912158: + return GENERAL_PURPOSE_N4; case 232477166: return GENERAL_PURPOSE_T2D; case 68500563: diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Compute.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Compute.java index 6c62e3b6d70b..889081854a01 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Compute.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Compute.java @@ -304,6 +304,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_AggregatedListSslPoliciesRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_AggregatedListSslPoliciesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_AggregatedListStoragePoolTypesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_AggregatedListStoragePoolTypesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_AggregatedListStoragePoolsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_AggregatedListStoragePoolsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_AggregatedListSubnetworksRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -672,6 +680,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_CacheKeyPolicy_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_CacheKeyPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_CancelInstanceGroupManagerResizeRequestRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_CancelInstanceGroupManagerResizeRequestRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_CircuitBreakers_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -844,6 +856,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_DeleteInstanceGroupManagerRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_DeleteInstanceGroupManagerRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_DeleteInstanceGroupManagerResizeRequestRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_DeleteInstanceGroupManagerResizeRequestRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_DeleteInstanceGroupRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -1060,6 +1076,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_DeleteSslPolicyRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_DeleteSslPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_DeleteStoragePoolRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_DeleteStoragePoolRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_DeleteSubnetworkRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -1526,39 +1546,39 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_GetGuestAttributesInstanceRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetHealthBackendServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetHealthBackendServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetHealthCheckRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetHealthCheckRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetHealthRegionBackendServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetHealthRegionBackendServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetHealthTargetPoolRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetHealthTargetPoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetIamPolicyBackendBucketRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetIamPolicyBackendBucketRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetIamPolicyBackendServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetIamPolicyBackendServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetIamPolicyDiskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetIamPolicyDiskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetIamPolicyFirewallPolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetIamPolicyFirewallPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetIamPolicyImageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetIamPolicyImageRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetIamPolicyInstanceRequest_descriptor; @@ -1628,6 +1648,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_GetIamPolicySnapshotRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetIamPolicySnapshotRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_GetIamPolicyStoragePoolRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_GetIamPolicyStoragePoolRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetIamPolicySubnetworkRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -1644,6 +1668,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_GetInstanceGroupManagerRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetInstanceGroupManagerRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_GetInstanceGroupManagerResizeRequestRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_GetInstanceGroupManagerResizeRequestRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetInstanceGroupRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -1652,6 +1680,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_GetInstanceRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetInstanceRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_GetInstanceSettingRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_GetInstanceSettingRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetInstanceTemplateRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -1924,6 +1956,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_GetStatusVpnGatewayRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetStatusVpnGatewayRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_GetStoragePoolRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_GetStoragePoolRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_GetStoragePoolTypeRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_GetStoragePoolTypeRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetSubnetworkRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -2240,6 +2280,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerResizeRequestRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerResizeRequestRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_InsertInstanceGroupRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -2424,6 +2468,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_InsertSslPolicyRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_InsertSslPolicyRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_InsertStoragePoolRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_InsertStoragePoolRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_InsertSubnetworkRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -2544,6 +2592,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_InstanceGroupManagerList_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_InstanceGroupManagerList_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatus_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatus_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatusLastAttempt_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatusLastAttempt_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestsListResponse_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestsListResponse_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_InstanceGroupManagerStatus_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -2712,6 +2776,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_InstanceReference_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_InstanceReference_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_InstanceSettings_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_InstanceSettings_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_ItemsEntry_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_ItemsEntry_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_InstanceTemplate_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -3044,6 +3120,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_ListDisksRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_ListDisksRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_ListDisksStoragePoolsRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_ListDisksStoragePoolsRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_ListErrorsInstanceGroupManagersRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -3100,6 +3180,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_ListImagesRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_ListImagesRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_ListInstanceGroupManagerResizeRequestsRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_ListInstanceGroupManagerResizeRequestsRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_ListInstanceGroupManagersRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -3372,6 +3456,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_ListSslPoliciesRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_ListSslPoliciesRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_ListStoragePoolTypesRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_ListStoragePoolTypesRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_ListStoragePoolsRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_ListStoragePoolsRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_ListSubnetworksRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -3772,6 +3864,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_NodeGroupsListNodes_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_NodeGroupsListNodes_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_NodeGroupsPerformMaintenanceRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_NodeGroupsPerformMaintenanceRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_NodeGroupsScopedList_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -3960,6 +4056,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_PatchInstanceGroupManagerRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_PatchInstanceGroupManagerRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_PatchInstanceSettingRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_PatchInstanceSettingRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_PatchInterconnectAttachmentRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -4128,6 +4228,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_PerformMaintenanceInstanceRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_PerformMaintenanceInstanceRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_PerformMaintenanceNodeGroupRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_PerformMaintenanceNodeGroupRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_Policy_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -4248,6 +4352,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_QuotaExceededInfo_DimensionsEntry_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_QuotaExceededInfo_DimensionsEntry_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_QuotaStatusWarning_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_QuotaStatusWarning_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_RawDisk_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -5096,6 +5204,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_SetIamPolicySnapshotRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_SetIamPolicySnapshotRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_SetIamPolicyStoragePoolRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_SetIamPolicyStoragePoolRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_SetIamPolicySubnetworkRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -5532,6 +5644,62 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_StopInstanceRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_StopInstanceRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_StoragePool_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_StoragePool_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_StoragePool_LabelsEntry_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_StoragePool_LabelsEntry_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_ItemsEntry_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_ItemsEntry_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_StoragePoolDisk_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_StoragePoolDisk_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_StoragePoolList_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_StoragePoolList_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_StoragePoolListDisks_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_StoragePoolListDisks_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_StoragePoolResourceStatus_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_StoragePoolResourceStatus_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_StoragePoolType_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_StoragePoolType_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_ItemsEntry_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_ItemsEntry_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_StoragePoolTypeList_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_StoragePoolTypeList_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_StoragePoolTypesScopedList_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_StoragePoolTypesScopedList_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_StoragePoolsScopedList_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_StoragePoolsScopedList_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_Subnetwork_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -5896,6 +6064,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_TestIamPermissionsSnapshotRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_TestIamPermissionsSnapshotRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_TestIamPermissionsStoragePoolRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_TestIamPermissionsStoragePoolRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_TestIamPermissionsSubnetworkRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -6008,6 +6180,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_UpdateShieldedInstanceConfigInstanceRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_UpdateShieldedInstanceConfigInstanceRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_UpdateStoragePoolRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_UpdateStoragePoolRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_UpdateUrlMapRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -6886,18 +7062,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\001(\003H\006\210\001\001B\t\n\007_filterB\025\n\023_include_all_scop" + "esB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page" + "_tokenB\031\n\027_return_partial_successB\031\n\027_se" - + "rvice_project_number\"\242\003\n AggregatedListS" - + "ubnetworksRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210" - + "\001\001\022#\n\022include_all_scopes\030\364\341\314\272\001 \001(\010H\001\210\001\001\022" - + "\033\n\013max_results\030\233\310\213\032 \001(\rH\002\210\001\001\022\030\n\010order_by" - + "\030\350\375\307L \001(\tH\003\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\004\210" - + "\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_pa" - + "rtial_success\030\266\244\317\366\001 \001(\010H\005\210\001\001\022\'\n\026service_" - + "project_number\030\371\253\205\227\001 \001(\003H\006\210\001\001B\t\n\007_filter" - + "B\025\n\023_include_all_scopesB\016\n\014_max_resultsB" - + "\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_p" - + "artial_successB\031\n\027_service_project_numbe" - + "r\"\250\003\n&AggregatedListTargetHttpProxiesReq" + + "rvice_project_number\"\247\003\n%AggregatedListS" + + "toragePoolTypesRequest\022\027\n\006filter\030\370\226\243\240\001 \001" + + "(\tH\000\210\001\001\022#\n\022include_all_scopes\030\364\341\314\272\001 \001(\010H" + + "\001\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\002\210\001\001\022\030\n\010ord" + + "er_by\030\350\375\307L \001(\tH\003\210\001\001\022\032\n\npage_token\030\311\260\304\t \001" + + "(\tH\004\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026retu" + + "rn_partial_success\030\266\244\317\366\001 \001(\010H\005\210\001\001\022\'\n\026ser" + + "vice_project_number\030\371\253\205\227\001 \001(\003H\006\210\001\001B\t\n\007_f" + + "ilterB\025\n\023_include_all_scopesB\016\n\014_max_res" + + "ultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_ret" + + "urn_partial_successB\031\n\027_service_project_" + + "number\"\243\003\n!AggregatedListStoragePoolsReq" + "uest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022include" + "_all_scopes\030\364\341\314\272\001 \001(\010H\001\210\001\001\022\033\n\013max_result" + "s\030\233\310\213\032 \001(\rH\002\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\003\210\001" @@ -6907,8 +7083,61 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "r\030\371\253\205\227\001 \001(\003H\006\210\001\001B\t\n\007_filterB\025\n\023_include_" + "all_scopesB\016\n\014_max_resultsB\013\n\t_order_byB" + "\r\n\013_page_tokenB\031\n\027_return_partial_succes" - + "sB\031\n\027_service_project_number\"\251\003\n\'Aggrega" - + "tedListTargetHttpsProxiesRequest\022\027\n\006filt" + + "sB\031\n\027_service_project_number\"\242\003\n Aggrega" + + "tedListSubnetworksRequest\022\027\n\006filter\030\370\226\243\240" + + "\001 \001(\tH\000\210\001\001\022#\n\022include_all_scopes\030\364\341\314\272\001 \001" + + "(\010H\001\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\002\210\001\001\022\030\n\010" + + "order_by\030\350\375\307L \001(\tH\003\210\001\001\022\032\n\npage_token\030\311\260\304" + + "\t \001(\tH\004\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026r" + + "eturn_partial_success\030\266\244\317\366\001 \001(\010H\005\210\001\001\022\'\n\026" + + "service_project_number\030\371\253\205\227\001 \001(\003H\006\210\001\001B\t\n" + + "\007_filterB\025\n\023_include_all_scopesB\016\n\014_max_" + + "resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_" + + "return_partial_successB\031\n\027_service_proje" + + "ct_number\"\250\003\n&AggregatedListTargetHttpPr" + + "oxiesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n" + + "\022include_all_scopes\030\364\341\314\272\001 \001(\010H\001\210\001\001\022\033\n\013ma" + + "x_results\030\233\310\213\032 \001(\rH\002\210\001\001\022\030\n\010order_by\030\350\375\307L" + + " \001(\tH\003\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\004\210\001\001\022\027\n" + + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial" + + "_success\030\266\244\317\366\001 \001(\010H\005\210\001\001\022\'\n\026service_proje" + + "ct_number\030\371\253\205\227\001 \001(\003H\006\210\001\001B\t\n\007_filterB\025\n\023_" + + "include_all_scopesB\016\n\014_max_resultsB\013\n\t_o" + + "rder_byB\r\n\013_page_tokenB\031\n\027_return_partia" + + "l_successB\031\n\027_service_project_number\"\251\003\n" + + "\'AggregatedListTargetHttpsProxiesRequest" + + "\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022include_all" + + "_scopes\030\364\341\314\272\001 \001(\010H\001\210\001\001\022\033\n\013max_results\030\233\310" + + "\213\032 \001(\rH\002\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\003\210\001\001\022\032\n" + + "\npage_token\030\311\260\304\t \001(\tH\004\210\001\001\022\027\n\007project\030\231\226\301" + + "l \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317" + + "\366\001 \001(\010H\005\210\001\001\022\'\n\026service_project_number\030\371\253" + + "\205\227\001 \001(\003H\006\210\001\001B\t\n\007_filterB\025\n\023_include_all_" + + "scopesB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_" + + "page_tokenB\031\n\027_return_partial_successB\031\n" + + "\027_service_project_number\"\246\003\n$AggregatedL" + + "istTargetInstancesRequest\022\027\n\006filter\030\370\226\243\240" + + "\001 \001(\tH\000\210\001\001\022#\n\022include_all_scopes\030\364\341\314\272\001 \001" + + "(\010H\001\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\002\210\001\001\022\030\n\010" + + "order_by\030\350\375\307L \001(\tH\003\210\001\001\022\032\n\npage_token\030\311\260\304" + + "\t \001(\tH\004\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026r" + + "eturn_partial_success\030\266\244\317\366\001 \001(\010H\005\210\001\001\022\'\n\026" + + "service_project_number\030\371\253\205\227\001 \001(\003H\006\210\001\001B\t\n" + + "\007_filterB\025\n\023_include_all_scopesB\016\n\014_max_" + + "resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_" + + "return_partial_successB\031\n\027_service_proje" + + "ct_number\"\242\003\n AggregatedListTargetPoolsR" + + "equest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022inclu" + + "de_all_scopes\030\364\341\314\272\001 \001(\010H\001\210\001\001\022\033\n\013max_resu" + + "lts\030\233\310\213\032 \001(\rH\002\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\003" + + "\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\004\210\001\001\022\027\n\007proje" + + "ct\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_succe" + + "ss\030\266\244\317\366\001 \001(\010H\005\210\001\001\022\'\n\026service_project_num" + + "ber\030\371\253\205\227\001 \001(\003H\006\210\001\001B\t\n\007_filterB\025\n\023_includ" + + "e_all_scopesB\016\n\014_max_resultsB\013\n\t_order_b" + + "yB\r\n\013_page_tokenB\031\n\027_return_partial_succ" + + "essB\031\n\027_service_project_number\"\247\003\n%Aggre" + + "gatedListTargetTcpProxiesRequest\022\027\n\006filt" + "er\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022include_all_scopes\030" + "\364\341\314\272\001 \001(\010H\001\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\002" + "\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\003\210\001\001\022\032\n\npage_to" @@ -6918,8 +7147,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006\210\001\001B\t\n\007_filterB\025\n\023_include_all_scopesB\016" + "\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_tok" + "enB\031\n\027_return_partial_successB\031\n\027_servic" - + "e_project_number\"\246\003\n$AggregatedListTarge" - + "tInstancesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210" + + "e_project_number\"\250\003\n&AggregatedListTarge" + + "tVpnGatewaysRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH" + + "\000\210\001\001\022#\n\022include_all_scopes\030\364\341\314\272\001 \001(\010H\001\210\001" + + "\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\002\210\001\001\022\030\n\010order_" + + "by\030\350\375\307L \001(\tH\003\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH" + + "\004\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_" + + "partial_success\030\266\244\317\366\001 \001(\010H\005\210\001\001\022\'\n\026servic" + + "e_project_number\030\371\253\205\227\001 \001(\003H\006\210\001\001B\t\n\007_filt" + + "erB\025\n\023_include_all_scopesB\016\n\014_max_result" + + "sB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return" + + "_partial_successB\031\n\027_service_project_num" + + "ber\"\236\003\n\034AggregatedListUrlMapsRequest\022\027\n\006" + + "filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022include_all_sco" + + "pes\030\364\341\314\272\001 \001(\010H\001\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001" + + "(\rH\002\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\003\210\001\001\022\032\n\npag" + + "e_token\030\311\260\304\t \001(\tH\004\210\001\001\022\027\n\007project\030\231\226\301l \001(" + + "\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001" + + "(\010H\005\210\001\001\022\'\n\026service_project_number\030\371\253\205\227\001 " + + "\001(\003H\006\210\001\001B\t\n\007_filterB\025\n\023_include_all_scop" + + "esB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page" + + "_tokenB\031\n\027_return_partial_successB\031\n\027_se" + + "rvice_project_number\"\242\003\n AggregatedListV" + + "pnGatewaysRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210" + "\001\001\022#\n\022include_all_scopes\030\364\341\314\272\001 \001(\010H\001\210\001\001\022" + "\033\n\013max_results\030\233\310\213\032 \001(\rH\002\210\001\001\022\030\n\010order_by" + "\030\350\375\307L \001(\tH\003\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\004\210" @@ -6929,6742 +7179,6858 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "B\025\n\023_include_all_scopesB\016\n\014_max_resultsB" + "\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_p" + "artial_successB\031\n\027_service_project_numbe" - + "r\"\242\003\n AggregatedListTargetPoolsRequest\022\027" - + "\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022include_all_s" - + "copes\030\364\341\314\272\001 \001(\010H\001\210\001\001\022\033\n\013max_results\030\233\310\213\032" - + " \001(\rH\002\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\003\210\001\001\022\032\n\np" - + "age_token\030\311\260\304\t \001(\tH\004\210\001\001\022\027\n\007project\030\231\226\301l " - + "\001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001" - + " \001(\010H\005\210\001\001\022\'\n\026service_project_number\030\371\253\205\227" - + "\001 \001(\003H\006\210\001\001B\t\n\007_filterB\025\n\023_include_all_sc" - + "opesB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_pa" - + "ge_tokenB\031\n\027_return_partial_successB\031\n\027_" - + "service_project_number\"\247\003\n%AggregatedLis" - + "tTargetTcpProxiesRequest\022\027\n\006filter\030\370\226\243\240\001" - + " \001(\tH\000\210\001\001\022#\n\022include_all_scopes\030\364\341\314\272\001 \001(" - + "\010H\001\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\002\210\001\001\022\030\n\010o" - + "rder_by\030\350\375\307L \001(\tH\003\210\001\001\022\032\n\npage_token\030\311\260\304\t" - + " \001(\tH\004\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026re" - + "turn_partial_success\030\266\244\317\366\001 \001(\010H\005\210\001\001\022\'\n\026s" - + "ervice_project_number\030\371\253\205\227\001 \001(\003H\006\210\001\001B\t\n\007" - + "_filterB\025\n\023_include_all_scopesB\016\n\014_max_r" - + "esultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_r" - + "eturn_partial_successB\031\n\027_service_projec" - + "t_number\"\250\003\n&AggregatedListTargetVpnGate" - + "waysRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022" - + "include_all_scopes\030\364\341\314\272\001 \001(\010H\001\210\001\001\022\033\n\013max" - + "_results\030\233\310\213\032 \001(\rH\002\210\001\001\022\030\n\010order_by\030\350\375\307L " - + "\001(\tH\003\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\004\210\001\001\022\027\n\007" - + "project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_" - + "success\030\266\244\317\366\001 \001(\010H\005\210\001\001\022\'\n\026service_projec" - + "t_number\030\371\253\205\227\001 \001(\003H\006\210\001\001B\t\n\007_filterB\025\n\023_i" - + "nclude_all_scopesB\016\n\014_max_resultsB\013\n\t_or" - + "der_byB\r\n\013_page_tokenB\031\n\027_return_partial" - + "_successB\031\n\027_service_project_number\"\236\003\n\034" - + "AggregatedListUrlMapsRequest\022\027\n\006filter\030\370" - + "\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022include_all_scopes\030\364\341\314\272" - + "\001 \001(\010H\001\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\002\210\001\001\022" - + "\030\n\010order_by\030\350\375\307L \001(\tH\003\210\001\001\022\032\n\npage_token\030" - + "\311\260\304\t \001(\tH\004\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'" - + "\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\005\210\001\001\022" - + "\'\n\026service_project_number\030\371\253\205\227\001 \001(\003H\006\210\001\001" - + "B\t\n\007_filterB\025\n\023_include_all_scopesB\016\n\014_m" - + "ax_resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031" - + "\n\027_return_partial_successB\031\n\027_service_pr" - + "oject_number\"\242\003\n AggregatedListVpnGatewa" - + "ysRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022in" - + "clude_all_scopes\030\364\341\314\272\001 \001(\010H\001\210\001\001\022\033\n\013max_r" - + "esults\030\233\310\213\032 \001(\rH\002\210\001\001\022\030\n\010order_by\030\350\375\307L \001(" - + "\tH\003\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\004\210\001\001\022\027\n\007pr" - + "oject\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_su" - + "ccess\030\266\244\317\366\001 \001(\010H\005\210\001\001\022\'\n\026service_project_" - + "number\030\371\253\205\227\001 \001(\003H\006\210\001\001B\t\n\007_filterB\025\n\023_inc" - + "lude_all_scopesB\016\n\014_max_resultsB\013\n\t_orde" - + "r_byB\r\n\013_page_tokenB\031\n\027_return_partial_s" - + "uccessB\031\n\027_service_project_number\"\241\003\n\037Ag" - + "gregatedListVpnTunnelsRequest\022\027\n\006filter\030" - + "\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022include_all_scopes\030\364\341\314" - + "\272\001 \001(\010H\001\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\002\210\001\001" - + "\022\030\n\010order_by\030\350\375\307L \001(\tH\003\210\001\001\022\032\n\npage_token" - + "\030\311\260\304\t \001(\tH\004\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022" - + "\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\005\210\001\001" - + "\022\'\n\026service_project_number\030\371\253\205\227\001 \001(\003H\006\210\001" - + "\001B\t\n\007_filterB\025\n\023_include_all_scopesB\016\n\014_" - + "max_resultsB\013\n\t_order_byB\r\n\013_page_tokenB" - + "\031\n\027_return_partial_successB\031\n\027_service_p" - + "roject_number\"\201\001\n\014AliasIpRange\022\035\n\rip_cid" - + "r_range\030\312\315\344. \001(\tH\000\210\001\001\022&\n\025subnetwork_rang" - + "e_name\030\276\262\201\271\001 \001(\tH\001\210\001\001B\020\n\016_ip_cidr_rangeB" - + "\030\n\026_subnetwork_range_name\"\342\004\n\036Allocation" - + "AggregateReservation\022i\n\020in_use_resources" - + "\030\323\367\203\303\001 \003(\0132K.google.cloud.compute.v1.All" - + "ocationAggregateReservationReservedResou" - + "rceInfo\022j\n\022reserved_resources\030\316\343\325e \003(\0132K" - + ".google.cloud.compute.v1.AllocationAggre" - + "gateReservationReservedResourceInfo\022\031\n\tv" - + "m_family\030\354\273\316; \001(\tH\000\210\001\001\022\036\n\rworkload_type\030" - + "\202\376\260\202\001 \001(\tH\001\210\001\001\"\255\001\n\010VmFamily\022\027\n\023UNDEFINED" - + "_VM_FAMILY\020\000\022+\n$VM_FAMILY_CLOUD_TPU_LITE" - + "_DEVICE_CT5L\020\343\202\3013\022/\n(VM_FAMILY_CLOUD_TPU" - + "_LITE_POD_SLICE_CT5LP\020\363\326\365\010\022*\n\"VM_FAMILY_" - + "CLOUD_TPU_POD_SLICE_CT4P\020\327\321\332\366\001\"^\n\014Worklo" - + "adType\022\033\n\027UNDEFINED_WORKLOAD_TYPE\020\000\022\014\n\005B" - + "ATCH\020\232\276\203\036\022\016\n\007SERVING\020\354\247\275\010\022\023\n\013UNSPECIFIED" - + "\020\227\276\230\373\001B\014\n\n_vm_familyB\020\n\016_workload_type\"\272" - + "\001\n2AllocationAggregateReservationReserve" - + "dResourceInfo\022t\n\013accelerator\030\353\304\253\312\001 \001(\0132V" - + ".google.cloud.compute.v1.AllocationAggre" - + "gateReservationReservedResourceInfoAccel" - + "eratorH\000\210\001\001B\016\n\014_accelerator\"\260\001\n=Allocati" - + "onAggregateReservationReservedResourceIn" - + "foAccelerator\022\"\n\021accelerator_count\030\273\264\337\360\001" - + " \001(\005H\000\210\001\001\022 \n\020accelerator_type\030\216\341\350A \001(\tH\001" - + "\210\001\001B\024\n\022_accelerator_countB\023\n\021_accelerato" - + "r_type\"\247\001\n\030AllocationResourceStatus\022o\n\027s" - + "pecific_sku_allocation\030\357\377\310] \001(\0132F.google" - + ".cloud.compute.v1.AllocationResourceStat" - + "usSpecificSKUAllocationH\000\210\001\001B\032\n\030_specifi" - + "c_sku_allocation\"|\n-AllocationResourceSt" - + "atusSpecificSKUAllocation\022+\n\033source_inst" - + "ance_template_id\030\372\357\2025 \001(\tH\000\210\001\001B\036\n\034_sourc" - + "e_instance_template_id\"\342\001\nFAllocationSpe" - + "cificSKUAllocationAllocatedInstancePrope" - + "rtiesReservedDisk\022\035\n\014disk_size_gb\030\267\232\347\226\001 " - + "\001(\003H\000\210\001\001\022\032\n\tinterface\030\271\332\325\357\001 \001(\tH\001\210\001\001\">\n\t" - + "Interface\022\027\n\023UNDEFINED_INTERFACE\020\000\022\013\n\004NV" - + "ME\020\340\202\223\001\022\013\n\004SCSI\020\246\201\233\001B\017\n\r_disk_size_gbB\014\n" - + "\n_interface\"\227\003\n9AllocationSpecificSKUAll" - + "ocationReservedInstanceProperties\022J\n\022gue" - + "st_accelerators\030\357\314\207\335\001 \003(\0132*.google.cloud" - + ".compute.v1.AcceleratorConfig\022v\n\nlocal_s" - + "sds\030\303\216\323m \003(\0132_.google.cloud.compute.v1.A" - + "llocationSpecificSKUAllocationAllocatedI" - + "nstancePropertiesReservedDisk\022\036\n\rlocatio" - + "n_hint\030\321\201\222\247\001 \001(\tH\000\210\001\001\022\034\n\014machine_type\030\262\260" - + "\312l \001(\tH\001\210\001\001\022 \n\020min_cpu_platform\030\367\233\352s \001(\t" - + "H\002\210\001\001B\020\n\016_location_hintB\017\n\r_machine_type" - + "B\023\n\021_min_cpu_platform\"\376\002\n AllocationSpec" - + "ificSKUReservation\022\036\n\rassured_count\030\315\370\212\206" - + "\001 \001(\003H\000\210\001\001\022\025\n\005count\030\217\242\235- \001(\003H\001\210\001\001\022\035\n\014in_" - + "use_count\030\275\253\246\353\001 \001(\003H\002\210\001\001\022w\n\023instance_pro" - + "perties\030\235\236\330f \001(\0132R.google.cloud.compute." - + "v1.AllocationSpecificSKUAllocationReserv", - "edInstancePropertiesH\003\210\001\001\022)\n\030source_inst" - + "ance_template\030\300\303\301\236\001 \001(\tH\004\210\001\001B\020\n\016_assured" - + "_countB\010\n\006_countB\017\n\r_in_use_countB\026\n\024_in" - + "stance_propertiesB\033\n\031_source_instance_te" - + "mplate\"K\n\007Allowed\022\035\n\014I_p_protocol\030\275\366\336\350\001 " - + "\001(\tH\000\210\001\001\022\020\n\005ports\030\222\360\3712 \003(\tB\017\n\r_I_p_proto" - + "col\"\240\001\n&AnnouncePublicAdvertisedPrefixeR" - + "equest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" - + "t\022(\n\030public_advertised_prefix\030\236\367\3110 \001(\tB\003" - + "\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_requ" - + "est_id\"\277\001\n%AnnouncePublicDelegatedPrefix" - + "eRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" - + "ect\022\'\n\027public_delegated_prefix\030\350\334\261a \001(\tB" - + "\003\340A\002\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n" - + "\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id" - + "\"\250\002\n2ApplyUpdatesToInstancesInstanceGrou" - + "pManagerRequest\022&\n\026instance_group_manage" - + "r\030\303\367\363v \001(\tB\003\340A\002\022\211\001\n6instance_group_manag" - + "ers_apply_updates_request_resource\030\323\366\316{ " - + "\001(\0132A.google.cloud.compute.v1.InstanceGr" - + "oupManagersApplyUpdatesRequestB\003\340A\002\022!\n\007p" - + "roject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\033\n\004zone\030\254" - + "\307\344\001 \001(\tB\n\340A\002\362G\004zone\"\277\002\n8ApplyUpdatesToIn" - + "stancesRegionInstanceGroupManagerRequest" - + "\022&\n\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002" - + "\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006r" - + "egion\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\226\001\n=region_" - + "instance_group_managers_apply_updates_re" - + "quest_resource\030\376\351\255$ \001(\0132G.google.cloud.c" - + "ompute.v1.RegionInstanceGroupManagersApp" - + "lyUpdatesRequestB\003\340A\002\"\236\002\n\031AttachDiskInst" - + "anceRequest\022M\n\026attached_disk_resource\030\225\222" - + "\232+ \001(\0132%.google.cloud.compute.v1.Attache" - + "dDiskB\003\340A\002\022\034\n\014force_attach\030\231\244\211D \001(\010H\000\210\001\001" - + "\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022!\n\007project\030\231\226" - + "\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021" - + " \001(\tH\001\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\017" - + "\n\r_force_attachB\r\n\013_request_id\"\317\002\n7Attac" - + "hNetworkEndpointsGlobalNetworkEndpointGr" - + "oupRequest\022\234\001\n@global_network_endpoint_g" - + "roups_attach_endpoints_request_resource\030" - + "\353\241\321\016 \001(\0132J.google.cloud.compute.v1.Globa" - + "lNetworkEndpointGroupsAttachEndpointsReq" - + "uestB\003\340A\002\022\'\n\026network_endpoint_group\030\206\313\363\316" - + "\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" - + "oject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_re" - + "quest_id\"\330\002\n1AttachNetworkEndpointsNetwo" - + "rkEndpointGroupRequest\022\'\n\026network_endpoi" - + "nt_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022\216\001\n9network_endp" - + "oint_groups_attach_endpoints_request_res" - + "ource\030\207\265 \001(\0132D.google.cloud.compute.v1." - + "NetworkEndpointGroupsAttachEndpointsRequ" - + "estB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" - + "ect\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030" - + "\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\361\002\n7" - + "AttachNetworkEndpointsRegionNetworkEndpo" - + "intGroupRequest\022\'\n\026network_endpoint_grou" - + "p\030\206\313\363\316\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A" - + "\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006re" - + "gion\022\235\001\n@region_network_endpoint_groups_" - + "attach_endpoints_request_resource\030\374\371\335\237\001 " - + "\001(\0132J.google.cloud.compute.v1.RegionNetw" - + "orkEndpointGroupsAttachEndpointsRequestB" - + "\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_req" - + "uest_id\"\334\n\n\014AttachedDisk\022\035\n\014architecture" - + "\030\323\322\261\220\001 \001(\tH\000\210\001\001\022\034\n\013auto_delete\030\273\344\316\335\001 \001(\010" - + "H\001\210\001\001\022\024\n\004boot\030\362\365\270\001 \001(\010H\002\210\001\001\022\033\n\013device_na" - + "me\030\324\265\232 \001(\tH\003\210\001\001\022T\n\023disk_encryption_key\030" - + "\205\355\304\201\001 \001(\0132..google.cloud.compute.v1.Cust" - + "omerEncryptionKeyH\004\210\001\001\022\035\n\014disk_size_gb\030\267" - + "\232\347\226\001 \001(\003H\005\210\001\001\022\034\n\014force_attach\030\231\244\211D \001(\010H\006" - + "\210\001\001\022E\n\021guest_os_features\030\321\340\347% \003(\0132\'.goog" - + "le.cloud.compute.v1.GuestOsFeature\022\025\n\005in" - + "dex\030\322\321\354/ \001(\005H\007\210\001\001\022X\n\021initialize_params\030\225" - + "\222\270\010 \001(\01325.google.cloud.compute.v1.Attach" - + "edDiskInitializeParamsH\010\210\001\001\022\032\n\tinterface" - + "\030\271\332\325\357\001 \001(\tH\t\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\n\210\001\001\022\024\n" - + "\010licenses\030\322\210\200\241\001 \003(\t\022\024\n\004mode\030\243\363\314\001 \001(\tH\013\210\001" - + "\001\022\034\n\013saved_state\030\331\251\241\304\001 \001(\tH\014\210\001\001\022\\\n\037shiel" - + "ded_instance_initial_state\030\203\304\334[ \001(\0132+.go" - + "ogle.cloud.compute.v1.InitialStateConfig" - + "H\r\210\001\001\022\026\n\006source\030\233\320\301T \001(\tH\016\210\001\001\022\024\n\004type\030\272\236" - + "\332\001 \001(\tH\017\210\001\001\"j\n\014Architecture\022\032\n\026UNDEFINED" - + "_ARCHITECTURE\020\000\022 \n\030ARCHITECTURE_UNSPECIF" - + "IED\020\253\324\235\274\001\022\014\n\005ARM64\020\372\313\351\035\022\016\n\006X86_64\020\307\244\346\312\001\"" - + ">\n\tInterface\022\027\n\023UNDEFINED_INTERFACE\020\000\022\013\n" - + "\004NVME\020\340\202\223\001\022\013\n\004SCSI\020\246\201\233\001\"?\n\004Mode\022\022\n\016UNDEF" - + "INED_MODE\020\000\022\020\n\tREAD_ONLY\020\265\231\354+\022\021\n\nREAD_WR" - + "ITE\020\326\227\344R\"_\n\nSavedState\022\031\n\025UNDEFINED_SAVE" - + "D_STATE\020\000\022$\n\034DISK_SAVED_STATE_UNSPECIFIE" - + "D\020\317\277\312\272\001\022\020\n\tPRESERVED\020\370\326\230y\"?\n\004Type\022\022\n\016UND" - + "EFINED_TYPE\020\000\022\022\n\nPERSISTENT\020\227\365\325\333\001\022\017\n\007SCR" - + "ATCH\020\332\375\360\354\001B\017\n\r_architectureB\016\n\014_auto_del" - + "eteB\007\n\005_bootB\016\n\014_device_nameB\026\n\024_disk_en" - + "cryption_keyB\017\n\r_disk_size_gbB\017\n\r_force_" - + "attachB\010\n\006_indexB\024\n\022_initialize_paramsB\014" - + "\n\n_interfaceB\007\n\005_kindB\007\n\005_modeB\016\n\014_saved" - + "_stateB\"\n _shielded_instance_initial_sta" - + "teB\t\n\007_sourceB\007\n\005_type\"\337\013\n\034AttachedDiskI" - + "nitializeParams\022\035\n\014architecture\030\323\322\261\220\001 \001(" - + "\tH\000\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\031\n\t" - + "disk_name\030\355\277\240, \001(\tH\002\210\001\001\022\035\n\014disk_size_gb\030" - + "\267\232\347\226\001 \001(\003H\003\210\001\001\022\031\n\tdisk_type\030\234\351\254, \001(\tH\004\210\001" - + "\001\022+\n\033enable_confidential_compute\030\274\353\3310 \001(" - + "\010H\005\210\001\001\022U\n\006labels\030\377\277\301\356\001 \003(\0132A.google.clou" - + "d.compute.v1.AttachedDiskInitializeParam" - + "s.LabelsEntry\022\024\n\010licenses\030\322\210\200\241\001 \003(\t\022 \n\020o" - + "n_update_action\030\214\330\304` \001(\tH\006\210\001\001\022 \n\020provisi" - + "oned_iops\030\324\275\207Y \001(\003H\007\210\001\001\022\'\n\026provisioned_t" - + "hroughput\030\225\276\210\373\001 \001(\003H\010\210\001\001\022\030\n\rreplica_zone" - + "s\030\200\270\214\027 \003(\t\022q\n\025resource_manager_tags\030\374\233\213\264" - + "\001 \003(\0132N.google.cloud.compute.v1.Attached" - + "DiskInitializeParams.ResourceManagerTags" - + "Entry\022\034\n\021resource_policies\030\341\234\314\n \003(\t\022\034\n\014s" - + "ource_image\030\267\350\206\030 \001(\tH\t\210\001\001\022\\\n\033source_imag" - + "e_encryption_key\030\253\221\365\265\001 \001(\0132..google.clou" - + "d.compute.v1.CustomerEncryptionKeyH\n\210\001\001\022" - + "\037\n\017source_snapshot\030\350\232\216< \001(\tH\013\210\001\001\022_\n\036sour" - + "ce_snapshot_encryption_key\030\332\216\347\220\001 \001(\0132..g" - + "oogle.cloud.compute.v1.CustomerEncryptio" - + "nKeyH\014\210\001\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001\032:\n\030ResourceManagerTagsE" - + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"j\n\014" - + "Architecture\022\032\n\026UNDEFINED_ARCHITECTURE\020\000" - + "\022 \n\030ARCHITECTURE_UNSPECIFIED\020\253\324\235\274\001\022\014\n\005AR" - + "M64\020\372\313\351\035\022\016\n\006X86_64\020\307\244\346\312\001\"\212\001\n\016OnUpdateAct" - + "ion\022\036\n\032UNDEFINED_ON_UPDATE_ACTION\020\000\022\025\n\rR" - + "ECREATE_DISK\020\355\235\366\353\001\022\'\n\037RECREATE_DISK_IF_S" - + "OURCE_CHANGED\020\200\212\352\275\001\022\030\n\021USE_EXISTING_DISK" - + "\020\371\345\371nB\017\n\r_architectureB\016\n\014_descriptionB\014" - + "\n\n_disk_nameB\017\n\r_disk_size_gbB\014\n\n_disk_t" - + "ypeB\036\n\034_enable_confidential_computeB\023\n\021_" - + "on_update_actionB\023\n\021_provisioned_iopsB\031\n" - + "\027_provisioned_throughputB\017\n\r_source_imag" - + "eB\036\n\034_source_image_encryption_keyB\022\n\020_so" - + "urce_snapshotB!\n\037_source_snapshot_encryp" - + "tion_key\"\230\001\n\013AuditConfig\022F\n\021audit_log_co" - + "nfigs\030\222\352\362\350\001 \003(\0132\'.google.cloud.compute.v" - + "1.AuditLogConfig\022\033\n\020exempted_members\030\230\335\365" - + "n \003(\t\022\030\n\007service\030\265\215\217\262\001 \001(\tH\000\210\001\001B\n\n\010_serv" - + "ice\"\224\002\n\016AuditLogConfig\022\033\n\020exempted_membe" - + "rs\030\230\335\365n \003(\t\022\'\n\027ignore_child_exemptions\030\232" - + "\217\271! \001(\010H\000\210\001\001\022\031\n\010log_type\030\325\236\234\300\001 \001(\tH\001\210\001\001\"" - + "x\n\007LogType\022\026\n\022UNDEFINED_LOG_TYPE\020\000\022\021\n\nAD" - + "MIN_READ\020\246\311\276=\022\021\n\tDATA_READ\020\213\272\305\221\001\022\022\n\nDATA" - + "_WRITE\020\352\205\233\242\001\022\033\n\024LOG_TYPE_UNSPECIFIED\020\315\312\327" - + "IB\032\n\030_ignore_child_exemptionsB\013\n\t_log_ty" - + "pe\"\370\001\n\033AuthorizationLoggingOptions\022 \n\017pe" - + "rmission_type\030\252\227\347\372\001 \001(\tH\000\210\001\001\"\242\001\n\016Permiss" - + "ionType\022\035\n\031UNDEFINED_PERMISSION_TYPE\020\000\022\021" - + "\n\nADMIN_READ\020\246\311\276=\022\022\n\013ADMIN_WRITE\020\257\335\305t\022\021\n" - + "\tDATA_READ\020\213\272\305\221\001\022\022\n\nDATA_WRITE\020\352\205\233\242\001\022#\n\033" - + "PERMISSION_TYPE_UNSPECIFIED\020\202\314\372\321\001B\022\n\020_pe" - + "rmission_type\"\235\007\n\nAutoscaler\022N\n\022autoscal" - + "ing_policy\030\331\340\352i \001(\0132*.google.cloud.compu" - + "te.v1.AutoscalingPolicyH\000\210\001\001\022\"\n\022creation" - + "_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013description\030" - + "\374\207\326\311\001 \001(\tH\002\210\001\001\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n\004kind" - + "\030\224\367\310\001 \001(\tH\004\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022 \n\020" - + "recommended_size\030\345\366\375z \001(\005H\006\210\001\001\022\026\n\006region" - + "\030\364\315\240B \001(\tH\007\210\001\001\022c\n\027scaling_schedule_statu" - + "s\030\342\253\227\336\001 \003(\0132>.google.cloud.compute.v1.Au" - + "toscaler.ScalingScheduleStatusEntry\022\032\n\ts" - + "elf_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022\026\n\006status\030\362\237\267V \001" - + "(\tH\t\210\001\001\022L\n\016status_details\030\365\255\241\255\001 \003(\01320.go" - + "ogle.cloud.compute.v1.AutoscalerStatusDe" - + "tails\022\026\n\006target\030\221\343\371[ \001(\tH\n\210\001\001\022\024\n\004zone\030\254\307" - + "\344\001 \001(\tH\013\210\001\001\032l\n\032ScalingScheduleStatusEntr" - + "y\022\013\n\003key\030\001 \001(\t\022=\n\005value\030\002 \001(\0132..google.c" - + "loud.compute.v1.ScalingScheduleStatus:\0028" - + "\001\"^\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\016\n\006ACT" - + "IVE\020\206\346\211\226\001\022\020\n\010DELETING\020\250\247\207\374\001\022\014\n\005ERROR\020\350\263\313" - + "\037\022\016\n\007PENDING\020\367\252\360\020B\025\n\023_autoscaling_policy" - + "B\025\n\023_creation_timestampB\016\n\014_descriptionB" - + "\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\023\n\021_recommended" - + "_sizeB\t\n\007_regionB\014\n\n_self_linkB\t\n\007_statu" - + "sB\t\n\007_targetB\007\n\005_zone\"\277\003\n\030AutoscalerAggr" - + "egatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022N\n\005items\030\300\317" - + "\367/ \003(\0132<.google.cloud.compute.v1.Autosca" - + "lerAggregatedList.ItemsEntry\022\024\n\004kind\030\224\367\310" - + "\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002" - + "\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unrea" - + "chables\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .g" - + "oogle.cloud.compute.v1.WarningH\004\210\001\001\032\\\n\nI" - + "temsEntry\022\013\n\003key\030\001 \001(\t\022=\n\005value\030\002 \001(\0132.." - + "google.cloud.compute.v1.AutoscalersScope" - + "dList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_" - + "tokenB\014\n\n_self_linkB\n\n\010_warning\"\245\002\n\016Auto" - + "scalerList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0225\n\005items\030\300\317" - + "\367/ \003(\0132#.google.cloud.compute.v1.Autosca" - + "ler\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_t" - + "oken\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(" - + "\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.clou" - + "d.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kin" + + "r\"\241\003\n\037AggregatedListVpnTunnelsRequest\022\027\n" + + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022include_all_sc" + + "opes\030\364\341\314\272\001 \001(\010H\001\210\001\001\022\033\n\013max_results\030\233\310\213\032 " + + "\001(\rH\002\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\003\210\001\001\022\032\n\npa" + + "ge_token\030\311\260\304\t \001(\tH\004\210\001\001\022\027\n\007project\030\231\226\301l \001" + + "(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 " + + "\001(\010H\005\210\001\001\022\'\n\026service_project_number\030\371\253\205\227\001" + + " \001(\003H\006\210\001\001B\t\n\007_filterB\025\n\023_include_all_sco" + + "pesB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_pag" + + "e_tokenB\031\n\027_return_partial_successB\031\n\027_s" + + "ervice_project_number\"\201\001\n\014AliasIpRange\022\035" + + "\n\rip_cidr_range\030\312\315\344. \001(\tH\000\210\001\001\022&\n\025subnetw" + + "ork_range_name\030\276\262\201\271\001 \001(\tH\001\210\001\001B\020\n\016_ip_cid" + + "r_rangeB\030\n\026_subnetwork_range_name\"\342\004\n\036Al" + + "locationAggregateReservation\022i\n\020in_use_r" + + "esources\030\323\367\203\303\001 \003(\0132K.google.cloud.comput" + + "e.v1.AllocationAggregateReservationReser" + + "vedResourceInfo\022j\n\022reserved_resources\030\316\343" + + "\325e \003(\0132K.google.cloud.compute.v1.Allocat" + + "ionAggregateReservationReservedResourceI" + + "nfo\022\031\n\tvm_family\030\354\273\316; \001(\tH\000\210\001\001\022\036\n\rworklo" + + "ad_type\030\202\376\260\202\001 \001(\tH\001\210\001\001\"\255\001\n\010VmFamily\022\027\n\023U" + + "NDEFINED_VM_FAMILY\020\000\022+\n$VM_FAMILY_CLOUD_" + + "TPU_LITE_DEVICE_CT5L\020\343\202\3013\022/\n(VM_FAMILY_C" + + "LOUD_TPU_LITE_POD_SLICE_CT5LP\020\363\326\365\010\022*\n\"VM" + + "_FAMILY_CLOUD_TPU_POD_SLICE_CT4P\020\327\321\332\366\001\"^" + + "\n\014WorkloadType\022\033\n\027UNDEFINED_WORKLOAD_TYP" + + "E\020\000\022\014\n\005BATCH\020\232\276\203\036\022\016\n\007SERVING\020\354\247\275\010\022\023\n\013UNS" + + "PECIFIED\020\227\276\230\373\001B\014\n\n_vm_familyB\020\n\016_workloa" + + "d_type\"\272\001\n2AllocationAggregateReservatio" + + "nReservedResourceInfo\022t\n\013accelerator\030\353\304\253" + + "\312\001 \001(\0132V.google.cloud.compute.v1.Allocat" + + "ionAggregateReservationReservedResourceI" + + "nfoAcceleratorH\000\210\001\001B\016\n\014_accelerator\"\260\001\n=" + + "AllocationAggregateReservationReservedRe" + + "sourceInfoAccelerator\022\"\n\021accelerator_cou" + + "nt\030\273\264\337\360\001 \001(\005H\000\210\001\001\022 \n\020accelerator_type\030\216\341" + + "\350A \001(\tH\001\210\001\001B\024\n\022_accelerator_countB\023\n\021_ac" + + "celerator_type\"\247\001\n\030AllocationResourceSta" + + "tus\022o\n\027specific_sku_allocation\030\357\377\310] \001(\0132" + + "F.google.cloud.compute.v1.AllocationReso" + + "urceStatusSpecificSKUAllocationH\000\210\001\001B\032\n\030" + + "_specific_sku_allocation\"|\n-AllocationRe" + + "sourceStatusSpecificSKUAllocation\022+\n\033sou" + + "rce_instance_template_id\030\372\357\2025 \001(\tH\000\210\001\001B\036" + + "\n\034_source_instance_template_id\"\342\001\nFAlloc", + "ationSpecificSKUAllocationAllocatedInsta" + + "ncePropertiesReservedDisk\022\035\n\014disk_size_g" + + "b\030\267\232\347\226\001 \001(\003H\000\210\001\001\022\032\n\tinterface\030\271\332\325\357\001 \001(\tH" + + "\001\210\001\001\">\n\tInterface\022\027\n\023UNDEFINED_INTERFACE" + + "\020\000\022\013\n\004NVME\020\340\202\223\001\022\013\n\004SCSI\020\246\201\233\001B\017\n\r_disk_si" + + "ze_gbB\014\n\n_interface\"\227\003\n9AllocationSpecif" + + "icSKUAllocationReservedInstancePropertie" + + "s\022J\n\022guest_accelerators\030\357\314\207\335\001 \003(\0132*.goog" + + "le.cloud.compute.v1.AcceleratorConfig\022v\n" + + "\nlocal_ssds\030\303\216\323m \003(\0132_.google.cloud.comp" + + "ute.v1.AllocationSpecificSKUAllocationAl" + + "locatedInstancePropertiesReservedDisk\022\036\n" + + "\rlocation_hint\030\321\201\222\247\001 \001(\tH\000\210\001\001\022\034\n\014machine" + + "_type\030\262\260\312l \001(\tH\001\210\001\001\022 \n\020min_cpu_platform\030" + + "\367\233\352s \001(\tH\002\210\001\001B\020\n\016_location_hintB\017\n\r_mach" + + "ine_typeB\023\n\021_min_cpu_platform\"\376\002\n Alloca" + + "tionSpecificSKUReservation\022\036\n\rassured_co" + + "unt\030\315\370\212\206\001 \001(\003H\000\210\001\001\022\025\n\005count\030\217\242\235- \001(\003H\001\210\001" + + "\001\022\035\n\014in_use_count\030\275\253\246\353\001 \001(\003H\002\210\001\001\022w\n\023inst" + + "ance_properties\030\235\236\330f \001(\0132R.google.cloud." + + "compute.v1.AllocationSpecificSKUAllocati" + + "onReservedInstancePropertiesH\003\210\001\001\022)\n\030sou" + + "rce_instance_template\030\300\303\301\236\001 \001(\tH\004\210\001\001B\020\n\016" + + "_assured_countB\010\n\006_countB\017\n\r_in_use_coun" + + "tB\026\n\024_instance_propertiesB\033\n\031_source_ins" + + "tance_template\"K\n\007Allowed\022\035\n\014I_p_protoco" + + "l\030\275\366\336\350\001 \001(\tH\000\210\001\001\022\020\n\005ports\030\222\360\3712 \003(\tB\017\n\r_I" + + "_p_protocol\"\240\001\n&AnnouncePublicAdvertised" + + "PrefixeRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362" + + "G\007project\022(\n\030public_advertised_prefix\030\236\367" + + "\3110 \001(\tB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B" + + "\r\n\013_request_id\"\277\001\n%AnnouncePublicDelegat" + + "edPrefixeRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A" + + "\002\362G\007project\022\'\n\027public_delegated_prefix\030\350" + + "\334\261a \001(\tB\003\340A\002\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006r" + + "egion\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_re" + + "quest_id\"\250\002\n2ApplyUpdatesToInstancesInst" + + "anceGroupManagerRequest\022&\n\026instance_grou" + + "p_manager\030\303\367\363v \001(\tB\003\340A\002\022\211\001\n6instance_gro" + + "up_managers_apply_updates_request_resour" + + "ce\030\323\366\316{ \001(\0132A.google.cloud.compute.v1.In" + + "stanceGroupManagersApplyUpdatesRequestB\003" + + "\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\033" + + "\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zone\"\277\002\n8ApplyUpd" + + "atesToInstancesRegionInstanceGroupManage" + + "rRequest\022&\n\026instance_group_manager\030\303\367\363v " + + "\001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" + + "ect\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\226\001\n" + + "=region_instance_group_managers_apply_up" + + "dates_request_resource\030\376\351\255$ \001(\0132G.google" + + ".cloud.compute.v1.RegionInstanceGroupMan" + + "agersApplyUpdatesRequestB\003\340A\002\"\236\002\n\031Attach" + + "DiskInstanceRequest\022M\n\026attached_disk_res" + + "ource\030\225\222\232+ \001(\0132%.google.cloud.compute.v1" + + ".AttachedDiskB\003\340A\002\022\034\n\014force_attach\030\231\244\211D " + + "\001(\010H\000\210\001\001\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022!\n\007pr" + + "oject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest" + + "_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362" + + "G\004zoneB\017\n\r_force_attachB\r\n\013_request_id\"\317" + + "\002\n7AttachNetworkEndpointsGlobalNetworkEn" + + "dpointGroupRequest\022\234\001\n@global_network_en" + + "dpoint_groups_attach_endpoints_request_r" + + "esource\030\353\241\321\016 \001(\0132J.google.cloud.compute." + + "v1.GlobalNetworkEndpointGroupsAttachEndp" + + "ointsRequestB\003\340A\002\022\'\n\026network_endpoint_gr" + + "oup\030\206\313\363\316\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r" + + "\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001" + + "\001B\r\n\013_request_id\"\330\002\n1AttachNetworkEndpoi" + + "ntsNetworkEndpointGroupRequest\022\'\n\026networ" + + "k_endpoint_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022\216\001\n9netw" + + "ork_endpoint_groups_attach_endpoints_req" + + "uest_resource\030\207\265 \001(\0132D.google.cloud.com" + + "pute.v1.NetworkEndpointGroupsAttachEndpo" + + "intsRequestB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A" + + "\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022" + + "\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request" + + "_id\"\361\002\n7AttachNetworkEndpointsRegionNetw" + + "orkEndpointGroupRequest\022\'\n\026network_endpo" + + "int_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l" + + " \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014" + + "\340A\002\362G\006region\022\235\001\n@region_network_endpoint" + + "_groups_attach_endpoints_request_resourc" + + "e\030\374\371\335\237\001 \001(\0132J.google.cloud.compute.v1.Re" + + "gionNetworkEndpointGroupsAttachEndpoints" + + "RequestB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001" + + "B\r\n\013_request_id\"\334\n\n\014AttachedDisk\022\035\n\014arch" + + "itecture\030\323\322\261\220\001 \001(\tH\000\210\001\001\022\034\n\013auto_delete\030\273" + + "\344\316\335\001 \001(\010H\001\210\001\001\022\024\n\004boot\030\362\365\270\001 \001(\010H\002\210\001\001\022\033\n\013d" + + "evice_name\030\324\265\232 \001(\tH\003\210\001\001\022T\n\023disk_encrypt" + + "ion_key\030\205\355\304\201\001 \001(\0132..google.cloud.compute" + + ".v1.CustomerEncryptionKeyH\004\210\001\001\022\035\n\014disk_s" + + "ize_gb\030\267\232\347\226\001 \001(\003H\005\210\001\001\022\034\n\014force_attach\030\231\244" + + "\211D \001(\010H\006\210\001\001\022E\n\021guest_os_features\030\321\340\347% \003(" + + "\0132\'.google.cloud.compute.v1.GuestOsFeatu" + + "re\022\025\n\005index\030\322\321\354/ \001(\005H\007\210\001\001\022X\n\021initialize_" + + "params\030\225\222\270\010 \001(\01325.google.cloud.compute.v" + + "1.AttachedDiskInitializeParamsH\010\210\001\001\022\032\n\ti" + + "nterface\030\271\332\325\357\001 \001(\tH\t\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\t" + + "H\n\210\001\001\022\024\n\010licenses\030\322\210\200\241\001 \003(\t\022\024\n\004mode\030\243\363\314\001" + + " \001(\tH\013\210\001\001\022\034\n\013saved_state\030\331\251\241\304\001 \001(\tH\014\210\001\001\022" + + "\\\n\037shielded_instance_initial_state\030\203\304\334[ " + + "\001(\0132+.google.cloud.compute.v1.InitialSta" + + "teConfigH\r\210\001\001\022\026\n\006source\030\233\320\301T \001(\tH\016\210\001\001\022\024\n" + + "\004type\030\272\236\332\001 \001(\tH\017\210\001\001\"j\n\014Architecture\022\032\n\026U" + + "NDEFINED_ARCHITECTURE\020\000\022 \n\030ARCHITECTURE_" + + "UNSPECIFIED\020\253\324\235\274\001\022\014\n\005ARM64\020\372\313\351\035\022\016\n\006X86_6" + + "4\020\307\244\346\312\001\">\n\tInterface\022\027\n\023UNDEFINED_INTERF" + + "ACE\020\000\022\013\n\004NVME\020\340\202\223\001\022\013\n\004SCSI\020\246\201\233\001\"?\n\004Mode\022" + + "\022\n\016UNDEFINED_MODE\020\000\022\020\n\tREAD_ONLY\020\265\231\354+\022\021\n" + + "\nREAD_WRITE\020\326\227\344R\"_\n\nSavedState\022\031\n\025UNDEFI" + + "NED_SAVED_STATE\020\000\022$\n\034DISK_SAVED_STATE_UN" + + "SPECIFIED\020\317\277\312\272\001\022\020\n\tPRESERVED\020\370\326\230y\"?\n\004Typ" + + "e\022\022\n\016UNDEFINED_TYPE\020\000\022\022\n\nPERSISTENT\020\227\365\325\333" + + "\001\022\017\n\007SCRATCH\020\332\375\360\354\001B\017\n\r_architectureB\016\n\014_" + + "auto_deleteB\007\n\005_bootB\016\n\014_device_nameB\026\n\024" + + "_disk_encryption_keyB\017\n\r_disk_size_gbB\017\n" + + "\r_force_attachB\010\n\006_indexB\024\n\022_initialize_" + + "paramsB\014\n\n_interfaceB\007\n\005_kindB\007\n\005_modeB\016" + + "\n\014_saved_stateB\"\n _shielded_instance_ini" + + "tial_stateB\t\n\007_sourceB\007\n\005_type\"\217\014\n\034Attac" + + "hedDiskInitializeParams\022\035\n\014architecture\030" + + "\323\322\261\220\001 \001(\tH\000\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH" + + "\001\210\001\001\022\031\n\tdisk_name\030\355\277\240, \001(\tH\002\210\001\001\022\035\n\014disk_" + + "size_gb\030\267\232\347\226\001 \001(\003H\003\210\001\001\022\031\n\tdisk_type\030\234\351\254," + + " \001(\tH\004\210\001\001\022+\n\033enable_confidential_compute" + + "\030\274\353\3310 \001(\010H\005\210\001\001\022U\n\006labels\030\377\277\301\356\001 \003(\0132A.goo" + + "gle.cloud.compute.v1.AttachedDiskInitial" + + "izeParams.LabelsEntry\022\024\n\010licenses\030\322\210\200\241\001 " + + "\003(\t\022 \n\020on_update_action\030\214\330\304` \001(\tH\006\210\001\001\022 \n" + + "\020provisioned_iops\030\324\275\207Y \001(\003H\007\210\001\001\022\'\n\026provi" + + "sioned_throughput\030\225\276\210\373\001 \001(\003H\010\210\001\001\022\030\n\rrepl" + + "ica_zones\030\200\270\214\027 \003(\t\022q\n\025resource_manager_t" + + "ags\030\374\233\213\264\001 \003(\0132N.google.cloud.compute.v1." + + "AttachedDiskInitializeParams.ResourceMan" + + "agerTagsEntry\022\034\n\021resource_policies\030\341\234\314\n " + + "\003(\t\022\034\n\014source_image\030\267\350\206\030 \001(\tH\t\210\001\001\022\\\n\033sou" + + "rce_image_encryption_key\030\253\221\365\265\001 \001(\0132..goo" + + "gle.cloud.compute.v1.CustomerEncryptionK" + + "eyH\n\210\001\001\022\037\n\017source_snapshot\030\350\232\216< \001(\tH\013\210\001\001" + + "\022_\n\036source_snapshot_encryption_key\030\332\216\347\220\001" + + " \001(\0132..google.cloud.compute.v1.CustomerE" + + "ncryptionKeyH\014\210\001\001\022\035\n\014storage_pool\030\340\306\361\253\001 " + + "\001(\tH\r\210\001\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + + "value\030\002 \001(\t:\0028\001\032:\n\030ResourceManagerTagsEn" + + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"j\n\014A" + + "rchitecture\022\032\n\026UNDEFINED_ARCHITECTURE\020\000\022" + + " \n\030ARCHITECTURE_UNSPECIFIED\020\253\324\235\274\001\022\014\n\005ARM" + + "64\020\372\313\351\035\022\016\n\006X86_64\020\307\244\346\312\001\"\212\001\n\016OnUpdateActi" + + "on\022\036\n\032UNDEFINED_ON_UPDATE_ACTION\020\000\022\025\n\rRE" + + "CREATE_DISK\020\355\235\366\353\001\022\'\n\037RECREATE_DISK_IF_SO" + + "URCE_CHANGED\020\200\212\352\275\001\022\030\n\021USE_EXISTING_DISK\020" + + "\371\345\371nB\017\n\r_architectureB\016\n\014_descriptionB\014\n" + + "\n_disk_nameB\017\n\r_disk_size_gbB\014\n\n_disk_ty" + + "peB\036\n\034_enable_confidential_computeB\023\n\021_o" + + "n_update_actionB\023\n\021_provisioned_iopsB\031\n\027" + + "_provisioned_throughputB\017\n\r_source_image" + + "B\036\n\034_source_image_encryption_keyB\022\n\020_sou" + + "rce_snapshotB!\n\037_source_snapshot_encrypt" + + "ion_keyB\017\n\r_storage_pool\"\230\001\n\013AuditConfig" + + "\022F\n\021audit_log_configs\030\222\352\362\350\001 \003(\0132\'.google" + + ".cloud.compute.v1.AuditLogConfig\022\033\n\020exem" + + "pted_members\030\230\335\365n \003(\t\022\030\n\007service\030\265\215\217\262\001 \001" + + "(\tH\000\210\001\001B\n\n\010_service\"\224\002\n\016AuditLogConfig\022\033" + + "\n\020exempted_members\030\230\335\365n \003(\t\022\'\n\027ignore_ch" + + "ild_exemptions\030\232\217\271! \001(\010H\000\210\001\001\022\031\n\010log_type" + + "\030\325\236\234\300\001 \001(\tH\001\210\001\001\"x\n\007LogType\022\026\n\022UNDEFINED_" + + "LOG_TYPE\020\000\022\021\n\nADMIN_READ\020\246\311\276=\022\021\n\tDATA_RE" + + "AD\020\213\272\305\221\001\022\022\n\nDATA_WRITE\020\352\205\233\242\001\022\033\n\024LOG_TYPE" + + "_UNSPECIFIED\020\315\312\327IB\032\n\030_ignore_child_exemp" + + "tionsB\013\n\t_log_type\"\370\001\n\033AuthorizationLogg" + + "ingOptions\022 \n\017permission_type\030\252\227\347\372\001 \001(\tH" + + "\000\210\001\001\"\242\001\n\016PermissionType\022\035\n\031UNDEFINED_PER" + + "MISSION_TYPE\020\000\022\021\n\nADMIN_READ\020\246\311\276=\022\022\n\013ADM" + + "IN_WRITE\020\257\335\305t\022\021\n\tDATA_READ\020\213\272\305\221\001\022\022\n\nDATA" + + "_WRITE\020\352\205\233\242\001\022#\n\033PERMISSION_TYPE_UNSPECIF" + + "IED\020\202\314\372\321\001B\022\n\020_permission_type\"\235\007\n\nAutosc" + + "aler\022N\n\022autoscaling_policy\030\331\340\352i \001(\0132*.go" + + "ogle.cloud.compute.v1.AutoscalingPolicyH" + + "\000\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001" + + "\022\034\n\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\020\n\002id\030\233\032 " + + "\001(\004H\003\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\024\n\004name\030\213" + + "\365\315\001 \001(\tH\005\210\001\001\022 \n\020recommended_size\030\345\366\375z \001(" + + "\005H\006\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\007\210\001\001\022c\n\027scalin" + + "g_schedule_status\030\342\253\227\336\001 \003(\0132>.google.clo" + + "ud.compute.v1.Autoscaler.ScalingSchedule" + + "StatusEntry\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022" + + "\026\n\006status\030\362\237\267V \001(\tH\t\210\001\001\022L\n\016status_detail" + + "s\030\365\255\241\255\001 \003(\01320.google.cloud.compute.v1.Au" + + "toscalerStatusDetails\022\026\n\006target\030\221\343\371[ \001(\t" + + "H\n\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tH\013\210\001\001\032l\n\032ScalingSc" + + "heduleStatusEntry\022\013\n\003key\030\001 \001(\t\022=\n\005value\030" + + "\002 \001(\0132..google.cloud.compute.v1.ScalingS" + + "cheduleStatus:\0028\001\"^\n\006Status\022\024\n\020UNDEFINED" + + "_STATUS\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\020\n\010DELETING\020\250\247" + + "\207\374\001\022\014\n\005ERROR\020\350\263\313\037\022\016\n\007PENDING\020\367\252\360\020B\025\n\023_au" + + "toscaling_policyB\025\n\023_creation_timestampB" + + "\016\n\014_descriptionB\005\n\003_idB\007\n\005_kindB\007\n\005_name" + + "B\023\n\021_recommended_sizeB\t\n\007_regionB\014\n\n_sel" + + "f_linkB\t\n\007_statusB\t\n\007_targetB\007\n\005_zone\"\277\003" + + "\n\030AutoscalerAggregatedList\022\020\n\002id\030\233\032 \001(\tH" + + "\000\210\001\001\022N\n\005items\030\300\317\367/ \003(\0132<.google.cloud.co" + + "mpute.v1.AutoscalerAggregatedList.ItemsE" + + "ntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_" + + "token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001" + + "(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warn" + + "ing\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.W" + + "arningH\004\210\001\001\032\\\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022=" + + "\n\005value\030\002 \001(\0132..google.cloud.compute.v1." + + "AutoscalersScopedList:\0028\001B\005\n\003_idB\007\n\005_kin" + "dB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_" - + "warning\"\313\006\n\027AutoscalerStatusDetails\022\030\n\007m" - + "essage\030\207\200\254\307\001 \001(\tH\000\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\001" - + "\210\001\001\"\352\005\n\004Type\022\022\n\016UNDEFINED_TYPE\020\000\022\037\n\027ALL_" - + "INSTANCES_UNHEALTHY\020\345\220\215\301\001\022%\n\036BACKEND_SER" - + "VICE_DOES_NOT_EXIST\020\232\232\243[\022 \n\032CAPPED_AT_MA" - + "X_NUM_REPLICAS\020\331\323\037\022,\n$CUSTOM_METRIC_DATA" - + "_POINTS_TOO_SPARSE\020\263\264\356\234\001\022\034\n\025CUSTOM_METRI" - + "C_INVALID\020\326\271\275a\022\025\n\016MIN_EQUALS_MAX\020\361\231\254\001\022(\n" - + "!MISSING_CUSTOM_METRIC_DATA_POINTS\020\336\251\237-\022" - + "*\n\"MISSING_LOAD_BALANCING_DATA_POINTS\020\322\250" - + "\217\363\001\022\017\n\010MODE_OFF\020\263\221\244N\022\032\n\023MODE_ONLY_SCALE_" - + "OUT\020\342\267\352\001\022\023\n\014MODE_ONLY_UP\020\362\332\2220\022$\n\035MORE_TH" - + "AN_ONE_BACKEND_SERVICE\020\335\313\270H\022\"\n\032NOT_ENOUG" - + "H_QUOTA_AVAILABLE\020\277\257\233\300\001\022 \n\030REGION_RESOUR" - + "CE_STOCKOUT\020\376\311\210\374\001\022$\n\035SCALING_TARGET_DOES" - + "_NOT_EXIST\020\233\223\275:\0226\n/SCHEDULED_INSTANCES_G" - + "REATER_THAN_AUTOSCALER_MAX\020\302\353\372\r\0224\n,SCHED" - + "ULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN\020" - + "\265\306\365\275\001\022\017\n\007UNKNOWN\020\252\360\304\316\001\0229\n1UNSUPPORTED_MA" - + "X_RATE_LOAD_BALANCING_CONFIGURATION\020\321\226\341\235" - + "\001\022\035\n\026ZONE_RESOURCE_STOCKOUT\020\266\317\235dB\n\n\010_mes" - + "sageB\007\n\005_type\"\234\001\n\025AutoscalersScopedList\022" - + "<\n\013autoscalers\030\374\270\214\336\001 \003(\0132#.google.cloud." - + "compute.v1.Autoscaler\0229\n\007warning\030\234\337\226\030 \001(" - + "\0132 .google.cloud.compute.v1.WarningH\000\210\001\001" - + "B\n\n\010_warning\"\351\007\n\021AutoscalingPolicy\022$\n\024co" - + "ol_down_period_sec\030\232\207\2553 \001(\005H\000\210\001\001\022Z\n\017cpu_" - + "utilization\030\213\244\343\265\001 \001(\01328.google.cloud.com" - + "pute.v1.AutoscalingPolicyCpuUtilizationH" - + "\001\210\001\001\022h\n\032custom_metric_utilizations\030\362\375\366> " - + "\003(\0132A.google.cloud.compute.v1.Autoscalin" - + "gPolicyCustomMetricUtilization\022o\n\032load_b" - + "alancing_utilization\030\343\321\365\314\001 \001(\0132B.google." - + "cloud.compute.v1.AutoscalingPolicyLoadBa" - + "lancingUtilizationH\002\210\001\001\022 \n\020max_num_repli" - + "cas\030\317\224\334\035 \001(\005H\003\210\001\001\022!\n\020min_num_replicas\030\241\370" - + "\241\377\001 \001(\005H\004\210\001\001\022\024\n\004mode\030\243\363\314\001 \001(\tH\005\210\001\001\022[\n\020sc" - + "ale_in_control\030\330\274\316\373\001 \001(\01328.google.cloud." - + "compute.v1.AutoscalingPolicyScaleInContr" - + "olH\006\210\001\001\022_\n\021scaling_schedules\030\204\364\274\251\001 \003(\0132@" - + ".google.cloud.compute.v1.AutoscalingPoli" - + "cy.ScalingSchedulesEntry\032r\n\025ScalingSched" - + "ulesEntry\022\013\n\003key\030\001 \001(\t\022H\n\005value\030\002 \001(\01329." + + "warning\"\245\002\n\016AutoscalerList\022\020\n\002id\030\233\032 \001(\tH" + + "\000\210\001\001\0225\n\005items\030\300\317\367/ \003(\0132#.google.cloud.co" + + "mpute.v1.Autoscaler\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001" + + "\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tse" + + "lf_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001" + + "(\0132 .google.cloud.compute.v1.WarningH\004\210\001" + + "\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n" + + "\n_self_linkB\n\n\010_warning\"\313\006\n\027AutoscalerSt" + + "atusDetails\022\030\n\007message\030\207\200\254\307\001 \001(\tH\000\210\001\001\022\024\n" + + "\004type\030\272\236\332\001 \001(\tH\001\210\001\001\"\352\005\n\004Type\022\022\n\016UNDEFINE" + + "D_TYPE\020\000\022\037\n\027ALL_INSTANCES_UNHEALTHY\020\345\220\215\301" + + "\001\022%\n\036BACKEND_SERVICE_DOES_NOT_EXIST\020\232\232\243[" + + "\022 \n\032CAPPED_AT_MAX_NUM_REPLICAS\020\331\323\037\022,\n$CU" + + "STOM_METRIC_DATA_POINTS_TOO_SPARSE\020\263\264\356\234\001" + + "\022\034\n\025CUSTOM_METRIC_INVALID\020\326\271\275a\022\025\n\016MIN_EQ" + + "UALS_MAX\020\361\231\254\001\022(\n!MISSING_CUSTOM_METRIC_D" + + "ATA_POINTS\020\336\251\237-\022*\n\"MISSING_LOAD_BALANCIN" + + "G_DATA_POINTS\020\322\250\217\363\001\022\017\n\010MODE_OFF\020\263\221\244N\022\032\n\023" + + "MODE_ONLY_SCALE_OUT\020\342\267\352\001\022\023\n\014MODE_ONLY_UP" + + "\020\362\332\2220\022$\n\035MORE_THAN_ONE_BACKEND_SERVICE\020\335" + + "\313\270H\022\"\n\032NOT_ENOUGH_QUOTA_AVAILABLE\020\277\257\233\300\001\022" + + " \n\030REGION_RESOURCE_STOCKOUT\020\376\311\210\374\001\022$\n\035SCA" + + "LING_TARGET_DOES_NOT_EXIST\020\233\223\275:\0226\n/SCHED" + + "ULED_INSTANCES_GREATER_THAN_AUTOSCALER_M" + + "AX\020\302\353\372\r\0224\n,SCHEDULED_INSTANCES_LESS_THAN" + + "_AUTOSCALER_MIN\020\265\306\365\275\001\022\017\n\007UNKNOWN\020\252\360\304\316\001\0229" + + "\n1UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CO" + + "NFIGURATION\020\321\226\341\235\001\022\035\n\026ZONE_RESOURCE_STOCK" + + "OUT\020\266\317\235dB\n\n\010_messageB\007\n\005_type\"\234\001\n\025Autosc" + + "alersScopedList\022<\n\013autoscalers\030\374\270\214\336\001 \003(\013" + + "2#.google.cloud.compute.v1.Autoscaler\0229\n" + + "\007warning\030\234\337\226\030 \001(\0132 .google.cloud.compute" + + ".v1.WarningH\000\210\001\001B\n\n\010_warning\"\351\007\n\021Autosca" + + "lingPolicy\022$\n\024cool_down_period_sec\030\232\207\2553 " + + "\001(\005H\000\210\001\001\022Z\n\017cpu_utilization\030\213\244\343\265\001 \001(\01328." + "google.cloud.compute.v1.AutoscalingPolic" - + "yScalingSchedule:\0028\001\"V\n\004Mode\022\022\n\016UNDEFINE" - + "D_MODE\020\000\022\t\n\003OFF\020\317\342\004\022\007\n\002ON\020\337\023\022\025\n\016ONLY_SCA" - + "LE_OUT\020\306\363\350H\022\017\n\007ONLY_UP\020\216\320\374\343\001B\027\n\025_cool_do" - + "wn_period_secB\022\n\020_cpu_utilizationB\035\n\033_lo" - + "ad_balancing_utilizationB\023\n\021_max_num_rep" - + "licasB\023\n\021_min_num_replicasB\007\n\005_modeB\023\n\021_" - + "scale_in_control\"\366\001\n\037AutoscalingPolicyCp" - + "uUtilization\022\"\n\021predictive_method\030\301\227\211\272\001 " - + "\001(\tH\000\210\001\001\022\"\n\022utilization_target\030\316\354\371f \001(\001H" - + "\001\210\001\001\"^\n\020PredictiveMethod\022\037\n\033UNDEFINED_PR" - + "EDICTIVE_METHOD\020\000\022\013\n\004NONE\020\270\316\222\001\022\034\n\025OPTIMI" - + "ZE_AVAILABILITY\020\375\346\305\005B\024\n\022_predictive_meth" - + "odB\025\n\023_utilization_target\"\277\003\n(Autoscalin" - + "gPolicyCustomMetricUtilization\022\027\n\006filter" - + "\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\027\n\006metric\030\260\353\227\376\001 \001(\tH\001\210\001\001" - + "\022+\n\032single_instance_assignment\030\300\314\330\360\001 \001(\001" - + "H\002\210\001\001\022\"\n\022utilization_target\030\316\354\371f \001(\001H\003\210\001" - + "\001\022(\n\027utilization_target_type\030\213\245\232\242\001 \001(\tH\004" - + "\210\001\001\"~\n\025UtilizationTargetType\022%\n!UNDEFINE" - + "D_UTILIZATION_TARGET_TYPE\020\000\022\027\n\020DELTA_PER" - + "_MINUTE\020\235\275\330)\022\027\n\020DELTA_PER_SECOND\020\375\371\326y\022\014\n" - + "\005GAUGE\020\331\261\235 B\t\n\007_filterB\t\n\007_metricB\035\n\033_si" - + "ngle_instance_assignmentB\025\n\023_utilization" - + "_targetB\032\n\030_utilization_target_type\"f\n)A" - + "utoscalingPolicyLoadBalancingUtilization" - + "\022\"\n\022utilization_target\030\316\354\371f \001(\001H\000\210\001\001B\025\n\023" - + "_utilization_target\"\302\001\n\037AutoscalingPolic" - + "yScaleInControl\022O\n\026max_scaled_in_replica" - + "s\030\353\325\225V \001(\0132\'.google.cloud.compute.v1.Fix" - + "edOrPercentH\000\210\001\001\022\037\n\017time_window_sec\030\264\200\256\021" - + " \001(\005H\001\210\001\001B\031\n\027_max_scaled_in_replicasB\022\n\020" - + "_time_window_sec\"\272\002\n AutoscalingPolicySc" - + "alingSchedule\022\034\n\013description\030\374\207\326\311\001 \001(\tH\000" - + "\210\001\001\022\031\n\010disabled\030\374\364\230\201\001 \001(\010H\001\210\001\001\022\034\n\014durati" - + "on_sec\030\246\236\241e \001(\005H\002\210\001\001\022&\n\025min_required_rep" - + "licas\030\256\235\245\256\001 \001(\005H\003\210\001\001\022\031\n\010schedule\030\227\245\232\263\001 \001" - + "(\tH\004\210\001\001\022\031\n\ttime_zone\030\336\203\311\021 \001(\tH\005\210\001\001B\016\n\014_d" - + "escriptionB\013\n\t_disabledB\017\n\r_duration_sec" - + "B\030\n\026_min_required_replicasB\013\n\t_scheduleB" - + "\014\n\n_time_zone\"\224\007\n\007Backend\022\037\n\016balancing_m" - + "ode\030\211\313\226\315\001 \001(\tH\000\210\001\001\022 \n\017capacity_scaler\030\215\307" - + "\324\226\001 \001(\002H\001\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\002\210" - + "\001\001\022\030\n\010failover\030\362\251\235B \001(\010H\003\210\001\001\022\025\n\005group\030\377\354" - + "\203/ \001(\tH\004\210\001\001\022\037\n\017max_connections\030\372\325\3414 \001(\005H" - + "\005\210\001\001\022,\n\034max_connections_per_endpoint\030\234\347\266" - + "g \001(\005H\006\210\001\001\022,\n\034max_connections_per_instan" - + "ce\030\234\325\3641 \001(\005H\007\210\001\001\022\031\n\010max_rate\030\333\275\310\302\001 \001(\005H\010" - + "\210\001\001\022%\n\025max_rate_per_endpoint\030\333\252\364= \001(\002H\t\210" - + "\001\001\022%\n\025max_rate_per_instance\030\333\230\262\010 \001(\002H\n\210\001" - + "\001\022\037\n\017max_utilization\030\307\367\324F \001(\002H\013\210\001\001\022\032\n\npr" - + "eference\030\333\371\362G \001(\tH\014\210\001\001\"a\n\rBalancingMode\022" - + "\034\n\030UNDEFINED_BALANCING_MODE\020\000\022\021\n\nCONNECT" - + "ION\020\336\325\271u\022\013\n\004RATE\020\340\211\231\001\022\022\n\013UTILIZATION\020\202\204\357" - + "J\"i\n\nPreference\022\030\n\024UNDEFINED_PREFERENCE\020" - + "\000\022\016\n\007DEFAULT\020\241\304\3756\022\036\n\026PREFERENCE_UNSPECIF" - + "IED\020\263\353\316\354\001\022\021\n\tPREFERRED\020\341\270\334\307\001B\021\n\017_balanci" - + "ng_modeB\022\n\020_capacity_scalerB\016\n\014_descript" - + "ionB\013\n\t_failoverB\010\n\006_groupB\022\n\020_max_conne" - + "ctionsB\037\n\035_max_connections_per_endpointB" - + "\037\n\035_max_connections_per_instanceB\013\n\t_max" - + "_rateB\030\n\026_max_rate_per_endpointB\030\n\026_max_" - + "rate_per_instanceB\022\n\020_max_utilizationB\r\n" - + "\013_preference\"\241\005\n\rBackendBucket\022\034\n\013bucket" - + "_name\030\300\227\236\207\001 \001(\tH\000\210\001\001\022K\n\ncdn_policy\030\204\213\204f " - + "\001(\0132/.google.cloud.compute.v1.BackendBuc" - + "ketCdnPolicyH\001\210\001\001\022 \n\020compression_mode\030\334\221" - + "\306- \001(\tH\002\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001" - + "(\tH\003\210\001\001\022#\n\027custom_response_headers\030\226\301\345\270\001" - + " \003(\t\022\034\n\013description\030\374\207\326\311\001 \001(\tH\004\210\001\001\022$\n\024ed" - + "ge_security_policy\030\217\331\310\023 \001(\tH\005\210\001\001\022\033\n\nenab" - + "le_cdn\030\361\266\365\206\001 \001(\010H\006\210\001\001\022\020\n\002id\030\233\032 \001(\004H\007\210\001\001\022" - + "\024\n\004kind\030\224\367\310\001 \001(\tH\010\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\t" - + "\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\n\210\001\001\"U\n\017Compr" - + "essionMode\022\036\n\032UNDEFINED_COMPRESSION_MODE" - + "\020\000\022\020\n\tAUTOMATIC\020\213\204\351N\022\020\n\010DISABLED\020\374\324\260\366\001B\016" - + "\n\014_bucket_nameB\r\n\013_cdn_policyB\023\n\021_compre" - + "ssion_modeB\025\n\023_creation_timestampB\016\n\014_de" - + "scriptionB\027\n\025_edge_security_policyB\r\n\013_e" - + "nable_cdnB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\014\n\n_s" - + "elf_link\"\312\007\n\026BackendBucketCdnPolicy\022v\n\037b" + + "yCpuUtilizationH\001\210\001\001\022h\n\032custom_metric_ut" + + "ilizations\030\362\375\366> \003(\0132A.google.cloud.compu" + + "te.v1.AutoscalingPolicyCustomMetricUtili" + + "zation\022o\n\032load_balancing_utilization\030\343\321\365" + + "\314\001 \001(\0132B.google.cloud.compute.v1.Autosca" + + "lingPolicyLoadBalancingUtilizationH\002\210\001\001\022" + + " \n\020max_num_replicas\030\317\224\334\035 \001(\005H\003\210\001\001\022!\n\020min" + + "_num_replicas\030\241\370\241\377\001 \001(\005H\004\210\001\001\022\024\n\004mode\030\243\363\314" + + "\001 \001(\tH\005\210\001\001\022[\n\020scale_in_control\030\330\274\316\373\001 \001(\013" + + "28.google.cloud.compute.v1.AutoscalingPo" + + "licyScaleInControlH\006\210\001\001\022_\n\021scaling_sched" + + "ules\030\204\364\274\251\001 \003(\0132@.google.cloud.compute.v1" + + ".AutoscalingPolicy.ScalingSchedulesEntry" + + "\032r\n\025ScalingSchedulesEntry\022\013\n\003key\030\001 \001(\t\022H" + + "\n\005value\030\002 \001(\01329.google.cloud.compute.v1." + + "AutoscalingPolicyScalingSchedule:\0028\001\"V\n\004" + + "Mode\022\022\n\016UNDEFINED_MODE\020\000\022\t\n\003OFF\020\317\342\004\022\007\n\002O" + + "N\020\337\023\022\025\n\016ONLY_SCALE_OUT\020\306\363\350H\022\017\n\007ONLY_UP\020\216" + + "\320\374\343\001B\027\n\025_cool_down_period_secB\022\n\020_cpu_ut" + + "ilizationB\035\n\033_load_balancing_utilization" + + "B\023\n\021_max_num_replicasB\023\n\021_min_num_replic" + + "asB\007\n\005_modeB\023\n\021_scale_in_control\"\366\001\n\037Aut" + + "oscalingPolicyCpuUtilization\022\"\n\021predicti" + + "ve_method\030\301\227\211\272\001 \001(\tH\000\210\001\001\022\"\n\022utilization_" + + "target\030\316\354\371f \001(\001H\001\210\001\001\"^\n\020PredictiveMethod" + + "\022\037\n\033UNDEFINED_PREDICTIVE_METHOD\020\000\022\013\n\004NON" + + "E\020\270\316\222\001\022\034\n\025OPTIMIZE_AVAILABILITY\020\375\346\305\005B\024\n\022" + + "_predictive_methodB\025\n\023_utilization_targe" + + "t\"\277\003\n(AutoscalingPolicyCustomMetricUtili" + + "zation\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\027\n\006metri" + + "c\030\260\353\227\376\001 \001(\tH\001\210\001\001\022+\n\032single_instance_assi" + + "gnment\030\300\314\330\360\001 \001(\001H\002\210\001\001\022\"\n\022utilization_tar" + + "get\030\316\354\371f \001(\001H\003\210\001\001\022(\n\027utilization_target_" + + "type\030\213\245\232\242\001 \001(\tH\004\210\001\001\"~\n\025UtilizationTarget" + + "Type\022%\n!UNDEFINED_UTILIZATION_TARGET_TYP" + + "E\020\000\022\027\n\020DELTA_PER_MINUTE\020\235\275\330)\022\027\n\020DELTA_PE" + + "R_SECOND\020\375\371\326y\022\014\n\005GAUGE\020\331\261\235 B\t\n\007_filterB\t" + + "\n\007_metricB\035\n\033_single_instance_assignment" + + "B\025\n\023_utilization_targetB\032\n\030_utilization_" + + "target_type\"f\n)AutoscalingPolicyLoadBala" + + "ncingUtilization\022\"\n\022utilization_target\030\316" + + "\354\371f \001(\001H\000\210\001\001B\025\n\023_utilization_target\"\302\001\n\037" + + "AutoscalingPolicyScaleInControl\022O\n\026max_s" + + "caled_in_replicas\030\353\325\225V \001(\0132\'.google.clou" + + "d.compute.v1.FixedOrPercentH\000\210\001\001\022\037\n\017time" + + "_window_sec\030\264\200\256\021 \001(\005H\001\210\001\001B\031\n\027_max_scaled" + + "_in_replicasB\022\n\020_time_window_sec\"\272\002\n Aut" + + "oscalingPolicyScalingSchedule\022\034\n\013descrip" + + "tion\030\374\207\326\311\001 \001(\tH\000\210\001\001\022\031\n\010disabled\030\374\364\230\201\001 \001(" + + "\010H\001\210\001\001\022\034\n\014duration_sec\030\246\236\241e \001(\005H\002\210\001\001\022&\n\025" + + "min_required_replicas\030\256\235\245\256\001 \001(\005H\003\210\001\001\022\031\n\010" + + "schedule\030\227\245\232\263\001 \001(\tH\004\210\001\001\022\031\n\ttime_zone\030\336\203\311" + + "\021 \001(\tH\005\210\001\001B\016\n\014_descriptionB\013\n\t_disabledB" + + "\017\n\r_duration_secB\030\n\026_min_required_replic" + + "asB\013\n\t_scheduleB\014\n\n_time_zone\"\224\007\n\007Backen" + + "d\022\037\n\016balancing_mode\030\211\313\226\315\001 \001(\tH\000\210\001\001\022 \n\017ca" + + "pacity_scaler\030\215\307\324\226\001 \001(\002H\001\210\001\001\022\034\n\013descript" + + "ion\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\030\n\010failover\030\362\251\235B \001(\010H" + + "\003\210\001\001\022\025\n\005group\030\377\354\203/ \001(\tH\004\210\001\001\022\037\n\017max_conne" + + "ctions\030\372\325\3414 \001(\005H\005\210\001\001\022,\n\034max_connections_" + + "per_endpoint\030\234\347\266g \001(\005H\006\210\001\001\022,\n\034max_connec" + + "tions_per_instance\030\234\325\3641 \001(\005H\007\210\001\001\022\031\n\010max_" + + "rate\030\333\275\310\302\001 \001(\005H\010\210\001\001\022%\n\025max_rate_per_endp" + + "oint\030\333\252\364= \001(\002H\t\210\001\001\022%\n\025max_rate_per_insta" + + "nce\030\333\230\262\010 \001(\002H\n\210\001\001\022\037\n\017max_utilization\030\307\367\324" + + "F \001(\002H\013\210\001\001\022\032\n\npreference\030\333\371\362G \001(\tH\014\210\001\001\"a" + + "\n\rBalancingMode\022\034\n\030UNDEFINED_BALANCING_M" + + "ODE\020\000\022\021\n\nCONNECTION\020\336\325\271u\022\013\n\004RATE\020\340\211\231\001\022\022\n" + + "\013UTILIZATION\020\202\204\357J\"i\n\nPreference\022\030\n\024UNDEF" + + "INED_PREFERENCE\020\000\022\016\n\007DEFAULT\020\241\304\3756\022\036\n\026PRE" + + "FERENCE_UNSPECIFIED\020\263\353\316\354\001\022\021\n\tPREFERRED\020\341" + + "\270\334\307\001B\021\n\017_balancing_modeB\022\n\020_capacity_sca" + + "lerB\016\n\014_descriptionB\013\n\t_failoverB\010\n\006_gro" + + "upB\022\n\020_max_connectionsB\037\n\035_max_connectio" + + "ns_per_endpointB\037\n\035_max_connections_per_" + + "instanceB\013\n\t_max_rateB\030\n\026_max_rate_per_e" + + "ndpointB\030\n\026_max_rate_per_instanceB\022\n\020_ma" + + "x_utilizationB\r\n\013_preference\"\241\005\n\rBackend" + + "Bucket\022\034\n\013bucket_name\030\300\227\236\207\001 \001(\tH\000\210\001\001\022K\n\n" + + "cdn_policy\030\204\213\204f \001(\0132/.google.cloud.compu" + + "te.v1.BackendBucketCdnPolicyH\001\210\001\001\022 \n\020com" + + "pression_mode\030\334\221\306- \001(\tH\002\210\001\001\022\"\n\022creation_" + + "timestamp\030\266\217\307\016 \001(\tH\003\210\001\001\022#\n\027custom_respon" + + "se_headers\030\226\301\345\270\001 \003(\t\022\034\n\013description\030\374\207\326\311" + + "\001 \001(\tH\004\210\001\001\022$\n\024edge_security_policy\030\217\331\310\023 " + + "\001(\tH\005\210\001\001\022\033\n\nenable_cdn\030\361\266\365\206\001 \001(\010H\006\210\001\001\022\020\n" + + "\002id\030\233\032 \001(\004H\007\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\010\210\001\001\022\024\n" + + "\004name\030\213\365\315\001 \001(\tH\t\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001" + + "(\tH\n\210\001\001\"U\n\017CompressionMode\022\036\n\032UNDEFINED_" + + "COMPRESSION_MODE\020\000\022\020\n\tAUTOMATIC\020\213\204\351N\022\020\n\010" + + "DISABLED\020\374\324\260\366\001B\016\n\014_bucket_nameB\r\n\013_cdn_p" + + "olicyB\023\n\021_compression_modeB\025\n\023_creation_" + + "timestampB\016\n\014_descriptionB\027\n\025_edge_secur" + + "ity_policyB\r\n\013_enable_cdnB\005\n\003_idB\007\n\005_kin" + + "dB\007\n\005_nameB\014\n\n_self_link\"\312\007\n\026BackendBuck" + + "etCdnPolicy\022v\n\037bypass_cache_on_request_h" + + "eaders\030\312\275\353\347\001 \003(\0132I.google.cloud.compute." + + "v1.BackendBucketCdnPolicyBypassCacheOnRe" + + "questHeader\022_\n\020cache_key_policy\030\357\327\370K \001(\013" + + "2=.google.cloud.compute.v1.BackendBucket" + + "CdnPolicyCacheKeyPolicyH\000\210\001\001\022\032\n\ncache_mo" + + "de\030\300\310\342\r \001(\tH\001\210\001\001\022\032\n\nclient_ttl\030\370\216\354\r \001(\005H" + + "\002\210\001\001\022\033\n\013default_ttl\030\356\375\346/ \001(\005H\003\210\001\001\022\030\n\007max" + + "_ttl\030\221\211\325\222\001 \001(\005H\004\210\001\001\022!\n\020negative_caching\030" + + "\265\303\242\240\001 \001(\010H\005\210\001\001\022h\n\027negative_caching_polic" + + "y\030\374\265\212J \003(\0132D.google.cloud.compute.v1.Bac" + + "kendBucketCdnPolicyNegativeCachingPolicy" + + "\022#\n\022request_coalescing\030\324\204\210\376\001 \001(\010H\006\210\001\001\022!\n" + + "\021serve_while_stale\030\333\367\355p \001(\005H\007\210\001\001\022-\n\034sign" + + "ed_url_cache_max_age_sec\030\306\250\271\200\001 \001(\003H\010\210\001\001\022" + + " \n\024signed_url_key_names\030\265\355\247\261\001 \003(\t\"\217\001\n\tCa" + + "cheMode\022\030\n\024UNDEFINED_CACHE_MODE\020\000\022\030\n\020CAC" + + "HE_ALL_STATIC\020\351\227\245\251\001\022\027\n\017FORCE_CACHE_ALL\020\260" + + "\335\340\347\001\022\032\n\022INVALID_CACHE_MODE\020\310\267\350\265\001\022\031\n\022USE_" + + "ORIGIN_HEADERS\020\245\222\264\032B\023\n\021_cache_key_policy" + + "B\r\n\013_cache_modeB\r\n\013_client_ttlB\016\n\014_defau" + + "lt_ttlB\n\n\010_max_ttlB\023\n\021_negative_cachingB" + + "\025\n\023_request_coalescingB\024\n\022_serve_while_s" + + "taleB\037\n\035_signed_url_cache_max_age_sec\"_\n" + + "0BackendBucketCdnPolicyBypassCacheOnRequ" + + "estHeader\022\033\n\013header_name\030\375\301\3074 \001(\tH\000\210\001\001B\016" + + "\n\014_header_name\"j\n$BackendBucketCdnPolicy" + + "CacheKeyPolicy\022\037\n\024include_http_headers\030\206" + + "\372\227\001 \003(\t\022!\n\026query_string_whitelist\030\260\330\201\031 \003" + + "(\t\"h\n+BackendBucketCdnPolicyNegativeCach" + + "ingPolicy\022\024\n\004code\030\355\333\272\001 \001(\005H\000\210\001\001\022\022\n\003ttl\030\354" + + "\203\007 \001(\005H\001\210\001\001B\007\n\005_codeB\006\n\004_ttl\"\253\002\n\021Backend" + + "BucketList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0228\n\005items\030\300\317" + + "\367/ \003(\0132&.google.cloud.compute.v1.Backend" + + "Bucket\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_pag" + + "e_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001" + + " \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.c" + + "loud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_" + + "kindB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n" + + "\n\010_warning\"\304\034\n\016BackendService\022(\n\027affinit" + + "y_cookie_ttl_sec\030\232\351\266\260\001 \001(\005H\000\210\001\001\0226\n\010backe" + + "nds\030\337\230\313\363\001 \003(\0132 .google.cloud.compute.v1." + + "Backend\022L\n\ncdn_policy\030\204\213\204f \001(\01320.google." + + "cloud.compute.v1.BackendServiceCdnPolicy" + + "H\001\210\001\001\022K\n\020circuit_breakers\030\235\307\364\310\001 \001(\0132(.go" + + "ogle.cloud.compute.v1.CircuitBreakersH\002\210" + + "\001\001\022 \n\020compression_mode\030\334\221\306- \001(\tH\003\210\001\001\022Q\n\023" + + "connection_draining\030\253\216\357\333\001 \001(\0132+.google.c" + + "loud.compute.v1.ConnectionDrainingH\004\210\001\001\022" + + "k\n\032connection_tracking_policy\030\331\340\324D \001(\0132?" + + ".google.cloud.compute.v1.BackendServiceC" + + "onnectionTrackingPolicyH\005\210\001\001\022[\n\017consiste" + + "nt_hash\030\233\2457 \001(\0132;.google.cloud.compute.v" + + "1.ConsistentHashLoadBalancerSettingsH\006\210\001" + + "\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\007\210\001\001\022!\n" + + "\026custom_request_headers\030\210\322\253\r \003(\t\022#\n\027cust" + + "om_response_headers\030\226\301\345\270\001 \003(\t\022\034\n\013descrip" + + "tion\030\374\207\326\311\001 \001(\tH\010\210\001\001\022$\n\024edge_security_pol" + + "icy\030\217\331\310\023 \001(\tH\t\210\001\001\022\034\n\014enable_c_d_n\030\273\307\307w \001", + "(\010H\n\210\001\001\022V\n\017failover_policy\030\237\362\2602 \001(\01325.go" + + "ogle.cloud.compute.v1.BackendServiceFail" + + "overPolicyH\013\210\001\001\022\033\n\013fingerprint\030\344\321\363o \001(\tH" + + "\014\210\001\001\022\031\n\rhealth_checks\030\256\257\346\325\001 \003(\t\022>\n\003iap\030\330" + + "\254\006 \001(\0132*.google.cloud.compute.v1.Backend" + + "ServiceIAPH\r\210\001\001\022\020\n\002id\030\233\032 \001(\004H\016\210\001\001\022\024\n\004kin" + + "d\030\224\367\310\001 \001(\tH\017\210\001\001\022&\n\025load_balancing_scheme" + + "\030\304\214\302\255\001 \001(\tH\020\210\001\001\022i\n\024locality_lb_policies\030" + + "\235\362\234C \003(\0132H.google.cloud.compute.v1.Backe" + + "ndServiceLocalityLoadBalancingPolicyConf" + + "ig\022\"\n\022locality_lb_policy\030\277\370\325> \001(\tH\021\210\001\001\022M" + + "\n\nlog_config\030\235\321\301\247\001 \001(\01320.google.cloud.co" + + "mpute.v1.BackendServiceLogConfigH\022\210\001\001\022F\n" + + "\023max_stream_duration\030\230\245\245\035 \001(\0132!.google.c" + + "loud.compute.v1.DurationH\023\210\001\001\022L\n\tmetadat" + + "as\030\244\326\207\004 \003(\01326.google.cloud.compute.v1.Ba" + + "ckendService.MetadatasEntry\022\024\n\004name\030\213\365\315\001" + + " \001(\tH\024\210\001\001\022\027\n\007network\030\256\264\205o \001(\tH\025\210\001\001\022M\n\021ou" + + "tlier_detection\030\276\314\214\251\001 \001(\0132).google.cloud" + + ".compute.v1.OutlierDetectionH\026\210\001\001\022\024\n\004por" + + "t\030\201\261\322\001 \001(\005H\027\210\001\001\022\031\n\tport_name\030\211\207\347\023 \001(\tH\030\210" + + "\001\001\022\030\n\010protocol\030\230\235\252( \001(\tH\031\210\001\001\022\026\n\006region\030\364" + + "\315\240B \001(\tH\032\210\001\001\022\037\n\017security_policy\030\221\206\312Q \001(\t" + + "H\033\210\001\001\022M\n\021security_settings\030\302\274\236\344\001 \001(\0132).g" + + "oogle.cloud.compute.v1.SecuritySettingsH" + + "\034\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\035\210\001\001\022\033\n\020serv" + + "ice_bindings\030\330\221\331? \003(\t\022!\n\021service_lb_poli" + + "cy\030\221\216\235- \001(\tH\036\210\001\001\022!\n\020session_affinity\030\261\301\231" + + "\335\001 \001(\tH\037\210\001\001\022@\n\nsubsetting\030\220\220\333\326\001 \001(\0132#.go" + + "ogle.cloud.compute.v1.SubsettingH \210\001\001\022\033\n" + + "\013timeout_sec\030\363\300\222& \001(\005H!\210\001\001\022B\n\007used_by\030\231\240" + + "\322\271\001 \003(\0132-.google.cloud.compute.v1.Backen" + + "dServiceUsedBy\0320\n\016MetadatasEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"U\n\017CompressionM" + + "ode\022\036\n\032UNDEFINED_COMPRESSION_MODE\020\000\022\020\n\tA" + + "UTOMATIC\020\213\204\351N\022\020\n\010DISABLED\020\374\324\260\366\001\"\325\001\n\023Load" + + "BalancingScheme\022#\n\037UNDEFINED_LOAD_BALANC" + + "ING_SCHEME\020\000\022\017\n\010EXTERNAL\020\313\247\375\020\022\030\n\020EXTERNA" + + "L_MANAGED\020\213\266\222\364\001\022\020\n\010INTERNAL\020\275\355\226\205\001\022\027\n\020INT" + + "ERNAL_MANAGED\020\375\327\347\021\022\034\n\025INTERNAL_SELF_MANA" + + "GED\020\316\227\321p\022%\n\035INVALID_LOAD_BALANCING_SCHEM" + + "E\020\374\223\246\203\001\"\337\001\n\020LocalityLbPolicy\022 \n\034UNDEFINE" + + "D_LOCALITY_LB_POLICY\020\000\022\031\n\021INVALID_LB_POL" + + "ICY\020\263\347\225\232\001\022\024\n\rLEAST_REQUEST\020\371\304\234\026\022\r\n\006MAGLE" + + "V\020\352\227\3528\022\033\n\024ORIGINAL_DESTINATION\020\200\375\245O\022\r\n\006R" + + "ANDOM\020\303\261\227}\022\021\n\tRING_HASH\020\275\333\257\316\001\022\022\n\013ROUND_R" + + "OBIN\020\371\206\261I\022\026\n\017WEIGHTED_MAGLEV\020\222\340\307y\"\216\001\n\010Pr" + + "otocol\022\026\n\022UNDEFINED_PROTOCOL\020\000\022\013\n\004GRPC\020\236" + + "\210\206\001\022\013\n\004HTTP\020\210\201\210\001\022\014\n\005HTTP2\020\252\241\370 \022\014\n\005HTTPS\020" + + "\313\241\370 \022\t\n\003SSL\020\354\203\005\022\t\n\003TCP\020\301\207\005\022\t\n\003UDP\020\241\217\005\022\023\n" + + "\013UNSPECIFIED\020\227\276\230\373\001\"\353\001\n\017SessionAffinity\022\036" + + "\n\032UNDEFINED_SESSION_AFFINITY\020\000\022\021\n\tCLIENT" + + "_IP\020\233\334\351\244\001\022\037\n\030CLIENT_IP_NO_DESTINATION\020\224\232" + + "\3152\022\033\n\024CLIENT_IP_PORT_PROTO\020\256\362\334i\022\026\n\017CLIEN" + + "T_IP_PROTO\020\244\305\211\014\022\030\n\020GENERATED_COOKIE\020\264\316\312\260" + + "\001\022\023\n\014HEADER_FIELD\020\250\211\334_\022\023\n\013HTTP_COOKIE\020\373\243" + + "\203\354\001\022\013\n\004NONE\020\270\316\222\001B\032\n\030_affinity_cookie_ttl" + + "_secB\r\n\013_cdn_policyB\023\n\021_circuit_breakers" + + "B\023\n\021_compression_modeB\026\n\024_connection_dra" + + "iningB\035\n\033_connection_tracking_policyB\022\n\020" + + "_consistent_hashB\025\n\023_creation_timestampB" + + "\016\n\014_descriptionB\027\n\025_edge_security_policy" + + "B\017\n\r_enable_c_d_nB\022\n\020_failover_policyB\016\n" + + "\014_fingerprintB\006\n\004_iapB\005\n\003_idB\007\n\005_kindB\030\n" + + "\026_load_balancing_schemeB\025\n\023_locality_lb_" + + "policyB\r\n\013_log_configB\026\n\024_max_stream_dur" + + "ationB\007\n\005_nameB\n\n\010_networkB\024\n\022_outlier_d" + + "etectionB\007\n\005_portB\014\n\n_port_nameB\013\n\t_prot" + + "ocolB\t\n\007_regionB\022\n\020_security_policyB\024\n\022_" + + "security_settingsB\014\n\n_self_linkB\024\n\022_serv" + + "ice_lb_policyB\023\n\021_session_affinityB\r\n\013_s" + + "ubsettingB\016\n\014_timeout_sec\"\313\003\n\034BackendSer" + + "viceAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022R\n\005" + + "items\030\300\317\367/ \003(\0132@.google.cloud.compute.v1" + + ".BackendServiceAggregatedList.ItemsEntry" + + "\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_toke" + + "n\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003" + + "\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warning\030" + + "\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warni" + + "ngH\004\210\001\001\032`\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022A\n\005va" + + "lue\030\002 \001(\01322.google.cloud.compute.v1.Back" + + "endServicesScopedList:\0028\001B\005\n\003_idB\007\n\005_kin" + + "dB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_" + + "warning\"\267\007\n\027BackendServiceCdnPolicy\022w\n\037b" + "ypass_cache_on_request_headers\030\312\275\353\347\001 \003(\013" - + "2I.google.cloud.compute.v1.BackendBucket" - + "CdnPolicyBypassCacheOnRequestHeader\022_\n\020c" - + "ache_key_policy\030\357\327\370K \001(\0132=.google.cloud." - + "compute.v1.BackendBucketCdnPolicyCacheKe" - + "yPolicyH\000\210\001\001\022\032\n\ncache_mode\030\300\310\342\r \001(\tH\001\210\001\001" - + "\022\032\n\nclient_ttl\030\370\216\354\r \001(\005H\002\210\001\001\022\033\n\013default_" - + "ttl\030\356\375\346/ \001(\005H\003\210\001\001\022\030\n\007max_ttl\030\221\211\325\222\001 \001(\005H\004" - + "\210\001\001\022!\n\020negative_caching\030\265\303\242\240\001 \001(\010H\005\210\001\001\022h" - + "\n\027negative_caching_policy\030\374\265\212J \003(\0132D.goo" - + "gle.cloud.compute.v1.BackendBucketCdnPol" - + "icyNegativeCachingPolicy\022#\n\022request_coal" - + "escing\030\324\204\210\376\001 \001(\010H\006\210\001\001\022!\n\021serve_while_sta" - + "le\030\333\367\355p \001(\005H\007\210\001\001\022-\n\034signed_url_cache_max" - + "_age_sec\030\306\250\271\200\001 \001(\003H\010\210\001\001\022 \n\024signed_url_ke" - + "y_names\030\265\355\247\261\001 \003(\t\"\217\001\n\tCacheMode\022\030\n\024UNDEF" - + "INED_CACHE_MODE\020\000\022\030\n\020CACHE_ALL_STATIC\020\351\227" - + "\245\251\001\022\027\n\017FORCE_CACHE_ALL\020\260\335\340\347\001\022\032\n\022INVALID_" - + "CACHE_MODE\020\310\267\350\265\001\022\031\n\022USE_ORIGIN_HEADERS\020\245" - + "\222\264\032B\023\n\021_cache_key_policyB\r\n\013_cache_modeB" - + "\r\n\013_client_ttlB\016\n\014_default_ttlB\n\n\010_max_t" - + "tlB\023\n\021_negative_cachingB\025\n\023_request_coal" - + "escingB\024\n\022_serve_while_staleB\037\n\035_signed_" - + "url_cache_max_age_sec\"_\n0BackendBucketCd" - + "nPolicyBypassCacheOnRequestHeader\022\033\n\013hea" - + "der_name\030\375\301\3074 \001(\tH\000\210\001\001B\016\n\014_header_name\"j" - + "\n$BackendBucketCdnPolicyCacheKeyPolicy\022\037" - + "\n\024include_http_headers\030\206\372\227\001 \003(\t\022!\n\026query" - + "_string_whitelist\030\260\330\201\031 \003(\t\"h\n+BackendBuc" - + "ketCdnPolicyNegativeCachingPolicy\022\024\n\004cod" - + "e\030\355\333\272\001 \001(\005H\000\210\001\001\022\022\n\003ttl\030\354\203\007 \001(\005H\001\210\001\001B\007\n\005_" - + "codeB\006\n\004_ttl\"\253\002\n\021BackendBucketList\022\020\n\002id" - + "\030\233\032 \001(\tH\000\210\001\001\0228\n\005items\030\300\317\367/ \003(\0132&.google." - + "cloud.compute.v1.BackendBucket\022\024\n\004kind\030\224" - + "\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\t" - + "H\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007war" - + "ning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1." - + "WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_pa" - + "ge_tokenB\014\n\n_self_linkB\n\n\010_warning\"\304\034\n\016B" - + "ackendService\022(\n\027affinity_cookie_ttl_sec" - + "\030\232\351\266\260\001 \001(\005H\000\210\001\001\0226\n\010backends\030\337\230\313\363\001 \003(\0132 ." - + "google.cloud.compute.v1.Backend\022L\n\ncdn_p" - + "olicy\030\204\213\204f \001(\01320.google.cloud.compute.v1" - + ".BackendServiceCdnPolicyH\001\210\001\001\022K\n\020circuit" - + "_breakers\030\235\307\364\310\001 \001(\0132(.google.cloud.compu" - + "te.v1.CircuitBreakersH\002\210\001\001\022 \n\020compressio" - + "n_mode\030\334\221\306- \001(\tH\003\210\001\001\022Q\n\023connection_drain" - + "ing\030\253\216\357\333\001 \001(\0132+.google.cloud.compute.v1." - + "ConnectionDrainingH\004\210\001\001\022k\n\032connection_tr" - + "acking_policy\030\331\340\324D \001(\0132?.google.cloud.co" - + "mpute.v1.BackendServiceConnectionTrackin" - + "gPolicyH\005\210\001\001\022[\n\017consistent_hash\030\233\2457 \001(\0132" - + ";.google.cloud.compute.v1.ConsistentHash" - + "LoadBalancerSettingsH\006\210\001\001\022\"\n\022creation_ti" - + "mestamp\030\266\217\307\016 \001(\tH\007\210\001\001\022!\n\026custom_request_" - + "headers\030\210\322\253\r \003(\t\022#\n\027custom_response_head" - + "ers\030\226\301\345\270\001 \003(\t\022\034\n\013description\030\374\207\326\311\001 \001(\tH\010" - + "\210\001\001\022$\n\024edge_security_policy\030\217\331\310\023 \001(\tH\t\210\001" - + "\001\022\034\n\014enable_c_d_n\030\273\307\307w \001(\010H\n\210\001\001\022V\n\017failo" - + "ver_policy\030\237\362\2602 \001(\01325.google.cloud.compu" - + "te.v1.BackendServiceFailoverPolicyH\013\210\001\001\022" - + "\033\n\013fingerprint\030\344\321\363o \001(\tH\014\210\001\001\022\031\n\rhealth_c" - + "hecks\030\256\257\346\325\001 \003(\t\022>\n\003iap\030\330\254\006 \001(\0132*.google." - + "cloud.compute.v1.BackendServiceIAPH\r\210\001\001\022" - + "\020\n\002id\030\233\032 \001(\004H\016\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\017\210\001\001\022" - + "&\n\025load_balancing_scheme\030\304\214\302\255\001 \001(\tH\020\210\001\001\022" - + "i\n\024locality_lb_policies\030\235\362\234C \003(\0132H.googl" - + "e.cloud.compute.v1.BackendServiceLocalit" - + "yLoadBalancingPolicyConfig\022\"\n\022locality_l" - + "b_policy\030\277\370\325> \001(\tH\021\210\001\001\022M\n\nlog_config\030\235\321\301" - + "\247\001 \001(\01320.google.cloud.compute.v1.Backend" - + "ServiceLogConfigH\022\210\001\001\022F\n\023max_stream_dura" - + "tion\030\230\245\245\035 \001(\0132!.google.cloud.compute.v1." - + "DurationH\023\210\001\001\022L\n\tmetadatas\030\244\326\207\004 \003(\01326.go" - + "ogle.cloud.compute.v1.BackendService.Met" - + "adatasEntry\022\024\n\004name\030\213\365\315\001 \001(\tH\024\210\001\001\022\027\n\007net" - + "work\030\256\264\205o \001(\tH\025\210\001\001\022M\n\021outlier_detection\030" - + "\276\314\214\251\001 \001(\0132).google.cloud.compute.v1.Outl" - + "ierDetectionH\026\210\001\001\022\024\n\004port\030\201\261\322\001 \001(\005H\027\210\001\001\022" - + "\031\n\tport_name\030\211\207\347\023 \001(\tH\030\210\001\001\022\030\n\010protocol\030\230" - + "\235\252( \001(\tH\031\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\032\210\001\001\022\037\n\017", - "security_policy\030\221\206\312Q \001(\tH\033\210\001\001\022M\n\021securit" - + "y_settings\030\302\274\236\344\001 \001(\0132).google.cloud.comp" - + "ute.v1.SecuritySettingsH\034\210\001\001\022\032\n\tself_lin" - + "k\030\215\222\305\331\001 \001(\tH\035\210\001\001\022\033\n\020service_bindings\030\330\221\331" - + "? \003(\t\022!\n\021service_lb_policy\030\221\216\235- \001(\tH\036\210\001\001" - + "\022!\n\020session_affinity\030\261\301\231\335\001 \001(\tH\037\210\001\001\022@\n\ns" - + "ubsetting\030\220\220\333\326\001 \001(\0132#.google.cloud.compu" - + "te.v1.SubsettingH \210\001\001\022\033\n\013timeout_sec\030\363\300\222" - + "& \001(\005H!\210\001\001\022B\n\007used_by\030\231\240\322\271\001 \003(\0132-.google" - + ".cloud.compute.v1.BackendServiceUsedBy\0320" - + "\n\016MetadatasEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" - + " \001(\t:\0028\001\"U\n\017CompressionMode\022\036\n\032UNDEFINED" - + "_COMPRESSION_MODE\020\000\022\020\n\tAUTOMATIC\020\213\204\351N\022\020\n" - + "\010DISABLED\020\374\324\260\366\001\"\325\001\n\023LoadBalancingScheme\022" - + "#\n\037UNDEFINED_LOAD_BALANCING_SCHEME\020\000\022\017\n\010" - + "EXTERNAL\020\313\247\375\020\022\030\n\020EXTERNAL_MANAGED\020\213\266\222\364\001\022" - + "\020\n\010INTERNAL\020\275\355\226\205\001\022\027\n\020INTERNAL_MANAGED\020\375\327" - + "\347\021\022\034\n\025INTERNAL_SELF_MANAGED\020\316\227\321p\022%\n\035INVA" - + "LID_LOAD_BALANCING_SCHEME\020\374\223\246\203\001\"\337\001\n\020Loca" - + "lityLbPolicy\022 \n\034UNDEFINED_LOCALITY_LB_PO" - + "LICY\020\000\022\031\n\021INVALID_LB_POLICY\020\263\347\225\232\001\022\024\n\rLEA" - + "ST_REQUEST\020\371\304\234\026\022\r\n\006MAGLEV\020\352\227\3528\022\033\n\024ORIGIN" - + "AL_DESTINATION\020\200\375\245O\022\r\n\006RANDOM\020\303\261\227}\022\021\n\tRI" - + "NG_HASH\020\275\333\257\316\001\022\022\n\013ROUND_ROBIN\020\371\206\261I\022\026\n\017WEI" - + "GHTED_MAGLEV\020\222\340\307y\"\216\001\n\010Protocol\022\026\n\022UNDEFI" - + "NED_PROTOCOL\020\000\022\013\n\004GRPC\020\236\210\206\001\022\013\n\004HTTP\020\210\201\210\001" - + "\022\014\n\005HTTP2\020\252\241\370 \022\014\n\005HTTPS\020\313\241\370 \022\t\n\003SSL\020\354\203\005\022" - + "\t\n\003TCP\020\301\207\005\022\t\n\003UDP\020\241\217\005\022\023\n\013UNSPECIFIED\020\227\276\230" - + "\373\001\"\353\001\n\017SessionAffinity\022\036\n\032UNDEFINED_SESS" - + "ION_AFFINITY\020\000\022\021\n\tCLIENT_IP\020\233\334\351\244\001\022\037\n\030CLI" - + "ENT_IP_NO_DESTINATION\020\224\232\3152\022\033\n\024CLIENT_IP_" - + "PORT_PROTO\020\256\362\334i\022\026\n\017CLIENT_IP_PROTO\020\244\305\211\014\022" - + "\030\n\020GENERATED_COOKIE\020\264\316\312\260\001\022\023\n\014HEADER_FIEL" - + "D\020\250\211\334_\022\023\n\013HTTP_COOKIE\020\373\243\203\354\001\022\013\n\004NONE\020\270\316\222\001" - + "B\032\n\030_affinity_cookie_ttl_secB\r\n\013_cdn_pol" - + "icyB\023\n\021_circuit_breakersB\023\n\021_compression" - + "_modeB\026\n\024_connection_drainingB\035\n\033_connec" - + "tion_tracking_policyB\022\n\020_consistent_hash" - + "B\025\n\023_creation_timestampB\016\n\014_descriptionB" - + "\027\n\025_edge_security_policyB\017\n\r_enable_c_d_" - + "nB\022\n\020_failover_policyB\016\n\014_fingerprintB\006\n" - + "\004_iapB\005\n\003_idB\007\n\005_kindB\030\n\026_load_balancing" - + "_schemeB\025\n\023_locality_lb_policyB\r\n\013_log_c" - + "onfigB\026\n\024_max_stream_durationB\007\n\005_nameB\n" - + "\n\010_networkB\024\n\022_outlier_detectionB\007\n\005_por" - + "tB\014\n\n_port_nameB\013\n\t_protocolB\t\n\007_regionB" - + "\022\n\020_security_policyB\024\n\022_security_setting" - + "sB\014\n\n_self_linkB\024\n\022_service_lb_policyB\023\n" - + "\021_session_affinityB\r\n\013_subsettingB\016\n\014_ti" - + "meout_sec\"\313\003\n\034BackendServiceAggregatedLi" - + "st\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022R\n\005items\030\300\317\367/ \003(\0132@" - + ".google.cloud.compute.v1.BackendServiceA" - + "ggregatedList.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(" - + "\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022" - + "\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachab" - + "les\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .googl" - + "e.cloud.compute.v1.WarningH\004\210\001\001\032`\n\nItems" - + "Entry\022\013\n\003key\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.goog" - + "le.cloud.compute.v1.BackendServicesScope" - + "dList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_" - + "tokenB\014\n\n_self_linkB\n\n\010_warning\"\267\007\n\027Back" - + "endServiceCdnPolicy\022w\n\037bypass_cache_on_r" - + "equest_headers\030\312\275\353\347\001 \003(\0132J.google.cloud." - + "compute.v1.BackendServiceCdnPolicyBypass" - + "CacheOnRequestHeader\022I\n\020cache_key_policy" - + "\030\357\327\370K \001(\0132\'.google.cloud.compute.v1.Cach" - + "eKeyPolicyH\000\210\001\001\022\032\n\ncache_mode\030\300\310\342\r \001(\tH\001" - + "\210\001\001\022\032\n\nclient_ttl\030\370\216\354\r \001(\005H\002\210\001\001\022\033\n\013defau" - + "lt_ttl\030\356\375\346/ \001(\005H\003\210\001\001\022\030\n\007max_ttl\030\221\211\325\222\001 \001(" - + "\005H\004\210\001\001\022!\n\020negative_caching\030\265\303\242\240\001 \001(\010H\005\210\001" - + "\001\022i\n\027negative_caching_policy\030\374\265\212J \003(\0132E." - + "google.cloud.compute.v1.BackendServiceCd" - + "nPolicyNegativeCachingPolicy\022#\n\022request_" - + "coalescing\030\324\204\210\376\001 \001(\010H\006\210\001\001\022!\n\021serve_while" - + "_stale\030\333\367\355p \001(\005H\007\210\001\001\022-\n\034signed_url_cache" - + "_max_age_sec\030\306\250\271\200\001 \001(\003H\010\210\001\001\022 \n\024signed_ur" - + "l_key_names\030\265\355\247\261\001 \003(\t\"\217\001\n\tCacheMode\022\030\n\024U" - + "NDEFINED_CACHE_MODE\020\000\022\030\n\020CACHE_ALL_STATI" - + "C\020\351\227\245\251\001\022\027\n\017FORCE_CACHE_ALL\020\260\335\340\347\001\022\032\n\022INVA" - + "LID_CACHE_MODE\020\310\267\350\265\001\022\031\n\022USE_ORIGIN_HEADE" - + "RS\020\245\222\264\032B\023\n\021_cache_key_policyB\r\n\013_cache_m" - + "odeB\r\n\013_client_ttlB\016\n\014_default_ttlB\n\n\010_m" - + "ax_ttlB\023\n\021_negative_cachingB\025\n\023_request_" - + "coalescingB\024\n\022_serve_while_staleB\037\n\035_sig" - + "ned_url_cache_max_age_sec\"`\n1BackendServ" - + "iceCdnPolicyBypassCacheOnRequestHeader\022\033" - + "\n\013header_name\030\375\301\3074 \001(\tH\000\210\001\001B\016\n\014_header_n" - + "ame\"i\n,BackendServiceCdnPolicyNegativeCa" - + "chingPolicy\022\024\n\004code\030\355\333\272\001 \001(\005H\000\210\001\001\022\022\n\003ttl" - + "\030\354\203\007 \001(\005H\001\210\001\001B\007\n\005_codeB\006\n\004_ttl\"\353\004\n&Backe" - + "ndServiceConnectionTrackingPolicy\022<\n,con" - + "nection_persistence_on_unhealthy_backend" - + "s\030\371\221\330H \001(\tH\000\210\001\001\022&\n\026enable_strong_affinit" - + "y\030\224\346\331\013 \001(\010H\001\210\001\001\022 \n\020idle_timeout_sec\030\210\301\364\013" - + " \001(\005H\002\210\001\001\022\035\n\rtracking_mode\030\253\334\365< \001(\tH\003\210\001\001" - + "\"\260\001\n(ConnectionPersistenceOnUnhealthyBac" - + "kends\022:\n6UNDEFINED_CONNECTION_PERSISTENC" - + "E_ON_UNHEALTHY_BACKENDS\020\000\022\025\n\016ALWAYS_PERS" - + "IST\020\204\347\247\022\022\033\n\024DEFAULT_FOR_PROTOCOL\020\314\245\242E\022\024\n" - + "\rNEVER_PERSIST\020\341\245\216B\"t\n\014TrackingMode\022\033\n\027U" - + "NDEFINED_TRACKING_MODE\020\000\022\034\n\025INVALID_TRAC" - + "KING_MODE\020\303\203\275\027\022\025\n\016PER_CONNECTION\020\340\366\315(\022\022\n" - + "\013PER_SESSION\020\264\272\352VB/\n-_connection_persist" - + "ence_on_unhealthy_backendsB\031\n\027_enable_st" - + "rong_affinityB\023\n\021_idle_timeout_secB\020\n\016_t" - + "racking_mode\"\371\001\n\034BackendServiceFailoverP" - + "olicy\0224\n$disable_connection_drain_on_fai" - + "lover\030\341\314\355V \001(\010H\000\210\001\001\022)\n\031drop_traffic_if_u" - + "nhealthy\030\224\315\3055 \001(\010H\001\210\001\001\022\036\n\016failover_ratio" - + "\030\376\224\264e \001(\002H\002\210\001\001B\'\n%_disable_connection_dr" - + "ain_on_failoverB\034\n\032_drop_traffic_if_unhe" - + "althyB\021\n\017_failover_ratio\"\215\002\n\031BackendServ" - + "iceGroupHealth\022[\n\013annotations\030\244\366\2655 \003(\0132C" - + ".google.cloud.compute.v1.BackendServiceG" - + "roupHealth.AnnotationsEntry\022@\n\rhealth_st" - + "atus\030\265\326\272\265\001 \003(\0132%.google.cloud.compute.v1" - + ".HealthStatus\022\024\n\004kind\030\224\367\310\001 \001(\tH\000\210\001\001\0322\n\020A" - + "nnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " - + "\001(\t:\0028\001B\007\n\005_kind\"\373\001\n\021BackendServiceIAP\022\026" - + "\n\007enabled\030\301\226> \001(\010H\000\210\001\001\022!\n\020oauth2_client_" - + "id\030\313\216\336\225\001 \001(\tH\001\210\001\001\022$\n\024oauth2_client_secre" - + "t\030\340\341\250\030 \001(\tH\002\210\001\001\022+\n\033oauth2_client_secret_" - + "sha256\030\346\214\3535 \001(\tH\003\210\001\001B\n\n\010_enabledB\023\n\021_oau" - + "th2_client_idB\027\n\025_oauth2_client_secretB\036" - + "\n\034_oauth2_client_secret_sha256\"\255\002\n\022Backe" - + "ndServiceList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0229\n\005items" - + "\030\300\317\367/ \003(\0132\'.google.cloud.compute.v1.Back" - + "endService\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next" - + "_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215" - + "\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .goog" - + "le.cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB" - + "\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_li" - + "nkB\n\n\010_warning\"\263\002\n\030BackendServiceListUsa" - + "ble\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0229\n\005items\030\300\317\367/ \003(\0132" - + "\'.google.cloud.compute.v1.BackendService" + + "2J.google.cloud.compute.v1.BackendServic" + + "eCdnPolicyBypassCacheOnRequestHeader\022I\n\020" + + "cache_key_policy\030\357\327\370K \001(\0132\'.google.cloud" + + ".compute.v1.CacheKeyPolicyH\000\210\001\001\022\032\n\ncache" + + "_mode\030\300\310\342\r \001(\tH\001\210\001\001\022\032\n\nclient_ttl\030\370\216\354\r \001" + + "(\005H\002\210\001\001\022\033\n\013default_ttl\030\356\375\346/ \001(\005H\003\210\001\001\022\030\n\007" + + "max_ttl\030\221\211\325\222\001 \001(\005H\004\210\001\001\022!\n\020negative_cachi" + + "ng\030\265\303\242\240\001 \001(\010H\005\210\001\001\022i\n\027negative_caching_po" + + "licy\030\374\265\212J \003(\0132E.google.cloud.compute.v1." + + "BackendServiceCdnPolicyNegativeCachingPo" + + "licy\022#\n\022request_coalescing\030\324\204\210\376\001 \001(\010H\006\210\001" + + "\001\022!\n\021serve_while_stale\030\333\367\355p \001(\005H\007\210\001\001\022-\n\034" + + "signed_url_cache_max_age_sec\030\306\250\271\200\001 \001(\003H\010" + + "\210\001\001\022 \n\024signed_url_key_names\030\265\355\247\261\001 \003(\t\"\217\001" + + "\n\tCacheMode\022\030\n\024UNDEFINED_CACHE_MODE\020\000\022\030\n" + + "\020CACHE_ALL_STATIC\020\351\227\245\251\001\022\027\n\017FORCE_CACHE_A" + + "LL\020\260\335\340\347\001\022\032\n\022INVALID_CACHE_MODE\020\310\267\350\265\001\022\031\n\022" + + "USE_ORIGIN_HEADERS\020\245\222\264\032B\023\n\021_cache_key_po" + + "licyB\r\n\013_cache_modeB\r\n\013_client_ttlB\016\n\014_d" + + "efault_ttlB\n\n\010_max_ttlB\023\n\021_negative_cach" + + "ingB\025\n\023_request_coalescingB\024\n\022_serve_whi" + + "le_staleB\037\n\035_signed_url_cache_max_age_se" + + "c\"`\n1BackendServiceCdnPolicyBypassCacheO" + + "nRequestHeader\022\033\n\013header_name\030\375\301\3074 \001(\tH\000" + + "\210\001\001B\016\n\014_header_name\"i\n,BackendServiceCdn" + + "PolicyNegativeCachingPolicy\022\024\n\004code\030\355\333\272\001" + + " \001(\005H\000\210\001\001\022\022\n\003ttl\030\354\203\007 \001(\005H\001\210\001\001B\007\n\005_codeB\006" + + "\n\004_ttl\"\353\004\n&BackendServiceConnectionTrack" + + "ingPolicy\022<\n,connection_persistence_on_u" + + "nhealthy_backends\030\371\221\330H \001(\tH\000\210\001\001\022&\n\026enabl" + + "e_strong_affinity\030\224\346\331\013 \001(\010H\001\210\001\001\022 \n\020idle_" + + "timeout_sec\030\210\301\364\013 \001(\005H\002\210\001\001\022\035\n\rtracking_mo" + + "de\030\253\334\365< \001(\tH\003\210\001\001\"\260\001\n(ConnectionPersisten" + + "ceOnUnhealthyBackends\022:\n6UNDEFINED_CONNE" + + "CTION_PERSISTENCE_ON_UNHEALTHY_BACKENDS\020" + + "\000\022\025\n\016ALWAYS_PERSIST\020\204\347\247\022\022\033\n\024DEFAULT_FOR_" + + "PROTOCOL\020\314\245\242E\022\024\n\rNEVER_PERSIST\020\341\245\216B\"t\n\014T" + + "rackingMode\022\033\n\027UNDEFINED_TRACKING_MODE\020\000" + + "\022\034\n\025INVALID_TRACKING_MODE\020\303\203\275\027\022\025\n\016PER_CO" + + "NNECTION\020\340\366\315(\022\022\n\013PER_SESSION\020\264\272\352VB/\n-_co" + + "nnection_persistence_on_unhealthy_backen" + + "dsB\031\n\027_enable_strong_affinityB\023\n\021_idle_t" + + "imeout_secB\020\n\016_tracking_mode\"\371\001\n\034Backend" + + "ServiceFailoverPolicy\0224\n$disable_connect" + + "ion_drain_on_failover\030\341\314\355V \001(\010H\000\210\001\001\022)\n\031d" + + "rop_traffic_if_unhealthy\030\224\315\3055 \001(\010H\001\210\001\001\022\036" + + "\n\016failover_ratio\030\376\224\264e \001(\002H\002\210\001\001B\'\n%_disab" + + "le_connection_drain_on_failoverB\034\n\032_drop" + + "_traffic_if_unhealthyB\021\n\017_failover_ratio" + + "\"\215\002\n\031BackendServiceGroupHealth\022[\n\013annota" + + "tions\030\244\366\2655 \003(\0132C.google.cloud.compute.v1" + + ".BackendServiceGroupHealth.AnnotationsEn" + + "try\022@\n\rhealth_status\030\265\326\272\265\001 \003(\0132%.google." + + "cloud.compute.v1.HealthStatus\022\024\n\004kind\030\224\367" + + "\310\001 \001(\tH\000\210\001\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\007\n\005_kind\"\373\001\n\021Bac" + + "kendServiceIAP\022\026\n\007enabled\030\301\226> \001(\010H\000\210\001\001\022!" + + "\n\020oauth2_client_id\030\313\216\336\225\001 \001(\tH\001\210\001\001\022$\n\024oau" + + "th2_client_secret\030\340\341\250\030 \001(\tH\002\210\001\001\022+\n\033oauth" + + "2_client_secret_sha256\030\346\214\3535 \001(\tH\003\210\001\001B\n\n\010" + + "_enabledB\023\n\021_oauth2_client_idB\027\n\025_oauth2" + + "_client_secretB\036\n\034_oauth2_client_secret_" + + "sha256\"\255\002\n\022BackendServiceList\022\020\n\002id\030\233\032 \001" + + "(\tH\000\210\001\001\0229\n\005items\030\300\317\367/ \003(\0132\'.google.cloud" + + ".compute.v1.BackendService\022\024\n\004kind\030\224\367\310\001 " + + "\001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001" + + "\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning" + + "\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warn" + + "ingH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_t" + + "okenB\014\n\n_self_linkB\n\n\010_warning\"\263\002\n\030Backe" + + "ndServiceListUsable\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0229\n" + + "\005items\030\300\317\367/ \003(\0132\'.google.cloud.compute.v" + + "1.BackendService\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037" + + "\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_" + + "link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132" + + " .google.cloud.compute.v1.WarningH\004\210\001\001B\005" + + "\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_s" + + "elf_linkB\n\n\010_warning\"\253\002\n/BackendServiceL" + + "ocalityLoadBalancingPolicyConfig\022s\n\rcust" + + "om_policy\030\300\213\246\002 \001(\0132T.google.cloud.comput" + + "e.v1.BackendServiceLocalityLoadBalancing" + + "PolicyConfigCustomPolicyH\000\210\001\001\022f\n\006policy\030" + + "\262\312\266+ \001(\0132N.google.cloud.compute.v1.Backe" + + "ndServiceLocalityLoadBalancingPolicyConf" + + "igPolicyH\001\210\001\001B\020\n\016_custom_policyB\t\n\007_poli" + + "cy\"{\n;BackendServiceLocalityLoadBalancin" + + "gPolicyConfigCustomPolicy\022\024\n\004data\030\252\337\273\001 \001" + + "(\tH\000\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\001\210\001\001B\007\n\005_dataB\007" + + "\n\005_name\"\236\002\n5BackendServiceLocalityLoadBa" + + "lancingPolicyConfigPolicy\022\024\n\004name\030\213\365\315\001 \001" + + "(\tH\000\210\001\001\"\305\001\n\004Name\022\022\n\016UNDEFINED_NAME\020\000\022\031\n\021" + + "INVALID_LB_POLICY\020\263\347\225\232\001\022\024\n\rLEAST_REQUEST" + + "\020\371\304\234\026\022\r\n\006MAGLEV\020\352\227\3528\022\033\n\024ORIGINAL_DESTINA" + + "TION\020\200\375\245O\022\r\n\006RANDOM\020\303\261\227}\022\021\n\tRING_HASH\020\275\333" + + "\257\316\001\022\022\n\013ROUND_ROBIN\020\371\206\261I\022\026\n\017WEIGHTED_MAGL" + + "EV\020\222\340\307yB\007\n\005_name\"\260\002\n\027BackendServiceLogCo" + + "nfig\022\027\n\006enable\030\203\313\324\224\001 \001(\010H\000\210\001\001\022\033\n\017optiona" + + "l_fields\030\370\310\206\374\001 \003(\t\022\035\n\roptional_mode\030\242\206\257=" + + " \001(\tH\001\210\001\001\022\033\n\013sample_rate\030\325\224\206I \001(\002H\002\210\001\001\"v" + + "\n\014OptionalMode\022\033\n\027UNDEFINED_OPTIONAL_MOD" + + "E\020\000\022\016\n\006CUSTOM\020\361\376\245\271\001\022\033\n\024EXCLUDE_ALL_OPTIO" + + "NAL\020\303\335\264P\022\034\n\024INCLUDE_ALL_OPTIONAL\020\265\355\262\377\001B\t" + + "\n\007_enableB\020\n\016_optional_modeB\016\n\014_sample_r" + + "ate\"O\n\027BackendServiceReference\022 \n\017backen" + + "d_service\030\212\300\256\222\001 \001(\tH\000\210\001\001B\022\n\020_backend_ser" + + "vice\"?\n\024BackendServiceUsedBy\022\031\n\treferenc" + + "e\030\313\376\354F \001(\tH\000\210\001\001B\014\n\n_reference\"\251\001\n\031Backen" + + "dServicesScopedList\022E\n\020backend_services\030" + + "\251\303\241\271\001 \003(\0132\'.google.cloud.compute.v1.Back" + + "endService\0229\n\007warning\030\234\337\226\030 \001(\0132 .google." + + "cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_warnin" + + "g\"\347\t\n\tBfdPacket\022&\n\026authentication_presen" + + "t\030\364\223\3042 \001(\010H\000\210\001\001\022)\n\031control_plane_indepen" + + "dent\030\265\257\336\035 \001(\010H\001\210\001\001\022\027\n\006demand\030\313\324\233\203\001 \001(\010H\002" + + "\210\001\001\022\032\n\ndiagnostic\030\247\267\363\035 \001(\tH\003\210\001\001\022\025\n\005final" + + "\030\366\202\273. \001(\010H\004\210\001\001\022\027\n\006length\030\346\365\270\360\001 \001(\rH\005\210\001\001\022" + + "\'\n\027min_echo_rx_interval_ms\030\324\365\261. \001(\rH\006\210\001\001" + + "\022#\n\022min_rx_interval_ms\030\364\320\373\334\001 \001(\rH\007\210\001\001\022#\n" + + "\022min_tx_interval_ms\030\262\367\351\372\001 \001(\rH\010\210\001\001\022\032\n\nmu" + + "ltiplier\030\301\373\235[ \001(\rH\t\210\001\001\022\032\n\nmultipoint\030\367\267\243" + + "[ \001(\010H\n\210\001\001\022 \n\020my_discriminator\030\311\222\307$ \001(\rH" + + "\013\210\001\001\022\024\n\004poll\030\277\257\322\001 \001(\010H\014\210\001\001\022\025\n\005state\030\221\211\2534" + + " \001(\tH\r\210\001\001\022\030\n\007version\030\330\271\324\247\001 \001(\rH\016\210\001\001\022#\n\022y" + + "our_discriminator\030\220\347\357\365\001 \001(\rH\017\210\001\001\"\336\002\n\nDia" + + "gnostic\022\030\n\024UNDEFINED_DIAGNOSTIC\020\000\022\034\n\025ADM" + + "INISTRATIVELY_DOWN\020\246\216\203:\022\035\n\026CONCATENATED_" + + "PATH_DOWN\020\214\251\276\014\022%\n\036CONTROL_DETECTION_TIME" + + "_EXPIRED\020\357\370\314@\022\035\n\026DIAGNOSTIC_UNSPECIFIED\020" + + "\377\204\200\034\022\033\n\024ECHO_FUNCTION_FAILED\020\352\330\235i\022\035\n\026FOR" + + "WARDING_PLANE_RESET\020\252\256\263\t\022&\n\036NEIGHBOR_SIG" + + "NALED_SESSION_DOWN\020\266\376\270\262\001\022\024\n\rNO_DIAGNOSTI" + + "C\020\345\301\214j\022\021\n\tPATH_DOWN\020\374\220\311\212\001\022&\n\036REVERSE_CON" + + "CATENATED_PATH_DOWN\020\251\265\310\344\001\"m\n\005State\022\023\n\017UN" + + "DEFINED_STATE\020\000\022\021\n\nADMIN_DOWN\020\262\337\245=\022\013\n\004DO" + + "WN\020\242\271\200\001\022\013\n\004INIT\020\220\272\211\001\022\031\n\021STATE_UNSPECIFIE" + + "D\020\311\320\274\340\001\022\007\n\002UP\020\233\025B\031\n\027_authentication_pres" + + "entB\034\n\032_control_plane_independentB\t\n\007_de" + + "mandB\r\n\013_diagnosticB\010\n\006_finalB\t\n\007_length" + + "B\032\n\030_min_echo_rx_interval_msB\025\n\023_min_rx_" + + "interval_msB\025\n\023_min_tx_interval_msB\r\n\013_m" + + "ultiplierB\r\n\013_multipointB\023\n\021_my_discrimi" + + "natorB\007\n\005_pollB\010\n\006_stateB\n\n\010_versionB\025\n\023" + + "_your_discriminator\"\354\n\n\tBfdStatus\022/\n\037bfd" + + "_session_initialization_mode\030\232\237\203h \001(\tH\000\210" + + "\001\001\022/\n\036config_update_timestamp_micros\030\261\200\201" + + "\332\001 \001(\003H\001\210\001\001\022U\n\025control_packet_counts\030\371\322\233" + + "? \001(\0132..google.cloud.compute.v1.BfdStatu" + + "sPacketCountsH\002\210\001\001\022N\n\030control_packet_int" + + "ervals\030\371\347\346\356\001 \003(\0132(.google.cloud.compute." + + "v1.PacketIntervals\022!\n\020local_diagnostic\030\373" + + "\241\220\335\001 \001(\tH\003\210\001\001\022\033\n\013local_state\030\275\225\222G \001(\tH\004\210" + + "\001\001\0227\n\'negotiated_local_control_tx_interv" + + "al_ms\030\224\321\260\n \001(\rH\005\210\001\001\022>\n\trx_packet\030\241\201\353\360\001 \001" + + "(\0132\".google.cloud.compute.v1.BfdPacketH\006" + + "\210\001\001\022=\n\ttx_packet\030\243\275\2165 \001(\0132\".google.cloud" + + ".compute.v1.BfdPacketH\007\210\001\001\022\031\n\tuptime_ms\030" + + "\335\332\345; \001(\003H\010\210\001\001\"\200\001\n\034BfdSessionInitializati" + + "onMode\022-\n)UNDEFINED_BFD_SESSION_INITIALI" + + "ZATION_MODE\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\020\n\010DISABLE" + + "D\020\374\324\260\366\001\022\017\n\007PASSIVE\020\207\366\327\334\001\"\351\002\n\017LocalDiagno" + + "stic\022\036\n\032UNDEFINED_LOCAL_DIAGNOSTIC\020\000\022\034\n\025" + + "ADMINISTRATIVELY_DOWN\020\246\216\203:\022\035\n\026CONCATENAT" + + "ED_PATH_DOWN\020\214\251\276\014\022%\n\036CONTROL_DETECTION_T" + + "IME_EXPIRED\020\357\370\314@\022\035\n\026DIAGNOSTIC_UNSPECIFI" + + "ED\020\377\204\200\034\022\033\n\024ECHO_FUNCTION_FAILED\020\352\330\235i\022\035\n\026" + + "FORWARDING_PLANE_RESET\020\252\256\263\t\022&\n\036NEIGHBOR_" + + "SIGNALED_SESSION_DOWN\020\266\376\270\262\001\022\024\n\rNO_DIAGNO" + + "STIC\020\345\301\214j\022\021\n\tPATH_DOWN\020\374\220\311\212\001\022&\n\036REVERSE_" + + "CONCATENATED_PATH_DOWN\020\251\265\310\344\001\"x\n\nLocalSta" + + "te\022\031\n\025UNDEFINED_LOCAL_STATE\020\000\022\021\n\nADMIN_D" + + "OWN\020\262\337\245=\022\013\n\004DOWN\020\242\271\200\001\022\013\n\004INIT\020\220\272\211\001\022\031\n\021ST" + + "ATE_UNSPECIFIED\020\311\320\274\340\001\022\007\n\002UP\020\233\025B\"\n _bfd_s" + + "ession_initialization_modeB!\n\037_config_up" + + "date_timestamp_microsB\030\n\026_control_packet" + + "_countsB\023\n\021_local_diagnosticB\016\n\014_local_s" + + "tateB*\n(_negotiated_local_control_tx_int" + + "erval_msB\014\n\n_rx_packetB\014\n\n_tx_packetB\014\n\n" + + "_uptime_ms\"\315\001\n\025BfdStatusPacketCounts\022\026\n\006" + + "num_rx\030\237\243\343\022 \001(\rH\000\210\001\001\022 \n\017num_rx_rejected\030" + + "\236\256\377\205\001 \001(\rH\001\210\001\001\022\"\n\021num_rx_successful\030\272\212\221\331" + + "\001 \001(\rH\002\210\001\001\022\026\n\006num_tx\030\335\243\343\022 \001(\rH\003\210\001\001B\t\n\007_n" + + "um_rxB\022\n\020_num_rx_rejectedB\024\n\022_num_rx_suc" + + "cessfulB\t\n\007_num_tx\"\261\001\n\007Binding\022\033\n\nbindin" + + "g_id\030\225\362\251\322\001 \001(\tH\000\210\001\001\0228\n\tcondition\030\233\332\245e \001(" + + "\0132\035.google.cloud.compute.v1.ExprH\001\210\001\001\022\023\n" + + "\007members\030\231\222\273\304\001 \003(\t\022\024\n\004role\030\366\200\326\001 \001(\tH\002\210\001\001" + + "B\r\n\013_binding_idB\014\n\n_conditionB\007\n\005_role\"\350" + + "\001\n\025BulkInsertDiskRequest\022d\n\"bulk_insert_" + + "disk_resource_resource\030\326\371\227\212\001 \001(\0132/.googl" + + "e.cloud.compute.v1.BulkInsertDiskResourc" + + "eB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" + + "t\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307" + + "\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"m\n\026Bul" + + "kInsertDiskResource\022/\n\037source_consistenc" + + "y_group_policy\030\335\242\255\t \001(\tH\000\210\001\001B\"\n _source_" + + "consistency_group_policy\"\363\001\n\031BulkInsertI" + + "nstanceRequest\022k\n&bulk_insert_instance_r" + + "esource_resource\030\316\302\340\023 \001(\01323.google.cloud" + + ".compute.v1.BulkInsertInstanceResourceB\003" + + "\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032" + + "\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 " + + "\001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\245\005\n\032BulkI" + + "nsertInstanceResource\022\025\n\005count\030\217\242\235- \001(\003H" + + "\000\210\001\001\022P\n\023instance_properties\030\235\236\330f \001(\0132+.g" + + "oogle.cloud.compute.v1.InstancePropertie" + + "sH\001\210\001\001\022I\n\017location_policy\030\374\271\207\336\001 \001(\0132\'.go" + + "ogle.cloud.compute.v1.LocationPolicyH\002\210\001" + + "\001\022\032\n\tmin_count\030\342\251\277\371\001 \001(\003H\003\210\001\001\022\035\n\014name_pa" + + "ttern\030\334\243\251\305\001 \001(\tH\004\210\001\001\022r\n\027per_instance_pro" + + "perties\030\373\271\3363 \003(\0132N.google.cloud.compute." + + "v1.BulkInsertInstanceResource.PerInstanc" + + "ePropertiesEntry\022)\n\030source_instance_temp" + + "late\030\300\303\301\236\001 \001(\tH\005\210\001\001\032\206\001\n\032PerInstancePrope" + + "rtiesEntry\022\013\n\003key\030\001 \001(\t\022W\n\005value\030\002 \001(\0132H" + + ".google.cloud.compute.v1.BulkInsertInsta" + + "nceResourcePerInstanceProperties:\0028\001B\010\n\006" + + "_countB\026\n\024_instance_propertiesB\022\n\020_locat" + + "ion_policyB\014\n\n_min_countB\017\n\r_name_patter" + + "nB\033\n\031_source_instance_template\"w\n/BulkIn" + + "sertInstanceResourcePerInstancePropertie" + + "s\022\030\n\010hostname\030\263\270\205q \001(\tH\000\210\001\001\022\024\n\004name\030\213\365\315\001" + + " \001(\tH\001\210\001\001B\013\n\t_hostnameB\007\n\005_name\"\234\003\n\031Bulk" + + "InsertOperationStatus\022!\n\020created_vm_coun" + + "t\030\376\251\242\275\001 \001(\005H\000\210\001\001\022!\n\020deleted_vm_count\030\355\325\312" + + "\201\001 \001(\005H\001\210\001\001\022)\n\031failed_to_create_vm_count" + + "\030\350\275\353\033 \001(\005H\002\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\003\210\001\001\022 " + + "\n\017target_vm_count\030\365\240\222\376\001 \001(\005H\004\210\001\001\"m\n\006Stat" + + "us\022\024\n\020UNDEFINED_STATUS\020\000\022\020\n\010CREATING\020\271\275\235" + + "\331\001\022\013\n\004DONE\020\202\267\200\001\022\023\n\014ROLLING_BACK\020\301\235\331{\022\031\n\022" + + "STATUS_UNSPECIFIED\020\312\314\213\024B\023\n\021_created_vm_c" + + "ountB\023\n\021_deleted_vm_countB\034\n\032_failed_to_" + + "create_vm_countB\t\n\007_statusB\022\n\020_target_vm" + + "_count\"\362\001\n\033BulkInsertRegionDiskRequest\022d" + + "\n\"bulk_insert_disk_resource_resource\030\326\371\227" + + "\212\001 \001(\0132/.google.cloud.compute.v1.BulkIns" + + "ertDiskResourceB\003\340A\002\022!\n\007project\030\231\226\301l \001(\t" + + "B\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362" + + "G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013" + + "_request_id\"\375\001\n\037BulkInsertRegionInstance" + + "Request\022k\n&bulk_insert_instance_resource" + + "_resource\030\316\302\340\023 \001(\01323.google.cloud.comput" + + "e.v1.BulkInsertInstanceResourceB\003\340A\002\022!\n\007" + + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006regio" + + "n\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313" + + "\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"U\n\025CacheInva" + + "lidationRule\022\024\n\004host\030\250\353\303\001 \001(\tH\000\210\001\001\022\024\n\004pa" + + "th\030\245\310\321\001 \001(\tH\001\210\001\001B\007\n\005_hostB\007\n\005_path\"\302\002\n\016C" + + "acheKeyPolicy\022\035\n\014include_host\030\337\205\224\350\001 \001(\010H" + + "\000\210\001\001\022\037\n\024include_http_headers\030\206\372\227\001 \003(\t\022 \n" + + "\025include_named_cookies\030\262\260\321) \003(\t\022!\n\020inclu" + + "de_protocol\030\317\320\334\220\001 \001(\010H\001\210\001\001\022%\n\024include_qu" + + "ery_string\030\237\363\204\342\001 \001(\010H\002\210\001\001\022\"\n\026query_strin" + + "g_blacklist\030\206\252\241\251\001 \003(\t\022!\n\026query_string_wh" + + "itelist\030\260\330\201\031 \003(\tB\017\n\r_include_hostB\023\n\021_in" + + "clude_protocolB\027\n\025_include_query_string\"" + + "\343\001\n.CancelInstanceGroupManagerResizeRequ" + + "estRequest\022&\n\026instance_group_manager\030\303\367\363" + + "v \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" + + "oject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\036\n\016res" + + "ize_request\030\204\204\271g \001(\tB\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001" + + "(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\260\002\n\017Circui" + + "tBreakers\022\037\n\017max_connections\030\372\325\3414 \001(\005H\000\210" + + "\001\001\022%\n\024max_pending_requests\030\347\245\212\263\001 \001(\005H\001\210\001" + + "\001\022\034\n\014max_requests\030\277\370\262\r \001(\005H\002\210\001\001\022,\n\033max_r" + + "equests_per_connection\030\300\226\270\254\001 \001(\005H\003\210\001\001\022\033\n" + + "\013max_retries\030\353\242\276\032 \001(\005H\004\210\001\001B\022\n\020_max_conne" + + "ctionsB\027\n\025_max_pending_requestsB\017\n\r_max_" + + "requestsB\036\n\034_max_requests_per_connection" + + "B\016\n\014_max_retries\"\261\001\n\037CloneRulesFirewallP" + + "olicyRequest\022 \n\017firewall_policy\030\321\212\306\355\001 \001(" + + "\tB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022&\n\026so" + + "urce_firewall_policy\030\255\332\366\013 \001(\tH\001\210\001\001B\r\n\013_r" + + "equest_idB\031\n\027_source_firewall_policy\"\333\001\n" + + "&CloneRulesNetworkFirewallPolicyRequest\022" + + " \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022!\n\007pro" + + "ject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_" + + "id\030\313\201\331\021 \001(\tH\000\210\001\001\022&\n\026source_firewall_poli" + + "cy\030\255\332\366\013 \001(\tH\001\210\001\001B\r\n\013_request_idB\031\n\027_sour" + + "ce_firewall_policy\"\202\002\n,CloneRulesRegionN" + + "etworkFirewallPolicyRequest\022 \n\017firewall_" + + "policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(" + + "\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002" + + "\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022&\n" + + "\026source_firewall_policy\030\255\332\366\013 \001(\tH\001\210\001\001B\r\n" + + "\013_request_idB\031\n\027_source_firewall_policy\"" + + "\300\016\n\nCommitment\022\033\n\nauto_renew\030\375\227\244\354\001 \001(\010H\000" + + "\210\001\001\022\030\n\010category\030\376\371\212\030 \001(\tH\001\210\001\001\022\"\n\022creatio" + + "n_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022\034\n\013description" + + "\030\374\207\326\311\001 \001(\tH\003\210\001\001\022\036\n\rend_timestamp\030\262\255\232\337\001 \001" + + "(\tH\004\210\001\001\022!\n\025existing_reservations\030\333\210\214\353\001 \003" + + "(\t\022\020\n\002id\030\233\032 \001(\004H\005\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\006\210" + + "\001\001\022U\n\020license_resource\030\314\324\352\320\001 \001(\01322.googl" + + "e.cloud.compute.v1.LicenseResourceCommit" + + "mentH\007\210\001\001\022#\n\030merge_source_commitments\030\301\252" + + "\330Y \003(\t\022\024\n\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022\024\n\004plan\030\251\226\322" + + "\001 \001(\tH\t\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\n\210\001\001\022>\n\014re" + + "servations\030\247\354\314\276\001 \003(\0132$.google.cloud.comp" + + "ute.v1.Reservation\022A\n\tresources\030\245\374\262N \003(\013" + + "2+.google.cloud.compute.v1.ResourceCommi" + + "tment\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\013\210\001\001\022(\n\027spl" + + "it_source_commitment\030\324\267\375\277\001 \001(\tH\014\210\001\001\022\037\n\017s" + + "tart_timestamp\030\371\252\361\' \001(\tH\r\210\001\001\022\026\n\006status\030\362" + + "\237\267V \001(\tH\016\210\001\001\022\037\n\016status_message\030\272\311\351\215\001 \001(\t" + + "H\017\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\020\210\001\001\"b\n\010Category\022" + + "\026\n\022UNDEFINED_CATEGORY\020\000\022\034\n\024CATEGORY_UNSP" + + "ECIFIED\020\326\272\346\362\001\022\017\n\007LICENSE\020\241\240\360\245\001\022\017\n\007MACHIN" + + "E\020\247\240\363\337\001\"Y\n\004Plan\022\022\n\016UNDEFINED_PLAN\020\000\022\017\n\007I" + + "NVALID\020\327\373\355\374\001\022\027\n\020THIRTY_SIX_MONTH\020\206\265\375~\022\023\n" + + "\014TWELVE_MONTH\020\272\232\304R\"z\n\006Status\022\024\n\020UNDEFINE" + + "D_STATUS\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\020\n\tCANCELLED\020" + + "\261\362\200\024\022\020\n\010CREATING\020\271\275\235\331\001\022\017\n\007EXPIRED\020\205\346\210\346\001\022" + + "\025\n\016NOT_YET_ACTIVE\020\351\342\351\t\"\235\004\n\004Type\022\022\n\016UNDEF" + + "INED_TYPE\020\000\022\035\n\025ACCELERATOR_OPTIMIZED\020\223\320\365" + + "\205\001\022\037\n\030ACCELERATOR_OPTIMIZED_A3\020\276\317\316K\022\030\n\021C" + + "OMPUTE_OPTIMIZED\020\337\355\300K\022\035\n\025COMPUTE_OPTIMIZ", + "ED_C2D\020\365\300\337\266\001\022\034\n\024COMPUTE_OPTIMIZED_C3\020\260\253\213" + + "\314\001\022\035\n\025COMPUTE_OPTIMIZED_C3D\020\224\301\337\266\001\022\034\n\024COM" + + "PUTE_OPTIMIZED_H3\020\313\254\213\314\001\022\027\n\017GENERAL_PURPO" + + "SE\020\207\371\371\216\001\022\032\n\022GENERAL_PURPOSE_E2\020\305\236\373\217\001\022\032\n\022" + + "GENERAL_PURPOSE_N2\020\334\240\373\217\001\022\032\n\023GENERAL_PURP" + + "OSE_N2D\020\350\366\354n\022\032\n\022GENERAL_PURPOSE_N4\020\336\240\373\217\001" + + "\022\032\n\023GENERAL_PURPOSE_T2D\020\356\243\355n\022\031\n\022GRAPHICS" + + "_OPTIMIZED\020\323\370\324 \022\030\n\020MEMORY_OPTIMIZED\020\311\356\254\206" + + "\001\022\033\n\023MEMORY_OPTIMIZED_M3\020\274\214\340\203\001\022\034\n\024STORAG" + + "E_OPTIMIZED_Z3\020\265\331\207\227\001\022\030\n\020TYPE_UNSPECIFIED" + + "\020\222\373\333\320\001B\r\n\013_auto_renewB\013\n\t_categoryB\025\n\023_c" + + "reation_timestampB\016\n\014_descriptionB\020\n\016_en" + + "d_timestampB\005\n\003_idB\007\n\005_kindB\023\n\021_license_" + + "resourceB\007\n\005_nameB\007\n\005_planB\t\n\007_regionB\014\n" + + "\n_self_linkB\032\n\030_split_source_commitmentB" + + "\022\n\020_start_timestampB\t\n\007_statusB\021\n\017_statu" + + "s_messageB\007\n\005_type\"\277\003\n\030CommitmentAggrega" + + "tedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022N\n\005items\030\300\317\367/ " + + "\003(\0132<.google.cloud.compute.v1.Commitment" + + "AggregatedList.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001" + + "(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001" + + "\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreacha" + + "bles\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .goog" + + "le.cloud.compute.v1.WarningH\004\210\001\001\032\\\n\nItem" + + "sEntry\022\013\n\003key\030\001 \001(\t\022=\n\005value\030\002 \001(\0132..goo" + + "gle.cloud.compute.v1.CommitmentsScopedLi" + + "st:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tok" + + "enB\014\n\n_self_linkB\n\n\010_warning\"\245\002\n\016Commitm" + + "entList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0225\n\005items\030\300\317\367/ " + + "\003(\0132#.google.cloud.compute.v1.Commitment" + "\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_toke" + "n\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003" + "\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.c" + "ompute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022" + "\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_war" - + "ning\"\253\002\n/BackendServiceLocalityLoadBalan" - + "cingPolicyConfig\022s\n\rcustom_policy\030\300\213\246\002 \001" - + "(\0132T.google.cloud.compute.v1.BackendServ" - + "iceLocalityLoadBalancingPolicyConfigCust" - + "omPolicyH\000\210\001\001\022f\n\006policy\030\262\312\266+ \001(\0132N.googl" - + "e.cloud.compute.v1.BackendServiceLocalit" - + "yLoadBalancingPolicyConfigPolicyH\001\210\001\001B\020\n" - + "\016_custom_policyB\t\n\007_policy\"{\n;BackendSer" - + "viceLocalityLoadBalancingPolicyConfigCus" - + "tomPolicy\022\024\n\004data\030\252\337\273\001 \001(\tH\000\210\001\001\022\024\n\004name\030" - + "\213\365\315\001 \001(\tH\001\210\001\001B\007\n\005_dataB\007\n\005_name\"\236\002\n5Back" - + "endServiceLocalityLoadBalancingPolicyCon" - + "figPolicy\022\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001\"\305\001\n\004Name" - + "\022\022\n\016UNDEFINED_NAME\020\000\022\031\n\021INVALID_LB_POLIC" - + "Y\020\263\347\225\232\001\022\024\n\rLEAST_REQUEST\020\371\304\234\026\022\r\n\006MAGLEV\020" - + "\352\227\3528\022\033\n\024ORIGINAL_DESTINATION\020\200\375\245O\022\r\n\006RAN" - + "DOM\020\303\261\227}\022\021\n\tRING_HASH\020\275\333\257\316\001\022\022\n\013ROUND_ROB" - + "IN\020\371\206\261I\022\026\n\017WEIGHTED_MAGLEV\020\222\340\307yB\007\n\005_name" - + "\"\260\002\n\027BackendServiceLogConfig\022\027\n\006enable\030\203" - + "\313\324\224\001 \001(\010H\000\210\001\001\022\033\n\017optional_fields\030\370\310\206\374\001 \003" - + "(\t\022\035\n\roptional_mode\030\242\206\257= \001(\tH\001\210\001\001\022\033\n\013sam" - + "ple_rate\030\325\224\206I \001(\002H\002\210\001\001\"v\n\014OptionalMode\022\033" - + "\n\027UNDEFINED_OPTIONAL_MODE\020\000\022\016\n\006CUSTOM\020\361\376" - + "\245\271\001\022\033\n\024EXCLUDE_ALL_OPTIONAL\020\303\335\264P\022\034\n\024INCL" - + "UDE_ALL_OPTIONAL\020\265\355\262\377\001B\t\n\007_enableB\020\n\016_op" - + "tional_modeB\016\n\014_sample_rate\"O\n\027BackendSe" - + "rviceReference\022 \n\017backend_service\030\212\300\256\222\001 " - + "\001(\tH\000\210\001\001B\022\n\020_backend_service\"?\n\024BackendS" - + "erviceUsedBy\022\031\n\treference\030\313\376\354F \001(\tH\000\210\001\001B" - + "\014\n\n_reference\"\251\001\n\031BackendServicesScopedL" - + "ist\022E\n\020backend_services\030\251\303\241\271\001 \003(\0132\'.goog" - + "le.cloud.compute.v1.BackendService\0229\n\007wa" - + "rning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1" - + ".WarningH\000\210\001\001B\n\n\010_warning\"\347\t\n\tBfdPacket\022" - + "&\n\026authentication_present\030\364\223\3042 \001(\010H\000\210\001\001\022" - + ")\n\031control_plane_independent\030\265\257\336\035 \001(\010H\001\210" - + "\001\001\022\027\n\006demand\030\313\324\233\203\001 \001(\010H\002\210\001\001\022\032\n\ndiagnosti" - + "c\030\247\267\363\035 \001(\tH\003\210\001\001\022\025\n\005final\030\366\202\273. \001(\010H\004\210\001\001\022\027" - + "\n\006length\030\346\365\270\360\001 \001(\rH\005\210\001\001\022\'\n\027min_echo_rx_i" - + "nterval_ms\030\324\365\261. \001(\rH\006\210\001\001\022#\n\022min_rx_inter" - + "val_ms\030\364\320\373\334\001 \001(\rH\007\210\001\001\022#\n\022min_tx_interval" - + "_ms\030\262\367\351\372\001 \001(\rH\010\210\001\001\022\032\n\nmultiplier\030\301\373\235[ \001(" - + "\rH\t\210\001\001\022\032\n\nmultipoint\030\367\267\243[ \001(\010H\n\210\001\001\022 \n\020my" - + "_discriminator\030\311\222\307$ \001(\rH\013\210\001\001\022\024\n\004poll\030\277\257\322" - + "\001 \001(\010H\014\210\001\001\022\025\n\005state\030\221\211\2534 \001(\tH\r\210\001\001\022\030\n\007ver" - + "sion\030\330\271\324\247\001 \001(\rH\016\210\001\001\022#\n\022your_discriminato" - + "r\030\220\347\357\365\001 \001(\rH\017\210\001\001\"\336\002\n\nDiagnostic\022\030\n\024UNDEF" - + "INED_DIAGNOSTIC\020\000\022\034\n\025ADMINISTRATIVELY_DO" - + "WN\020\246\216\203:\022\035\n\026CONCATENATED_PATH_DOWN\020\214\251\276\014\022%" - + "\n\036CONTROL_DETECTION_TIME_EXPIRED\020\357\370\314@\022\035\n" - + "\026DIAGNOSTIC_UNSPECIFIED\020\377\204\200\034\022\033\n\024ECHO_FUN" - + "CTION_FAILED\020\352\330\235i\022\035\n\026FORWARDING_PLANE_RE" - + "SET\020\252\256\263\t\022&\n\036NEIGHBOR_SIGNALED_SESSION_DO" - + "WN\020\266\376\270\262\001\022\024\n\rNO_DIAGNOSTIC\020\345\301\214j\022\021\n\tPATH_D" - + "OWN\020\374\220\311\212\001\022&\n\036REVERSE_CONCATENATED_PATH_D" - + "OWN\020\251\265\310\344\001\"m\n\005State\022\023\n\017UNDEFINED_STATE\020\000\022" - + "\021\n\nADMIN_DOWN\020\262\337\245=\022\013\n\004DOWN\020\242\271\200\001\022\013\n\004INIT\020" - + "\220\272\211\001\022\031\n\021STATE_UNSPECIFIED\020\311\320\274\340\001\022\007\n\002UP\020\233\025" - + "B\031\n\027_authentication_presentB\034\n\032_control_" - + "plane_independentB\t\n\007_demandB\r\n\013_diagnos" - + "ticB\010\n\006_finalB\t\n\007_lengthB\032\n\030_min_echo_rx" - + "_interval_msB\025\n\023_min_rx_interval_msB\025\n\023_" - + "min_tx_interval_msB\r\n\013_multiplierB\r\n\013_mu" - + "ltipointB\023\n\021_my_discriminatorB\007\n\005_pollB\010" - + "\n\006_stateB\n\n\010_versionB\025\n\023_your_discrimina" - + "tor\"\354\n\n\tBfdStatus\022/\n\037bfd_session_initial" - + "ization_mode\030\232\237\203h \001(\tH\000\210\001\001\022/\n\036config_upd" - + "ate_timestamp_micros\030\261\200\201\332\001 \001(\003H\001\210\001\001\022U\n\025c" - + "ontrol_packet_counts\030\371\322\233? \001(\0132..google.c" - + "loud.compute.v1.BfdStatusPacketCountsH\002\210" - + "\001\001\022N\n\030control_packet_intervals\030\371\347\346\356\001 \003(\013" - + "2(.google.cloud.compute.v1.PacketInterva" - + "ls\022!\n\020local_diagnostic\030\373\241\220\335\001 \001(\tH\003\210\001\001\022\033\n" - + "\013local_state\030\275\225\222G \001(\tH\004\210\001\001\0227\n\'negotiated" - + "_local_control_tx_interval_ms\030\224\321\260\n \001(\rH\005" - + "\210\001\001\022>\n\trx_packet\030\241\201\353\360\001 \001(\0132\".google.clou" - + "d.compute.v1.BfdPacketH\006\210\001\001\022=\n\ttx_packet" - + "\030\243\275\2165 \001(\0132\".google.cloud.compute.v1.BfdP" - + "acketH\007\210\001\001\022\031\n\tuptime_ms\030\335\332\345; \001(\003H\010\210\001\001\"\200\001" - + "\n\034BfdSessionInitializationMode\022-\n)UNDEFI" - + "NED_BFD_SESSION_INITIALIZATION_MODE\020\000\022\016\n" - + "\006ACTIVE\020\206\346\211\226\001\022\020\n\010DISABLED\020\374\324\260\366\001\022\017\n\007PASSI" - + "VE\020\207\366\327\334\001\"\351\002\n\017LocalDiagnostic\022\036\n\032UNDEFINE" - + "D_LOCAL_DIAGNOSTIC\020\000\022\034\n\025ADMINISTRATIVELY" - + "_DOWN\020\246\216\203:\022\035\n\026CONCATENATED_PATH_DOWN\020\214\251\276" - + "\014\022%\n\036CONTROL_DETECTION_TIME_EXPIRED\020\357\370\314@" - + "\022\035\n\026DIAGNOSTIC_UNSPECIFIED\020\377\204\200\034\022\033\n\024ECHO_" - + "FUNCTION_FAILED\020\352\330\235i\022\035\n\026FORWARDING_PLANE" - + "_RESET\020\252\256\263\t\022&\n\036NEIGHBOR_SIGNALED_SESSION" - + "_DOWN\020\266\376\270\262\001\022\024\n\rNO_DIAGNOSTIC\020\345\301\214j\022\021\n\tPAT" - + "H_DOWN\020\374\220\311\212\001\022&\n\036REVERSE_CONCATENATED_PAT" - + "H_DOWN\020\251\265\310\344\001\"x\n\nLocalState\022\031\n\025UNDEFINED_" - + "LOCAL_STATE\020\000\022\021\n\nADMIN_DOWN\020\262\337\245=\022\013\n\004DOWN" - + "\020\242\271\200\001\022\013\n\004INIT\020\220\272\211\001\022\031\n\021STATE_UNSPECIFIED\020" - + "\311\320\274\340\001\022\007\n\002UP\020\233\025B\"\n _bfd_session_initializ" - + "ation_modeB!\n\037_config_update_timestamp_m" - + "icrosB\030\n\026_control_packet_countsB\023\n\021_loca" - + "l_diagnosticB\016\n\014_local_stateB*\n(_negotia" - + "ted_local_control_tx_interval_msB\014\n\n_rx_" - + "packetB\014\n\n_tx_packetB\014\n\n_uptime_ms\"\315\001\n\025B" - + "fdStatusPacketCounts\022\026\n\006num_rx\030\237\243\343\022 \001(\rH" - + "\000\210\001\001\022 \n\017num_rx_rejected\030\236\256\377\205\001 \001(\rH\001\210\001\001\022\"" - + "\n\021num_rx_successful\030\272\212\221\331\001 \001(\rH\002\210\001\001\022\026\n\006nu" - + "m_tx\030\335\243\343\022 \001(\rH\003\210\001\001B\t\n\007_num_rxB\022\n\020_num_rx" - + "_rejectedB\024\n\022_num_rx_successfulB\t\n\007_num_" - + "tx\"\261\001\n\007Binding\022\033\n\nbinding_id\030\225\362\251\322\001 \001(\tH\000" - + "\210\001\001\0228\n\tcondition\030\233\332\245e \001(\0132\035.google.cloud" - + ".compute.v1.ExprH\001\210\001\001\022\023\n\007members\030\231\222\273\304\001 \003" - + "(\t\022\024\n\004role\030\366\200\326\001 \001(\tH\002\210\001\001B\r\n\013_binding_idB" - + "\014\n\n_conditionB\007\n\005_role\"\350\001\n\025BulkInsertDis" - + "kRequest\022d\n\"bulk_insert_disk_resource_re" - + "source\030\326\371\227\212\001 \001(\0132/.google.cloud.compute." - + "v1.BulkInsertDiskResourceB\003\340A\002\022!\n\007projec" - + "t\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030" - + "\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zo" - + "neB\r\n\013_request_id\"m\n\026BulkInsertDiskResou" - + "rce\022/\n\037source_consistency_group_policy\030\335" - + "\242\255\t \001(\tH\000\210\001\001B\"\n _source_consistency_grou" - + "p_policy\"\363\001\n\031BulkInsertInstanceRequest\022k" - + "\n&bulk_insert_instance_resource_resource" - + "\030\316\302\340\023 \001(\01323.google.cloud.compute.v1.Bulk" - + "InsertInstanceResourceB\003\340A\002\022!\n\007project\030\231" - + "\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331" - + "\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB" - + "\r\n\013_request_id\"\245\005\n\032BulkInsertInstanceRes" - + "ource\022\025\n\005count\030\217\242\235- \001(\003H\000\210\001\001\022P\n\023instance" - + "_properties\030\235\236\330f \001(\0132+.google.cloud.comp" - + "ute.v1.InstancePropertiesH\001\210\001\001\022I\n\017locati" - + "on_policy\030\374\271\207\336\001 \001(\0132\'.google.cloud.compu" - + "te.v1.LocationPolicyH\002\210\001\001\022\032\n\tmin_count\030\342" - + "\251\277\371\001 \001(\003H\003\210\001\001\022\035\n\014name_pattern\030\334\243\251\305\001 \001(\tH" - + "\004\210\001\001\022r\n\027per_instance_properties\030\373\271\3363 \003(\013" - + "2N.google.cloud.compute.v1.BulkInsertIns" - + "tanceResource.PerInstancePropertiesEntry" - + "\022)\n\030source_instance_template\030\300\303\301\236\001 \001(\tH\005" - + "\210\001\001\032\206\001\n\032PerInstancePropertiesEntry\022\013\n\003ke" - + "y\030\001 \001(\t\022W\n\005value\030\002 \001(\0132H.google.cloud.co" - + "mpute.v1.BulkInsertInstanceResourcePerIn" - + "stanceProperties:\0028\001B\010\n\006_countB\026\n\024_insta" - + "nce_propertiesB\022\n\020_location_policyB\014\n\n_m" - + "in_countB\017\n\r_name_patternB\033\n\031_source_ins" - + "tance_template\"w\n/BulkInsertInstanceReso" - + "urcePerInstanceProperties\022\030\n\010hostname\030\263\270" - + "\205q \001(\tH\000\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\001\210\001\001B\013\n\t_ho" - + "stnameB\007\n\005_name\"\234\003\n\031BulkInsertOperationS" - + "tatus\022!\n\020created_vm_count\030\376\251\242\275\001 \001(\005H\000\210\001\001" - + "\022!\n\020deleted_vm_count\030\355\325\312\201\001 \001(\005H\001\210\001\001\022)\n\031f" - + "ailed_to_create_vm_count\030\350\275\353\033 \001(\005H\002\210\001\001\022\026" - + "\n\006status\030\362\237\267V \001(\tH\003\210\001\001\022 \n\017target_vm_coun" - + "t\030\365\240\222\376\001 \001(\005H\004\210\001\001\"m\n\006Status\022\024\n\020UNDEFINED_" - + "STATUS\020\000\022\020\n\010CREATING\020\271\275\235\331\001\022\013\n\004DONE\020\202\267\200\001\022" - + "\023\n\014ROLLING_BACK\020\301\235\331{\022\031\n\022STATUS_UNSPECIFI" - + "ED\020\312\314\213\024B\023\n\021_created_vm_countB\023\n\021_deleted" - + "_vm_countB\034\n\032_failed_to_create_vm_countB" - + "\t\n\007_statusB\022\n\020_target_vm_count\"\362\001\n\033BulkI" - + "nsertRegionDiskRequest\022d\n\"bulk_insert_di" - + "sk_resource_resource\030\326\371\227\212\001 \001(\0132/.google." - + "cloud.compute.v1.BulkInsertDiskResourceB" + + "ning\"\234\001\n\025CommitmentsScopedList\022<\n\013commit" + + "ments\030\376\257\362\326\001 \003(\0132#.google.cloud.compute.v" + + "1.Commitment\0229\n\007warning\030\234\337\226\030 \001(\0132 .googl" + + "e.cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_warn" + + "ing\"\210\004\n\tCondition\022\022\n\003iam\030\325\254\006 \001(\tH\000\210\001\001\022\020\n" + + "\002op\030\341\033 \001(\tH\001\210\001\001\022\022\n\003svc\030\340\374\006 \001(\tH\002\210\001\001\022\022\n\003s" + + "ys\030\315\375\006 \001(\tH\003\210\001\001\022\021\n\006values\030\242\272\226w \003(\t\"\267\001\n\003I" + + "am\022\021\n\rUNDEFINED_IAM\020\000\022\020\n\010APPROVER\020\305\255\255\252\001\022" + + "\022\n\013ATTRIBUTION\020\337\310\354n\022\021\n\tAUTHORITY\020\243\256\260\360\001\022\030" + + "\n\020CREDENTIALS_TYPE\020\275\345\205\246\001\022\027\n\017CREDS_ASSERT" + + "ION\020\350\317\274\236\001\022\031\n\022JUSTIFICATION_TYPE\020\207\241\246b\022\026\n\016" + + "SECURITY_REALM\020\260\371\370\372\001\"r\n\002Op\022\020\n\014UNDEFINED_" + + "OP\020\000\022\021\n\nDISCHARGED\020\342\377\377~\022\016\n\006EQUALS\020\277\347\355\322\001\022" + + "\007\n\002IN\020\245\022\022\021\n\nNOT_EQUALS\020\313\305\263\t\022\r\n\006NOT_IN\020\261\274" + + "\353L\022\014\n\005NO_OP\020\237\202\302#\"M\n\003Sys\022\021\n\rUNDEFINED_SYS" + + "\020\000\022\007\n\002IP\020\247\022\022\013\n\004NAME\020\213\345\221\001\022\r\n\006REGION\020\364\265\354~\022" + + "\016\n\007SERVICE\020\225\245\275\010B\006\n\004_iamB\005\n\003_opB\006\n\004_svcB\006" + + "\n\004_sys\"i\n\032ConfidentialInstanceConfig\022+\n\033" + + "enable_confidential_compute\030\274\353\3310 \001(\010H\000\210\001" + + "\001B\036\n\034_enable_confidential_compute\"S\n\022Con" + + "nectionDraining\022$\n\024draining_timeout_sec\030" + + "\236\325\254k \001(\005H\000\210\001\001B\027\n\025_draining_timeout_sec\"\210" + + "\002\n\"ConsistentHashLoadBalancerSettings\022b\n" + + "\013http_cookie\030\373\253\227\003 \001(\0132E.google.cloud.com" + + "pute.v1.ConsistentHashLoadBalancerSettin" + + "gsHttpCookieH\000\210\001\001\022 \n\020http_header_name\030\306\367" + + "\372o \001(\tH\001\210\001\001\022!\n\021minimum_ring_size\030\277\273\341o \001(" + + "\003H\002\210\001\001B\016\n\014_http_cookieB\023\n\021_http_header_n" + + "ameB\024\n\022_minimum_ring_size\"\253\001\n,Consistent" + + "HashLoadBalancerSettingsHttpCookie\022\024\n\004na" + + "me\030\213\365\315\001 \001(\tH\000\210\001\001\022\024\n\004path\030\245\310\321\001 \001(\tH\001\210\001\001\0225" + + "\n\003ttl\030\354\203\007 \001(\0132!.google.cloud.compute.v1." + + "DurationH\002\210\001\001B\007\n\005_nameB\007\n\005_pathB\006\n\004_ttl\"" + + "\236\002\n\nCorsPolicy\022\"\n\021allow_credentials\030\206\376\275\345" + + "\001 \001(\010H\000\210\001\001\022\030\n\rallow_headers\030\220\301\305\025 \003(\t\022\030\n\r" + + "allow_methods\030\274\371\370a \003(\t\022\037\n\024allow_origin_r" + + "egexes\030\322\215\332f \003(\t\022\030\n\rallow_origins\030\227\316\370\\ \003(" + + "\t\022\031\n\010disabled\030\374\364\230\201\001 \001(\010H\001\210\001\001\022\031\n\016expose_h" + + "eaders\030\213\314\210v \003(\t\022\030\n\007max_age\030\244\367\323\222\001 \001(\005H\002\210\001" + + "\001B\024\n\022_allow_credentialsB\013\n\t_disabledB\n\n\010" + + "_max_age\"\321\002\n*CreateInstancesInstanceGrou" + + "pManagerRequest\022&\n\026instance_group_manage" + + "r\030\303\367\363v \001(\tB\003\340A\002\022\217\001\n9instance_group_manag" + + "ers_create_instances_request_resource\030\223\372" + + "\332\013 \001(\0132D.google.cloud.compute.v1.Instanc" + + "eGroupManagersCreateInstancesRequestB\003\340A" + + "\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\n" + + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(" + + "\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\351\002\n0CreateI" + + "nstancesRegionInstanceGroupManagerReques" + + "t\022&\n\026instance_group_manager\030\303\367\363v \001(\tB\003\340A" + + "\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006" + + "region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\235\001\n@region" + + "_instance_group_managers_create_instance" + + "s_request_resource\030\210\277\230\253\001 \001(\0132J.google.cl" + + "oud.compute.v1.RegionInstanceGroupManage" + + "rsCreateInstancesRequestB\003\340A\002\022\032\n\nrequest" + + "_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\221\002\n\031Cre" + + "ateSnapshotDiskRequest\022\024\n\004disk\030\235\233\274\001 \001(\tB" + + "\003\340A\002\022\034\n\013guest_flush\030\335\223\354\267\001 \001(\010H\000\210\001\001\022!\n\007pr" + + "oject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest" + + "_id\030\313\201\331\021 \001(\tH\001\210\001\001\022E\n\021snapshot_resource\030\251" + + "\270\301\345\001 \001(\0132!.google.cloud.compute.v1.Snaps" + + "hotB\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\016\n" + + "\014_guest_flushB\r\n\013_request_id\"\355\001\n\037CreateS" + + "napshotRegionDiskRequest\022\024\n\004disk\030\235\233\274\001 \001(" + + "\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" + + "t\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nre" + + "quest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022E\n\021snapshot_resou" + + "rce\030\251\270\301\345\001 \001(\0132!.google.cloud.compute.v1." + + "SnapshotB\003\340A\002B\r\n\013_request_id\"\217\002\n\025Custome" + + "rEncryptionKey\022\035\n\014kms_key_name\030\231\353\373\346\001 \001(\t" + + "H\000\210\001\001\022\'\n\027kms_key_service_account\030\325\305\220d \001(" + + "\tH\001\210\001\001\022\030\n\007raw_key\030\310\343\230\326\001 \001(\tH\002\210\001\001\022\"\n\021rsa_" + + "encrypted_key\030\245\303\374\237\001 \001(\tH\003\210\001\001\022\026\n\006sha256\030\247" + + "\354\216Q \001(\tH\004\210\001\001B\017\n\r_kms_key_nameB\032\n\030_kms_ke" + + "y_service_accountB\n\n\010_raw_keyB\024\n\022_rsa_en" + + "crypted_keyB\t\n\007_sha256\"\265\001\n\"CustomerEncry" + + "ptionKeyProtectedDisk\022T\n\023disk_encryption" + + "_key\030\205\355\304\201\001 \001(\0132..google.cloud.compute.v1" + + ".CustomerEncryptionKeyH\000\210\001\001\022\026\n\006source\030\233\320" + + "\301T \001(\tH\001\210\001\001B\026\n\024_disk_encryption_keyB\t\n\007_" + + "source\"C\n\004Data\022\022\n\003key\030\337\274\006 \001(\tH\000\210\001\001\022\025\n\005va" + + "lue\030\361\242\2625 \001(\tH\001\210\001\001B\006\n\004_keyB\010\n\006_value\"\353\001\n!" + + "DeleteAccessConfigInstanceRequest\022\035\n\racc" + + "ess_config\030\375\344\336\" \001(\tB\003\340A\002\022\030\n\010instance\030\225\251\332" + + "\010 \001(\tB\003\340A\002\022\"\n\021network_interface\030\350\300\235\256\001 \001(" + + "\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" + + "t\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307" + + "\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\237\001\n\024De" + + "leteAddressRequest\022\030\n\007address\030\364\267\336\334\001 \001(\tB" + "\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022" + "\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequ" - + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\375\001\n\037" - + "BulkInsertRegionInstanceRequest\022k\n&bulk_" - + "insert_instance_resource_resource\030\316\302\340\023 \001" - + "(\01323.google.cloud.compute.v1.BulkInsertI" - + "nstanceResourceB\003\340A\002\022!\n\007project\030\231\226\301l \001(\t" - + "B\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362" - + "G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013" - + "_request_id\"U\n\025CacheInvalidationRule\022\024\n\004" - + "host\030\250\353\303\001 \001(\tH\000\210\001\001\022\024\n\004path\030\245\310\321\001 \001(\tH\001\210\001\001" - + "B\007\n\005_hostB\007\n\005_path\"\302\002\n\016CacheKeyPolicy\022\035\n" - + "\014include_host\030\337\205\224\350\001 \001(\010H\000\210\001\001\022\037\n\024include_" - + "http_headers\030\206\372\227\001 \003(\t\022 \n\025include_named_c" - + "ookies\030\262\260\321) \003(\t\022!\n\020include_protocol\030\317\320\334\220" - + "\001 \001(\010H\001\210\001\001\022%\n\024include_query_string\030\237\363\204\342\001" - + " \001(\010H\002\210\001\001\022\"\n\026query_string_blacklist\030\206\252\241\251" - + "\001 \003(\t\022!\n\026query_string_whitelist\030\260\330\201\031 \003(\t" - + "B\017\n\r_include_hostB\023\n\021_include_protocolB\027" - + "\n\025_include_query_string\"\260\002\n\017CircuitBreak" - + "ers\022\037\n\017max_connections\030\372\325\3414 \001(\005H\000\210\001\001\022%\n\024" - + "max_pending_requests\030\347\245\212\263\001 \001(\005H\001\210\001\001\022\034\n\014m" - + "ax_requests\030\277\370\262\r \001(\005H\002\210\001\001\022,\n\033max_request" - + "s_per_connection\030\300\226\270\254\001 \001(\005H\003\210\001\001\022\033\n\013max_r" - + "etries\030\353\242\276\032 \001(\005H\004\210\001\001B\022\n\020_max_connections" - + "B\027\n\025_max_pending_requestsB\017\n\r_max_reques" - + "tsB\036\n\034_max_requests_per_connectionB\016\n\014_m" - + "ax_retries\"\261\001\n\037CloneRulesFirewallPolicyR" - + "equest\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002" - + "\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022&\n\026source_f" - + "irewall_policy\030\255\332\366\013 \001(\tH\001\210\001\001B\r\n\013_request" - + "_idB\031\n\027_source_firewall_policy\"\333\001\n&Clone" - + "RulesNetworkFirewallPolicyRequest\022 \n\017fir" - + "ewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022!\n\007project\030\231" - + "\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331" - + "\021 \001(\tH\000\210\001\001\022&\n\026source_firewall_policy\030\255\332\366" - + "\013 \001(\tH\001\210\001\001B\r\n\013_request_idB\031\n\027_source_fir" - + "ewall_policy\"\202\002\n,CloneRulesRegionNetwork" - + "FirewallPolicyRequest\022 \n\017firewall_policy" - + "\030\321\212\306\355\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002" - + "\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006reg" - + "ion\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022&\n\026sourc" - + "e_firewall_policy\030\255\332\366\013 \001(\tH\001\210\001\001B\r\n\013_requ" - + "est_idB\031\n\027_source_firewall_policy\"\244\016\n\nCo" - + "mmitment\022\033\n\nauto_renew\030\375\227\244\354\001 \001(\010H\000\210\001\001\022\030\n" - + "\010category\030\376\371\212\030 \001(\tH\001\210\001\001\022\"\n\022creation_time" - + "stamp\030\266\217\307\016 \001(\tH\002\210\001\001\022\034\n\013description\030\374\207\326\311\001" - + " \001(\tH\003\210\001\001\022\036\n\rend_timestamp\030\262\255\232\337\001 \001(\tH\004\210\001" - + "\001\022!\n\025existing_reservations\030\333\210\214\353\001 \003(\t\022\020\n\002" - + "id\030\233\032 \001(\004H\005\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\006\210\001\001\022U\n\020" - + "license_resource\030\314\324\352\320\001 \001(\01322.google.clou" - + "d.compute.v1.LicenseResourceCommitmentH\007" - + "\210\001\001\022#\n\030merge_source_commitments\030\301\252\330Y \003(\t" - + "\022\024\n\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022\024\n\004plan\030\251\226\322\001 \001(\tH" - + "\t\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\n\210\001\001\022>\n\014reservat" - + "ions\030\247\354\314\276\001 \003(\0132$.google.cloud.compute.v1" - + ".Reservation\022A\n\tresources\030\245\374\262N \003(\0132+.goo" - + "gle.cloud.compute.v1.ResourceCommitment\022" - + "\032\n\tself_link\030\215\222\305\331\001 \001(\tH\013\210\001\001\022(\n\027split_sou" - + "rce_commitment\030\324\267\375\277\001 \001(\tH\014\210\001\001\022\037\n\017start_t" - + "imestamp\030\371\252\361\' \001(\tH\r\210\001\001\022\026\n\006status\030\362\237\267V \001(" - + "\tH\016\210\001\001\022\037\n\016status_message\030\272\311\351\215\001 \001(\tH\017\210\001\001\022" - + "\024\n\004type\030\272\236\332\001 \001(\tH\020\210\001\001\"b\n\010Category\022\026\n\022UND" - + "EFINED_CATEGORY\020\000\022\034\n\024CATEGORY_UNSPECIFIE" - + "D\020\326\272\346\362\001\022\017\n\007LICENSE\020\241\240\360\245\001\022\017\n\007MACHINE\020\247\240\363\337" - + "\001\"Y\n\004Plan\022\022\n\016UNDEFINED_PLAN\020\000\022\017\n\007INVALID" - + "\020\327\373\355\374\001\022\027\n\020THIRTY_SIX_MONTH\020\206\265\375~\022\023\n\014TWELV" - + "E_MONTH\020\272\232\304R\"z\n\006Status\022\024\n\020UNDEFINED_STAT" - + "US\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\020\n\tCANCELLED\020\261\362\200\024\022\020" - + "\n\010CREATING\020\271\275\235\331\001\022\017\n\007EXPIRED\020\205\346\210\346\001\022\025\n\016NOT" - + "_YET_ACTIVE\020\351\342\351\t\"\201\004\n\004Type\022\022\n\016UNDEFINED_T" - + "YPE\020\000\022\035\n\025ACCELERATOR_OPTIMIZED\020\223\320\365\205\001\022\037\n\030" - + "ACCELERATOR_OPTIMIZED_A3\020\276\317\316K\022\030\n\021COMPUTE" - + "_OPTIMIZED\020\337\355\300K\022\035\n\025COMPUTE_OPTIMIZED_C2D" - + "\020\365\300\337\266\001\022\034\n\024COMPUTE_OPTIMIZED_C3\020\260\253\213\314\001\022\035\n\025" - + "COMPUTE_OPTIMIZED_C3D\020\224\301\337\266\001\022\034\n\024COMPUTE_O" - + "PTIMIZED_H3\020\313\254\213\314\001\022\027\n\017GENERAL_PURPOSE\020\207\371\371" - + "\216\001\022\032\n\022GENERAL_PURPOSE_E2\020\305\236\373\217\001\022\032\n\022GENERA" - + "L_PURPOSE_N2\020\334\240\373\217\001\022\032\n\023GENERAL_PURPOSE_N2" - + "D\020\350\366\354n\022\032\n\023GENERAL_PURPOSE_T2D\020\356\243\355n\022\031\n\022GR" - + "APHICS_OPTIMIZED\020\323\370\324 \022\030\n\020MEMORY_OPTIMIZE" - + "D\020\311\356\254\206\001\022\033\n\023MEMORY_OPTIMIZED_M3\020\274\214\340\203\001\022\034\n\024" - + "STORAGE_OPTIMIZED_Z3\020\265\331\207\227\001\022\030\n\020TYPE_UNSPE" - + "CIFIED\020\222\373\333\320\001B\r\n\013_auto_renewB\013\n\t_category" - + "B\025\n\023_creation_timestampB\016\n\014_descriptionB" - + "\020\n\016_end_timestampB\005\n\003_idB\007\n\005_kindB\023\n\021_li" - + "cense_resourceB\007\n\005_nameB\007\n\005_planB\t\n\007_reg" - + "ionB\014\n\n_self_linkB\032\n\030_split_source_commi" - + "tmentB\022\n\020_start_timestampB\t\n\007_statusB\021\n\017" - + "_status_messageB\007\n\005_type\"\277\003\n\030CommitmentA" - + "ggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022N\n\005items" - + "\030\300\317\367/ \003(\0132<.google.cloud.compute.v1.Comm" - + "itmentAggregatedList.ItemsEntry\022\024\n\004kind\030" - + "\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(" - + "\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014un" - + "reachables\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132" - + " .google.cloud.compute.v1.WarningH\004\210\001\001\032\\" - + "\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022=\n\005value\030\002 \001(\013" - + "2..google.cloud.compute.v1.CommitmentsSc" - + "opedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_pa" - + "ge_tokenB\014\n\n_self_linkB\n\n\010_warning\"\245\002\n\016C" - + "ommitmentList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0225\n\005items", - "\030\300\317\367/ \003(\0132#.google.cloud.compute.v1.Comm" - + "itment\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_pag" - + "e_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001" - + " \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.c" - + "loud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_" - + "kindB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n" - + "\n\010_warning\"\234\001\n\025CommitmentsScopedList\022<\n\013" - + "commitments\030\376\257\362\326\001 \003(\0132#.google.cloud.com" - + "pute.v1.Commitment\0229\n\007warning\030\234\337\226\030 \001(\0132 " - + ".google.cloud.compute.v1.WarningH\000\210\001\001B\n\n" - + "\010_warning\"\210\004\n\tCondition\022\022\n\003iam\030\325\254\006 \001(\tH\000" - + "\210\001\001\022\020\n\002op\030\341\033 \001(\tH\001\210\001\001\022\022\n\003svc\030\340\374\006 \001(\tH\002\210\001" - + "\001\022\022\n\003sys\030\315\375\006 \001(\tH\003\210\001\001\022\021\n\006values\030\242\272\226w \003(\t" - + "\"\267\001\n\003Iam\022\021\n\rUNDEFINED_IAM\020\000\022\020\n\010APPROVER\020" - + "\305\255\255\252\001\022\022\n\013ATTRIBUTION\020\337\310\354n\022\021\n\tAUTHORITY\020\243" - + "\256\260\360\001\022\030\n\020CREDENTIALS_TYPE\020\275\345\205\246\001\022\027\n\017CREDS_" - + "ASSERTION\020\350\317\274\236\001\022\031\n\022JUSTIFICATION_TYPE\020\207\241" - + "\246b\022\026\n\016SECURITY_REALM\020\260\371\370\372\001\"r\n\002Op\022\020\n\014UNDE" - + "FINED_OP\020\000\022\021\n\nDISCHARGED\020\342\377\377~\022\016\n\006EQUALS\020" - + "\277\347\355\322\001\022\007\n\002IN\020\245\022\022\021\n\nNOT_EQUALS\020\313\305\263\t\022\r\n\006NOT" - + "_IN\020\261\274\353L\022\014\n\005NO_OP\020\237\202\302#\"M\n\003Sys\022\021\n\rUNDEFIN" - + "ED_SYS\020\000\022\007\n\002IP\020\247\022\022\013\n\004NAME\020\213\345\221\001\022\r\n\006REGION" - + "\020\364\265\354~\022\016\n\007SERVICE\020\225\245\275\010B\006\n\004_iamB\005\n\003_opB\006\n\004" - + "_svcB\006\n\004_sys\"i\n\032ConfidentialInstanceConf" - + "ig\022+\n\033enable_confidential_compute\030\274\353\3310 \001" - + "(\010H\000\210\001\001B\036\n\034_enable_confidential_compute\"" - + "S\n\022ConnectionDraining\022$\n\024draining_timeou" - + "t_sec\030\236\325\254k \001(\005H\000\210\001\001B\027\n\025_draining_timeout" - + "_sec\"\210\002\n\"ConsistentHashLoadBalancerSetti" - + "ngs\022b\n\013http_cookie\030\373\253\227\003 \001(\0132E.google.clo" - + "ud.compute.v1.ConsistentHashLoadBalancer" - + "SettingsHttpCookieH\000\210\001\001\022 \n\020http_header_n" - + "ame\030\306\367\372o \001(\tH\001\210\001\001\022!\n\021minimum_ring_size\030\277" - + "\273\341o \001(\003H\002\210\001\001B\016\n\014_http_cookieB\023\n\021_http_he" - + "ader_nameB\024\n\022_minimum_ring_size\"\253\001\n,Cons" - + "istentHashLoadBalancerSettingsHttpCookie" - + "\022\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001\022\024\n\004path\030\245\310\321\001 \001(\tH" - + "\001\210\001\001\0225\n\003ttl\030\354\203\007 \001(\0132!.google.cloud.compu" - + "te.v1.DurationH\002\210\001\001B\007\n\005_nameB\007\n\005_pathB\006\n" - + "\004_ttl\"\236\002\n\nCorsPolicy\022\"\n\021allow_credential" - + "s\030\206\376\275\345\001 \001(\010H\000\210\001\001\022\030\n\rallow_headers\030\220\301\305\025 \003" - + "(\t\022\030\n\rallow_methods\030\274\371\370a \003(\t\022\037\n\024allow_or" - + "igin_regexes\030\322\215\332f \003(\t\022\030\n\rallow_origins\030\227" - + "\316\370\\ \003(\t\022\031\n\010disabled\030\374\364\230\201\001 \001(\010H\001\210\001\001\022\031\n\016ex" - + "pose_headers\030\213\314\210v \003(\t\022\030\n\007max_age\030\244\367\323\222\001 \001" - + "(\005H\002\210\001\001B\024\n\022_allow_credentialsB\013\n\t_disabl" - + "edB\n\n\010_max_age\"\321\002\n*CreateInstancesInstan" - + "ceGroupManagerRequest\022&\n\026instance_group_" - + "manager\030\303\367\363v \001(\tB\003\340A\002\022\217\001\n9instance_group" - + "_managers_create_instances_request_resou" - + "rce\030\223\372\332\013 \001(\0132D.google.cloud.compute.v1.I" - + "nstanceGroupManagersCreateInstancesReque" - + "stB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proje" - + "ct\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254" - + "\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\351\002\n0C" - + "reateInstancesRegionInstanceGroupManager" - + "Request\022&\n\026instance_group_manager\030\303\367\363v \001" - + "(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proje" - + "ct\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\235\001\n@" - + "region_instance_group_managers_create_in" - + "stances_request_resource\030\210\277\230\253\001 \001(\0132J.goo" - + "gle.cloud.compute.v1.RegionInstanceGroup" - + "ManagersCreateInstancesRequestB\003\340A\002\022\032\n\nr" - + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\221" - + "\002\n\031CreateSnapshotDiskRequest\022\024\n\004disk\030\235\233\274" - + "\001 \001(\tB\003\340A\002\022\034\n\013guest_flush\030\335\223\354\267\001 \001(\010H\000\210\001\001" - + "\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nr" - + "equest_id\030\313\201\331\021 \001(\tH\001\210\001\001\022E\n\021snapshot_reso" - + "urce\030\251\270\301\345\001 \001(\0132!.google.cloud.compute.v1" - + ".SnapshotB\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004z" - + "oneB\016\n\014_guest_flushB\r\n\013_request_id\"\355\001\n\037C" - + "reateSnapshotRegionDiskRequest\022\024\n\004disk\030\235" - + "\233\274\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" - + "project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region" - + "\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022E\n\021snapshot" - + "_resource\030\251\270\301\345\001 \001(\0132!.google.cloud.compu" - + "te.v1.SnapshotB\003\340A\002B\r\n\013_request_id\"\217\002\n\025C" - + "ustomerEncryptionKey\022\035\n\014kms_key_name\030\231\353\373" - + "\346\001 \001(\tH\000\210\001\001\022\'\n\027kms_key_service_account\030\325" - + "\305\220d \001(\tH\001\210\001\001\022\030\n\007raw_key\030\310\343\230\326\001 \001(\tH\002\210\001\001\022\"" - + "\n\021rsa_encrypted_key\030\245\303\374\237\001 \001(\tH\003\210\001\001\022\026\n\006sh" - + "a256\030\247\354\216Q \001(\tH\004\210\001\001B\017\n\r_kms_key_nameB\032\n\030_" - + "kms_key_service_accountB\n\n\010_raw_keyB\024\n\022_" - + "rsa_encrypted_keyB\t\n\007_sha256\"\265\001\n\"Custome" - + "rEncryptionKeyProtectedDisk\022T\n\023disk_encr" - + "yption_key\030\205\355\304\201\001 \001(\0132..google.cloud.comp" - + "ute.v1.CustomerEncryptionKeyH\000\210\001\001\022\026\n\006sou" - + "rce\030\233\320\301T \001(\tH\001\210\001\001B\026\n\024_disk_encryption_ke" - + "yB\t\n\007_source\"C\n\004Data\022\022\n\003key\030\337\274\006 \001(\tH\000\210\001\001" - + "\022\025\n\005value\030\361\242\2625 \001(\tH\001\210\001\001B\006\n\004_keyB\010\n\006_valu" - + "e\"\353\001\n!DeleteAccessConfigInstanceRequest\022" - + "\035\n\raccess_config\030\375\344\336\" \001(\tB\003\340A\002\022\030\n\010instan" - + "ce\030\225\251\332\010 \001(\tB\003\340A\002\022\"\n\021network_interface\030\350\300" - + "\235\256\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" + + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\241\001\n\027" + + "DeleteAutoscalerRequest\022\033\n\nautoscaler\030\327\375" + + "\322\366\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" + "project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004z" + "one\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"" - + "\237\001\n\024DeleteAddressRequest\022\030\n\007address\030\364\267\336\334" - + "\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" - + "oject\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032" - + "\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_i" - + "d\"\241\001\n\027DeleteAutoscalerRequest\022\033\n\nautosca" - + "ler\030\327\375\322\366\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r" - + "\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001" - + "\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_reque" - + "st_id\"\212\001\n\032DeleteBackendBucketRequest\022\036\n\016" - + "backend_bucket\030\365\343\335+ \001(\tB\003\340A\002\022!\n\007project\030" + + "\212\001\n\032DeleteBackendBucketRequest\022\036\n\016backen" + + "d_bucket\030\365\343\335+ \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001" + + "(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\t" + + "H\000\210\001\001B\r\n\013_request_id\"\215\001\n\033DeleteBackendSe" + + "rviceRequest\022 \n\017backend_service\030\212\300\256\222\001 \001(" + + "\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" + + "t\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_reques" + + "t_id\"\224\001\n\021DeleteDiskRequest\022\024\n\004disk\030\235\233\274\001 " + + "\001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" + + "ect\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030" + + "\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\225\001\n\037" + + "DeleteExternalVpnGatewayRequest\022$\n\024exter" + + "nal_vpn_gateway\030\205\327\2634 \001(\tB\003\340A\002\022!\n\007project" + + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313" + + "\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"j\n\033DeleteFir" + + "ewallPolicyRequest\022 \n\017firewall_policy\030\321\212" + + "\306\355\001 \001(\tB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001" + + "B\r\n\013_request_id\"\200\001\n\025DeleteFirewallReques" + + "t\022\031\n\010firewall\030\200\372\325\363\001 \001(\tB\003\340A\002\022!\n\007project\030" + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201" - + "\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\215\001\n\033DeleteBac" - + "kendServiceRequest\022 \n\017backend_service\030\212\300" - + "\256\222\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" - + "project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_" - + "request_id\"\224\001\n\021DeleteDiskRequest\022\024\n\004disk" - + "\030\235\233\274\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362" - + "G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" - + "\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_i" - + "d\"\225\001\n\037DeleteExternalVpnGatewayRequest\022$\n" - + "\024external_vpn_gateway\030\205\327\2634 \001(\tB\003\340A\002\022!\n\007p" - + "roject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreques" - + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"j\n\033Del" - + "eteFirewallPolicyRequest\022 \n\017firewall_pol" - + "icy\030\321\212\306\355\001 \001(\tB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(" - + "\tH\000\210\001\001B\r\n\013_request_id\"\200\001\n\025DeleteFirewall" - + "Request\022\031\n\010firewall\030\200\372\325\363\001 \001(\tB\003\340A\002\022!\n\007pr" + + "\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\256\001\n\033DeleteFor" + + "wardingRuleRequest\022 \n\017forwarding_rule\030\376\245" + + "\335\200\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" + + "project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region" + + "\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request" + + "_id\"\204\001\n\032DeleteGlobalAddressRequest\022\030\n\007ad" + + "dress\030\364\267\336\334\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\t" + + "B\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000" + + "\210\001\001B\r\n\013_request_id\"\223\001\n!DeleteGlobalForwa" + + "rdingRuleRequest\022 \n\017forwarding_rule\030\376\245\335\200" + + "\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" + + "oject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_re" + + "quest_id\"\240\001\n\'DeleteGlobalNetworkEndpoint" + + "GroupRequest\022\'\n\026network_endpoint_group\030\206" + + "\313\363\316\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" + + "\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013" + + "_request_id\"R\n\034DeleteGlobalOperationRequ" + + "est\022\031\n\toperation\030\347\252\353\030 \001(\tB\003\340A\002\022\027\n\007projec" + + "t\030\231\226\301l \001(\tB\003\340A\002\"\037\n\035DeleteGlobalOperation" + + "Response\"o\n(DeleteGlobalOrganizationOper" + + "ationRequest\022\031\n\toperation\030\347\252\353\030 \001(\tB\003\340A\002\022" + + "\032\n\tparent_id\030\320\341\232\333\001 \001(\tH\000\210\001\001B\014\n\n_parent_i" + + "d\"+\n)DeleteGlobalOrganizationOperationRe" + + "sponse\"\242\001\n)DeleteGlobalPublicDelegatedPr" + + "efixeRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" + + "project\022\'\n\027public_delegated_prefix\030\350\334\261a " + + "\001(\tB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013" + + "_request_id\"\207\001\n\030DeleteHealthCheckRequest" + + "\022\035\n\014health_check\030\345\252\244\223\001 \001(\tB\003\340A\002\022!\n\007proje" + + "ct\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id" + + "\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"y\n\022DeleteI" + + "mageRequest\022\025\n\005image\030\333\322\352/ \001(\tB\003\340A\002\022!\n\007pr" + "oject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest" - + "_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\256\001\n\033Del" - + "eteForwardingRuleRequest\022 \n\017forwarding_r" - + "ule\030\376\245\335\200\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r" - + "\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006" - + "region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_r" - + "equest_id\"\204\001\n\032DeleteGlobalAddressRequest" - + "\022\030\n\007address\030\364\267\336\334\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226" - + "\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021" - + " \001(\tH\000\210\001\001B\r\n\013_request_id\"\223\001\n!DeleteGloba" - + "lForwardingRuleRequest\022 \n\017forwarding_rul" - + "e\030\376\245\335\200\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A" - + "\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B" - + "\r\n\013_request_id\"\240\001\n\'DeleteGlobalNetworkEn" - + "dpointGroupRequest\022\'\n\026network_endpoint_g" - + "roup\030\206\313\363\316\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB" - + "\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" - + "\001\001B\r\n\013_request_id\"R\n\034DeleteGlobalOperati" - + "onRequest\022\031\n\toperation\030\347\252\353\030 \001(\tB\003\340A\002\022\027\n\007" - + "project\030\231\226\301l \001(\tB\003\340A\002\"\037\n\035DeleteGlobalOpe" - + "rationResponse\"o\n(DeleteGlobalOrganizati" - + "onOperationRequest\022\031\n\toperation\030\347\252\353\030 \001(\t" - + "B\003\340A\002\022\032\n\tparent_id\030\320\341\232\333\001 \001(\tH\000\210\001\001B\014\n\n_pa" - + "rent_id\"+\n)DeleteGlobalOrganizationOpera" - + "tionResponse\"\242\001\n)DeleteGlobalPublicDeleg" - + "atedPrefixeRequest\022!\n\007project\030\231\226\301l \001(\tB\r" - + "\340A\002\362G\007project\022\'\n\027public_delegated_prefix" - + "\030\350\334\261a \001(\tB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" - + "\001\001B\r\n\013_request_id\"\207\001\n\030DeleteHealthCheckR" - + "equest\022\035\n\014health_check\030\345\252\244\223\001 \001(\tB\003\340A\002\022!\n" - + "\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequ" - + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"y\n\022D" - + "eleteImageRequest\022\025\n\005image\030\333\322\352/ \001(\tB\003\340A\002" - + "\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nr" - + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\266" - + "\001\n!DeleteInstanceGroupManagerRequest\022&\n\026" - + "instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n\007" - + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreque" - + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A" - + "\002\362G\004zoneB\r\n\013_request_id\"\247\001\n\032DeleteInstan" - + "ceGroupRequest\022\036\n\016instance_group\030\325\324\325& \001(" + + "_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\266\001\n!Del" + + "eteInstanceGroupManagerRequest\022&\n\026instan" + + "ce_group_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n\007projec" + + "t\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030" + + "\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zo" + + "neB\r\n\013_request_id\"\343\001\n.DeleteInstanceGrou" + + "pManagerResizeRequestRequest\022&\n\026instance" + + "_group_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n\007project\030" + + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201" + + "\331\021 \001(\tH\000\210\001\001\022\036\n\016resize_request\030\204\204\271g \001(\tB\003" + + "\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_req" + + "uest_id\"\247\001\n\032DeleteInstanceGroupRequest\022\036" + + "\n\016instance_group\030\325\324\325& \001(\tB\003\340A\002\022!\n\007projec" + + "t\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030" + + "\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zo" + + "neB\r\n\013_request_id\"\234\001\n\025DeleteInstanceRequ" + + "est\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022!\n\007project" + + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313" + + "\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zon" + + "eB\r\n\013_request_id\"\221\001\n\035DeleteInstanceTempl" + + "ateRequest\022\"\n\021instance_template\030\344\201\273\223\001 \001(" + "\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" - + "t\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307" - + "\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\234\001\n\025De" - + "leteInstanceRequest\022\030\n\010instance\030\225\251\332\010 \001(\t" + + "t\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_reques" + + "t_id\"\321\002\n*DeleteInstancesInstanceGroupMan" + + "agerRequest\022&\n\026instance_group_manager\030\303\367" + + "\363v \001(\tB\003\340A\002\022\217\001\n9instance_group_managers_" + + "delete_instances_request_resource\030\204\306\255O \001" + + "(\0132D.google.cloud.compute.v1.InstanceGro" + + "upManagersDeleteInstancesRequestB\003\340A\002\022!\n" + + "\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequ" + + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340" + + "A\002\362G\004zoneB\r\n\013_request_id\"\351\002\n0DeleteInsta" + + "ncesRegionInstanceGroupManagerRequest\022&\n" + + "\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n" + + "\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006regi" + + "on\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\235\001\n@region_ins" + + "tance_group_managers_delete_instances_re" + + "quest_resource\030\371\212\353\356\001 \001(\0132J.google.cloud." + + "compute.v1.RegionInstanceGroupManagersDe" + + "leteInstancesRequestB\003\340A\002\022\032\n\nrequest_id\030" + + "\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\254\001\n\034DeleteI" + + "nstantSnapshotRequest\022!\n\020instant_snapsho" + + "t\030\342\334\337\272\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A" + + "\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022" + + "\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request" + + "_id\"\276\001\n#DeleteInterconnectAttachmentRequ" + + "est\022(\n\027interconnect_attachment\030\364\212\367\222\001 \001(\t" + "B\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project" - + "\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344" - + "\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\221\001\n\035Del" - + "eteInstanceTemplateRequest\022\"\n\021instance_t" - + "emplate\030\344\201\273\223\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001" - + "(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\t" - + "H\000\210\001\001B\r\n\013_request_id\"\321\002\n*DeleteInstances" - + "InstanceGroupManagerRequest\022&\n\026instance_" - + "group_manager\030\303\367\363v \001(\tB\003\340A\002\022\217\001\n9instance" - + "_group_managers_delete_instances_request" - + "_resource\030\204\306\255O \001(\0132D.google.cloud.comput" - + "e.v1.InstanceGroupManagersDeleteInstance" - + "sRequestB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" - + "\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004" - + "zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id" - + "\"\351\002\n0DeleteInstancesRegionInstanceGroupM" - + "anagerRequest\022&\n\026instance_group_manager\030" - + "\303\367\363v \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" - + "\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006regio" - + "n\022\235\001\n@region_instance_group_managers_del" - + "ete_instances_request_resource\030\371\212\353\356\001 \001(\013" - + "2J.google.cloud.compute.v1.RegionInstanc" - + "eGroupManagersDeleteInstancesRequestB\003\340A" - + "\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_reques" - + "t_id\"\254\001\n\034DeleteInstantSnapshotRequest\022!\n" - + "\020instant_snapshot\030\342\334\337\272\001 \001(\tB\003\340A\002\022!\n\007proj" - + "ect\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_i" - + "d\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004" - + "zoneB\r\n\013_request_id\"\276\001\n#DeleteInterconne" - + "ctAttachmentRequest\022(\n\027interconnect_atta" - + "chment\030\364\212\367\222\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(" - + "\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002" - + "\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" - + "\013_request_id\"\207\001\n\031DeleteInterconnectReque" - + "st\022\034\n\014interconnect\030\216\311\214k \001(\tB\003\340A\002\022!\n\007proj" - + "ect\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_i" - + "d\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"}\n\024Delete" - + "LicenseRequest\022\027\n\007license\030\301\210\302O \001(\tB\003\340A\002\022" - + "!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nre" - + "quest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\210\001" - + "\n\031DeleteMachineImageRequest\022\035\n\rmachine_i" - + "mage\030\343\376\376 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r" - + "\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001" - + "\001B\r\n\013_request_id\"\263\001\n\036DeleteNetworkAttach" - + "mentRequest\022\"\n\022network_attachment\030\324\227\217k \001" - + "(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proje" - + "ct\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nr" - + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\307" - + "\001\n\'DeleteNetworkEdgeSecurityServiceReque" - + "st\022-\n\035network_edge_security_service\030\247\237\357J" - + " \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pro" - + "ject\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n" + + "\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nreq" + + "uest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\207\001\n" + + "\031DeleteInterconnectRequest\022\034\n\014interconne" + + "ct\030\216\311\214k \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A" + + "\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B" + + "\r\n\013_request_id\"}\n\024DeleteLicenseRequest\022\027" + + "\n\007license\030\301\210\302O \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l " + + "\001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(" + + "\tH\000\210\001\001B\r\n\013_request_id\"\210\001\n\031DeleteMachineI" + + "mageRequest\022\035\n\rmachine_image\030\343\376\376 \001(\tB\003\340" + + "A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n" + "\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id" - + "\"\267\001\n!DeleteNetworkEndpointGroupRequest\022\'" - + "\n\026network_endpoint_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022" + + "\"\263\001\n\036DeleteNetworkAttachmentRequest\022\"\n\022n" + + "etwork_attachment\030\324\227\217k \001(\tB\003\340A\002\022!\n\007proje" + + "ct\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240" + + "B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001" + + "(\tH\000\210\001\001B\r\n\013_request_id\"\307\001\n\'DeleteNetwork" + + "EdgeSecurityServiceRequest\022-\n\035network_ed" + + "ge_security_service\030\247\237\357J \001(\tB\003\340A\002\022!\n\007pro" + + "ject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364" + + "\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021" + + " \001(\tH\000\210\001\001B\r\n\013_request_id\"\267\001\n!DeleteNetwo" + + "rkEndpointGroupRequest\022\'\n\026network_endpoi" + + "nt_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l " + + "\001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(" + + "\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_" + + "request_id\"\224\001\n\"DeleteNetworkFirewallPoli" + + "cyRequest\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003" + + "\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032" + + "\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_i" + + "d\"}\n\024DeleteNetworkRequest\022\027\n\007network\030\256\264\205" + + "o \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" + + "oject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_re" + + "quest_id\"\240\001\n\026DeleteNodeGroupRequest\022\033\n\nn" + + "ode_group\030\202\374\213\340\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l" + + " \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001" + + "(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013" + + "_request_id\"\252\001\n\031DeleteNodeTemplateReques" + + "t\022\036\n\rnode_template\030\227\344\213\232\001 \001(\tB\003\340A\002\022!\n\007pro" + + "ject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364" + + "\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021" + + " \001(\tH\000\210\001\001B\r\n\013_request_id\"\227\002\n\033DeleteNodes" + + "NodeGroupRequest\022\033\n\nnode_group\030\202\374\213\340\001 \001(\t" + + "B\003\340A\002\022p\n)node_groups_delete_nodes_reques" + + "t_resource\030\222\327\263W \001(\01325.google.cloud.compu" + + "te.v1.NodeGroupsDeleteNodesRequestB\003\340A\002\022" + "!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nre" + "quest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB" - + "\n\340A\002\362G\004zoneB\r\n\013_request_id\"\224\001\n\"DeleteNet" - + "workFirewallPolicyRequest\022 \n\017firewall_po" - + "licy\030\321\212\306\355\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB" - + "\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" - + "\001\001B\r\n\013_request_id\"}\n\024DeleteNetworkReques" - + "t\022\027\n\007network\030\256\264\205o \001(\tB\003\340A\002\022!\n\007project\030\231\226" - + "\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021" - + " \001(\tH\000\210\001\001B\r\n\013_request_id\"\240\001\n\026DeleteNodeG" - + "roupRequest\022\033\n\nnode_group\030\202\374\213\340\001 \001(\tB\003\340A\002" - + "\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nr" - + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\t" - + "B\n\340A\002\362G\004zoneB\r\n\013_request_id\"\252\001\n\031DeleteNo" - + "deTemplateRequest\022\036\n\rnode_template\030\227\344\213\232\001" - + " \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pro" - + "ject\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n" - + "\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id" - + "\"\227\002\n\033DeleteNodesNodeGroupRequest\022\033\n\nnode" - + "_group\030\202\374\213\340\001 \001(\tB\003\340A\002\022p\n)node_groups_del" - + "ete_nodes_request_resource\030\222\327\263W \001(\01325.go" - + "ogle.cloud.compute.v1.NodeGroupsDeleteNo" - + "desRequestB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002" - + "\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033" - + "\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_" - + "id\"\257\001\n\034DeletePacketMirroringRequest\022 \n\020p" - + "acket_mirroring\030\314\271\321\n \001(\tB\003\340A\002\022!\n\007project" + + "\n\340A\002\362G\004zoneB\r\n\013_request_id\"\257\001\n\034DeletePac" + + "ketMirroringRequest\022 \n\020packet_mirroring\030" + + "\314\271\321\n \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" + + "\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006regio" + + "n\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_reques" + + "t_id\"\274\002\n3DeletePerInstanceConfigsInstanc" + + "eGroupManagerRequest\022&\n\026instance_group_m" + + "anager\030\303\367\363v \001(\tB\003\340A\002\022\234\001\n@instance_group_" + + "managers_delete_per_instance_configs_req" + + "_resource\030\240\352\350\254\001 \001(\0132I.google.cloud.compu" + + "te.v1.InstanceGroupManagersDeletePerInst" + + "anceConfigsReqB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB" + + "\r\340A\002\362G\007project\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004z" + + "one\"\306\002\n9DeletePerInstanceConfigsRegionIn" + + "stanceGroupManagerRequest\022&\n\026instance_gr" + + "oup_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n\007project\030\231\226\301" + + "l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB" + + "\014\340A\002\362G\006region\022\234\001\nAregion_instance_group_" + + "manager_delete_instance_config_req_resou" + + "rce\030\205\233- \001(\0132J.google.cloud.compute.v1.Re" + + "gionInstanceGroupManagerDeleteInstanceCo" + + "nfigReqB\003\340A\002\"\236\001\n$DeletePublicAdvertisedP" + + "refixeRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" + + "\007project\022(\n\030public_advertised_prefix\030\236\367\311" + + "0 \001(\tB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r" + + "\n\013_request_id\"\275\001\n#DeletePublicDelegatedP" + + "refixeRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" + + "\007project\022\'\n\027public_delegated_prefix\030\350\334\261a" + + " \001(\tB\003\340A\002\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006regi" + + "on\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_reque" + + "st_id\"\253\001\n\035DeleteRegionAutoscalerRequest\022" + + "\033\n\nautoscaler\030\327\375\322\366\001 \001(\tB\003\340A\002\022!\n\007project\030" + + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001" + + "(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" + + "\000\210\001\001B\r\n\013_request_id\"\264\001\n!DeleteRegionBack" + + "endServiceRequest\022 \n\017backend_service\030\212\300\256" + + "\222\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007p" + + "roject\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022" + + "\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_" + + "id\"\236\001\n\027DeleteRegionDiskRequest\022\024\n\004disk\030\235" + + "\233\274\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" + + "project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region" + + "\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request" + + "_id\"\256\001\n\036DeleteRegionHealthCheckRequest\022\035" + + "\n\014health_check\030\345\252\244\223\001 \001(\tB\003\340A\002\022!\n\007project" + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B " + "\001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\t" - + "H\000\210\001\001B\r\n\013_request_id\"\274\002\n3DeletePerInstan" - + "ceConfigsInstanceGroupManagerRequest\022&\n\026" - + "instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\234\001\n" - + "@instance_group_managers_delete_per_inst" - + "ance_configs_req_resource\030\240\352\350\254\001 \001(\0132I.go" - + "ogle.cloud.compute.v1.InstanceGroupManag" - + "ersDeletePerInstanceConfigsReqB\003\340A\002\022!\n\007p" - + "roject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\033\n\004zone\030\254" - + "\307\344\001 \001(\tB\n\340A\002\362G\004zone\"\306\002\n9DeletePerInstanc" - + "eConfigsRegionInstanceGroupManagerReques" - + "t\022&\n\026instance_group_manager\030\303\367\363v \001(\tB\003\340A" - + "\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006" - + "region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\234\001\nAregion" - + "_instance_group_manager_delete_instance_" - + "config_req_resource\030\205\233- \001(\0132J.google.clo" - + "ud.compute.v1.RegionInstanceGroupManager" - + "DeleteInstanceConfigReqB\003\340A\002\"\236\001\n$DeleteP" - + "ublicAdvertisedPrefixeRequest\022!\n\007project" - + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022(\n\030public_adver" - + "tised_prefix\030\236\367\3110 \001(\tB\003\340A\002\022\032\n\nrequest_id" - + "\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\275\001\n#Delete" - + "PublicDelegatedPrefixeRequest\022!\n\007project" - + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\'\n\027public_deleg" - + "ated_prefix\030\350\334\261a \001(\tB\003\340A\002\022\037\n\006region\030\364\315\240B" - + " \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(" - + "\tH\000\210\001\001B\r\n\013_request_id\"\253\001\n\035DeleteRegionAu" - + "toscalerRequest\022\033\n\nautoscaler\030\327\375\322\366\001 \001(\tB" - + "\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022" - + "\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequ" - + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\264\001\n!" - + "DeleteRegionBackendServiceRequest\022 \n\017bac" - + "kend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022!\n\007project\030\231" - + "\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(" - + "\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000" - + "\210\001\001B\r\n\013_request_id\"\236\001\n\027DeleteRegionDiskR" - + "equest\022\024\n\004disk\030\235\233\274\001 \001(\tB\003\340A\002\022!\n\007project\030" + + "H\000\210\001\001B\r\n\013_request_id\"\275\001\n%DeleteRegionHea" + + "lthCheckServiceRequest\022%\n\024health_check_s" + + "ervice\030\333\233\335\302\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(" + + "\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002" + + "\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + + "\013_request_id\"\300\001\n\'DeleteRegionInstanceGro" + + "upManagerRequest\022&\n\026instance_group_manag" + + "er\030\303\367\363v \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A" + + "\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006re" + + "gion\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_req" + + "uest_id\"\270\001\n#DeleteRegionInstanceTemplate" + + "Request\022\"\n\021instance_template\030\344\201\273\223\001 \001(\tB\003" + + "\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037" + + "\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nreque" + + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\266\001\n\"D" + + "eleteRegionInstantSnapshotRequest\022!\n\020ins" + + "tant_snapshot\030\342\334\337\272\001 \001(\tB\003\340A\002\022!\n\007project\030" + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001" + "(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" - + "\000\210\001\001B\r\n\013_request_id\"\256\001\n\036DeleteRegionHeal" - + "thCheckRequest\022\035\n\014health_check\030\345\252\244\223\001 \001(\t" - + "B\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project" - + "\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nreq" - + "uest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\275\001\n" - + "%DeleteRegionHealthCheckServiceRequest\022%" - + "\n\024health_check_service\030\333\233\335\302\001 \001(\tB\003\340A\002\022!\n" - + "\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006regi" - + "on\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030" - + "\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\300\001\n\'DeleteR" - + "egionInstanceGroupManagerRequest\022&\n\026inst" - + "ance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n\007proj" - + "ect\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315" - + "\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 " - + "\001(\tH\000\210\001\001B\r\n\013_request_id\"\270\001\n#DeleteRegion" - + "InstanceTemplateRequest\022\"\n\021instance_temp" - + "late\030\344\201\273\223\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB" - + "\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G" - + "\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_" - + "request_id\"\266\001\n\"DeleteRegionInstantSnapsh" - + "otRequest\022!\n\020instant_snapshot\030\342\334\337\272\001 \001(\tB" - + "\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022" - + "\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequ" - + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\301\001\n\'" - + "DeleteRegionNetworkEndpointGroupRequest\022" - + "\'\n\026network_endpoint_group\030\206\313\363\316\001 \001(\tB\003\340A\002" - + "\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006r" - + "egion\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_" - + "id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\273\001\n(Dele" - + "teRegionNetworkFirewallPolicyRequest\022 \n\017" - + "firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022!\n\007projec" - + "t\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B" - + " \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(" - + "\tH\000\210\001\001B\r\n\013_request_id\"\300\001\n\'DeleteRegionNo" - + "tificationEndpointRequest\022&\n\025notificatio" - + "n_endpoint\030\351\274\326\263\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301" - + "l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB" - + "\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001" - + "\001B\r\n\013_request_id\"j\n\034DeleteRegionOperatio" - + "nRequest\022\031\n\toperation\030\347\252\353\030 \001(\tB\003\340A\002\022\027\n\007p" - + "roject\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB" - + "\003\340A\002\"\037\n\035DeleteRegionOperationResponse\"\263\001" - + "\n!DeleteRegionSecurityPolicyRequest\022!\n\007p" - + "roject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region" - + "\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201" - + "\331\021 \001(\tH\000\210\001\001\022\037\n\017security_policy\030\221\206\312Q \001(\tB" - + "\003\340A\002B\r\n\013_request_id\"\263\001\n!DeleteRegionSslC" - + "ertificateRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340" - + "A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006r" - + "egion\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\037\n\017ssl" - + "_certificate\030\344\327\222\026 \001(\tB\003\340A\002B\r\n\013_request_i" - + "d\"\252\001\n\034DeleteRegionSslPolicyRequest\022!\n\007pr" - + "oject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030" - + "\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331" - + "\021 \001(\tH\000\210\001\001\022\033\n\nssl_policy\030\305\375\340\214\001 \001(\tB\003\340A\002B" - + "\r\n\013_request_id\"\266\001\n\"DeleteRegionTargetHtt" - + "pProxyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" - + "\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006regio" - + "n\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n\021target_" - + "http_proxy\030\345\276\322b \001(\tB\003\340A\002B\r\n\013_request_id\"" - + "\270\001\n#DeleteRegionTargetHttpsProxyRequest\022" - + "!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006re" - + "gion\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_i" - + "d\030\313\201\331\021 \001(\tH\000\210\001\001\022\"\n\022target_https_proxy\030\354\260" - + "\372\030 \001(\tB\003\340A\002B\r\n\013_request_id\"\265\001\n!DeleteReg" - + "ionTargetTcpProxyRequest\022!\n\007project\030\231\226\301l" + + "\000\210\001\001B\r\n\013_request_id\"\301\001\n\'DeleteRegionNetw" + + "orkEndpointGroupRequest\022\'\n\026network_endpo" + + "int_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l" + " \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014" + "\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001" - + "\022!\n\020target_tcp_proxy\030\342\326\360\357\001 \001(\tB\003\340A\002B\r\n\013_" - + "request_id\"\244\001\n\031DeleteRegionUrlMapRequest" - + "\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006r" - + "egion\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_" - + "id\030\313\201\331\021 \001(\tH\000\210\001\001\022\030\n\007url_map\030\214\225\201\257\001 \001(\tB\003\340" - + "A\002B\r\n\013_request_id\"\242\001\n\030DeleteReservationR" - + "equest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" - + "t\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\013reserva" - + "tion\030\314\207\325\026 \001(\tB\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002" - + "\362G\004zoneB\r\n\013_request_id\"\255\001\n\033DeleteResourc" - + "ePolicyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362" + + "B\r\n\013_request_id\"\273\001\n(DeleteRegionNetworkF" + + "irewallPolicyRequest\022 \n\017firewall_policy\030" + + "\321\212\306\355\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362" + "G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006regi" - + "on\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\037\n\017resour" - + "ce_policy\030\203\245\367K \001(\tB\003\340A\002B\r\n\013_request_id\"y" - + "\n\022DeleteRouteRequest\022!\n\007project\030\231\226\301l \001(\t" - + "B\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000" - + "\210\001\001\022\025\n\005route\030\311\344\3523 \001(\tB\003\340A\002B\r\n\013_request_i" - + "d\"\234\001\n\023DeleteRouterRequest\022!\n\007project\030\231\226\301" - + "l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB" - + "\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001" - + "\001\022\026\n\006router\030\311\256\356F \001(\tB\003\340A\002B\r\n\013_request_id" - + "\"\214\001\n\033DeleteSecurityPolicyRequest\022!\n\007proj" - + "ect\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_i" - + "d\030\313\201\331\021 \001(\tH\000\210\001\001\022\037\n\017security_policy\030\221\206\312Q " - + "\001(\tB\003\340A\002B\r\n\013_request_id\"\264\001\n\036DeleteServic" - + "eAttachmentRequest\022!\n\007project\030\231\226\301l \001(\tB\r" + + "on\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_reque" + + "st_id\"\300\001\n\'DeleteRegionNotificationEndpoi" + + "ntRequest\022&\n\025notification_endpoint\030\351\274\326\263\001" + + " \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pro" + + "ject\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n" + + "\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id" + + "\"j\n\034DeleteRegionOperationRequest\022\031\n\toper" + + "ation\030\347\252\353\030 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB" + + "\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"\037\n\035DeleteRe" + + "gionOperationResponse\"\263\001\n!DeleteRegionSe" + + "curityPolicyRequest\022!\n\007project\030\231\226\301l \001(\tB" + + "\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G" + + "\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\037\n\017s" + + "ecurity_policy\030\221\206\312Q \001(\tB\003\340A\002B\r\n\013_request" + + "_id\"\263\001\n!DeleteRegionSslCertificateReques" + + "t\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006" + + "region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest" + + "_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\037\n\017ssl_certificate\030\344\327\222" + + "\026 \001(\tB\003\340A\002B\r\n\013_request_id\"\252\001\n\034DeleteRegi" + + "onSslPolicyRequest\022!\n\007project\030\231\226\301l \001(\tB\r" + "\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006" - + "region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022#\n\022se" - + "rvice_attachment\030\355\251\320\241\001 \001(\tB\003\340A\002B\r\n\013_requ" - + "est_id\"\261\001\n&DeleteSignedUrlKeyBackendBuck" - + "etRequest\022\036\n\016backend_bucket\030\365\343\335+ \001(\tB\003\340A" - + "\002\022\031\n\010key_name\030\353\360\356\356\001 \001(\tB\003\340A\002\022!\n\007project\030" - + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201" - + "\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\264\001\n\'DeleteSig" - + "nedUrlKeyBackendServiceRequest\022 \n\017backen" - + "d_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022\031\n\010key_name\030\353\360\356" - + "\356\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007p" - + "roject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_r" - + "equest_id\"\200\001\n\025DeleteSnapshotRequest\022!\n\007p" + + "region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\nss" + + "l_policy\030\305\375\340\214\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\266" + + "\001\n\"DeleteRegionTargetHttpProxyRequest\022!\n" + + "\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006regi" + + "on\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030" + + "\313\201\331\021 \001(\tH\000\210\001\001\022!\n\021target_http_proxy\030\345\276\322b " + + "\001(\tB\003\340A\002B\r\n\013_request_id\"\270\001\n#DeleteRegion" + + "TargetHttpsProxyRequest\022!\n\007project\030\231\226\301l " + + "\001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340" + + "A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022" + + "\"\n\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n\013_" + + "request_id\"\265\001\n!DeleteRegionTargetTcpProx" + + "yRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" + + "ect\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n\020target_tcp_p" + + "roxy\030\342\326\360\357\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\244\001\n\031D" + + "eleteRegionUrlMapRequest\022!\n\007project\030\231\226\301l" + + " \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014" + + "\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001" + + "\022\030\n\007url_map\030\214\225\201\257\001 \001(\tB\003\340A\002B\r\n\013_request_i" + + "d\"\242\001\n\030DeleteReservationRequest\022!\n\007projec" + + "t\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030", + "\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\013reservation\030\314\207\325\026 \001(\tB\003\340" + + "A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_requ" + + "est_id\"\255\001\n\033DeleteResourcePolicyRequest\022!" + + "\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006reg" + + "ion\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id" + + "\030\313\201\331\021 \001(\tH\000\210\001\001\022\037\n\017resource_policy\030\203\245\367K \001" + + "(\tB\003\340A\002B\r\n\013_request_id\"y\n\022DeleteRouteReq" + + "uest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022" + + "\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\025\n\005route\030\311\344\352" + + "3 \001(\tB\003\340A\002B\r\n\013_request_id\"\234\001\n\023DeleteRout" + + "erRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pro" + + "ject\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n" + + "\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\026\n\006router\030\311\256\356F" + + " \001(\tB\003\340A\002B\r\n\013_request_id\"\214\001\n\033DeleteSecur" + + "ityPolicyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A" + + "\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022" + + "\037\n\017security_policy\030\221\206\312Q \001(\tB\003\340A\002B\r\n\013_req" + + "uest_id\"\264\001\n\036DeleteServiceAttachmentReque" + + "st\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n" + + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nreques" + + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001\022#\n\022service_attachment" + + "\030\355\251\320\241\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\261\001\n&Delet" + + "eSignedUrlKeyBackendBucketRequest\022\036\n\016bac" + + "kend_bucket\030\365\343\335+ \001(\tB\003\340A\002\022\031\n\010key_name\030\353\360" + + "\356\356\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" + + "project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_" + + "request_id\"\264\001\n\'DeleteSignedUrlKeyBackend" + + "ServiceRequest\022 \n\017backend_service\030\212\300\256\222\001 " + + "\001(\tB\003\340A\002\022\031\n\010key_name\030\353\360\356\356\001 \001(\tB\003\340A\002\022!\n\007p" + "roject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreques" - + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\031\n\010snapshot\030\304\253\353\207\001 \001(\t" - + "B\003\340A\002B\r\n\013_request_id\"\214\001\n\033DeleteSslCertif", - "icateRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" - + "project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\037\n\017s" - + "sl_certificate\030\344\327\222\026 \001(\tB\003\340A\002B\r\n\013_request" - + "_id\"\203\001\n\026DeleteSslPolicyRequest\022!\n\007projec" + + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\200\001\n\025De" + + "leteSnapshotRequest\022!\n\007project\030\231\226\301l \001(\tB" + + "\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" + + "\001\001\022\031\n\010snapshot\030\304\253\353\207\001 \001(\tB\003\340A\002B\r\n\013_reques" + + "t_id\"\214\001\n\033DeleteSslCertificateRequest\022!\n\007" + + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreque" + + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\037\n\017ssl_certificate\030\344" + + "\327\222\026 \001(\tB\003\340A\002B\r\n\013_request_id\"\203\001\n\026DeleteSs" + + "lPolicyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362" + + "G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" + + "\nssl_policy\030\305\375\340\214\001 \001(\tB\003\340A\002B\r\n\013_request_i" + + "d\"\244\001\n\030DeleteStoragePoolRequest\022!\n\007projec" + "t\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030" - + "\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\nssl_policy\030\305\375\340\214\001 \001(\tB\003\340" - + "A\002B\r\n\013_request_id\"\245\001\n\027DeleteSubnetworkRe" - + "quest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project" - + "\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nreq" - + "uest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\nsubnetwork\030\356\247\344\222" - + "\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\217\001\n\034DeleteTarg" - + "etGrpcProxyRequest\022!\n\007project\030\231\226\301l \001(\tB\r" - + "\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001" - + "\001\022!\n\021target_grpc_proxy\030\373\264\262\002 \001(\tB\003\340A\002B\r\n\013" - + "_request_id\"\217\001\n\034DeleteTargetHttpProxyReq" - + "uest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022" - + "\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n\021target_ht" - + "tp_proxy\030\345\276\322b \001(\tB\003\340A\002B\r\n\013_request_id\"\221\001" - + "\n\035DeleteTargetHttpsProxyRequest\022!\n\007proje" - + "ct\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id" - + "\030\313\201\331\021 \001(\tH\000\210\001\001\022\"\n\022target_https_proxy\030\354\260\372" - + "\030 \001(\tB\003\340A\002B\r\n\013_request_id\"\252\001\n\033DeleteTarg" - + "etInstanceRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340" - + "A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001" - + "\022 \n\017target_instance\030\203\217\226\212\001 \001(\tB\003\340A\002\022\033\n\004zo" - + "ne\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\245" - + "\001\n\027DeleteTargetPoolRequest\022!\n\007project\030\231\226" - + "\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\t" - + "B\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" - + "\001\001\022\033\n\013target_pool\030\212\344\370\035 \001(\tB\003\340A\002B\r\n\013_requ" - + "est_id\"\216\001\n\033DeleteTargetSslProxyRequest\022!" - + "\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreq" - + "uest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n\020target_ssl_prox" - + "y\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\216\001\n\033Dele" - + "teTargetTcpProxyRequest\022!\n\007project\030\231\226\301l " - + "\001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(" - + "\tH\000\210\001\001\022!\n\020target_tcp_proxy\030\342\326\360\357\001 \001(\tB\003\340A" - + "\002B\r\n\013_request_id\"\263\001\n\035DeleteTargetVpnGate" - + "wayRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" - + "oject\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032" - + "\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022#\n\022target_vpn" - + "_gateway\030\313\200\366\375\001 \001(\tB\003\340A\002B\r\n\013_request_id\"}" - + "\n\023DeleteUrlMapRequest\022!\n\007project\030\231\226\301l \001(" - + "\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" - + "\000\210\001\001\022\030\n\007url_map\030\214\225\201\257\001 \001(\tB\003\340A\002B\r\n\013_reque" - + "st_id\"\246\001\n\027DeleteVpnGatewayRequest\022!\n\007pro" - + "ject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364" - + "\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021" - + " \001(\tH\000\210\001\001\022\034\n\013vpn_gateway\030\371\203\366\301\001 \001(\tB\003\340A\002B" - + "\r\n\013_request_id\"\243\001\n\026DeleteVpnTunnelReques" + + "\313\201\331\021 \001(\tH\000\210\001\001\022\035\n\014storage_pool\030\340\306\361\253\001 \001(\tB" + + "\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_re" + + "quest_id\"\245\001\n\027DeleteSubnetworkRequest\022!\n\007" + + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006regio" + + "n\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313" + + "\201\331\021 \001(\tH\000\210\001\001\022\033\n\nsubnetwork\030\356\247\344\222\001 \001(\tB\003\340A" + + "\002B\r\n\013_request_id\"\217\001\n\034DeleteTargetGrpcPro" + + "xyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pro" + + "ject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n\021targ" + + "et_grpc_proxy\030\373\264\262\002 \001(\tB\003\340A\002B\r\n\013_request_" + + "id\"\217\001\n\034DeleteTargetHttpProxyRequest\022!\n\007p" + + "roject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreques" + + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n\021target_http_proxy\030" + + "\345\276\322b \001(\tB\003\340A\002B\r\n\013_request_id\"\221\001\n\035DeleteT" + + "argetHttpsProxyRequest\022!\n\007project\030\231\226\301l \001" + + "(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\t" + + "H\000\210\001\001\022\"\n\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A" + + "\002B\r\n\013_request_id\"\252\001\n\033DeleteTargetInstanc" + + "eRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" + + "ect\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022 \n\017targe" + + "t_instance\030\203\217\226\212\001 \001(\tB\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001" + + "(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\245\001\n\027Delete" + + "TargetPoolRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340" + + "A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006r" + + "egion\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\013tar" + + "get_pool\030\212\344\370\035 \001(\tB\003\340A\002B\r\n\013_request_id\"\216\001" + + "\n\033DeleteTargetSslProxyRequest\022!\n\007project" + + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313" + + "\201\331\021 \001(\tH\000\210\001\001\022!\n\020target_ssl_proxy\030\315\272\306\241\001 \001" + + "(\tB\003\340A\002B\r\n\013_request_id\"\216\001\n\033DeleteTargetT" + + "cpProxyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362" + + "G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n" + + "\020target_tcp_proxy\030\342\326\360\357\001 \001(\tB\003\340A\002B\r\n\013_req" + + "uest_id\"\263\001\n\035DeleteTargetVpnGatewayReques" + "t\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006" + "region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest" - + "_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\032\n\nvpn_tunnel\030\223\224\312D \001(\t" - + "B\003\340A\002B\r\n\013_request_id\"f\n\032DeleteZoneOperat" - + "ionRequest\022\031\n\toperation\030\347\252\353\030 \001(\tB\003\340A\002\022\027\n" - + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB" - + "\003\340A\002\"\035\n\033DeleteZoneOperationResponse\"J\n\006D" - + "enied\022\035\n\014I_p_protocol\030\275\366\336\350\001 \001(\tH\000\210\001\001\022\020\n\005" - + "ports\030\222\360\3712 \003(\tB\017\n\r_I_p_protocol\"\326\001\n\025Depr" - + "ecateImageRequest\022X\n\033deprecation_status_" - + "resource\030\360\211\345\236\001 \001(\0132*.google.cloud.comput" - + "e.v1.DeprecationStatusB\003\340A\002\022\025\n\005image\030\333\322\352" - + "/ \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" - + "oject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_re" - + "quest_id\"\277\002\n\021DeprecationStatus\022\030\n\007delete" - + "d\030\231\340\250\343\001 \001(\tH\000\210\001\001\022\033\n\ndeprecated\030\263\313\321\365\001 \001(\t" - + "H\001\210\001\001\022\031\n\010obsolete\030\231\213\305\252\001 \001(\tH\002\210\001\001\022\034\n\013repl" - + "acement\030\222\234\275\315\001 \001(\tH\003\210\001\001\022\025\n\005state\030\221\211\2534 \001(\t" - + "H\004\210\001\001\"a\n\005State\022\023\n\017UNDEFINED_STATE\020\000\022\016\n\006A" - + "CTIVE\020\206\346\211\226\001\022\016\n\007DELETED\020\371\367\3269\022\022\n\nDEPRECATE" - + "D\020\263\243\371\334\001\022\017\n\010OBSOLETE\020\231\353\334\037B\n\n\010_deletedB\r\n\013" - + "_deprecatedB\013\n\t_obsoleteB\016\n\014_replacement" - + "B\010\n\006_state\"\275\001\n\031DetachDiskInstanceRequest" - + "\022\033\n\013device_name\030\324\265\232 \001(\tB\003\340A\002\022\030\n\010instanc" - + "e\030\225\251\332\010 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002" - + "\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033" - + "\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_" - + "id\"\317\002\n7DetachNetworkEndpointsGlobalNetwo" - + "rkEndpointGroupRequest\022\234\001\n@global_networ" - + "k_endpoint_groups_detach_endpoints_reque" - + "st_resource\030\335\215\237\004 \001(\0132J.google.cloud.comp" - + "ute.v1.GlobalNetworkEndpointGroupsDetach" - + "EndpointsRequestB\003\340A\002\022\'\n\026network_endpoin" - + "t_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001" - + "(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\t" - + "H\000\210\001\001B\r\n\013_request_id\"\332\002\n1DetachNetworkEn" - + "dpointsNetworkEndpointGroupRequest\022\'\n\026ne" - + "twork_endpoint_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022\220\001\n9" - + "network_endpoint_groups_detach_endpoints" - + "_request_resource\030\371\240\356\365\001 \001(\0132D.google.clo" - + "ud.compute.v1.NetworkEndpointGroupsDetac" - + "hEndpointsRequestB\003\340A\002\022!\n\007project\030\231\226\301l \001" - + "(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\t" - + "H\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_r" - + "equest_id\"\361\002\n7DetachNetworkEndpointsRegi" - + "onNetworkEndpointGroupRequest\022\'\n\026network" - + "_endpoint_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022!\n\007projec" - + "t\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B" - + " \001(\tB\014\340A\002\362G\006region\022\235\001\n@region_network_en" - + "dpoint_groups_detach_endpoints_request_r" - + "esource\030\356\345\253\225\001 \001(\0132J.google.cloud.compute" - + ".v1.RegionNetworkEndpointGroupsDetachEnd" - + "pointsRequestB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(" - + "\tH\000\210\001\001B\r\n\013_request_id\"l\n\034DisableXpnHostP" - + "rojectRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" + + "_id\030\313\201\331\021 \001(\tH\000\210\001\001\022#\n\022target_vpn_gateway\030" + + "\313\200\366\375\001 \001(\tB\003\340A\002B\r\n\013_request_id\"}\n\023DeleteU" + + "rlMapRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" + + "project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\030\n\007u" + + "rl_map\030\214\225\201\257\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\246\001\n" + + "\027DeleteVpnGatewayRequest\022!\n\007project\030\231\226\301l" + + " \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014" + + "\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001" + + "\022\034\n\013vpn_gateway\030\371\203\366\301\001 \001(\tB\003\340A\002B\r\n\013_reque" + + "st_id\"\243\001\n\026DeleteVpnTunnelRequest\022!\n\007proj" + + "ect\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315" + + "\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 " + + "\001(\tH\000\210\001\001\022\032\n\nvpn_tunnel\030\223\224\312D \001(\tB\003\340A\002B\r\n\013" + + "_request_id\"f\n\032DeleteZoneOperationReques" + + "t\022\031\n\toperation\030\347\252\353\030 \001(\tB\003\340A\002\022\027\n\007project\030" + + "\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\035\n\033D" + + "eleteZoneOperationResponse\"J\n\006Denied\022\035\n\014" + + "I_p_protocol\030\275\366\336\350\001 \001(\tH\000\210\001\001\022\020\n\005ports\030\222\360\371" + + "2 \003(\tB\017\n\r_I_p_protocol\"\326\001\n\025DeprecateImag" + + "eRequest\022X\n\033deprecation_status_resource\030" + + "\360\211\345\236\001 \001(\0132*.google.cloud.compute.v1.Depr" + + "ecationStatusB\003\340A\002\022\025\n\005image\030\333\322\352/ \001(\tB\003\340A" + + "\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\n" + + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"" + + "\277\002\n\021DeprecationStatus\022\030\n\007deleted\030\231\340\250\343\001 \001" + + "(\tH\000\210\001\001\022\033\n\ndeprecated\030\263\313\321\365\001 \001(\tH\001\210\001\001\022\031\n\010" + + "obsolete\030\231\213\305\252\001 \001(\tH\002\210\001\001\022\034\n\013replacement\030\222" + + "\234\275\315\001 \001(\tH\003\210\001\001\022\025\n\005state\030\221\211\2534 \001(\tH\004\210\001\001\"a\n\005" + + "State\022\023\n\017UNDEFINED_STATE\020\000\022\016\n\006ACTIVE\020\206\346\211" + + "\226\001\022\016\n\007DELETED\020\371\367\3269\022\022\n\nDEPRECATED\020\263\243\371\334\001\022\017" + + "\n\010OBSOLETE\020\231\353\334\037B\n\n\010_deletedB\r\n\013_deprecat" + + "edB\013\n\t_obsoleteB\016\n\014_replacementB\010\n\006_stat" + + "e\"\275\001\n\031DetachDiskInstanceRequest\022\033\n\013devic" + + "e_name\030\324\265\232 \001(\tB\003\340A\002\022\030\n\010instance\030\225\251\332\010 \001(" + + "\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" + + "t\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307" + + "\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\317\002\n7De" + + "tachNetworkEndpointsGlobalNetworkEndpoin" + + "tGroupRequest\022\234\001\n@global_network_endpoin" + + "t_groups_detach_endpoints_request_resour" + + "ce\030\335\215\237\004 \001(\0132J.google.cloud.compute.v1.Gl" + + "obalNetworkEndpointGroupsDetachEndpoints" + + "RequestB\003\340A\002\022\'\n\026network_endpoint_group\030\206" + + "\313\363\316\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" + "\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013" - + "_request_id\"\354\001\n DisableXpnResourceProjec" - + "tRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" - + "ect\022z\n.projects_disable_xpn_resource_req" - + "uest_resource\030\252\324\334c \001(\0132:.google.cloud.co" - + "mpute.v1.ProjectsDisableXpnResourceReque" - + "stB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_" - + "request_id\"\351\030\n\004Disk\022\035\n\014architecture\030\323\322\261\220" - + "\001 \001(\tH\000\210\001\001\022Q\n\022async_primary_disk\030\235\365\211V \001(" - + "\0132-.google.cloud.compute.v1.DiskAsyncRep" - + "licationH\001\210\001\001\022Y\n\025async_secondary_disks\030\250" - + "\350\375\231\001 \003(\01326.google.cloud.compute.v1.Disk." - + "AsyncSecondaryDisksEntry\022\"\n\022creation_tim" - + "estamp\030\266\217\307\016 \001(\tH\002\210\001\001\022\034\n\013description\030\374\207\326\311" - + "\001 \001(\tH\003\210\001\001\022T\n\023disk_encryption_key\030\205\355\304\201\001 " - + "\001(\0132..google.cloud.compute.v1.CustomerEn" - + "cryptionKeyH\004\210\001\001\022+\n\033enable_confidential_" - + "compute\030\274\353\3310 \001(\010H\005\210\001\001\022E\n\021guest_os_featur" - + "es\030\321\340\347% \003(\0132\'.google.cloud.compute.v1.Gu" - + "estOsFeature\022\020\n\002id\030\233\032 \001(\004H\006\210\001\001\022\024\n\004kind\030\224" - + "\367\310\001 \001(\tH\007\210\001\001\022!\n\021label_fingerprint\030\231\360\367T \001" - + "(\tH\010\210\001\001\022=\n\006labels\030\377\277\301\356\001 \003(\0132).google.clo" - + "ud.compute.v1.Disk.LabelsEntry\022%\n\025last_a" - + "ttach_timestamp\030\245\234\215\024 \001(\tH\t\210\001\001\022%\n\025last_de" - + "tach_timestamp\030\363\333\366\032 \001(\tH\n\210\001\001\022\030\n\rlicense_" - + "codes\030\250\205\330\025 \003(\003\022\024\n\010licenses\030\322\210\200\241\001 \003(\t\022\036\n\r" - + "location_hint\030\321\201\222\247\001 \001(\tH\013\210\001\001\022\024\n\004name\030\213\365\315" - + "\001 \001(\tH\014\210\001\001\022\030\n\007options\030\236\215\232\254\001 \001(\tH\r\210\001\001\022;\n\006" - + "params\030\206\363\253% \001(\0132#.google.cloud.compute.v" - + "1.DiskParamsH\016\210\001\001\022*\n\031physical_block_size" - + "_bytes\030\207\240\243\310\001 \001(\003H\017\210\001\001\022 \n\020provisioned_iop" - + "s\030\324\275\207Y \001(\003H\020\210\001\001\022\'\n\026provisioned_throughpu" - + "t\030\225\276\210\373\001 \001(\003H\021\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\022\210\001\001" - + "\022\030\n\rreplica_zones\030\200\270\214\027 \003(\t\022\034\n\021resource_p" - + "olicies\030\341\234\314\n \003(\t\022L\n\017resource_status\030\303\372\367v" - + " \001(\0132+.google.cloud.compute.v1.DiskResou" - + "rceStatusH\023\210\001\001\022\036\n\rsatisfies_pzi\030\241\335\253\345\001 \001(" - + "\010H\024\210\001\001\022\036\n\rsatisfies_pzs\030\253\335\253\345\001 \001(\010H\025\210\001\001\022\032" - + "\n\tself_link\030\215\222\305\331\001 \001(\tH\026\210\001\001\022\030\n\007size_gb\030\331\213" - + "\200\354\001 \001(\003H\027\210\001\001\022/\n\037source_consistency_group" - + "_policy\030\335\242\255\t \001(\tH\030\210\001\001\0222\n\"source_consiste" - + "ncy_group_policy_id\030\275\216\313\177 \001(\tH\031\210\001\001\022\034\n\013sou" - + "rce_disk\030\301\356\264\327\001 \001(\tH\032\210\001\001\022\037\n\016source_disk_i" - + "d\030\331\315\311\330\001 \001(\tH\033\210\001\001\022\034\n\014source_image\030\267\350\206\030 \001(" - + "\tH\034\210\001\001\022\\\n\033source_image_encryption_key\030\253\221" - + "\365\265\001 \001(\0132..google.cloud.compute.v1.Custom" - + "erEncryptionKeyH\035\210\001\001\022\037\n\017source_image_id\030" - + "\243\374\260\032 \001(\tH\036\210\001\001\022\'\n\027source_instant_snapshot" - + "\030\206\204\303h \001(\tH\037\210\001\001\022+\n\032source_instant_snapsho" - + "t_id\030\364\323\220\211\001 \001(\tH \210\001\001\022\037\n\017source_snapshot\030\350" - + "\232\216< \001(\tH!\210\001\001\022_\n\036source_snapshot_encrypti" - + "on_key\030\332\216\347\220\001 \001(\0132..google.cloud.compute." - + "v1.CustomerEncryptionKeyH\"\210\001\001\022\"\n\022source_" - + "snapshot_id\030\322\226\230/ \001(\tH#\210\001\001\022%\n\025source_stor" - + "age_object\030\247\264\220o \001(\tH$\210\001\001\022\026\n\006status\030\362\237\267V " - + "\001(\tH%\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH&\210\001\001\022\020\n\005users\030" - + "\210\234\2325 \003(\t\022\024\n\004zone\030\254\307\344\001 \001(\tH\'\210\001\001\032m\n\030AsyncS" - + "econdaryDisksEntry\022\013\n\003key\030\001 \001(\t\022@\n\005value" - + "\030\002 \001(\01321.google.cloud.compute.v1.DiskAsy" - + "ncReplicationList:\0028\001\032-\n\013LabelsEntry\022\013\n\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"j\n\014Architec" - + "ture\022\032\n\026UNDEFINED_ARCHITECTURE\020\000\022 \n\030ARCH" - + "ITECTURE_UNSPECIFIED\020\253\324\235\274\001\022\014\n\005ARM64\020\372\313\351\035" - + "\022\016\n\006X86_64\020\307\244\346\312\001\"s\n\006Status\022\024\n\020UNDEFINED_" - + "STATUS\020\000\022\020\n\010CREATING\020\271\275\235\331\001\022\020\n\010DELETING\020\250" - + "\247\207\374\001\022\016\n\006FAILED\020\275\220\246\331\001\022\014\n\005READY\020\203\303\217%\022\021\n\tRE" - + "STORING\020\253\247\342\300\001B\017\n\r_architectureB\025\n\023_async" - + "_primary_diskB\025\n\023_creation_timestampB\016\n\014" - + "_descriptionB\026\n\024_disk_encryption_keyB\036\n\034" - + "_enable_confidential_computeB\005\n\003_idB\007\n\005_" - + "kindB\024\n\022_label_fingerprintB\030\n\026_last_atta" - + "ch_timestampB\030\n\026_last_detach_timestampB\020" - + "\n\016_location_hintB\007\n\005_nameB\n\n\010_optionsB\t\n" - + "\007_paramsB\034\n\032_physical_block_size_bytesB\023" - + "\n\021_provisioned_iopsB\031\n\027_provisioned_thro" - + "ughputB\t\n\007_regionB\022\n\020_resource_statusB\020\n" - + "\016_satisfies_pziB\020\n\016_satisfies_pzsB\014\n\n_se" - + "lf_linkB\n\n\010_size_gbB\"\n _source_consisten" - + "cy_group_policyB%\n#_source_consistency_g" - + "roup_policy_idB\016\n\014_source_diskB\021\n\017_sourc" - + "e_disk_idB\017\n\r_source_imageB\036\n\034_source_im" - + "age_encryption_keyB\022\n\020_source_image_idB\032" - + "\n\030_source_instant_snapshotB\035\n\033_source_in" - + "stant_snapshot_idB\022\n\020_source_snapshotB!\n" - + "\037_source_snapshot_encryption_keyB\025\n\023_sou" - + "rce_snapshot_idB\030\n\026_source_storage_objec" - + "tB\t\n\007_statusB\007\n\005_typeB\007\n\005_zone\"\255\003\n\022DiskA" - + "ggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022H\n\005items" - + "\030\300\317\367/ \003(\01326.google.cloud.compute.v1.Disk" - + "AggregatedList.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001" - + "(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001" - + "\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreacha" - + "bles\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .goog" - + "le.cloud.compute.v1.WarningH\004\210\001\001\032V\n\nItem" - + "sEntry\022\013\n\003key\030\001 \001(\t\0227\n\005value\030\002 \001(\0132(.goo" - + "gle.cloud.compute.v1.DisksScopedList:\0028\001" - + "B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n" - + "_self_linkB\n\n\010_warning\"\355\001\n\024DiskAsyncRepl" - + "ication\022\'\n\030consistency_group_policy\030\271\303y " - + "\001(\tH\000\210\001\001\022+\n\033consistency_group_policy_id\030" - + "\341\222\276| \001(\tH\001\210\001\001\022\024\n\004disk\030\235\233\274\001 \001(\tH\002\210\001\001\022\027\n\007d" - + "isk_id\030\375\305\212\035 \001(\tH\003\210\001\001B\033\n\031_consistency_gro" - + "up_policyB\036\n\034_consistency_group_policy_i" - + "dB\007\n\005_diskB\n\n\010_disk_id\"\214\001\n\030DiskAsyncRepl" - + "icationList\022U\n\026async_replication_disk\030\223\313" - + "\303n \001(\0132-.google.cloud.compute.v1.DiskAsy" - + "ncReplicationH\000\210\001\001B\031\n\027_async_replication" - + "_disk\"\244\003\n\027DiskInstantiationConfig\022\034\n\013aut" - + "o_delete\030\273\344\316\335\001 \001(\010H\000\210\001\001\022\034\n\014custom_image\030" - + "\215\376\345W \001(\tH\001\210\001\001\022\033\n\013device_name\030\324\265\232 \001(\tH\002\210" - + "\001\001\022!\n\020instantiate_from\030\337\237\312\273\001 \001(\tH\003\210\001\001\"\306\001" - + "\n\017InstantiateFrom\022\036\n\032UNDEFINED_INSTANTIA" - + "TE_FROM\020\000\022\030\n\020ATTACH_READ_ONLY\020\273\256\376\364\001\022\014\n\005B" - + "LANK\020\264\262\226\036\022\023\n\014CUSTOM_IMAGE\020\355\365\315]\022\016\n\007DEFAUL" - + "T\020\241\304\3756\022\025\n\016DO_NOT_INCLUDE\020\310\202\3311\022\023\n\014SOURCE_" - + "IMAGE\020\227\340\356\035\022\032\n\023SOURCE_IMAGE_FAMILY\020\214\311\322$B\016" - + "\n\014_auto_deleteB\017\n\r_custom_imageB\016\n\014_devi" - + "ce_nameB\023\n\021_instantiate_from\"\231\002\n\010DiskLis" - + "t\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022/\n\005items\030\300\317\367/ \003(\0132\035." - + "google.cloud.compute.v1.Disk\022\024\n\004kind\030\224\367\310" + + "_request_id\"\332\002\n1DetachNetworkEndpointsNe" + + "tworkEndpointGroupRequest\022\'\n\026network_end" + + "point_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022\220\001\n9network_e" + + "ndpoint_groups_detach_endpoints_request_" + + "resource\030\371\240\356\365\001 \001(\0132D.google.cloud.comput" + + "e.v1.NetworkEndpointGroupsDetachEndpoint" + + "sRequestB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" + + "\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004" + + "zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id" + + "\"\361\002\n7DetachNetworkEndpointsRegionNetwork" + + "EndpointGroupRequest\022\'\n\026network_endpoint" + + "_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(" + + "\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002" + + "\362G\006region\022\235\001\n@region_network_endpoint_gr" + + "oups_detach_endpoints_request_resource\030\356" + + "\345\253\225\001 \001(\0132J.google.cloud.compute.v1.Regio" + + "nNetworkEndpointGroupsDetachEndpointsReq" + + "uestB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + + "\013_request_id\"l\n\034DisableXpnHostProjectReq" + + "uest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022" + + "\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_" + + "id\"\354\001\n DisableXpnResourceProjectRequest\022" + + "!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022z\n.pr" + + "ojects_disable_xpn_resource_request_reso" + + "urce\030\252\324\334c \001(\0132:.google.cloud.compute.v1." + + "ProjectsDisableXpnResourceRequestB\003\340A\002\022\032" + + "\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_i" + + "d\"\257\031\n\004Disk\022\035\n\014architecture\030\323\322\261\220\001 \001(\tH\000\210\001" + + "\001\022Q\n\022async_primary_disk\030\235\365\211V \001(\0132-.googl" + + "e.cloud.compute.v1.DiskAsyncReplicationH" + + "\001\210\001\001\022Y\n\025async_secondary_disks\030\250\350\375\231\001 \003(\0132" + + "6.google.cloud.compute.v1.Disk.AsyncSeco" + + "ndaryDisksEntry\022\"\n\022creation_timestamp\030\266\217" + + "\307\016 \001(\tH\002\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\003\210\001" + + "\001\022T\n\023disk_encryption_key\030\205\355\304\201\001 \001(\0132..goo" + + "gle.cloud.compute.v1.CustomerEncryptionK" + + "eyH\004\210\001\001\022+\n\033enable_confidential_compute\030\274" + + "\353\3310 \001(\010H\005\210\001\001\022E\n\021guest_os_features\030\321\340\347% \003" + + "(\0132\'.google.cloud.compute.v1.GuestOsFeat" + + "ure\022\020\n\002id\030\233\032 \001(\004H\006\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\007" + + "\210\001\001\022!\n\021label_fingerprint\030\231\360\367T \001(\tH\010\210\001\001\022=" + + "\n\006labels\030\377\277\301\356\001 \003(\0132).google.cloud.comput" + + "e.v1.Disk.LabelsEntry\022%\n\025last_attach_tim" + + "estamp\030\245\234\215\024 \001(\tH\t\210\001\001\022%\n\025last_detach_time" + + "stamp\030\363\333\366\032 \001(\tH\n\210\001\001\022\030\n\rlicense_codes\030\250\205\330" + + "\025 \003(\003\022\024\n\010licenses\030\322\210\200\241\001 \003(\t\022\036\n\rlocation_" + + "hint\030\321\201\222\247\001 \001(\tH\013\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\014\210\001" + + "\001\022\030\n\007options\030\236\215\232\254\001 \001(\tH\r\210\001\001\022;\n\006params\030\206\363" + + "\253% \001(\0132#.google.cloud.compute.v1.DiskPar" + + "amsH\016\210\001\001\022*\n\031physical_block_size_bytes\030\207\240" + + "\243\310\001 \001(\003H\017\210\001\001\022 \n\020provisioned_iops\030\324\275\207Y \001(" + + "\003H\020\210\001\001\022\'\n\026provisioned_throughput\030\225\276\210\373\001 \001" + + "(\003H\021\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\022\210\001\001\022\030\n\rrepli" + + "ca_zones\030\200\270\214\027 \003(\t\022\034\n\021resource_policies\030\341" + + "\234\314\n \003(\t\022L\n\017resource_status\030\303\372\367v \001(\0132+.go" + + "ogle.cloud.compute.v1.DiskResourceStatus" + + "H\023\210\001\001\022\036\n\rsatisfies_pzi\030\241\335\253\345\001 \001(\010H\024\210\001\001\022\036\n" + + "\rsatisfies_pzs\030\253\335\253\345\001 \001(\010H\025\210\001\001\022\032\n\tself_li" + + "nk\030\215\222\305\331\001 \001(\tH\026\210\001\001\022\030\n\007size_gb\030\331\213\200\354\001 \001(\003H\027" + + "\210\001\001\022/\n\037source_consistency_group_policy\030\335" + + "\242\255\t \001(\tH\030\210\001\001\0222\n\"source_consistency_group" + + "_policy_id\030\275\216\313\177 \001(\tH\031\210\001\001\022\034\n\013source_disk\030" + + "\301\356\264\327\001 \001(\tH\032\210\001\001\022\037\n\016source_disk_id\030\331\315\311\330\001 \001" + + "(\tH\033\210\001\001\022\034\n\014source_image\030\267\350\206\030 \001(\tH\034\210\001\001\022\\\n" + + "\033source_image_encryption_key\030\253\221\365\265\001 \001(\0132." + + ".google.cloud.compute.v1.CustomerEncrypt" + + "ionKeyH\035\210\001\001\022\037\n\017source_image_id\030\243\374\260\032 \001(\tH" + + "\036\210\001\001\022\'\n\027source_instant_snapshot\030\206\204\303h \001(\t" + + "H\037\210\001\001\022+\n\032source_instant_snapshot_id\030\364\323\220\211" + + "\001 \001(\tH \210\001\001\022\037\n\017source_snapshot\030\350\232\216< \001(\tH!" + + "\210\001\001\022_\n\036source_snapshot_encryption_key\030\332\216" + + "\347\220\001 \001(\0132..google.cloud.compute.v1.Custom" + + "erEncryptionKeyH\"\210\001\001\022\"\n\022source_snapshot_" + + "id\030\322\226\230/ \001(\tH#\210\001\001\022%\n\025source_storage_objec" + + "t\030\247\264\220o \001(\tH$\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH%\210\001\001\022" + + "\035\n\014storage_pool\030\340\306\361\253\001 \001(\tH&\210\001\001\022\024\n\004type\030\272" + + "\236\332\001 \001(\tH\'\210\001\001\022\020\n\005users\030\210\234\2325 \003(\t\022\024\n\004zone\030\254" + + "\307\344\001 \001(\tH(\210\001\001\032m\n\030AsyncSecondaryDisksEntry" + + "\022\013\n\003key\030\001 \001(\t\022@\n\005value\030\002 \001(\01321.google.cl" + + "oud.compute.v1.DiskAsyncReplicationList:" + + "\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + + "\030\002 \001(\t:\0028\001\"j\n\014Architecture\022\032\n\026UNDEFINED_" + + "ARCHITECTURE\020\000\022 \n\030ARCHITECTURE_UNSPECIFI" + + "ED\020\253\324\235\274\001\022\014\n\005ARM64\020\372\313\351\035\022\016\n\006X86_64\020\307\244\346\312\001\"\210" + + "\001\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\020\n\010CREAT" + + "ING\020\271\275\235\331\001\022\020\n\010DELETING\020\250\247\207\374\001\022\016\n\006FAILED\020\275\220" + + "\246\331\001\022\014\n\005READY\020\203\303\217%\022\021\n\tRESTORING\020\253\247\342\300\001\022\023\n\013" + + "UNAVAILABLE\020\260\330\245\305\001B\017\n\r_architectureB\025\n\023_a" + + "sync_primary_diskB\025\n\023_creation_timestamp" + + "B\016\n\014_descriptionB\026\n\024_disk_encryption_key" + + "B\036\n\034_enable_confidential_computeB\005\n\003_idB" + + "\007\n\005_kindB\024\n\022_label_fingerprintB\030\n\026_last_" + + "attach_timestampB\030\n\026_last_detach_timesta" + + "mpB\020\n\016_location_hintB\007\n\005_nameB\n\n\010_option" + + "sB\t\n\007_paramsB\034\n\032_physical_block_size_byt" + + "esB\023\n\021_provisioned_iopsB\031\n\027_provisioned_" + + "throughputB\t\n\007_regionB\022\n\020_resource_statu" + + "sB\020\n\016_satisfies_pziB\020\n\016_satisfies_pzsB\014\n" + + "\n_self_linkB\n\n\010_size_gbB\"\n _source_consi" + + "stency_group_policyB%\n#_source_consisten" + + "cy_group_policy_idB\016\n\014_source_diskB\021\n\017_s" + + "ource_disk_idB\017\n\r_source_imageB\036\n\034_sourc" + + "e_image_encryption_keyB\022\n\020_source_image_" + + "idB\032\n\030_source_instant_snapshotB\035\n\033_sourc" + + "e_instant_snapshot_idB\022\n\020_source_snapsho" + + "tB!\n\037_source_snapshot_encryption_keyB\025\n\023" + + "_source_snapshot_idB\030\n\026_source_storage_o" + + "bjectB\t\n\007_statusB\017\n\r_storage_poolB\007\n\005_ty" + + "peB\007\n\005_zone\"\255\003\n\022DiskAggregatedList\022\020\n\002id" + + "\030\233\032 \001(\tH\000\210\001\001\022H\n\005items\030\300\317\367/ \003(\01326.google." + + "cloud.compute.v1.DiskAggregatedList.Item" + + "sEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_pag" + + "e_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001" + + " \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007wa" + + "rning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1" + + ".WarningH\004\210\001\001\032V\n\nItemsEntry\022\013\n\003key\030\001 \001(\t" + + "\0227\n\005value\030\002 \001(\0132(.google.cloud.compute.v" + + "1.DisksScopedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n" + + "\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_warn" + + "ing\"\355\001\n\024DiskAsyncReplication\022\'\n\030consiste" + + "ncy_group_policy\030\271\303y \001(\tH\000\210\001\001\022+\n\033consist" + + "ency_group_policy_id\030\341\222\276| \001(\tH\001\210\001\001\022\024\n\004di" + + "sk\030\235\233\274\001 \001(\tH\002\210\001\001\022\027\n\007disk_id\030\375\305\212\035 \001(\tH\003\210\001" + + "\001B\033\n\031_consistency_group_policyB\036\n\034_consi" + + "stency_group_policy_idB\007\n\005_diskB\n\n\010_disk" + + "_id\"\214\001\n\030DiskAsyncReplicationList\022U\n\026asyn" + + "c_replication_disk\030\223\313\303n \001(\0132-.google.clo" + + "ud.compute.v1.DiskAsyncReplicationH\000\210\001\001B" + + "\031\n\027_async_replication_disk\"\244\003\n\027DiskInsta" + + "ntiationConfig\022\034\n\013auto_delete\030\273\344\316\335\001 \001(\010H" + + "\000\210\001\001\022\034\n\014custom_image\030\215\376\345W \001(\tH\001\210\001\001\022\033\n\013de" + + "vice_name\030\324\265\232 \001(\tH\002\210\001\001\022!\n\020instantiate_f" + + "rom\030\337\237\312\273\001 \001(\tH\003\210\001\001\"\306\001\n\017InstantiateFrom\022\036" + + "\n\032UNDEFINED_INSTANTIATE_FROM\020\000\022\030\n\020ATTACH" + + "_READ_ONLY\020\273\256\376\364\001\022\014\n\005BLANK\020\264\262\226\036\022\023\n\014CUSTOM" + + "_IMAGE\020\355\365\315]\022\016\n\007DEFAULT\020\241\304\3756\022\025\n\016DO_NOT_IN" + + "CLUDE\020\310\202\3311\022\023\n\014SOURCE_IMAGE\020\227\340\356\035\022\032\n\023SOURC" + + "E_IMAGE_FAMILY\020\214\311\322$B\016\n\014_auto_deleteB\017\n\r_" + + "custom_imageB\016\n\014_device_nameB\023\n\021_instant" + + "iate_from\"\231\002\n\010DiskList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001" + + "\022/\n\005items\030\300\317\367/ \003(\0132\035.google.cloud.comput" + + "e.v1.Disk\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_" + + "page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222" + + "\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .googl" + + "e.cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007" + + "\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_lin" + + "kB\n\n\010_warning\"u\n\017DiskMoveRequest\022 \n\020dest" + + "ination_zone\030\275\342\357> \001(\tH\000\210\001\001\022\033\n\013target_dis" + + "k\030\213\317\342\035 \001(\tH\001\210\001\001B\023\n\021_destination_zoneB\016\n\014" + + "_target_disk\"\251\001\n\nDiskParams\022_\n\025resource_" + + "manager_tags\030\374\233\213\264\001 \003(\0132<.google.cloud.co" + + "mpute.v1.DiskParams.ResourceManagerTagsE" + + "ntry\032:\n\030ResourceManagerTagsEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\372\002\n\022DiskResourc" + + "eStatus\022e\n\022async_primary_disk\030\235\365\211V \001(\0132A" + + ".google.cloud.compute.v1.DiskResourceSta" + + "tusAsyncReplicationStatusH\000\210\001\001\022g\n\025async_" + + "secondary_disks\030\250\350\375\231\001 \003(\0132D.google.cloud" + + ".compute.v1.DiskResourceStatus.AsyncSeco" + + "ndaryDisksEntry\032}\n\030AsyncSecondaryDisksEn" + + "try\022\013\n\003key\030\001 \001(\t\022P\n\005value\030\002 \001(\0132A.google" + + ".cloud.compute.v1.DiskResourceStatusAsyn" + + "cReplicationStatus:\0028\001B\025\n\023_async_primary" + + "_disk\"\332\001\n(DiskResourceStatusAsyncReplica" + + "tionStatus\022\025\n\005state\030\221\211\2534 \001(\tH\000\210\001\001\"\214\001\n\005St" + + "ate\022\023\n\017UNDEFINED_STATE\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001" + + "\022\016\n\007CREATED\020\310\225\350@\022\020\n\010STARTING\020\300\240\213\351\001\022\031\n\021ST" + + "ATE_UNSPECIFIED\020\311\320\274\340\001\022\017\n\007STOPPED\020\255\273\354\323\001\022\020" + + "\n\010STOPPING\020\364\320\242\247\001B\010\n\006_state\"\204\004\n\010DiskType\022" + + "\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022%\n\024d" + + "efault_disk_size_gb\030\365\244\205\201\001 \001(\003H\001\210\001\001\022G\n\nde" + + "precated\030\263\313\321\365\001 \001(\0132*.google.cloud.comput" + + "e.v1.DeprecationStatusH\002\210\001\001\022\034\n\013descripti" + + "on\030\374\207\326\311\001 \001(\tH\003\210\001\001\022\020\n\002id\030\233\032 \001(\004H\004\210\001\001\022\024\n\004k" + + "ind\030\224\367\310\001 \001(\tH\005\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022" + + "\026\n\006region\030\364\315\240B \001(\tH\007\210\001\001\022\032\n\tself_link\030\215\222\305" + + "\331\001 \001(\tH\010\210\001\001\022 \n\017valid_disk_size\030\340\211\305\353\001 \001(\t" + + "H\t\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tH\n\210\001\001B\025\n\023_creation" + + "_timestampB\027\n\025_default_disk_size_gbB\r\n\013_" + + "deprecatedB\016\n\014_descriptionB\005\n\003_idB\007\n\005_ki" + + "ndB\007\n\005_nameB\t\n\007_regionB\014\n\n_self_linkB\022\n\020" + + "_valid_disk_sizeB\007\n\005_zone\"\271\003\n\026DiskTypeAg" + + "gregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022L\n\005items\030" + + "\300\317\367/ \003(\0132:.google.cloud.compute.v1.DiskT" + + "ypeAggregatedList.ItemsEntry\022\024\n\004kind\030\224\367\310" + "\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002" - + "\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warni" - + "ng\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Wa" - + "rningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page" - + "_tokenB\014\n\n_self_linkB\n\n\010_warning\"u\n\017Disk" - + "MoveRequest\022 \n\020destination_zone\030\275\342\357> \001(\t" - + "H\000\210\001\001\022\033\n\013target_disk\030\213\317\342\035 \001(\tH\001\210\001\001B\023\n\021_d" - + "estination_zoneB\016\n\014_target_disk\"\251\001\n\nDisk" - + "Params\022_\n\025resource_manager_tags\030\374\233\213\264\001 \003(" - + "\0132<.google.cloud.compute.v1.DiskParams.R" - + "esourceManagerTagsEntry\032:\n\030ResourceManag" - + "erTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" - + "\0028\001\"\372\002\n\022DiskResourceStatus\022e\n\022async_prim" - + "ary_disk\030\235\365\211V \001(\0132A.google.cloud.compute" - + ".v1.DiskResourceStatusAsyncReplicationSt" - + "atusH\000\210\001\001\022g\n\025async_secondary_disks\030\250\350\375\231\001" - + " \003(\0132D.google.cloud.compute.v1.DiskResou" - + "rceStatus.AsyncSecondaryDisksEntry\032}\n\030As" - + "yncSecondaryDisksEntry\022\013\n\003key\030\001 \001(\t\022P\n\005v" - + "alue\030\002 \001(\0132A.google.cloud.compute.v1.Dis" - + "kResourceStatusAsyncReplicationStatus:\0028" - + "\001B\025\n\023_async_primary_disk\"\332\001\n(DiskResourc" - + "eStatusAsyncReplicationStatus\022\025\n\005state\030\221" - + "\211\2534 \001(\tH\000\210\001\001\"\214\001\n\005State\022\023\n\017UNDEFINED_STAT" - + "E\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\016\n\007CREATED\020\310\225\350@\022\020\n\010S" - + "TARTING\020\300\240\213\351\001\022\031\n\021STATE_UNSPECIFIED\020\311\320\274\340\001" - + "\022\017\n\007STOPPED\020\255\273\354\323\001\022\020\n\010STOPPING\020\364\320\242\247\001B\010\n\006_" - + "state\"\204\004\n\010DiskType\022\"\n\022creation_timestamp" - + "\030\266\217\307\016 \001(\tH\000\210\001\001\022%\n\024default_disk_size_gb\030\365" - + "\244\205\201\001 \001(\003H\001\210\001\001\022G\n\ndeprecated\030\263\313\321\365\001 \001(\0132*." - + "google.cloud.compute.v1.DeprecationStatu" - + "sH\002\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\003\210\001\001\022\020\n\002" - + "id\030\233\032 \001(\004H\004\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022\024\n\004" - + "name\030\213\365\315\001 \001(\tH\006\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\007\210" - + "\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022 \n\017valid_" - + "disk_size\030\340\211\305\353\001 \001(\tH\t\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(" - + "\tH\n\210\001\001B\025\n\023_creation_timestampB\027\n\025_defaul" - + "t_disk_size_gbB\r\n\013_deprecatedB\016\n\014_descri" - + "ptionB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\t\n\007_regio" - + "nB\014\n\n_self_linkB\022\n\020_valid_disk_sizeB\007\n\005_" - + "zone\"\271\003\n\026DiskTypeAggregatedList\022\020\n\002id\030\233\032" - + " \001(\tH\000\210\001\001\022L\n\005items\030\300\317\367/ \003(\0132:.google.clo" - + "ud.compute.v1.DiskTypeAggregatedList.Ite" - + "msEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_pa" - + "ge_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331" - + "\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007w" - + "arning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v" - + "1.WarningH\004\210\001\001\032Z\n\nItemsEntry\022\013\n\003key\030\001 \001(" - + "\t\022;\n\005value\030\002 \001(\0132,.google.cloud.compute." - + "v1.DiskTypesScopedList:\0028\001B\005\n\003_idB\007\n\005_ki" - + "ndB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010" - + "_warning\"\241\002\n\014DiskTypeList\022\020\n\002id\030\233\032 \001(\tH\000" - + "\210\001\001\0223\n\005items\030\300\317\367/ \003(\0132!.google.cloud.com" - + "pute.v1.DiskType\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037" - + "\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_" - + "link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132" - + " .google.cloud.compute.v1.WarningH\004\210\001\001B\005" - + "\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_s" - + "elf_linkB\n\n\010_warning\"\226\001\n\023DiskTypesScoped" - + "List\0228\n\ndisk_types\030\327\276\355^ \003(\0132!.google.clo" - + "ud.compute.v1.DiskType\0229\n\007warning\030\234\337\226\030 \001" - + "(\0132 .google.cloud.compute.v1.WarningH\000\210\001" - + "\001B\n\n\010_warning\"?\n\037DisksAddResourcePolicie" - + "sRequest\022\034\n\021resource_policies\030\341\234\314\n \003(\t\"B" - + "\n\"DisksRemoveResourcePoliciesRequest\022\034\n\021" - + "resource_policies\030\341\234\314\n \003(\t\":\n\022DisksResiz" - + "eRequest\022\030\n\007size_gb\030\331\213\200\354\001 \001(\003H\000\210\001\001B\n\n\010_s" - + "ize_gb\"\211\001\n\017DisksScopedList\022/\n\005disks\030\366\314\312-" - + " \003(\0132\035.google.cloud.compute.v1.Disk\0229\n\007w" - + "arning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v" - + "1.WarningH\000\210\001\001B\n\n\010_warning\"b\n!DisksStart" - + "AsyncReplicationRequest\022$\n\024async_seconda" - + "ry_disk\030\253\203\343> \001(\tH\000\210\001\001B\027\n\025_async_secondar" - + "y_disk\"]\n&DisksStopGroupAsyncReplication" - + "Resource\022\037\n\017resource_policy\030\203\245\367K \001(\tH\000\210\001" - + "\001B\022\n\020_resource_policy\"B\n\rDisplayDevice\022\036" - + "\n\016enable_display\030\206\344\346\006 \001(\010H\000\210\001\001B\021\n\017_enabl" - + "e_display\"\201\002\n\022DistributionPolicy\022\035\n\014targ" - + "et_shape\030\363\346\273\241\001 \001(\tH\000\210\001\001\022N\n\005zones\030\307\244\2557 \003(" - + "\0132<.google.cloud.compute.v1.Distribution" - + "PolicyZoneConfiguration\"k\n\013TargetShape\022\032" - + "\n\026UNDEFINED_TARGET_SHAPE\020\000\022\t\n\003ANY\020\314\373\003\022\026\n" - + "\017ANY_SINGLE_ZONE\020\320\246\221\035\022\020\n\010BALANCED\020\210\272\255\337\001\022" - + "\013\n\004EVEN\020\232\322\202\001B\017\n\r_target_shape\"D\n#Distrib" - + "utionPolicyZoneConfiguration\022\024\n\004zone\030\254\307\344" - + "\001 \001(\tH\000\210\001\001B\007\n\005_zone\"Q\n\010Duration\022\025\n\005nanos" - + "\030\277\270\3571 \001(\005H\000\210\001\001\022\030\n\007seconds\030\377\224\265\253\001 \001(\003H\001\210\001\001" - + "B\010\n\006_nanosB\n\n\010_seconds\"k\n\033EnableXpnHostP" - + "rojectRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" - + "\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013" - + "_request_id\"\352\001\n\037EnableXpnResourceProject" - + "Request\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proje" - + "ct\022y\n-projects_enable_xpn_resource_reque" - + "st_resource\030\257\320\233\311\001 \001(\01329.google.cloud.com" - + "pute.v1.ProjectsEnableXpnResourceRequest" - + "B\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_re" - + "quest_id\"<\n\005Error\0223\n\006errors\030\353\336\325\226\001 \003(\0132\037." - + "google.cloud.compute.v1.Errors\"\327\002\n\014Error" - + "Details\022>\n\nerror_info\030\205\241\205\014 \001(\0132\".google." - + "cloud.compute.v1.ErrorInfoH\000\210\001\001\0223\n\004help\030" - + "\301\236\303\001 \001(\0132\035.google.cloud.compute.v1.HelpH" - + "\001\210\001\001\022M\n\021localized_message\030\303\376\362\300\001 \001(\0132).go" - + "ogle.cloud.compute.v1.LocalizedMessageH\002" - + "\210\001\001\022F\n\nquota_info\030\225\324\344, \001(\0132*.google.clou" - + "d.compute.v1.QuotaExceededInfoH\003\210\001\001B\r\n\013_" - + "error_infoB\007\n\005_helpB\024\n\022_localized_messag" - + "eB\r\n\013_quota_info\"\315\001\n\tErrorInfo\022\027\n\006domain" - + "\030\304\251\317\207\001 \001(\tH\000\210\001\001\022G\n\tmetadatas\030\244\326\207\004 \003(\01321." - + "google.cloud.compute.v1.ErrorInfo.Metada" - + "tasEntry\022\026\n\006reason\030\304\244\226B \001(\tH\001\210\001\001\0320\n\016Meta" - + "datasEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" - + "8\001B\t\n\007_domainB\t\n\007_reason\"\267\001\n\006Errors\022\024\n\004c" - + "ode\030\355\333\272\001 \001(\tH\000\210\001\001\022@\n\rerror_details\030\213\306\373\202\001" - + " \003(\0132%.google.cloud.compute.v1.ErrorDeta" - + "ils\022\031\n\010location\030\265\277\276\212\001 \001(\tH\001\210\001\001\022\030\n\007messag" - + "e\030\207\200\254\307\001 \001(\tH\002\210\001\001B\007\n\005_codeB\013\n\t_locationB\n" - + "\n\010_message\"\335\002\n\025ExchangedPeeringRoute\022\033\n\n" - + "dest_range\030\340\262\352\265\001 \001(\tH\000\210\001\001\022\030\n\010imported\030\204\326" - + "\3146 \001(\010H\001\210\001\001\022\037\n\017next_hop_region\030\366\300\271: \001(\tH" - + "\002\210\001\001\022\031\n\010priority\030\244\363\241\324\001 \001(\rH\003\210\001\001\022\024\n\004type\030" - + "\272\236\332\001 \001(\tH\004\210\001\001\"u\n\004Type\022\022\n\016UNDEFINED_TYPE\020" - + "\000\022\035\n\025DYNAMIC_PEERING_ROUTE\020\252\200\202\340\001\022\034\n\024STAT" - + "IC_PEERING_ROUTE\020\271\300\336\341\001\022\034\n\024SUBNET_PEERING" - + "_ROUTE\020\350\215\215\336\001B\r\n\013_dest_rangeB\013\n\t_imported" - + "B\022\n\020_next_hop_regionB\013\n\t_priorityB\007\n\005_ty" - + "pe\"\274\002\n\032ExchangedPeeringRoutesList\022\020\n\002id\030" - + "\233\032 \001(\tH\000\210\001\001\022@\n\005items\030\300\317\367/ \003(\0132..google.c" - + "loud.compute.v1.ExchangedPeeringRoute\022\024\n" + + "\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unrea" + + "chables\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .g" + + "oogle.cloud.compute.v1.WarningH\004\210\001\001\032Z\n\nI" + + "temsEntry\022\013\n\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,." + + "google.cloud.compute.v1.DiskTypesScopedL" + + "ist:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_to" + + "kenB\014\n\n_self_linkB\n\n\010_warning\"\241\002\n\014DiskTy" + + "peList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0223\n\005items\030\300\317\367/ \003" + + "(\0132!.google.cloud.compute.v1.DiskType\022\024\n" + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225" + "\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001" + "\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comp" + "ute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_" + "next_page_tokenB\014\n\n_self_linkB\n\n\010_warnin" - + "g\"\263\002\n\"ExpandIpCidrRangeSubnetworkRequest" - + "\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006r" - + "egion\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_" - + "id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\nsubnetwork\030\356\247\344\222\001 \001(\t" - + "B\003\340A\002\022\200\001\n1subnetworks_expand_ip_cidr_ran" - + "ge_request_resource\030\336\320\272\343\001 \001(\0132<.google.c" - + "loud.compute.v1.SubnetworksExpandIpCidrR" - + "angeRequestB\003\340A\002B\r\n\013_request_id\"\251\001\n\004Expr" - + "\022\034\n\013description\030\374\207\326\311\001 \001(\tH\000\210\001\001\022\033\n\nexpres" - + "sion\030\230\245\356\247\001 \001(\tH\001\210\001\001\022\031\n\010location\030\265\277\276\212\001 \001(" - + "\tH\002\210\001\001\022\025\n\005title\030\330\304\3204 \001(\tH\003\210\001\001B\016\n\014_descri" - + "ptionB\r\n\013_expressionB\013\n\t_locationB\010\n\006_ti" - + "tle\"\310\005\n\022ExternalVpnGateway\022\"\n\022creation_t" - + "imestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013description\030\374\207" - + "\326\311\001 \001(\tH\001\210\001\001\022\020\n\002id\030\233\032 \001(\004H\002\210\001\001\022K\n\ninterf" - + "aces\030\332\364\340\005 \003(\01324.google.cloud.compute.v1." - + "ExternalVpnGatewayInterface\022\024\n\004kind\030\224\367\310\001" - + " \001(\tH\003\210\001\001\022!\n\021label_fingerprint\030\231\360\367T \001(\tH" - + "\004\210\001\001\022K\n\006labels\030\377\277\301\356\001 \003(\01327.google.cloud." - + "compute.v1.ExternalVpnGateway.LabelsEntr" - + "y\022\024\n\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022 \n\017redundancy_ty" - + "pe\030\234\316\267\201\001 \001(\tH\006\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\t" - + "H\007\210\001\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" - + "ue\030\002 \001(\t:\0028\001\"\217\001\n\016RedundancyType\022\035\n\031UNDEF" - + "INED_REDUNDANCY_TYPE\020\000\022\033\n\023FOUR_IPS_REDUN" - + "DANCY\020\351\322\377\367\001\022%\n\036SINGLE_IP_INTERNALLY_REDU" - + "NDANT\020\371\301\355?\022\032\n\022TWO_IPS_REDUNDANCY\020\243\367\202\257\001B\025" - + "\n\023_creation_timestampB\016\n\014_descriptionB\005\n" - + "\003_idB\007\n\005_kindB\024\n\022_label_fingerprintB\007\n\005_" - + "nameB\022\n\020_redundancy_typeB\014\n\n_self_link\"\222" - + "\001\n\033ExternalVpnGatewayInterface\022\020\n\002id\030\233\032 " - + "\001(\rH\000\210\001\001\022\033\n\nip_address\030\334\361\334\301\001 \001(\tH\001\210\001\001\022\035\n" - + "\014ipv6_address\030\234\263\357\242\001 \001(\tH\002\210\001\001B\005\n\003_idB\r\n\013_" - + "ip_addressB\017\n\r_ipv6_address\"\324\002\n\026External" - + "VpnGatewayList\022\024\n\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n\002" - + "id\030\233\032 \001(\tH\001\210\001\001\022=\n\005items\030\300\317\367/ \003(\0132+.googl" - + "e.cloud.compute.v1.ExternalVpnGateway\022\024\n" - + "\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n\017next_page_token\030\225" - + "\272\206& \001(\tH\003\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\004\210\001\001" - + "\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comp" - + "ute.v1.WarningH\005\210\001\001B\007\n\005_etagB\005\n\003_idB\007\n\005_" - + "kindB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n", - "\n\010_warning\"\262\001\n\021FileContentBuffer\022\030\n\007cont" - + "ent\030\371\350\334\305\001 \001(\tH\000\210\001\001\022\032\n\tfile_type\030\235\300\255\214\001 \001(" - + "\tH\001\210\001\001\"M\n\010FileType\022\027\n\023UNDEFINED_FILE_TYP" - + "E\020\000\022\t\n\003BIN\020\347\201\004\022\020\n\tUNDEFINED\020\260\342\335A\022\013\n\004X509" - + "\020\246\233\243\001B\n\n\010_contentB\014\n\n_file_type\"\320\006\n\010Fire" - + "wall\0224\n\007allowed\030\250\203\270M \003(\0132 .google.cloud." - + "compute.v1.Allowed\022\"\n\022creation_timestamp" - + "\030\266\217\307\016 \001(\tH\000\210\001\001\0223\n\006denied\030\233\367\235\203\001 \003(\0132\037.goo" - + "gle.cloud.compute.v1.Denied\022\034\n\013descripti" - + "on\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\036\n\022destination_ranges\030" - + "\247\270\342\221\001 \003(\t\022\031\n\tdirection\030\377\216\2005 \001(\tH\002\210\001\001\022\031\n\010" - + "disabled\030\374\364\230\201\001 \001(\010H\003\210\001\001\022\020\n\002id\030\233\032 \001(\004H\004\210\001" - + "\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022G\n\nlog_config\030\235\321" - + "\301\247\001 \001(\0132*.google.cloud.compute.v1.Firewa" - + "llLogConfigH\006\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022\027" - + "\n\007network\030\256\264\205o \001(\tH\010\210\001\001\022\031\n\010priority\030\244\363\241\324" - + "\001 \001(\005H\t\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\n\210\001\001\022\030" - + "\n\rsource_ranges\030\372\376\264_ \003(\t\022\"\n\027source_servi" - + "ce_accounts\030\324\353\2162 \003(\t\022\027\n\013source_tags\030\275\273\321\327" - + "\001 \003(\t\022#\n\027target_service_accounts\030\236\216\234\332\001 \003" - + "(\t\022\026\n\013target_tags\030\207\234\377\035 \003(\t\"E\n\tDirection\022" - + "\027\n\023UNDEFINED_DIRECTION\020\000\022\016\n\006EGRESS\020\365\366\264\316\001" - + "\022\017\n\007INGRESS\020\225\375\276\366\001B\025\n\023_creation_timestamp" - + "B\016\n\014_descriptionB\014\n\n_directionB\013\n\t_disab" - + "ledB\005\n\003_idB\007\n\005_kindB\r\n\013_log_configB\007\n\005_n" - + "ameB\n\n\010_networkB\013\n\t_priorityB\014\n\n_self_li" - + "nk\"\241\002\n\014FirewallList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0223\n" - + "\005items\030\300\317\367/ \003(\0132!.google.cloud.compute.v" - + "1.Firewall\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next" + + "g\"\226\001\n\023DiskTypesScopedList\0228\n\ndisk_types\030" + + "\327\276\355^ \003(\0132!.google.cloud.compute.v1.DiskT" + + "ype\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.c" + + "ompute.v1.WarningH\000\210\001\001B\n\n\010_warning\"?\n\037Di" + + "sksAddResourcePoliciesRequest\022\034\n\021resourc" + + "e_policies\030\341\234\314\n \003(\t\"B\n\"DisksRemoveResour" + + "cePoliciesRequest\022\034\n\021resource_policies\030\341" + + "\234\314\n \003(\t\":\n\022DisksResizeRequest\022\030\n\007size_gb" + + "\030\331\213\200\354\001 \001(\003H\000\210\001\001B\n\n\010_size_gb\"\211\001\n\017DisksSco" + + "pedList\022/\n\005disks\030\366\314\312- \003(\0132\035.google.cloud" + + ".compute.v1.Disk\0229\n\007warning\030\234\337\226\030 \001(\0132 .g" + + "oogle.cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_" + + "warning\"b\n!DisksStartAsyncReplicationReq" + + "uest\022$\n\024async_secondary_disk\030\253\203\343> \001(\tH\000\210" + + "\001\001B\027\n\025_async_secondary_disk\"]\n&DisksStop" + + "GroupAsyncReplicationResource\022\037\n\017resourc" + + "e_policy\030\203\245\367K \001(\tH\000\210\001\001B\022\n\020_resource_poli" + + "cy\"B\n\rDisplayDevice\022\036\n\016enable_display\030\206\344" + + "\346\006 \001(\010H\000\210\001\001B\021\n\017_enable_display\"\201\002\n\022Distr" + + "ibutionPolicy\022\035\n\014target_shape\030\363\346\273\241\001 \001(\tH" + + "\000\210\001\001\022N\n\005zones\030\307\244\2557 \003(\0132<.google.cloud.co" + + "mpute.v1.DistributionPolicyZoneConfigura" + + "tion\"k\n\013TargetShape\022\032\n\026UNDEFINED_TARGET_" + + "SHAPE\020\000\022\t\n\003ANY\020\314\373\003\022\026\n\017ANY_SINGLE_ZONE\020\320\246" + + "\221\035\022\020\n\010BALANCED\020\210\272\255\337\001\022\013\n\004EVEN\020\232\322\202\001B\017\n\r_ta" + + "rget_shape\"D\n#DistributionPolicyZoneConf" + + "iguration\022\024\n\004zone\030\254\307\344\001 \001(\tH\000\210\001\001B\007\n\005_zone" + + "\"Q\n\010Duration\022\025\n\005nanos\030\277\270\3571 \001(\005H\000\210\001\001\022\030\n\007s" + + "econds\030\377\224\265\253\001 \001(\003H\001\210\001\001B\010\n\006_nanosB\n\n\010_seco" + + "nds\"k\n\033EnableXpnHostProjectRequest\022!\n\007pr" + + "oject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest" + + "_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\352\001\n\037Ena" + + "bleXpnResourceProjectRequest\022!\n\007project\030" + + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022y\n-projects_enab" + + "le_xpn_resource_request_resource\030\257\320\233\311\001 \001" + + "(\01329.google.cloud.compute.v1.ProjectsEna" + + "bleXpnResourceRequestB\003\340A\002\022\032\n\nrequest_id" + + "\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"<\n\005Error\0223" + + "\n\006errors\030\353\336\325\226\001 \003(\0132\037.google.cloud.comput" + + "e.v1.Errors\"\327\002\n\014ErrorDetails\022>\n\nerror_in" + + "fo\030\205\241\205\014 \001(\0132\".google.cloud.compute.v1.Er" + + "rorInfoH\000\210\001\001\0223\n\004help\030\301\236\303\001 \001(\0132\035.google.c" + + "loud.compute.v1.HelpH\001\210\001\001\022M\n\021localized_m" + + "essage\030\303\376\362\300\001 \001(\0132).google.cloud.compute." + + "v1.LocalizedMessageH\002\210\001\001\022F\n\nquota_info\030\225" + + "\324\344, \001(\0132*.google.cloud.compute.v1.QuotaE" + + "xceededInfoH\003\210\001\001B\r\n\013_error_infoB\007\n\005_help" + + "B\024\n\022_localized_messageB\r\n\013_quota_info\"\315\001" + + "\n\tErrorInfo\022\027\n\006domain\030\304\251\317\207\001 \001(\tH\000\210\001\001\022G\n\t" + + "metadatas\030\244\326\207\004 \003(\01321.google.cloud.comput" + + "e.v1.ErrorInfo.MetadatasEntry\022\026\n\006reason\030" + + "\304\244\226B \001(\tH\001\210\001\001\0320\n\016MetadatasEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\t\n\007_domainB\t\n\007_r" + + "eason\"\267\001\n\006Errors\022\024\n\004code\030\355\333\272\001 \001(\tH\000\210\001\001\022@" + + "\n\rerror_details\030\213\306\373\202\001 \003(\0132%.google.cloud" + + ".compute.v1.ErrorDetails\022\031\n\010location\030\265\277\276" + + "\212\001 \001(\tH\001\210\001\001\022\030\n\007message\030\207\200\254\307\001 \001(\tH\002\210\001\001B\007\n" + + "\005_codeB\013\n\t_locationB\n\n\010_message\"\335\002\n\025Exch" + + "angedPeeringRoute\022\033\n\ndest_range\030\340\262\352\265\001 \001(" + + "\tH\000\210\001\001\022\030\n\010imported\030\204\326\3146 \001(\010H\001\210\001\001\022\037\n\017next" + + "_hop_region\030\366\300\271: \001(\tH\002\210\001\001\022\031\n\010priority\030\244\363" + + "\241\324\001 \001(\rH\003\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\004\210\001\001\"u\n\004Ty" + + "pe\022\022\n\016UNDEFINED_TYPE\020\000\022\035\n\025DYNAMIC_PEERIN" + + "G_ROUTE\020\252\200\202\340\001\022\034\n\024STATIC_PEERING_ROUTE\020\271\300" + + "\336\341\001\022\034\n\024SUBNET_PEERING_ROUTE\020\350\215\215\336\001B\r\n\013_de" + + "st_rangeB\013\n\t_importedB\022\n\020_next_hop_regio" + + "nB\013\n\t_priorityB\007\n\005_type\"\274\002\n\032ExchangedPee" + + "ringRoutesList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022@\n\005item" + + "s\030\300\317\367/ \003(\0132..google.cloud.compute.v1.Exc" + + "hangedPeeringRoute\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001" + + "\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tsel" + + "f_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(" + + "\0132 .google.cloud.compute.v1.WarningH\004\210\001\001" + + "B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n" + + "_self_linkB\n\n\010_warning\"\263\002\n\"ExpandIpCidrR" + + "angeSubnetworkRequest\022!\n\007project\030\231\226\301l \001(", + "\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002" + + "\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" + + "\nsubnetwork\030\356\247\344\222\001 \001(\tB\003\340A\002\022\200\001\n1subnetwor" + + "ks_expand_ip_cidr_range_request_resource" + + "\030\336\320\272\343\001 \001(\0132<.google.cloud.compute.v1.Sub" + + "networksExpandIpCidrRangeRequestB\003\340A\002B\r\n" + + "\013_request_id\"\251\001\n\004Expr\022\034\n\013description\030\374\207\326" + + "\311\001 \001(\tH\000\210\001\001\022\033\n\nexpression\030\230\245\356\247\001 \001(\tH\001\210\001\001" + + "\022\031\n\010location\030\265\277\276\212\001 \001(\tH\002\210\001\001\022\025\n\005title\030\330\304\320" + + "4 \001(\tH\003\210\001\001B\016\n\014_descriptionB\r\n\013_expressio" + + "nB\013\n\t_locationB\010\n\006_title\"\310\005\n\022ExternalVpn" + + "Gateway\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\000" + + "\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\020\n\002id\030" + + "\233\032 \001(\004H\002\210\001\001\022K\n\ninterfaces\030\332\364\340\005 \003(\01324.goo" + + "gle.cloud.compute.v1.ExternalVpnGatewayI" + + "nterface\022\024\n\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022!\n\021label_" + + "fingerprint\030\231\360\367T \001(\tH\004\210\001\001\022K\n\006labels\030\377\277\301\356" + + "\001 \003(\01327.google.cloud.compute.v1.External" + + "VpnGateway.LabelsEntry\022\024\n\004name\030\213\365\315\001 \001(\tH" + + "\005\210\001\001\022 \n\017redundancy_type\030\234\316\267\201\001 \001(\tH\006\210\001\001\022\032" + + "\n\tself_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\032-\n\013LabelsEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\217\001\n\016Re" + + "dundancyType\022\035\n\031UNDEFINED_REDUNDANCY_TYP" + + "E\020\000\022\033\n\023FOUR_IPS_REDUNDANCY\020\351\322\377\367\001\022%\n\036SING" + + "LE_IP_INTERNALLY_REDUNDANT\020\371\301\355?\022\032\n\022TWO_I" + + "PS_REDUNDANCY\020\243\367\202\257\001B\025\n\023_creation_timesta" + + "mpB\016\n\014_descriptionB\005\n\003_idB\007\n\005_kindB\024\n\022_l" + + "abel_fingerprintB\007\n\005_nameB\022\n\020_redundancy" + + "_typeB\014\n\n_self_link\"\222\001\n\033ExternalVpnGatew" + + "ayInterface\022\020\n\002id\030\233\032 \001(\rH\000\210\001\001\022\033\n\nip_addr" + + "ess\030\334\361\334\301\001 \001(\tH\001\210\001\001\022\035\n\014ipv6_address\030\234\263\357\242\001" + + " \001(\tH\002\210\001\001B\005\n\003_idB\r\n\013_ip_addressB\017\n\r_ipv6" + + "_address\"\324\002\n\026ExternalVpnGatewayList\022\024\n\004e" + + "tag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n\002id\030\233\032 \001(\tH\001\210\001\001\022=\n\005i" + + "tems\030\300\317\367/ \003(\0132+.google.cloud.compute.v1." + + "ExternalVpnGateway\022\024\n\004kind\030\224\367\310\001 \001(\tH\002\210\001\001" + + "\022\037\n\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n\tsel" + + "f_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\0229\n\007warning\030\234\337\226\030 \001(" + + "\0132 .google.cloud.compute.v1.WarningH\005\210\001\001" + + "B\007\n\005_etagB\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_" + + "tokenB\014\n\n_self_linkB\n\n\010_warning\"\262\001\n\021File" + + "ContentBuffer\022\030\n\007content\030\371\350\334\305\001 \001(\tH\000\210\001\001\022" + + "\032\n\tfile_type\030\235\300\255\214\001 \001(\tH\001\210\001\001\"M\n\010FileType\022" + + "\027\n\023UNDEFINED_FILE_TYPE\020\000\022\t\n\003BIN\020\347\201\004\022\020\n\tU" + + "NDEFINED\020\260\342\335A\022\013\n\004X509\020\246\233\243\001B\n\n\010_contentB\014" + + "\n\n_file_type\"\320\006\n\010Firewall\0224\n\007allowed\030\250\203\270" + + "M \003(\0132 .google.cloud.compute.v1.Allowed\022" + + "\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\0223\n\006d" + + "enied\030\233\367\235\203\001 \003(\0132\037.google.cloud.compute.v" + + "1.Denied\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\036" + + "\n\022destination_ranges\030\247\270\342\221\001 \003(\t\022\031\n\tdirect" + + "ion\030\377\216\2005 \001(\tH\002\210\001\001\022\031\n\010disabled\030\374\364\230\201\001 \001(\010H" + + "\003\210\001\001\022\020\n\002id\030\233\032 \001(\004H\004\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH" + + "\005\210\001\001\022G\n\nlog_config\030\235\321\301\247\001 \001(\0132*.google.cl" + + "oud.compute.v1.FirewallLogConfigH\006\210\001\001\022\024\n" + + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022\027\n\007network\030\256\264\205o \001(\tH" + + "\010\210\001\001\022\031\n\010priority\030\244\363\241\324\001 \001(\005H\t\210\001\001\022\032\n\tself_" + + "link\030\215\222\305\331\001 \001(\tH\n\210\001\001\022\030\n\rsource_ranges\030\372\376\264" + + "_ \003(\t\022\"\n\027source_service_accounts\030\324\353\2162 \003(" + + "\t\022\027\n\013source_tags\030\275\273\321\327\001 \003(\t\022#\n\027target_ser" + + "vice_accounts\030\236\216\234\332\001 \003(\t\022\026\n\013target_tags\030\207" + + "\234\377\035 \003(\t\"E\n\tDirection\022\027\n\023UNDEFINED_DIRECT" + + "ION\020\000\022\016\n\006EGRESS\020\365\366\264\316\001\022\017\n\007INGRESS\020\225\375\276\366\001B\025" + + "\n\023_creation_timestampB\016\n\014_descriptionB\014\n" + + "\n_directionB\013\n\t_disabledB\005\n\003_idB\007\n\005_kind" + + "B\r\n\013_log_configB\007\n\005_nameB\n\n\010_networkB\013\n\t" + + "_priorityB\014\n\n_self_link\"\241\002\n\014FirewallList" + + "\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0223\n\005items\030\300\317\367/ \003(\0132!.g" + + "oogle.cloud.compute.v1.Firewall\022\024\n\004kind\030" + + "\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(" + + "\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007wa" + + "rning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1" + + ".WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_p" + + "age_tokenB\014\n\n_self_linkB\n\n\010_warning\"\275\001\n\021" + + "FirewallLogConfig\022\027\n\006enable\030\203\313\324\224\001 \001(\010H\000\210" + + "\001\001\022\030\n\010metadata\030\257\366\265) \001(\tH\001\210\001\001\"]\n\010Metadata" + + "\022\026\n\022UNDEFINED_METADATA\020\000\022\034\n\024EXCLUDE_ALL_" + + "METADATA\020\222\275\301\237\001\022\033\n\024INCLUDE_ALL_METADATA\020\204" + + "\315\277NB\t\n\007_enableB\013\n\t_metadata\"\227\001\n(Firewall" + + "PoliciesListAssociationsResponse\022L\n\014asso" + + "ciations\030\222\350\312\362\001 \003(\01322.google.cloud.comput" + + "e.v1.FirewallPolicyAssociation\022\024\n\004kind\030\224" + + "\367\310\001 \001(\tH\000\210\001\001B\007\n\005_kind\"\306\005\n\016FirewallPolicy" + + "\022L\n\014associations\030\222\350\312\362\001 \003(\01322.google.clou" + + "d.compute.v1.FirewallPolicyAssociation\022\"" + + "\n\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013de" + + "scription\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\034\n\014display_name" + + "\030\350\207\221\002 \001(\tH\002\210\001\001\022\033\n\013fingerprint\030\344\321\363o \001(\tH\003" + + "\210\001\001\022\020\n\002id\030\233\032 \001(\004H\004\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\005" + + "\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022\026\n\006parent\030\252\221\254%" + + " \001(\tH\007\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\010\210\001\001\022!\n\020rul" + + "e_tuple_count\030\225\302\226\271\001 \001(\005H\t\210\001\001\022=\n\005rules\030\367\221" + + "\3653 \003(\0132+.google.cloud.compute.v1.Firewal" + + "lPolicyRule\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\n\210\001\001\022" + + "!\n\021self_link_with_id\030\202\254\235\025 \001(\tH\013\210\001\001\022\033\n\nsh" + + "ort_name\030\356\270\320\352\001 \001(\tH\014\210\001\001B\025\n\023_creation_tim" + + "estampB\016\n\014_descriptionB\017\n\r_display_nameB" + + "\016\n\014_fingerprintB\005\n\003_idB\007\n\005_kindB\007\n\005_name" + + "B\t\n\007_parentB\t\n\007_regionB\023\n\021_rule_tuple_co" + + "untB\014\n\n_self_linkB\024\n\022_self_link_with_idB" + + "\r\n\013_short_name\"\212\002\n\031FirewallPolicyAssocia" + + "tion\022!\n\021attachment_target\030\255\260\350S \001(\tH\000\210\001\001\022" + + "\034\n\014display_name\030\350\207\221\002 \001(\tH\001\210\001\001\022#\n\022firewal" + + "l_policy_id\030\311\275\252\252\001 \001(\tH\002\210\001\001\022\024\n\004name\030\213\365\315\001 " + + "\001(\tH\003\210\001\001\022\033\n\nshort_name\030\356\270\320\352\001 \001(\tH\004\210\001\001B\024\n" + + "\022_attachment_targetB\017\n\r_display_nameB\025\n\023" + + "_firewall_policy_idB\007\n\005_nameB\r\n\013_short_n" + + "ame\"\203\002\n\022FirewallPolicyList\022\020\n\002id\030\233\032 \001(\tH" + + "\000\210\001\001\0229\n\005items\030\300\317\367/ \003(\0132\'.google.cloud.co" + + "mpute.v1.FirewallPolicy\022\024\n\004kind\030\224\367\310\001 \001(\t" + + "H\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\0229" + + "\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comput" + + "e.v1.WarningH\003\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_ne" + + "xt_page_tokenB\n\n\010_warning\"\267\006\n\022FirewallPo" + + "licyRule\022\026\n\006action\030\266\374\275Y \001(\tH\000\210\001\001\022\034\n\013desc" + + "ription\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\031\n\tdirection\030\377\216\2005" + + " \001(\tH\002\210\001\001\022\031\n\010disabled\030\374\364\230\201\001 \001(\010H\003\210\001\001\022\037\n\016" + + "enable_logging\030\243\311\355\214\001 \001(\010H\004\210\001\001\022\024\n\004kind\030\224\367" + + "\310\001 \001(\tH\005\210\001\001\022I\n\005match\030\305\263\2671 \001(\01322.google.c" + + "loud.compute.v1.FirewallPolicyRuleMatche" + + "rH\006\210\001\001\022\031\n\010priority\030\244\363\241\324\001 \001(\005H\007\210\001\001\022\031\n\trul" + + "e_name\030\356\263\256\032 \001(\tH\010\210\001\001\022!\n\020rule_tuple_count" + + "\030\225\302\226\271\001 \001(\005H\t\210\001\001\022&\n\026security_profile_grou" + + "p\030\252\263\363b \001(\tH\n\210\001\001\022\034\n\020target_resources\030\367\321\360\373" + + "\001 \003(\t\022T\n\022target_secure_tags\030\263\304\234\337\001 \003(\01324." + + "google.cloud.compute.v1.FirewallPolicyRu" + + "leSecureTag\022#\n\027target_service_accounts\030\236" + + "\216\234\332\001 \003(\t\022\033\n\013tls_inspect\030\320\275\332\024 \001(\010H\013\210\001\001\"E\n" + + "\tDirection\022\027\n\023UNDEFINED_DIRECTION\020\000\022\016\n\006E" + + "GRESS\020\365\366\264\316\001\022\017\n\007INGRESS\020\225\375\276\366\001B\t\n\007_actionB" + + "\016\n\014_descriptionB\014\n\n_directionB\013\n\t_disabl" + + "edB\021\n\017_enable_loggingB\007\n\005_kindB\010\n\006_match" + + "B\013\n\t_priorityB\014\n\n_rule_nameB\023\n\021_rule_tup" + + "le_countB\031\n\027_security_profile_groupB\016\n\014_" + + "tls_inspect\"\370\003\n\031FirewallPolicyRuleMatche" + + "r\022\037\n\023dest_address_groups\030\274\357\302\337\001 \003(\t\022\026\n\nde" + + "st_fqdns\030\241\301\342\260\001 \003(\t\022\032\n\016dest_ip_ranges\030\221\327\356" + + "\240\001 \003(\t\022\034\n\021dest_region_codes\030\230\253\371^ \003(\t\022$\n\031" + + "dest_threat_intelligences\030\254\363\2259 \003(\t\022Z\n\016la" + + "yer4_configs\030\265\334\216\262\001 \003(\0132>.google.cloud.co" + + "mpute.v1.FirewallPolicyRuleMatcherLayer4" + + "Config\022\036\n\022src_address_groups\030\272\230\215\320\001 \003(\t\022\025" + + "\n\tsrc_fqdns\030\343\314\355\317\001 \003(\t\022\031\n\rsrc_ip_ranges\030\323" + + "\200\207\316\001 \003(\t\022\033\n\020src_region_codes\030\226\343\237/ \003(\t\022Q\n" + + "\017src_secure_tags\030\206\224\316\362\001 \003(\01324.google.clou" + + "d.compute.v1.FirewallPolicyRuleSecureTag" + + "\022$\n\030src_threat_intelligences\030\252\357\250\232\001 \003(\t\"g" + + "\n%FirewallPolicyRuleMatcherLayer4Config\022" + + "\034\n\013ip_protocol\030\260\235\372\342\001 \001(\tH\000\210\001\001\022\020\n\005ports\030\222" + + "\360\3712 \003(\tB\016\n\014_ip_protocol\"\242\001\n\033FirewallPoli" + + "cyRuleSecureTag\022\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001\022\025\n" + + "\005state\030\221\211\2534 \001(\tH\001\210\001\001\"C\n\005State\022\023\n\017UNDEFIN" + + "ED_STATE\020\000\022\020\n\tEFFECTIVE\020\207\363\270t\022\023\n\013INEFFECT" + + "IVE\020\202\324\226\221\001B\007\n\005_nameB\010\n\006_state\"\203\001\n\016FixedOr" + + "Percent\022\033\n\ncalculated\030\276\323\215\341\001 \001(\005H\000\210\001\001\022\025\n\005" + + "fixed\030\364\316\273. \001(\005H\001\210\001\001\022\030\n\007percent\030\305\310\241\274\001 \001(\005" + + "H\002\210\001\001B\r\n\013_calculatedB\010\n\006_fixedB\n\n\010_perce" + + "nt\"\236\024\n\016ForwardingRule\022\033\n\013I_p_address\030\257\215\277" + + "\024 \001(\tH\000\210\001\001\022\035\n\014I_p_protocol\030\275\366\336\350\001 \001(\tH\001\210\001" + + "\001\022\032\n\tall_ports\030\364\257\243\324\001 \001(\010H\002\210\001\001\022$\n\023allow_g" + + "lobal_access\030\212\306\221\356\001 \001(\010H\003\210\001\001\022\'\n\027allow_psc" + + "_global_access\030\313\205\321} \001(\010H\004\210\001\001\022 \n\017backend_" + + "service\030\212\300\256\222\001 \001(\tH\005\210\001\001\022%\n\024base_forwardin" + + "g_rule\030\220\333\243\372\001 \001(\tH\006\210\001\001\022\"\n\022creation_timest" + + "amp\030\266\217\307\016 \001(\tH\007\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001" + + "(\tH\010\210\001\001\022\033\n\013fingerprint\030\344\321\363o \001(\tH\t\210\001\001\022\020\n\002" + + "id\030\233\032 \001(\004H\n\210\001\001\022\035\n\rip_collection\030\266\221\250T \001(\t" + + "H\013\210\001\001\022\033\n\nip_version\030\300\363\322\214\001 \001(\tH\014\210\001\001\022&\n\026is" + + "_mirroring_collector\030\374\340\3568 \001(\010H\r\210\001\001\022\024\n\004ki" + + "nd\030\224\367\310\001 \001(\tH\016\210\001\001\022!\n\021label_fingerprint\030\231\360" + + "\367T \001(\tH\017\210\001\001\022G\n\006labels\030\377\277\301\356\001 \003(\01323.google" + + ".cloud.compute.v1.ForwardingRule.LabelsE" + + "ntry\022&\n\025load_balancing_scheme\030\304\214\302\255\001 \001(\tH" + + "\020\210\001\001\022E\n\020metadata_filters\030\353\315\314\335\001 \003(\0132\'.goo" + + "gle.cloud.compute.v1.MetadataFilter\022\024\n\004n" + + "ame\030\213\365\315\001 \001(\tH\021\210\001\001\022\027\n\007network\030\256\264\205o \001(\tH\022\210" + + "\001\001\022\035\n\014network_tier\030\323\272\333\366\001 \001(\tH\023\210\001\001\022$\n\024no_" + + "automate_dns_zone\030\257\321\343\036 \001(\010H\024\210\001\001\022\032\n\nport_" + + "range\030\377\237\334g \001(\tH\025\210\001\001\022\020\n\005ports\030\222\360\3712 \003(\t\022\"\n" + + "\021psc_connection_id\030\335\245\243\213\001 \001(\004H\026\210\001\001\022%\n\025psc" + + "_connection_status\030\264\311\347W \001(\tH\027\210\001\001\022\026\n\006regi" + + "on\030\364\315\240B \001(\tH\030\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH" + + "\031\210\001\001\022o\n\037service_directory_registrations\030" + + "\376\261\314j \003(\0132C.google.cloud.compute.v1.Forwa" + + "rdingRuleServiceDirectoryRegistration\022\036\n" + + "\rservice_label\030\352\231\354\306\001 \001(\tH\032\210\001\001\022\035\n\014service" + + "_name\030\325\253\315\253\001 \001(\tH\033\210\001\001\022\033\n\020source_ip_ranges" + + "\030\312\243\2315 \003(\t\022\033\n\nsubnetwork\030\356\247\344\222\001 \001(\tH\034\210\001\001\022\026" + + "\n\006target\030\221\343\371[ \001(\tH\035\210\001\001\032-\n\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\210\001\n\016IPProt" + + "ocolEnum\022\037\n\033UNDEFINED_I_P_PROTOCOL_ENUM\020" + + "\000\022\007\n\002AH\020\247\020\022\t\n\003ESP\020\342\232\004\022\013\n\004ICMP\020\275\350\210\001\022\021\n\nL3" + + "_DEFAULT\020\311\366\372\026\022\013\n\004SCTP\020\314\201\233\001\022\t\n\003TCP\020\301\207\005\022\t\n" + + "\003UDP\020\241\217\005\"[\n\tIpVersion\022\030\n\024UNDEFINED_IP_VE" + + "RSION\020\000\022\013\n\004IPV4\020\205\314\211\001\022\013\n\004IPV6\020\207\314\211\001\022\032\n\023UNS" + + "PECIFIED_VERSION\020\220\317\265\n\"\277\001\n\023LoadBalancingS" + + "cheme\022#\n\037UNDEFINED_LOAD_BALANCING_SCHEME" + + "\020\000\022\017\n\010EXTERNAL\020\313\247\375\020\022\030\n\020EXTERNAL_MANAGED\020" + + "\213\266\222\364\001\022\020\n\010INTERNAL\020\275\355\226\205\001\022\027\n\020INTERNAL_MANA" + + "GED\020\375\327\347\021\022\034\n\025INTERNAL_SELF_MANAGED\020\316\227\321p\022\017" + + "\n\007INVALID\020\327\373\355\374\001\"\217\001\n\013NetworkTier\022\032\n\026UNDEF" + + "INED_NETWORK_TIER\020\000\022\026\n\016FIXED_STANDARD\020\310\236" + + "\205\224\001\022\017\n\007PREMIUM\020\267\264\301\276\001\022\020\n\010STANDARD\020\275\235\214\347\001\022)" + + "\n!STANDARD_OVERRIDES_FIXED_STANDARD\020\302\207\221\336" + + "\001\"\260\001\n\023PscConnectionStatus\022#\n\037UNDEFINED_P" + + "SC_CONNECTION_STATUS\020\000\022\017\n\010ACCEPTED\020\247\237\322u\022" + + "\016\n\006CLOSED\020\354\252\243\265\001\022\027\n\017NEEDS_ATTENTION\020\274\213\242\244\001" + + "\022\016\n\007PENDING\020\367\252\360\020\022\017\n\010REJECTED\020\376\210\204S\022\031\n\022STA" + + "TUS_UNSPECIFIED\020\312\314\213\024B\016\n\014_I_p_addressB\017\n\r" + + "_I_p_protocolB\014\n\n_all_portsB\026\n\024_allow_gl" + + "obal_accessB\032\n\030_allow_psc_global_accessB" + + "\022\n\020_backend_serviceB\027\n\025_base_forwarding_" + + "ruleB\025\n\023_creation_timestampB\016\n\014_descript" + + "ionB\016\n\014_fingerprintB\005\n\003_idB\020\n\016_ip_collec" + + "tionB\r\n\013_ip_versionB\031\n\027_is_mirroring_col" + + "lectorB\007\n\005_kindB\024\n\022_label_fingerprintB\030\n" + + "\026_load_balancing_schemeB\007\n\005_nameB\n\n\010_net" + + "workB\017\n\r_network_tierB\027\n\025_no_automate_dn" + + "s_zoneB\r\n\013_port_rangeB\024\n\022_psc_connection" + + "_idB\030\n\026_psc_connection_statusB\t\n\007_region" + + "B\014\n\n_self_linkB\020\n\016_service_labelB\017\n\r_ser" + + "vice_nameB\r\n\013_subnetworkB\t\n\007_target\"\313\003\n\034" + + "ForwardingRuleAggregatedList\022\020\n\002id\030\233\032 \001(" + + "\tH\000\210\001\001\022R\n\005items\030\300\317\367/ \003(\0132@.google.cloud." + + "compute.v1.ForwardingRuleAggregatedList." + + "ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next" + "_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215" - + "\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .goog" - + "le.cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB" - + "\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_li" - + "nkB\n\n\010_warning\"\275\001\n\021FirewallLogConfig\022\027\n\006" - + "enable\030\203\313\324\224\001 \001(\010H\000\210\001\001\022\030\n\010metadata\030\257\366\265) \001" - + "(\tH\001\210\001\001\"]\n\010Metadata\022\026\n\022UNDEFINED_METADAT" - + "A\020\000\022\034\n\024EXCLUDE_ALL_METADATA\020\222\275\301\237\001\022\033\n\024INC" - + "LUDE_ALL_METADATA\020\204\315\277NB\t\n\007_enableB\013\n\t_me" - + "tadata\"\227\001\n(FirewallPoliciesListAssociati" - + "onsResponse\022L\n\014associations\030\222\350\312\362\001 \003(\01322." - + "google.cloud.compute.v1.FirewallPolicyAs" - + "sociation\022\024\n\004kind\030\224\367\310\001 \001(\tH\000\210\001\001B\007\n\005_kind" - + "\"\306\005\n\016FirewallPolicy\022L\n\014associations\030\222\350\312\362" - + "\001 \003(\01322.google.cloud.compute.v1.Firewall" - + "PolicyAssociation\022\"\n\022creation_timestamp\030" - + "\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001" - + "\210\001\001\022\034\n\014display_name\030\350\207\221\002 \001(\tH\002\210\001\001\022\033\n\013fin" - + "gerprint\030\344\321\363o \001(\tH\003\210\001\001\022\020\n\002id\030\233\032 \001(\004H\004\210\001\001" - + "\022\024\n\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH" - + "\006\210\001\001\022\026\n\006parent\030\252\221\254% \001(\tH\007\210\001\001\022\026\n\006region\030\364" - + "\315\240B \001(\tH\010\210\001\001\022!\n\020rule_tuple_count\030\225\302\226\271\001 \001" - + "(\005H\t\210\001\001\022=\n\005rules\030\367\221\3653 \003(\0132+.google.cloud" - + ".compute.v1.FirewallPolicyRule\022\032\n\tself_l" - + "ink\030\215\222\305\331\001 \001(\tH\n\210\001\001\022!\n\021self_link_with_id\030" - + "\202\254\235\025 \001(\tH\013\210\001\001\022\033\n\nshort_name\030\356\270\320\352\001 \001(\tH\014\210" - + "\001\001B\025\n\023_creation_timestampB\016\n\014_descriptio" - + "nB\017\n\r_display_nameB\016\n\014_fingerprintB\005\n\003_i" - + "dB\007\n\005_kindB\007\n\005_nameB\t\n\007_parentB\t\n\007_regio" - + "nB\023\n\021_rule_tuple_countB\014\n\n_self_linkB\024\n\022" - + "_self_link_with_idB\r\n\013_short_name\"\212\002\n\031Fi" - + "rewallPolicyAssociation\022!\n\021attachment_ta" - + "rget\030\255\260\350S \001(\tH\000\210\001\001\022\034\n\014display_name\030\350\207\221\002 " - + "\001(\tH\001\210\001\001\022#\n\022firewall_policy_id\030\311\275\252\252\001 \001(\t" - + "H\002\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\003\210\001\001\022\033\n\nshort_nam" - + "e\030\356\270\320\352\001 \001(\tH\004\210\001\001B\024\n\022_attachment_targetB\017" - + "\n\r_display_nameB\025\n\023_firewall_policy_idB\007" - + "\n\005_nameB\r\n\013_short_name\"\203\002\n\022FirewallPolic" - + "yList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0229\n\005items\030\300\317\367/ \003(" - + "\0132\'.google.cloud.compute.v1.FirewallPoli" - + "cy\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_to" - + "ken\030\225\272\206& \001(\tH\002\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 ." - + "google.cloud.compute.v1.WarningH\003\210\001\001B\005\n\003" - + "_idB\007\n\005_kindB\022\n\020_next_page_tokenB\n\n\010_war" - + "ning\"\267\006\n\022FirewallPolicyRule\022\026\n\006action\030\266\374" - + "\275Y \001(\tH\000\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001\210\001" - + "\001\022\031\n\tdirection\030\377\216\2005 \001(\tH\002\210\001\001\022\031\n\010disabled" - + "\030\374\364\230\201\001 \001(\010H\003\210\001\001\022\037\n\016enable_logging\030\243\311\355\214\001 " - + "\001(\010H\004\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022I\n\005match\030" - + "\305\263\2671 \001(\01322.google.cloud.compute.v1.Firew" - + "allPolicyRuleMatcherH\006\210\001\001\022\031\n\010priority\030\244\363" - + "\241\324\001 \001(\005H\007\210\001\001\022\031\n\trule_name\030\356\263\256\032 \001(\tH\010\210\001\001\022" - + "!\n\020rule_tuple_count\030\225\302\226\271\001 \001(\005H\t\210\001\001\022&\n\026se" - + "curity_profile_group\030\252\263\363b \001(\tH\n\210\001\001\022\034\n\020ta" - + "rget_resources\030\367\321\360\373\001 \003(\t\022T\n\022target_secur" - + "e_tags\030\263\304\234\337\001 \003(\01324.google.cloud.compute." - + "v1.FirewallPolicyRuleSecureTag\022#\n\027target" - + "_service_accounts\030\236\216\234\332\001 \003(\t\022\033\n\013tls_inspe" - + "ct\030\320\275\332\024 \001(\010H\013\210\001\001\"E\n\tDirection\022\027\n\023UNDEFIN" - + "ED_DIRECTION\020\000\022\016\n\006EGRESS\020\365\366\264\316\001\022\017\n\007INGRES" - + "S\020\225\375\276\366\001B\t\n\007_actionB\016\n\014_descriptionB\014\n\n_d" - + "irectionB\013\n\t_disabledB\021\n\017_enable_logging" - + "B\007\n\005_kindB\010\n\006_matchB\013\n\t_priorityB\014\n\n_rul" - + "e_nameB\023\n\021_rule_tuple_countB\031\n\027_security" - + "_profile_groupB\016\n\014_tls_inspect\"\370\003\n\031Firew" - + "allPolicyRuleMatcher\022\037\n\023dest_address_gro" - + "ups\030\274\357\302\337\001 \003(\t\022\026\n\ndest_fqdns\030\241\301\342\260\001 \003(\t\022\032\n" - + "\016dest_ip_ranges\030\221\327\356\240\001 \003(\t\022\034\n\021dest_region" - + "_codes\030\230\253\371^ \003(\t\022$\n\031dest_threat_intellige" - + "nces\030\254\363\2259 \003(\t\022Z\n\016layer4_configs\030\265\334\216\262\001 \003(" - + "\0132>.google.cloud.compute.v1.FirewallPoli" - + "cyRuleMatcherLayer4Config\022\036\n\022src_address" - + "_groups\030\272\230\215\320\001 \003(\t\022\025\n\tsrc_fqdns\030\343\314\355\317\001 \003(\t" - + "\022\031\n\rsrc_ip_ranges\030\323\200\207\316\001 \003(\t\022\033\n\020src_regio" - + "n_codes\030\226\343\237/ \003(\t\022Q\n\017src_secure_tags\030\206\224\316\362" - + "\001 \003(\01324.google.cloud.compute.v1.Firewall" - + "PolicyRuleSecureTag\022$\n\030src_threat_intell" - + "igences\030\252\357\250\232\001 \003(\t\"g\n%FirewallPolicyRuleM" - + "atcherLayer4Config\022\034\n\013ip_protocol\030\260\235\372\342\001 " - + "\001(\tH\000\210\001\001\022\020\n\005ports\030\222\360\3712 \003(\tB\016\n\014_ip_protoc" - + "ol\"\242\001\n\033FirewallPolicyRuleSecureTag\022\024\n\004na" - + "me\030\213\365\315\001 \001(\tH\000\210\001\001\022\025\n\005state\030\221\211\2534 \001(\tH\001\210\001\001\"" - + "C\n\005State\022\023\n\017UNDEFINED_STATE\020\000\022\020\n\tEFFECTI" - + "VE\020\207\363\270t\022\023\n\013INEFFECTIVE\020\202\324\226\221\001B\007\n\005_nameB\010\n" - + "\006_state\"\203\001\n\016FixedOrPercent\022\033\n\ncalculated" - + "\030\276\323\215\341\001 \001(\005H\000\210\001\001\022\025\n\005fixed\030\364\316\273. \001(\005H\001\210\001\001\022\030" - + "\n\007percent\030\305\310\241\274\001 \001(\005H\002\210\001\001B\r\n\013_calculatedB" - + "\010\n\006_fixedB\n\n\010_percent\"\355\023\n\016ForwardingRule" - + "\022\033\n\013I_p_address\030\257\215\277\024 \001(\tH\000\210\001\001\022\035\n\014I_p_pro" - + "tocol\030\275\366\336\350\001 \001(\tH\001\210\001\001\022\032\n\tall_ports\030\364\257\243\324\001 " - + "\001(\010H\002\210\001\001\022$\n\023allow_global_access\030\212\306\221\356\001 \001(" - + "\010H\003\210\001\001\022\'\n\027allow_psc_global_access\030\313\205\321} \001" - + "(\010H\004\210\001\001\022 \n\017backend_service\030\212\300\256\222\001 \001(\tH\005\210\001" - + "\001\022%\n\024base_forwarding_rule\030\220\333\243\372\001 \001(\tH\006\210\001\001" - + "\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\007\210\001\001\022\034\n\013" - + "description\030\374\207\326\311\001 \001(\tH\010\210\001\001\022\033\n\013fingerprin" - + "t\030\344\321\363o \001(\tH\t\210\001\001\022\020\n\002id\030\233\032 \001(\004H\n\210\001\001\022\033\n\nip_" - + "version\030\300\363\322\214\001 \001(\tH\013\210\001\001\022&\n\026is_mirroring_c" - + "ollector\030\374\340\3568 \001(\010H\014\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH" - + "\r\210\001\001\022!\n\021label_fingerprint\030\231\360\367T \001(\tH\016\210\001\001\022" - + "G\n\006labels\030\377\277\301\356\001 \003(\01323.google.cloud.compu" - + "te.v1.ForwardingRule.LabelsEntry\022&\n\025load" - + "_balancing_scheme\030\304\214\302\255\001 \001(\tH\017\210\001\001\022E\n\020meta" - + "data_filters\030\353\315\314\335\001 \003(\0132\'.google.cloud.co" - + "mpute.v1.MetadataFilter\022\024\n\004name\030\213\365\315\001 \001(\t" - + "H\020\210\001\001\022\027\n\007network\030\256\264\205o \001(\tH\021\210\001\001\022\035\n\014networ" - + "k_tier\030\323\272\333\366\001 \001(\tH\022\210\001\001\022$\n\024no_automate_dns" - + "_zone\030\257\321\343\036 \001(\010H\023\210\001\001\022\032\n\nport_range\030\377\237\334g \001" - + "(\tH\024\210\001\001\022\020\n\005ports\030\222\360\3712 \003(\t\022\"\n\021psc_connect" - + "ion_id\030\335\245\243\213\001 \001(\004H\025\210\001\001\022%\n\025psc_connection_" - + "status\030\264\311\347W \001(\tH\026\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH" - + "\027\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\030\210\001\001\022o\n\037serv" - + "ice_directory_registrations\030\376\261\314j \003(\0132C.g" - + "oogle.cloud.compute.v1.ForwardingRuleSer" - + "viceDirectoryRegistration\022\036\n\rservice_lab" - + "el\030\352\231\354\306\001 \001(\tH\031\210\001\001\022\035\n\014service_name\030\325\253\315\253\001 " - + "\001(\tH\032\210\001\001\022\033\n\020source_ip_ranges\030\312\243\2315 \003(\t\022\033\n" - + "\nsubnetwork\030\356\247\344\222\001 \001(\tH\033\210\001\001\022\026\n\006target\030\221\343\371" - + "[ \001(\tH\034\210\001\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r" - + "\n\005value\030\002 \001(\t:\0028\001\"\210\001\n\016IPProtocolEnum\022\037\n\033" - + "UNDEFINED_I_P_PROTOCOL_ENUM\020\000\022\007\n\002AH\020\247\020\022\t" - + "\n\003ESP\020\342\232\004\022\013\n\004ICMP\020\275\350\210\001\022\021\n\nL3_DEFAULT\020\311\366\372" - + "\026\022\013\n\004SCTP\020\314\201\233\001\022\t\n\003TCP\020\301\207\005\022\t\n\003UDP\020\241\217\005\"[\n\t" - + "IpVersion\022\030\n\024UNDEFINED_IP_VERSION\020\000\022\013\n\004I" - + "PV4\020\205\314\211\001\022\013\n\004IPV6\020\207\314\211\001\022\032\n\023UNSPECIFIED_VER" - + "SION\020\220\317\265\n\"\277\001\n\023LoadBalancingScheme\022#\n\037UND" - + "EFINED_LOAD_BALANCING_SCHEME\020\000\022\017\n\010EXTERN" - + "AL\020\313\247\375\020\022\030\n\020EXTERNAL_MANAGED\020\213\266\222\364\001\022\020\n\010INT" - + "ERNAL\020\275\355\226\205\001\022\027\n\020INTERNAL_MANAGED\020\375\327\347\021\022\034\n\025" - + "INTERNAL_SELF_MANAGED\020\316\227\321p\022\017\n\007INVALID\020\327\373" - + "\355\374\001\"\217\001\n\013NetworkTier\022\032\n\026UNDEFINED_NETWORK" - + "_TIER\020\000\022\026\n\016FIXED_STANDARD\020\310\236\205\224\001\022\017\n\007PREMI" - + "UM\020\267\264\301\276\001\022\020\n\010STANDARD\020\275\235\214\347\001\022)\n!STANDARD_O" - + "VERRIDES_FIXED_STANDARD\020\302\207\221\336\001\"\260\001\n\023PscCon" - + "nectionStatus\022#\n\037UNDEFINED_PSC_CONNECTIO" - + "N_STATUS\020\000\022\017\n\010ACCEPTED\020\247\237\322u\022\016\n\006CLOSED\020\354\252" - + "\243\265\001\022\027\n\017NEEDS_ATTENTION\020\274\213\242\244\001\022\016\n\007PENDING\020" - + "\367\252\360\020\022\017\n\010REJECTED\020\376\210\204S\022\031\n\022STATUS_UNSPECIF" - + "IED\020\312\314\213\024B\016\n\014_I_p_addressB\017\n\r_I_p_protoco" - + "lB\014\n\n_all_portsB\026\n\024_allow_global_accessB" - + "\032\n\030_allow_psc_global_accessB\022\n\020_backend_" - + "serviceB\027\n\025_base_forwarding_ruleB\025\n\023_cre" - + "ation_timestampB\016\n\014_descriptionB\016\n\014_fing" - + "erprintB\005\n\003_idB\r\n\013_ip_versionB\031\n\027_is_mir" - + "roring_collectorB\007\n\005_kindB\024\n\022_label_fing" - + "erprintB\030\n\026_load_balancing_schemeB\007\n\005_na" - + "meB\n\n\010_networkB\017\n\r_network_tierB\027\n\025_no_a" - + "utomate_dns_zoneB\r\n\013_port_rangeB\024\n\022_psc_" - + "connection_idB\030\n\026_psc_connection_statusB" - + "\t\n\007_regionB\014\n\n_self_linkB\020\n\016_service_lab" - + "elB\017\n\r_service_nameB\r\n\013_subnetworkB\t\n\007_t" - + "arget\"\313\003\n\034ForwardingRuleAggregatedList\022\020" - + "\n\002id\030\233\032 \001(\tH\000\210\001\001\022R\n\005items\030\300\317\367/ \003(\0132@.goo" - + "gle.cloud.compute.v1.ForwardingRuleAggre" - + "gatedList.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210" - + "\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\ts" - + "elf_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030" - + "\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cl" - + "oud.compute.v1.WarningH\004\210\001\001\032`\n\nItemsEntr" - + "y\022\013\n\003key\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.google.c" - + "loud.compute.v1.ForwardingRulesScopedLis" - + "t:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_toke" - + "nB\014\n\n_self_linkB\n\n\010_warning\"\255\002\n\022Forwardi" - + "ngRuleList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0229\n\005items\030\300\317" - + "\367/ \003(\0132\'.google.cloud.compute.v1.Forward" - + "ingRule\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_pa" - + "ge_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331" - + "\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google." - + "cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005" - + "_kindB\022\n\020_next_page_tokenB\014\n\n_self_linkB" - + "\n\n\010_warning\"O\n\027ForwardingRuleReference\022 " - + "\n\017forwarding_rule\030\376\245\335\200\001 \001(\tH\000\210\001\001B\022\n\020_for" - + "warding_rule\"\302\001\n*ForwardingRuleServiceDi" - + "rectoryRegistration\022\031\n\tnamespace\030\333\252\215U \001(" - + "\tH\000\210\001\001\022\030\n\007service\030\265\215\217\262\001 \001(\tH\001\210\001\001\022(\n\030serv" - + "ice_directory_region\030\320\272\246# \001(\tH\002\210\001\001B\014\n\n_n" - + "amespaceB\n\n\010_serviceB\033\n\031_service_directo" - + "ry_region\"\251\001\n\031ForwardingRulesScopedList\022" - + "E\n\020forwarding_rules\030\265\232\314\226\001 \003(\0132\'.google.c" - + "loud.compute.v1.ForwardingRule\0229\n\007warnin" - + "g\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.War" - + "ningH\000\210\001\001B\n\n\010_warning\"\315\002\n\017GRPCHealthChec" - + "k\022!\n\021grpc_service_name\030\326\250\215A \001(\tH\000\210\001\001\022\024\n\004" - + "port\030\201\261\322\001 \001(\005H\001\210\001\001\022\031\n\tport_name\030\211\207\347\023 \001(\t" - + "H\002\210\001\001\022\"\n\022port_specification\030\305\353\314\030 \001(\tH\003\210\001" - + "\001\"~\n\021PortSpecification\022 \n\034UNDEFINED_PORT" - + "_SPECIFICATION\020\000\022\025\n\016USE_FIXED_PORT\020\344\210\333Z\022" - + "\026\n\016USE_NAMED_PORT\020\277\317\307\246\001\022\030\n\020USE_SERVING_P" - + "ORT\020\314\321\365\254\001B\024\n\022_grpc_service_nameB\007\n\005_port" - + "B\014\n\n_port_nameB\025\n\023_port_specification\"l\n" - + "\031GetAcceleratorTypeRequest\022 \n\020accelerato" - + "r_type\030\216\341\350A \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\t" - + "B\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"^\n\021GetAddres" + + "\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229" + + "\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comput" + + "e.v1.WarningH\004\210\001\001\032`\n\nItemsEntry\022\013\n\003key\030\001" + + " \001(\t\022A\n\005value\030\002 \001(\01322.google.cloud.compu" + + "te.v1.ForwardingRulesScopedList:\0028\001B\005\n\003_" + + "idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self" + + "_linkB\n\n\010_warning\"\255\002\n\022ForwardingRuleList" + + "\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0229\n\005items\030\300\317\367/ \003(\0132\'.g" + + "oogle.cloud.compute.v1.ForwardingRule\022\024\n" + + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225" + + "\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001" + + "\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comp" + + "ute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_" + + "next_page_tokenB\014\n\n_self_linkB\n\n\010_warnin" + + "g\"O\n\027ForwardingRuleReference\022 \n\017forwardi" + + "ng_rule\030\376\245\335\200\001 \001(\tH\000\210\001\001B\022\n\020_forwarding_ru" + + "le\"\302\001\n*ForwardingRuleServiceDirectoryReg" + + "istration\022\031\n\tnamespace\030\333\252\215U \001(\tH\000\210\001\001\022\030\n\007" + + "service\030\265\215\217\262\001 \001(\tH\001\210\001\001\022(\n\030service_direct" + + "ory_region\030\320\272\246# \001(\tH\002\210\001\001B\014\n\n_namespaceB\n" + + "\n\010_serviceB\033\n\031_service_directory_region\"" + + "\251\001\n\031ForwardingRulesScopedList\022E\n\020forward" + + "ing_rules\030\265\232\314\226\001 \003(\0132\'.google.cloud.compu" + + "te.v1.ForwardingRule\0229\n\007warning\030\234\337\226\030 \001(\013" + + "2 .google.cloud.compute.v1.WarningH\000\210\001\001B" + + "\n\n\010_warning\"\315\002\n\017GRPCHealthCheck\022!\n\021grpc_" + + "service_name\030\326\250\215A \001(\tH\000\210\001\001\022\024\n\004port\030\201\261\322\001 " + + "\001(\005H\001\210\001\001\022\031\n\tport_name\030\211\207\347\023 \001(\tH\002\210\001\001\022\"\n\022p" + + "ort_specification\030\305\353\314\030 \001(\tH\003\210\001\001\"~\n\021PortS" + + "pecification\022 \n\034UNDEFINED_PORT_SPECIFICA" + + "TION\020\000\022\025\n\016USE_FIXED_PORT\020\344\210\333Z\022\026\n\016USE_NAM" + + "ED_PORT\020\277\317\307\246\001\022\030\n\020USE_SERVING_PORT\020\314\321\365\254\001B" + + "\024\n\022_grpc_service_nameB\007\n\005_portB\014\n\n_port_" + + "nameB\025\n\023_port_specification\"l\n\031GetAccele" + + "ratorTypeRequest\022 \n\020accelerator_type\030\216\341\350" + + "A \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004z" + + "one\030\254\307\344\001 \001(\tB\003\340A\002\"^\n\021GetAddressRequest\022\030" + + "\n\007address\030\364\267\336\334\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l" + + " \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"f\n#Get" + + "AssociationFirewallPolicyRequest\022 \n\017fire" + + "wall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022\024\n\004name\030\213\365\315\001 " + + "\001(\tH\000\210\001\001B\007\n\005_name\"\206\001\n*GetAssociationNetw" + + "orkFirewallPolicyRequest\022 \n\017firewall_pol" + + "icy\030\321\212\306\355\001 \001(\tB\003\340A\002\022\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001" + + "\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002B\007\n\005_name\"\244\001\n0G" + + "etAssociationRegionNetworkFirewallPolicy" + + "Request\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A" + + "\002\022\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001\022\027\n\007project\030\231\226\301l " + + "\001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002B\007\n\005_nam" + + "e\"b\n\024GetAutoscalerRequest\022\033\n\nautoscaler\030" + + "\327\375\322\366\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022" + + "\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"R\n\027GetBackendBucke" + + "tRequest\022\036\n\016backend_bucket\030\365\343\335+ \001(\tB\003\340A\002" + + "\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"U\n\030GetBackendS" + + "erviceRequest\022 \n\017backend_service\030\212\300\256\222\001 \001" + + "(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"Z\n!GetD" + + "iagnosticsInterconnectRequest\022\034\n\014interco" + + "nnect\030\216\311\214k \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB" + + "\003\340A\002\"U\n\016GetDiskRequest\022\024\n\004disk\030\235\233\274\001 \001(\tB" + + "\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307" + + "\344\001 \001(\tB\003\340A\002\"^\n\022GetDiskTypeRequest\022\031\n\tdis" + + "k_type\030\234\351\254, \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\t" + + "B\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\223\001\n$GetEffec" + + "tiveFirewallsInstanceRequest\022\030\n\010instance" + + "\030\225\251\332\010 \001(\tB\003\340A\002\022\"\n\021network_interface\030\350\300\235\256" + + "\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004z" + + "one\030\254\307\344\001 \001(\tB\003\340A\002\"W\n#GetEffectiveFirewal" + + "lsNetworkRequest\022\027\n\007network\030\256\264\205o \001(\tB\003\340A" + + "\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"\203\001\n7GetEffect" + + "iveFirewallsRegionNetworkFirewallPolicyR" + + "equest\022\027\n\007network\030\256\264\205o \001(\tB\003\340A\002\022\027\n\007proje" + + "ct\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002" + + "\"]\n\034GetExternalVpnGatewayRequest\022$\n\024exte" + + "rnal_vpn_gateway\030\205\327\2634 \001(\tB\003\340A\002\022\027\n\007projec" + + "t\030\231\226\301l \001(\tB\003\340A\002\"<\n\030GetFirewallPolicyRequ" + + "est\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\"H\n" + + "\022GetFirewallRequest\022\031\n\010firewall\030\200\372\325\363\001 \001(" + + "\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"m\n\030GetFo" + + "rwardingRuleRequest\022 \n\017forwarding_rule\030\376" + + "\245\335\200\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026" + + "\n\006region\030\364\315\240B \001(\tB\003\340A\002\"M\n\031GetFromFamilyI" + + "mageRequest\022\027\n\006family\030\344\266\341\234\001 \001(\tB\003\340A\002\022\027\n\007" + + "project\030\231\226\301l \001(\tB\003\340A\002\"L\n\027GetGlobalAddres" + "sRequest\022\030\n\007address\030\364\267\336\334\001 \001(\tB\003\340A\002\022\027\n\007pr" - + "oject\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003" - + "\340A\002\"f\n#GetAssociationFirewallPolicyReque" - + "st\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022\024\n\004" - + "name\030\213\365\315\001 \001(\tH\000\210\001\001B\007\n\005_name\"\206\001\n*GetAssoc" - + "iationNetworkFirewallPolicyRequest\022 \n\017fi" - + "rewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022\024\n\004name\030\213\365\315" - + "\001 \001(\tH\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002B\007\n\005_" - + "name\"\244\001\n0GetAssociationRegionNetworkFire" - + "wallPolicyRequest\022 \n\017firewall_policy\030\321\212\306" - + "\355\001 \001(\tB\003\340A\002\022\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001\022\027\n\007pro" - + "ject\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340" - + "A\002B\007\n\005_name\"b\n\024GetAutoscalerRequest\022\033\n\na" - + "utoscaler\030\327\375\322\366\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l" - + " \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"R\n\027GetBa" - + "ckendBucketRequest\022\036\n\016backend_bucket\030\365\343\335" - + "+ \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"U\n\030G" - + "etBackendServiceRequest\022 \n\017backend_servi" - + "ce\030\212\300\256\222\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340" - + "A\002\"Z\n!GetDiagnosticsInterconnectRequest\022" - + "\034\n\014interconnect\030\216\311\214k \001(\tB\003\340A\002\022\027\n\007project" - + "\030\231\226\301l \001(\tB\003\340A\002\"U\n\016GetDiskRequest\022\024\n\004disk" - + "\030\235\233\274\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022" - + "\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"^\n\022GetDiskTypeRequ" - + "est\022\031\n\tdisk_type\030\234\351\254, \001(\tB\003\340A\002\022\027\n\007projec" - + "t\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\223\001" - + "\n$GetEffectiveFirewallsInstanceRequest\022\030" - + "\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022\"\n\021network_inte" - + "rface\030\350\300\235\256\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\t" - + "B\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"W\n#GetEffect" - + "iveFirewallsNetworkRequest\022\027\n\007network\030\256\264" - + "\205o \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"\203\001\n" - + "7GetEffectiveFirewallsRegionNetworkFirew" - + "allPolicyRequest\022\027\n\007network\030\256\264\205o \001(\tB\003\340A" - + "\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240" - + "B \001(\tB\003\340A\002\"]\n\034GetExternalVpnGatewayReque" - + "st\022$\n\024external_vpn_gateway\030\205\327\2634 \001(\tB\003\340A\002" - + "\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"<\n\030GetFirewall" - + "PolicyRequest\022 \n\017firewall_policy\030\321\212\306\355\001 \001" - + "(\tB\003\340A\002\"H\n\022GetFirewallRequest\022\031\n\010firewal" - + "l\030\200\372\325\363\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" - + "\002\"m\n\030GetForwardingRuleRequest\022 \n\017forward" - + "ing_rule\030\376\245\335\200\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l " - + "\001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"M\n\031GetF" - + "romFamilyImageRequest\022\027\n\006family\030\344\266\341\234\001 \001(" - + "\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"L\n\027GetGl" - + "obalAddressRequest\022\030\n\007address\030\364\267\336\334\001 \001(\tB" - + "\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"[\n\036GetGlob" - + "alForwardingRuleRequest\022 \n\017forwarding_ru" - + "le\030\376\245\335\200\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340" - + "A\002\"h\n$GetGlobalNetworkEndpointGroupReque" - + "st\022\'\n\026network_endpoint_group\030\206\313\363\316\001 \001(\tB\003" - + "\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"V\n\031GetGloba" - + "lOperationRequest\022 \n\toperation\030\347\252\353\030 \001(\tB" - + "\n\340A\002\372G\004name\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"s\n%" - + "GetGlobalOrganizationOperationRequest\022 \n" - + "\toperation\030\347\252\353\030 \001(\tB\n\340A\002\372G\004name\022\032\n\tparen" - + "t_id\030\320\341\232\333\001 \001(\tH\000\210\001\001B\014\n\n_parent_id\"j\n&Get" - + "GlobalPublicDelegatedPrefixeRequest\022\027\n\007p" - + "roject\030\231\226\301l \001(\tB\003\340A\002\022\'\n\027public_delegated" - + "_prefix\030\350\334\261a \001(\tB\003\340A\002\"\307\001\n!GetGuestAttrib" - + "utesInstanceRequest\022\030\n\010instance\030\225\251\332\010 \001(\t" - + "B\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\033\n\nquery_" - + "path\030\274\202\341\257\001 \001(\tH\000\210\001\001\022\034\n\014variable_key\030\234\204\260N" - + " \001(\tH\001\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\r\n\013_quer" - + "y_pathB\017\n\r_variable_key\"\277\001\n\036GetHealthBac" - + "kendServiceRequest\022 \n\017backend_service\030\212\300" - + "\256\222\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022b\n" - + "!resource_group_reference_resource\030\323\376\3555 " - + "\001(\0132/.google.cloud.compute.v1.ResourceGr" - + "oupReferenceB\003\340A\002\"O\n\025GetHealthCheckReque" - + "st\022\035\n\014health_check\030\345\252\244\223\001 \001(\tB\003\340A\002\022\027\n\007pro" - + "ject\030\231\226\301l \001(\tB\003\340A\002\"\335\001\n$GetHealthRegionBa" - + "ckendServiceRequest\022 \n\017backend_service\030\212" - + "\300\256\222\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026" - + "\n\006region\030\364\315\240B \001(\tB\003\340A\002\022b\n!resource_group" - + "_reference_resource\030\323\376\3555 \001(\0132/.google.cl" - + "oud.compute.v1.ResourceGroupReferenceB\003\340" - + "A\002\"\304\001\n\032GetHealthTargetPoolRequest\022X\n\033ins" - + "tance_reference_resource\030\354\344\326\213\001 \001(\0132*.goo" - + "gle.cloud.compute.v1.InstanceReferenceB\003" + + "oject\030\231\226\301l \001(\tB\003\340A\002\"[\n\036GetGlobalForwardi" + + "ngRuleRequest\022 \n\017forwarding_rule\030\376\245\335\200\001 \001" + + "(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"h\n$GetG" + + "lobalNetworkEndpointGroupRequest\022\'\n\026netw" + + "ork_endpoint_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022\027\n\007pro" + + "ject\030\231\226\301l \001(\tB\003\340A\002\"V\n\031GetGlobalOperation" + + "Request\022 \n\toperation\030\347\252\353\030 \001(\tB\n\340A\002\372G\004nam" + + "e\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"s\n%GetGlobalO" + + "rganizationOperationRequest\022 \n\toperation" + + "\030\347\252\353\030 \001(\tB\n\340A\002\372G\004name\022\032\n\tparent_id\030\320\341\232\333\001" + + " \001(\tH\000\210\001\001B\014\n\n_parent_id\"j\n&GetGlobalPubl" + + "icDelegatedPrefixeRequest\022\027\n\007project\030\231\226\301" + + "l \001(\tB\003\340A\002\022\'\n\027public_delegated_prefix\030\350\334" + + "\261a \001(\tB\003\340A\002\"\307\001\n!GetGuestAttributesInstan" + + "ceRequest\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022\027\n\007p" + + "roject\030\231\226\301l \001(\tB\003\340A\002\022\033\n\nquery_path\030\274\202\341\257\001" + + " \001(\tH\000\210\001\001\022\034\n\014variable_key\030\234\204\260N \001(\tH\001\210\001\001\022" + + "\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\r\n\013_query_pathB\017\n\r" + + "_variable_key\"\277\001\n\036GetHealthBackendServic" + + "eRequest\022 \n\017backend_service\030\212\300\256\222\001 \001(\tB\003\340" + + "A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022b\n!resource_" + + "group_reference_resource\030\323\376\3555 \001(\0132/.goog" + + "le.cloud.compute.v1.ResourceGroupReferen" + + "ceB\003\340A\002\"O\n\025GetHealthCheckRequest\022\035\n\014heal" + + "th_check\030\345\252\244\223\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l " + + "\001(\tB\003\340A\002\"\335\001\n$GetHealthRegionBackendServi" + + "ceRequest\022 \n\017backend_service\030\212\300\256\222\001 \001(\tB\003" + "\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364" - + "\315\240B \001(\tB\003\340A\002\022\033\n\013target_pool\030\212\344\370\035 \001(\tB\003\340A" - + "\002\"\255\001\n GetIamPolicyBackendBucketRequest\0221" - + "\n options_requested_policy_version\030\275\374\205\356\001" - + " \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010re" - + "source\030\216\210\257] \001(\tB\003\340A\002B#\n!_options_request" - + "ed_policy_version\"\256\001\n!GetIamPolicyBacken" - + "dServiceRequest\0221\n options_requested_pol" - + "icy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226" - + "\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B#\n" - + "!_options_requested_policy_version\"\272\001\n\027G" - + "etIamPolicyDiskRequest\0221\n options_reques" - + "ted_policy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007pro" - + "ject\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB" - + "\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B#\n!_options_r" - + "equested_policy_version\"\225\001\n!GetIamPolicy" - + "FirewallPolicyRequest\0221\n options_request" - + "ed_policy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\030\n\010reso" - + "urce\030\216\210\257] \001(\tB\003\340A\002B#\n!_options_requested" - + "_policy_version\"\245\001\n\030GetIamPolicyImageReq" - + "uest\0221\n options_requested_policy_version" - + "\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002" - + "\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B#\n!_options_r" - + "equested_policy_version\"\276\001\n\033GetIamPolicy" - + "InstanceRequest\0221\n options_requested_pol" - + "icy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226" - + "\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n" - + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002B#\n!_options_requeste" - + "d_policy_version\"\260\001\n#GetIamPolicyInstanc" - + "eTemplateRequest\0221\n options_requested_po" - + "licy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231" - + "\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B#" - + "\n!_options_requested_policy_version\"\305\001\n\"" - + "GetIamPolicyInstantSnapshotRequest\0221\n op" + + "\315\240B \001(\tB\003\340A\002\022b\n!resource_group_reference" + + "_resource\030\323\376\3555 \001(\0132/.google.cloud.comput" + + "e.v1.ResourceGroupReferenceB\003\340A\002\"\304\001\n\032Get" + + "HealthTargetPoolRequest\022X\n\033instance_refe" + + "rence_resource\030\354\344\326\213\001 \001(\0132*.google.cloud." + + "compute.v1.InstanceReferenceB\003\340A\002\022\027\n\007pro" + + "ject\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340" + + "A\002\022\033\n\013target_pool\030\212\344\370\035 \001(\tB\003\340A\002\"\255\001\n GetI" + + "amPolicyBackendBucketRequest\0221\n options_" + + "requested_policy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022" + + "\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257" + + "] \001(\tB\003\340A\002B#\n!_options_requested_policy_" + + "version\"\256\001\n!GetIamPolicyBackendServiceRe" + + "quest\0221\n options_requested_policy_versio" + + "n\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" + + "\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B#\n!_options_" + + "requested_policy_version\"\272\001\n\027GetIamPolic" + + "yDiskRequest\0221\n options_requested_policy" + + "_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l " + + "\001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n\004zo" + + "ne\030\254\307\344\001 \001(\tB\003\340A\002B#\n!_options_requested_p" + + "olicy_version\"\225\001\n!GetIamPolicyFirewallPo" + + "licyRequest\0221\n options_requested_policy_" + + "version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\030\n\010resource\030\216\210\257] " + + "\001(\tB\003\340A\002B#\n!_options_requested_policy_ve" + + "rsion\"\245\001\n\030GetIamPolicyImageRequest\0221\n op" + "tions_requested_policy_version\030\275\374\205\356\001 \001(\005" + "H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resour" - + "ce\030\216\210\257] \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B#" - + "\n!_options_requested_policy_version\"\247\001\n\032" - + "GetIamPolicyLicenseRequest\0221\n options_re" - + "quested_policy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n" - + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] " - + "\001(\tB\003\340A\002B#\n!_options_requested_policy_ve" - + "rsion\"\254\001\n\037GetIamPolicyMachineImageReques" - + "t\0221\n options_requested_policy_version\030\275\374" - + "\205\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" - + "\010resource\030\216\210\257] \001(\tB\003\340A\002B#\n!_options_requ" - + "ested_policy_version\"\311\001\n$GetIamPolicyNet" - + "workAttachmentRequest\0221\n options_request" - + "ed_policy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007proj" - + "ect\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A" - + "\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B#\n!_options_" - + "requested_policy_version\"\265\001\n(GetIamPolic" - + "yNetworkFirewallPolicyRequest\0221\n options" - + "_requested_policy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001" - + "\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210" - + "\257] \001(\tB\003\340A\002B#\n!_options_requested_policy" - + "_version\"\277\001\n\034GetIamPolicyNodeGroupReques" - + "t\0221\n options_requested_policy_version\030\275\374" - + "\205\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" - + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\t" - + "B\003\340A\002B#\n!_options_requested_policy_versi" - + "on\"\304\001\n\037GetIamPolicyNodeTemplateRequest\0221" - + "\n options_requested_policy_version\030\275\374\205\356\001" - + " \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006re" - + "gion\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB" - + "\003\340A\002B#\n!_options_requested_policy_versio" - + "n\"\314\001\n\'GetIamPolicyRegionBackendServiceRe" + + "ce\030\216\210\257] \001(\tB\003\340A\002B#\n!_options_requested_p" + + "olicy_version\"\276\001\n\033GetIamPolicyInstanceRe" + "quest\0221\n options_requested_policy_versio" + "n\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" - + "\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010resource\030\216\210" - + "\257] \001(\tB\003\340A\002B#\n!_options_requested_policy" - + "_version\"\302\001\n\035GetIamPolicyRegionDiskReque" - + "st\0221\n options_requested_policy_version\030\275" - + "\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026" - + "\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] " - + "\001(\tB\003\340A\002B#\n!_options_requested_policy_ve" - + "rsion\"\315\001\n(GetIamPolicyRegionInstantSnaps" + + "\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001" + + " \001(\tB\003\340A\002B#\n!_options_requested_policy_v" + + "ersion\"\260\001\n#GetIamPolicyInstanceTemplateR" + + "equest\0221\n options_requested_policy_versi" + + "on\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340" + + "A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B#\n!_options" + + "_requested_policy_version\"\305\001\n\"GetIamPoli" + + "cyInstantSnapshotRequest\0221\n options_requ" + + "ested_policy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007p" + + "roject\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(" + + "\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B#\n!_options" + + "_requested_policy_version\"\247\001\n\032GetIamPoli" + + "cyLicenseRequest\0221\n options_requested_po" + + "licy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231" + + "\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B#" + + "\n!_options_requested_policy_version\"\254\001\n\037" + + "GetIamPolicyMachineImageRequest\0221\n optio" + + "ns_requested_policy_version\030\275\374\205\356\001 \001(\005H\000\210" + + "\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030" + + "\216\210\257] \001(\tB\003\340A\002B#\n!_options_requested_poli" + + "cy_version\"\311\001\n$GetIamPolicyNetworkAttach" + + "mentRequest\0221\n options_requested_policy_" + + "version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001" + + "(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010resou" + + "rce\030\216\210\257] \001(\tB\003\340A\002B#\n!_options_requested_" + + "policy_version\"\265\001\n(GetIamPolicyNetworkFi" + + "rewallPolicyRequest\0221\n options_requested" + + "_policy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007projec" + + "t\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A", + "\002B#\n!_options_requested_policy_version\"\277" + + "\001\n\034GetIamPolicyNodeGroupRequest\0221\n optio" + + "ns_requested_policy_version\030\275\374\205\356\001 \001(\005H\000\210" + + "\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030" + + "\216\210\257] \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B#\n!_" + + "options_requested_policy_version\"\304\001\n\037Get" + + "IamPolicyNodeTemplateRequest\0221\n options_" + + "requested_policy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022" + + "\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B " + + "\001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B#\n!_o" + + "ptions_requested_policy_version\"\314\001\n\'GetI" + + "amPolicyRegionBackendServiceRequest\0221\n o" + + "ptions_requested_policy_version\030\275\374\205\356\001 \001(" + + "\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006regio" + + "n\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A" + + "\002B#\n!_options_requested_policy_version\"\302" + + "\001\n\035GetIamPolicyRegionDiskRequest\0221\n opti" + + "ons_requested_policy_version\030\275\374\205\356\001 \001(\005H\000" + + "\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364" + + "\315\240B \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B#" + + "\n!_options_requested_policy_version\"\315\001\n(" + + "GetIamPolicyRegionInstantSnapshotRequest" + + "\0221\n options_requested_policy_version\030\275\374\205" + + "\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006" + + "region\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(" + + "\tB\003\340A\002B#\n!_options_requested_policy_vers" + + "ion\"\323\001\n.GetIamPolicyRegionNetworkFirewal" + + "lPolicyRequest\0221\n options_requested_poli" + + "cy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301" + + "l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010re" + + "source\030\216\210\257] \001(\tB\003\340A\002B#\n!_options_request" + + "ed_policy_version\"\301\001\n\036GetIamPolicyReserv" + + "ationRequest\0221\n options_requested_policy" + + "_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l " + + "\001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n\004zo" + + "ne\030\254\307\344\001 \001(\tB\003\340A\002B#\n!_options_requested_p" + + "olicy_version\"\306\001\n!GetIamPolicyResourcePo" + + "licyRequest\0221\n options_requested_policy_" + + "version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001" + + "(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010resou" + + "rce\030\216\210\257] \001(\tB\003\340A\002B#\n!_options_requested_" + + "policy_version\"\311\001\n$GetIamPolicyServiceAt" + + "tachmentRequest\0221\n options_requested_pol" + + "icy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226" + + "\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010r" + + "esource\030\216\210\257] \001(\tB\003\340A\002B#\n!_options_reques" + + "ted_policy_version\"\250\001\n\033GetIamPolicySnaps" + "hotRequest\0221\n options_requested_policy_v" + "ersion\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(" - + "\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010resour" - + "ce\030\216\210\257] \001(\tB\003\340A\002B#\n!_options_requested_p" - + "olicy_version\"\323\001\n.GetIamPolicyRegionNetw" - + "orkFirewallPolicyRequest\0221\n options_requ" + + "\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B#\n!_opt" + + "ions_requested_policy_version\"\301\001\n\036GetIam" + + "PolicyStoragePoolRequest\0221\n options_requ" + "ested_policy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007p" + + "roject\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(" + + "\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B#\n!_options" + + "_requested_policy_version\"\302\001\n\035GetIamPoli" + + "cySubnetworkRequest\0221\n options_requested" + + "_policy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007projec" + + "t\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022" + + "\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B#\n!_options_re" + + "quested_policy_version\"c\n\031GetImageFamily" + + "ViewRequest\022\027\n\006family\030\344\266\341\234\001 \001(\tB\003\340A\002\022\027\n\007" + + "project\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003" + + "\340A\002\"A\n\017GetImageRequest\022\025\n\005image\030\333\322\352/ \001(\t" + + "B\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"w\n\036GetIns" + + "tanceGroupManagerRequest\022&\n\026instance_gro" + + "up_manager\030\303\367\363v \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l" + + " \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\244\001\n+GetI" + + "nstanceGroupManagerResizeRequestRequest\022" + + "&\n\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022" + + "\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\036\n\016resize_reque" + + "st\030\204\204\271g \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"h" + + "\n\027GetInstanceGroupRequest\022\036\n\016instance_gr" + + "oup\030\325\324\325& \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340" + + "A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"]\n\022GetInstanceR" + + "equest\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022\027\n\007proj" + + "ect\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"" + + "J\n\031GetInstanceSettingRequest\022\027\n\007project\030" + + "\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"Y\n\032G" + + "etInstanceTemplateRequest\022\"\n\021instance_te" + + "mplate\030\344\201\273\223\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(" + + "\tB\003\340A\002\"m\n\031GetInstantSnapshotRequest\022!\n\020i" + + "nstant_snapshot\030\342\334\337\272\001 \001(\tB\003\340A\002\022\027\n\007projec" + + "t\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"}\n" + + " GetInterconnectAttachmentRequest\022(\n\027int" + + "erconnect_attachment\030\364\212\367\222\001 \001(\tB\003\340A\002\022\027\n\007p" + "roject\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB" - + "\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B#\n!_optio" - + "ns_requested_policy_version\"\301\001\n\036GetIamPo" - + "licyReservationRequest\0221\n options_reques" - + "ted_policy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007pro" - + "ject\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB" - + "\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B#\n!_options_r" - + "equested_policy_version\"\306\001\n!GetIamPolicy" - + "ResourcePolicyRequest\0221\n options_request" - + "ed_policy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007proj" - + "ect\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A" - + "\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B#\n!_options_" - + "requested_policy_version\"\311\001\n$GetIamPolic", - "yServiceAttachmentRequest\0221\n options_req" - + "uested_policy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007" - + "project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\t" - + "B\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B#\n!_opti" - + "ons_requested_policy_version\"\250\001\n\033GetIamP" - + "olicySnapshotRequest\0221\n options_requeste" - + "d_policy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\027\n\007proje" - + "ct\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340" - + "A\002B#\n!_options_requested_policy_version\"" - + "\302\001\n\035GetIamPolicySubnetworkRequest\0221\n opt" - + "ions_requested_policy_version\030\275\374\205\356\001 \001(\005H" - + "\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030" - + "\364\315\240B \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B" - + "#\n!_options_requested_policy_version\"c\n\031" - + "GetImageFamilyViewRequest\022\027\n\006family\030\344\266\341\234" - + "\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004z" - + "one\030\254\307\344\001 \001(\tB\003\340A\002\"A\n\017GetImageRequest\022\025\n\005" - + "image\030\333\322\352/ \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB" - + "\003\340A\002\"w\n\036GetInstanceGroupManagerRequest\022&" - + "\n\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\027" + + "\003\340A\002\"a\n\036GetInterconnectLocationRequest\022&" + + "\n\025interconnect_location\030\306\330\333\352\001 \001(\tB\003\340A\002\022\027" + + "\n\007project\030\231\226\301l \001(\tB\003\340A\002\"n\n$GetInterconne" + + "ctRemoteLocationRequest\022-\n\034interconnect_" + + "remote_location\030\335\313\255\212\001 \001(\tB\003\340A\002\022\027\n\007projec" + + "t\030\231\226\301l \001(\tB\003\340A\002\"O\n\026GetInterconnectReques" + + "t\022\034\n\014interconnect\030\216\311\214k \001(\tB\003\340A\002\022\027\n\007proje" + + "ct\030\231\226\301l \001(\tB\003\340A\002\"M\n\025GetLicenseCodeReques" + + "t\022\033\n\014license_code\030\253\306Y \001(\tB\003\340A\002\022\027\n\007projec" + + "t\030\231\226\301l \001(\tB\003\340A\002\"E\n\021GetLicenseRequest\022\027\n\007" + + "license\030\301\210\302O \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(" + + "\tB\003\340A\002\"P\n\026GetMachineImageRequest\022\035\n\rmach" + + "ine_image\030\343\376\376 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l " + + "\001(\tB\003\340A\002\"d\n\025GetMachineTypeRequest\022\034\n\014mac" + + "hine_type\030\262\260\312l \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l " + + "\001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"[\n\"GetMac" + + "secConfigInterconnectRequest\022\034\n\014intercon" + + "nect\030\216\311\214k \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003" + + "\340A\002\"\214\001\n\031GetNatIpInfoRouterRequest\022\031\n\010nat" + + "_name\030\351\255\370\312\001 \001(\tH\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\t" + + "B\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\026\n\006router\030" + + "\311\256\356F \001(\tB\003\340A\002B\013\n\t_nat_name\"\371\002\n\037GetNatMap" + + "pingInfoRoutersRequest\022\027\n\006filter\030\370\226\243\240\001 \001" + + "(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\031\n\010" + + "nat_name\030\351\255\370\312\001 \001(\tH\002\210\001\001\022\030\n\010order_by\030\350\375\307L" + + " \001(\tH\003\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\004\210\001\001\022\027\n" + + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(" + + "\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001" + + "(\010H\005\210\001\001\022\026\n\006router\030\311\256\356F \001(\tB\003\340A\002B\t\n\007_filt" + + "erB\016\n\014_max_resultsB\013\n\t_nat_nameB\013\n\t_orde" + + "r_byB\r\n\013_page_tokenB\031\n\027_return_partial_s" + + "uccess\"r\n\033GetNetworkAttachmentRequest\022\"\n" + + "\022network_attachment\030\324\227\217k \001(\tB\003\340A\002\022\027\n\007pro" + + "ject\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340" + + "A\002\"\206\001\n$GetNetworkEdgeSecurityServiceRequ" + + "est\022-\n\035network_edge_security_service\030\247\237\357" + + "J \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006r" + + "egion\030\364\315\240B \001(\tB\003\340A\002\"x\n\036GetNetworkEndpoin" + + "tGroupRequest\022\'\n\026network_endpoint_group\030" + + "\206\313\363\316\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022" + + "\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\\\n\037GetNetworkFirew" + + "allPolicyRequest\022 \n\017firewall_policy\030\321\212\306\355" + + "\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"E\n\021G" + + "etNetworkRequest\022\027\n\007network\030\256\264\205o \001(\tB\003\340A" + + "\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"a\n\023GetNodeGro" + + "upRequest\022\033\n\nnode_group\030\202\374\213\340\001 \001(\tB\003\340A\002\022\027" + "\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\t" - + "B\003\340A\002\"h\n\027GetInstanceGroupRequest\022\036\n\016inst" - + "ance_group\030\325\324\325& \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l" - + " \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"]\n\022GetIn" - + "stanceRequest\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022" - + "\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(" - + "\tB\003\340A\002\"Y\n\032GetInstanceTemplateRequest\022\"\n\021" - + "instance_template\030\344\201\273\223\001 \001(\tB\003\340A\002\022\027\n\007proj" - + "ect\030\231\226\301l \001(\tB\003\340A\002\"m\n\031GetInstantSnapshotR" - + "equest\022!\n\020instant_snapshot\030\342\334\337\272\001 \001(\tB\003\340A" - + "\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 " - + "\001(\tB\003\340A\002\"}\n GetInterconnectAttachmentReq" - + "uest\022(\n\027interconnect_attachment\030\364\212\367\222\001 \001(" - + "\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006regio" - + "n\030\364\315\240B \001(\tB\003\340A\002\"a\n\036GetInterconnectLocati" - + "onRequest\022&\n\025interconnect_location\030\306\330\333\352\001" - + " \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"n\n$Ge" - + "tInterconnectRemoteLocationRequest\022-\n\034in" - + "terconnect_remote_location\030\335\313\255\212\001 \001(\tB\003\340A" - + "\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"O\n\026GetInterco" - + "nnectRequest\022\034\n\014interconnect\030\216\311\214k \001(\tB\003\340" - + "A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"M\n\025GetLicens" - + "eCodeRequest\022\033\n\014license_code\030\253\306Y \001(\tB\003\340A" - + "\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"E\n\021GetLicense" - + "Request\022\027\n\007license\030\301\210\302O \001(\tB\003\340A\002\022\027\n\007proj" - + "ect\030\231\226\301l \001(\tB\003\340A\002\"P\n\026GetMachineImageRequ" - + "est\022\035\n\rmachine_image\030\343\376\376 \001(\tB\003\340A\002\022\027\n\007pr" - + "oject\030\231\226\301l \001(\tB\003\340A\002\"d\n\025GetMachineTypeReq" - + "uest\022\034\n\014machine_type\030\262\260\312l \001(\tB\003\340A\002\022\027\n\007pr" - + "oject\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A" - + "\002\"[\n\"GetMacsecConfigInterconnectRequest\022" - + "\034\n\014interconnect\030\216\311\214k \001(\tB\003\340A\002\022\027\n\007project" - + "\030\231\226\301l \001(\tB\003\340A\002\"\214\001\n\031GetNatIpInfoRouterReq" - + "uest\022\031\n\010nat_name\030\351\255\370\312\001 \001(\tH\000\210\001\001\022\027\n\007proje" + + "B\003\340A\002\"i\n\026GetNodeTemplateRequest\022\036\n\rnode_" + + "template\030\227\344\213\232\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l " + + "\001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"_\n\022GetN" + + "odeTypeRequest\022\032\n\tnode_type\030\327\226\220\336\001 \001(\tB\003\340" + + "A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001" + + " \001(\tB\003\340A\002\"n\n\031GetPacketMirroringRequest\022 " + + "\n\020packet_mirroring\030\314\271\321\n \001(\tB\003\340A\002\022\027\n\007proj" + + "ect\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A" + + "\002\",\n\021GetProjectRequest\022\027\n\007project\030\231\226\301l \001" + + "(\tB\003\340A\002\"f\n!GetPublicAdvertisedPrefixeReq" + + "uest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022(\n\030public_" + + "advertised_prefix\030\236\367\3110 \001(\tB\003\340A\002\"|\n GetPu" + + "blicDelegatedPrefixeRequest\022\027\n\007project\030\231" + + "\226\301l \001(\tB\003\340A\002\022\'\n\027public_delegated_prefix\030" + + "\350\334\261a \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"j\n" + + "\032GetRegionAutoscalerRequest\022\033\n\nautoscale" + + "r\030\327\375\322\366\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" + + "\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"s\n\036GetRegionBa" + + "ckendServiceRequest\022 \n\017backend_service\030\212" + + "\300\256\222\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026" + + "\n\006region\030\364\315\240B \001(\tB\003\340A\002\"j\n\032GetRegionCommi" + + "tmentRequest\022\033\n\ncommitment\030\225\226\363\345\001 \001(\tB\003\340A" + + "\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240" + + "B \001(\tB\003\340A\002\"]\n\024GetRegionDiskRequest\022\024\n\004di" + + "sk\030\235\233\274\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" + + "\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"f\n\030GetRegionDi" + + "skTypeRequest\022\031\n\tdisk_type\030\234\351\254, \001(\tB\003\340A\002" + + "\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B" + + " \001(\tB\003\340A\002\"m\n\033GetRegionHealthCheckRequest" + + "\022\035\n\014health_check\030\345\252\244\223\001 \001(\tB\003\340A\002\022\027\n\007proje" + "ct\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002" - + "\022\026\n\006router\030\311\256\356F \001(\tB\003\340A\002B\013\n\t_nat_name\"\371\002" - + "\n\037GetNatMappingInfoRoutersRequest\022\027\n\006fil" - + "ter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001" - + "(\rH\001\210\001\001\022\031\n\010nat_name\030\351\255\370\312\001 \001(\tH\002\210\001\001\022\030\n\010or" - + "der_by\030\350\375\307L \001(\tH\003\210\001\001\022\032\n\npage_token\030\311\260\304\t " - + "\001(\tH\004\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006reg" - + "ion\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_succ" - + "ess\030\266\244\317\366\001 \001(\010H\005\210\001\001\022\026\n\006router\030\311\256\356F \001(\tB\003\340" - + "A\002B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_nat_na" - + "meB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retur" - + "n_partial_success\"r\n\033GetNetworkAttachmen" - + "tRequest\022\"\n\022network_attachment\030\324\227\217k \001(\tB" - + "\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030" - + "\364\315\240B \001(\tB\003\340A\002\"\206\001\n$GetNetworkEdgeSecurity" - + "ServiceRequest\022-\n\035network_edge_security_" - + "service\030\247\237\357J \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(" - + "\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"x\n\036GetNet" - + "workEndpointGroupRequest\022\'\n\026network_endp" - + "oint_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301" - + "l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\\\n\037GetN" - + "etworkFirewallPolicyRequest\022 \n\017firewall_" - + "policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(" - + "\tB\003\340A\002\"E\n\021GetNetworkRequest\022\027\n\007network\030\256" - + "\264\205o \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"a\n" - + "\023GetNodeGroupRequest\022\033\n\nnode_group\030\202\374\213\340\001" - + " \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zo" - + "ne\030\254\307\344\001 \001(\tB\003\340A\002\"i\n\026GetNodeTemplateReque" - + "st\022\036\n\rnode_template\030\227\344\213\232\001 \001(\tB\003\340A\002\022\027\n\007pr" - + "oject\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003" - + "\340A\002\"_\n\022GetNodeTypeRequest\022\032\n\tnode_type\030\327" - + "\226\220\336\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\024" - + "\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"n\n\031GetPacketMirrori" - + "ngRequest\022 \n\020packet_mirroring\030\314\271\321\n \001(\tB\003" - + "\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364" - + "\315\240B \001(\tB\003\340A\002\",\n\021GetProjectRequest\022\027\n\007pro" - + "ject\030\231\226\301l \001(\tB\003\340A\002\"f\n!GetPublicAdvertise" - + "dPrefixeRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002" - + "\022(\n\030public_advertised_prefix\030\236\367\3110 \001(\tB\003\340" - + "A\002\"|\n GetPublicDelegatedPrefixeRequest\022\027" - + "\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\027public_delega" - + "ted_prefix\030\350\334\261a \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B " - + "\001(\tB\003\340A\002\"j\n\032GetRegionAutoscalerRequest\022\033" - + "\n\nautoscaler\030\327\375\322\366\001 \001(\tB\003\340A\002\022\027\n\007project\030\231" - + "\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"s\n\036" - + "GetRegionBackendServiceRequest\022 \n\017backen" - + "d_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l" - + " \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"j\n\032Get" - + "RegionCommitmentRequest\022\033\n\ncommitment\030\225\226" - + "\363\345\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" - + "\006region\030\364\315\240B \001(\tB\003\340A\002\"]\n\024GetRegionDiskRe" - + "quest\022\024\n\004disk\030\235\233\274\001 \001(\tB\003\340A\002\022\027\n\007project\030\231" - + "\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"f\n\030" - + "GetRegionDiskTypeRequest\022\031\n\tdisk_type\030\234\351" - + "\254, \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006" - + "region\030\364\315\240B \001(\tB\003\340A\002\"m\n\033GetRegionHealthC" - + "heckRequest\022\035\n\014health_check\030\345\252\244\223\001 \001(\tB\003\340" - + "A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315" - + "\240B \001(\tB\003\340A\002\"|\n\"GetRegionHealthCheckServi" - + "ceRequest\022%\n\024health_check_service\030\333\233\335\302\001 " - + "\001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006reg" - + "ion\030\364\315\240B \001(\tB\003\340A\002\"\177\n$GetRegionInstanceGr" - + "oupManagerRequest\022&\n\026instance_group_mana" - + "ger\030\303\367\363v \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340" - + "A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"p\n\035GetRegionI" - + "nstanceGroupRequest\022\036\n\016instance_group\030\325\324" - + "\325& \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006" - + "region\030\364\315\240B \001(\tB\003\340A\002\"w\n GetRegionInstanc" - + "eTemplateRequest\022\"\n\021instance_template\030\344\201" - + "\273\223\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" - + "\006region\030\364\315\240B \001(\tB\003\340A\002\"u\n\037GetRegionInstan" - + "tSnapshotRequest\022!\n\020instant_snapshot\030\342\334\337" - + "\272\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006" - + "region\030\364\315\240B \001(\tB\003\340A\002\"\200\001\n$GetRegionNetwor" - + "kEndpointGroupRequest\022\'\n\026network_endpoin" - + "t_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001" - + "(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"z\n%GetRe" - + "gionNetworkFirewallPolicyRequest\022 \n\017fire" - + "wall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226" - + "\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"\177\n$G" - + "etRegionNotificationEndpointRequest\022&\n\025n" - + "otification_endpoint\030\351\274\326\263\001 \001(\tB\003\340A\002\022\027\n\007p" + + "\"|\n\"GetRegionHealthCheckServiceRequest\022%" + + "\n\024health_check_service\030\333\233\335\302\001 \001(\tB\003\340A\002\022\027\n" + + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(" + + "\tB\003\340A\002\"\177\n$GetRegionInstanceGroupManagerR" + + "equest\022&\n\026instance_group_manager\030\303\367\363v \001(" + + "\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006regio" + + "n\030\364\315\240B \001(\tB\003\340A\002\"p\n\035GetRegionInstanceGrou" + + "pRequest\022\036\n\016instance_group\030\325\324\325& \001(\tB\003\340A\002" + + "\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B" + + " \001(\tB\003\340A\002\"w\n GetRegionInstanceTemplateRe" + + "quest\022\"\n\021instance_template\030\344\201\273\223\001 \001(\tB\003\340A" + + "\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240" + + "B \001(\tB\003\340A\002\"u\n\037GetRegionInstantSnapshotRe" + + "quest\022!\n\020instant_snapshot\030\342\334\337\272\001 \001(\tB\003\340A\002" + + "\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B" + + " \001(\tB\003\340A\002\"\200\001\n$GetRegionNetworkEndpointGr" + + "oupRequest\022\'\n\026network_endpoint_group\030\206\313\363" + + "\316\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006" + + "region\030\364\315\240B \001(\tB\003\340A\002\"z\n%GetRegionNetwork" + + "FirewallPolicyRequest\022 \n\017firewall_policy" + + "\030\321\212\306\355\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002" + + "\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"\177\n$GetRegionNot" + + "ificationEndpointRequest\022&\n\025notification" + + "_endpoint\030\351\274\326\263\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l" + + " \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"n\n\031Get" + + "RegionOperationRequest\022 \n\toperation\030\347\252\353\030" + + " \001(\tB\n\340A\002\372G\004name\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" + + "\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"C\n\020GetRegionRe" + + "quest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region" + + "\030\364\315\240B \001(\tB\003\340A\002\"r\n\036GetRegionSecurityPolic" + + "yRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006reg" + + "ion\030\364\315\240B \001(\tB\003\340A\002\022\037\n\017security_policy\030\221\206\312" + + "Q \001(\tB\003\340A\002\"r\n\036GetRegionSslCertificateReq" + + "uest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030" + + "\364\315\240B \001(\tB\003\340A\002\022\037\n\017ssl_certificate\030\344\327\222\026 \001(" + + "\tB\003\340A\002\"i\n\031GetRegionSslPolicyRequest\022\027\n\007p" + "roject\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB" - + "\003\340A\002\"n\n\031GetRegionOperationRequest\022 \n\tope" - + "ration\030\347\252\353\030 \001(\tB\n\340A\002\372G\004name\022\027\n\007project\030\231" - + "\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"C\n\020" - + "GetRegionRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" - + "\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"r\n\036GetRegionSe" - + "curityPolicyRequest\022\027\n\007project\030\231\226\301l \001(\tB" - + "\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\037\n\017security" - + "_policy\030\221\206\312Q \001(\tB\003\340A\002\"r\n\036GetRegionSslCer" - + "tificateRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002" - + "\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\037\n\017ssl_certific" - + "ate\030\344\327\222\026 \001(\tB\003\340A\002\"i\n\031GetRegionSslPolicyR" - + "equest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006regio" - + "n\030\364\315\240B \001(\tB\003\340A\002\022\033\n\nssl_policy\030\305\375\340\214\001 \001(\tB" - + "\003\340A\002\"u\n\037GetRegionTargetHttpProxyRequest\022" - + "\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B " - + "\001(\tB\003\340A\002\022!\n\021target_http_proxy\030\345\276\322b \001(\tB\003" - + "\340A\002\"w\n GetRegionTargetHttpsProxyRequest\022" - + "\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B " - + "\001(\tB\003\340A\002\022\"\n\022target_https_proxy\030\354\260\372\030 \001(\tB" - + "\003\340A\002\"t\n\036GetRegionTargetTcpProxyRequest\022\027" - + "\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001" - + "(\tB\003\340A\002\022!\n\020target_tcp_proxy\030\342\326\360\357\001 \001(\tB\003\340" - + "A\002\"c\n\026GetRegionUrlMapRequest\022\027\n\007project\030" - + "\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n" - + "\007url_map\030\214\225\201\257\001 \001(\tB\003\340A\002\"c\n\025GetReservatio" - + "nRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\033\n\013res" - + "ervation\030\314\207\325\026 \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB" - + "\003\340A\002\"l\n\030GetResourcePolicyRequest\022\027\n\007proj" - + "ect\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A" - + "\002\022\037\n\017resource_policy\030\203\245\367K \001(\tB\003\340A\002\"A\n\017Ge" - + "tRouteRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\025" - + "\n\005route\030\311\344\3523 \001(\tB\003\340A\002\"[\n\020GetRouterReques" - + "t\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240" - + "B \001(\tB\003\340A\002\022\026\n\006router\030\311\256\356F \001(\tB\003\340A\002\"g\n\034Ge" - + "tRouterStatusRouterRequest\022\027\n\007project\030\231\226" - + "\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\026\n\006r" - + "outer\030\311\256\356F \001(\tB\003\340A\002\"h\n\034GetRuleFirewallPo" - + "licyRequest\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\t" - + "B\003\340A\002\022\031\n\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001B\013\n\t_pri" - + "ority\"\210\001\n#GetRuleNetworkFirewallPolicyRe" - + "quest\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022" - + "\031\n\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226" - + "\301l \001(\tB\003\340A\002B\013\n\t_priority\"\246\001\n)GetRuleRegi" - + "onNetworkFirewallPolicyRequest\022 \n\017firewa" - + "ll_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022\031\n\010priority\030\244\363\241" - + "\324\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006" - + "region\030\364\315\240B \001(\tB\003\340A\002B\013\n\t_priority\"\236\001\n\"Ge" - + "tRuleRegionSecurityPolicyRequest\022\031\n\010prio" - + "rity\030\244\363\241\324\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB" - + "\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\037\n\017security" - + "_policy\030\221\206\312Q \001(\tB\003\340A\002B\013\n\t_priority\"\200\001\n\034G" - + "etRuleSecurityPolicyRequest\022\031\n\010priority\030" - + "\244\363\241\324\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022" - + "\037\n\017security_policy\030\221\206\312Q \001(\tB\003\340A\002B\013\n\t_pri" - + "ority\"g\n\034GetScreenshotInstanceRequest\022\030\n" - + "\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l " - + "\001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"T\n\030GetSec" - + "urityPolicyRequest\022\027\n\007project\030\231\226\301l \001(\tB\003" - + "\340A\002\022\037\n\017security_policy\030\221\206\312Q \001(\tB\003\340A\002\"\255\001\n" - + "\"GetSerialPortOutputInstanceRequest\022\030\n\010i" - + "nstance\030\225\251\332\010 \001(\tB\003\340A\002\022\024\n\004port\030\201\261\322\001 \001(\005H\000" - + "\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\025\n\005start\030\342\210" - + "\2534 \001(\003H\001\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\007\n\005_po" - + "rtB\010\n\006_start\"s\n\033GetServiceAttachmentRequ" - + "est\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364" - + "\315\240B \001(\tB\003\340A\002\022#\n\022service_attachment\030\355\251\320\241\001" - + " \001(\tB\003\340A\002\"u\n*GetShieldedInstanceIdentity" - + "InstanceRequest\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A" - + "\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 " - + "\001(\tB\003\340A\002\"H\n\022GetSnapshotRequest\022\027\n\007projec" - + "t\030\231\226\301l \001(\tB\003\340A\002\022\031\n\010snapshot\030\304\253\353\207\001 \001(\tB\003\340" - + "A\002\"4\n\031GetSnapshotSettingRequest\022\027\n\007proje" - + "ct\030\231\226\301l \001(\tB\003\340A\002\"T\n\030GetSslCertificateReq" - + "uest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\037\n\017ssl_cer" - + "tificate\030\344\327\222\026 \001(\tB\003\340A\002\"K\n\023GetSslPolicyRe" - + "quest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\033\n\nssl_po" - + "licy\030\305\375\340\214\001 \001(\tB\003\340A\002\"k\n\032GetStatusVpnGatew" - + "ayRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006re" - + "gion\030\364\315\240B \001(\tB\003\340A\002\022\034\n\013vpn_gateway\030\371\203\366\301\001 " - + "\001(\tB\003\340A\002\"d\n\024GetSubnetworkRequest\022\027\n\007proj" - + "ect\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A" - + "\002\022\033\n\nsubnetwork\030\356\247\344\222\001 \001(\tB\003\340A\002\"W\n\031GetTar" - + "getGrpcProxyRequest\022\027\n\007project\030\231\226\301l \001(\tB" - + "\003\340A\002\022!\n\021target_grpc_proxy\030\373\264\262\002 \001(\tB\003\340A\002\"" - + "W\n\031GetTargetHttpProxyRequest\022\027\n\007project\030" - + "\231\226\301l \001(\tB\003\340A\002\022!\n\021target_http_proxy\030\345\276\322b " - + "\001(\tB\003\340A\002\"Y\n\032GetTargetHttpsProxyRequest\022\027" - + "\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\"\n\022target_https_" - + "proxy\030\354\260\372\030 \001(\tB\003\340A\002\"k\n\030GetTargetInstance" - + "Request\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022 \n\017targ" - + "et_instance\030\203\217\226\212\001 \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 " - + "\001(\tB\003\340A\002\"d\n\024GetTargetPoolRequest\022\027\n\007proj" + + "\003\340A\002\022\033\n\nssl_policy\030\305\375\340\214\001 \001(\tB\003\340A\002\"u\n\037Get" + + "RegionTargetHttpProxyRequest\022\027\n\007project\030" + + "\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022!\n" + + "\021target_http_proxy\030\345\276\322b \001(\tB\003\340A\002\"w\n GetR" + + "egionTargetHttpsProxyRequest\022\027\n\007project\030" + + "\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\"\n" + + "\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002\"t\n\036Get" + + "RegionTargetTcpProxyRequest\022\027\n\007project\030\231" + + "\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022!\n\020" + + "target_tcp_proxy\030\342\326\360\357\001 \001(\tB\003\340A\002\"c\n\026GetRe" + + "gionUrlMapRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340" + + "A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n\007url_map\030\214\225" + + "\201\257\001 \001(\tB\003\340A\002\"c\n\025GetReservationRequest\022\027\n" + + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\033\n\013reservation\030\314\207" + + "\325\026 \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"l\n\030Get" + + "ResourcePolicyRequest\022\027\n\007project\030\231\226\301l \001(" + + "\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\037\n\017resour" + + "ce_policy\030\203\245\367K \001(\tB\003\340A\002\"A\n\017GetRouteReque" + + "st\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\025\n\005route\030\311\344\352" + + "3 \001(\tB\003\340A\002\"[\n\020GetRouterRequest\022\027\n\007projec" + + "t\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022" + + "\026\n\006router\030\311\256\356F \001(\tB\003\340A\002\"g\n\034GetRouterStat" + + "usRouterRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002" + + "\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\026\n\006router\030\311\256\356F " + + "\001(\tB\003\340A\002\"h\n\034GetRuleFirewallPolicyRequest" + + "\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022\031\n\010pr" + + "iority\030\244\363\241\324\001 \001(\005H\000\210\001\001B\013\n\t_priority\"\210\001\n#G" + + "etRuleNetworkFirewallPolicyRequest\022 \n\017fi" + + "rewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022\031\n\010priority" + + "\030\244\363\241\324\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002" + + "B\013\n\t_priority\"\246\001\n)GetRuleRegionNetworkFi" + + "rewallPolicyRequest\022 \n\017firewall_policy\030\321" + + "\212\306\355\001 \001(\tB\003\340A\002\022\031\n\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001" + + "\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B" + + " \001(\tB\003\340A\002B\013\n\t_priority\"\236\001\n\"GetRuleRegion" + + "SecurityPolicyRequest\022\031\n\010priority\030\244\363\241\324\001 " + + "\001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006reg" + + "ion\030\364\315\240B \001(\tB\003\340A\002\022\037\n\017security_policy\030\221\206\312" + + "Q \001(\tB\003\340A\002B\013\n\t_priority\"\200\001\n\034GetRuleSecur" + + "ityPolicyRequest\022\031\n\010priority\030\244\363\241\324\001 \001(\005H\000" + + "\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\037\n\017security" + + "_policy\030\221\206\312Q \001(\tB\003\340A\002B\013\n\t_priority\"g\n\034Ge" + + "tScreenshotInstanceRequest\022\030\n\010instance\030\225" + + "\251\332\010 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\024\n" + + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"T\n\030GetSecurityPolicy" + + "Request\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\037\n\017secu" + + "rity_policy\030\221\206\312Q \001(\tB\003\340A\002\"\255\001\n\"GetSerialP" + + "ortOutputInstanceRequest\022\030\n\010instance\030\225\251\332" + + "\010 \001(\tB\003\340A\002\022\024\n\004port\030\201\261\322\001 \001(\005H\000\210\001\001\022\027\n\007proj" + + "ect\030\231\226\301l \001(\tB\003\340A\002\022\025\n\005start\030\342\210\2534 \001(\003H\001\210\001\001" + + "\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\007\n\005_portB\010\n\006_star" + + "t\"s\n\033GetServiceAttachmentRequest\022\027\n\007proj" + "ect\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A" - + "\002\022\033\n\013target_pool\030\212\344\370\035 \001(\tB\003\340A\002\"V\n\030GetTar" - + "getSslProxyRequest\022\027\n\007project\030\231\226\301l \001(\tB\003" - + "\340A\002\022!\n\020target_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002\"V" - + "\n\030GetTargetTcpProxyRequest\022\027\n\007project\030\231\226" - + "\301l \001(\tB\003\340A\002\022!\n\020target_tcp_proxy\030\342\326\360\357\001 \001(" - + "\tB\003\340A\002\"r\n\032GetTargetVpnGatewayRequest\022\027\n\007" + + "\002\022#\n\022service_attachment\030\355\251\320\241\001 \001(\tB\003\340A\002\"u" + + "\n*GetShieldedInstanceIdentityInstanceReq" + + "uest\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022\027\n\007projec" + + "t\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"H\n" + + "\022GetSnapshotRequest\022\027\n\007project\030\231\226\301l \001(\tB" + + "\003\340A\002\022\031\n\010snapshot\030\304\253\353\207\001 \001(\tB\003\340A\002\"4\n\031GetSn" + + "apshotSettingRequest\022\027\n\007project\030\231\226\301l \001(\t" + + "B\003\340A\002\"T\n\030GetSslCertificateRequest\022\027\n\007pro" + + "ject\030\231\226\301l \001(\tB\003\340A\002\022\037\n\017ssl_certificate\030\344\327" + + "\222\026 \001(\tB\003\340A\002\"K\n\023GetSslPolicyRequest\022\027\n\007pr" + + "oject\030\231\226\301l \001(\tB\003\340A\002\022\033\n\nssl_policy\030\305\375\340\214\001 " + + "\001(\tB\003\340A\002\"k\n\032GetStatusVpnGatewayRequest\022\027" + + "\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001" + + "(\tB\003\340A\002\022\034\n\013vpn_gateway\030\371\203\366\301\001 \001(\tB\003\340A\002\"e\n" + + "\025GetStoragePoolRequest\022\027\n\007project\030\231\226\301l \001" + + "(\tB\003\340A\002\022\035\n\014storage_pool\030\340\306\361\253\001 \001(\tB\003\340A\002\022\024" + + "\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"n\n\031GetStoragePoolTy" + + "peRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\"\n\021st" + + "orage_pool_type\030\271\201\260\210\001 \001(\tB\003\340A\002\022\024\n\004zone\030\254" + + "\307\344\001 \001(\tB\003\340A\002\"d\n\024GetSubnetworkRequest\022\027\n\007" + "project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\t" - + "B\003\340A\002\022#\n\022target_vpn_gateway\030\313\200\366\375\001 \001(\tB\003\340" - + "A\002\"E\n\020GetUrlMapRequest\022\027\n\007project\030\231\226\301l \001" - + "(\tB\003\340A\002\022\030\n\007url_map\030\214\225\201\257\001 \001(\tB\003\340A\002\"e\n\024Get" - + "VpnGatewayRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340" - + "A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\034\n\013vpn_gatewa" - + "y\030\371\203\366\301\001 \001(\tB\003\340A\002\"b\n\023GetVpnTunnelRequest\022" - + "\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B " - + "\001(\tB\003\340A\002\022\032\n\nvpn_tunnel\030\223\224\312D \001(\tB\003\340A\002\"3\n\030" - + "GetXpnHostProjectRequest\022\027\n\007project\030\231\226\301l" - + " \001(\tB\003\340A\002\"\240\002\n\036GetXpnResourcesProjectsReq" - + "uest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_res" - + "ults\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH" - + "\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007proj" - + "ect\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_succ" - + "ess\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_re" - + "sultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_re" - + "turn_partial_success\"j\n\027GetZoneOperation" - + "Request\022 \n\toperation\030\347\252\353\030 \001(\tB\n\340A\002\372G\004nam" - + "e\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 " - + "\001(\tB\003\340A\002\"?\n\016GetZoneRequest\022\027\n\007project\030\231\226" - + "\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\210\001\n\032Gl" - + "obalAddressesMoveRequest\022\034\n\013description\030" - + "\374\207\326\311\001 \001(\tH\000\210\001\001\022$\n\023destination_address\030\303\261" - + "\236\261\001 \001(\tH\001\210\001\001B\016\n\014_descriptionB\026\n\024_destina" - + "tion_address\"{\n1GlobalNetworkEndpointGro" - + "upsAttachEndpointsRequest\022F\n\021network_end" - + "points\030\255\221\272G \003(\0132(.google.cloud.compute.v" - + "1.NetworkEndpoint\"{\n1GlobalNetworkEndpoi" - + "ntGroupsDetachEndpointsRequest\022F\n\021networ" - + "k_endpoints\030\255\221\272G \003(\0132(.google.cloud.comp" - + "ute.v1.NetworkEndpoint\"\277\001\n\"GlobalOrganiz" - + "ationSetPolicyRequest\0226\n\010bindings\030\216\305\244\300\001 " - + "\003(\0132 .google.cloud.compute.v1.Binding\022\024\n" - + "\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\0227\n\006policy\030\262\312\266+ \001(\0132\037" - + ".google.cloud.compute.v1.PolicyH\001\210\001\001B\007\n\005" - + "_etagB\t\n\007_policy\"\321\001\n\026GlobalSetLabelsRequ" - + "est\022!\n\021label_fingerprint\030\231\360\367T \001(\tH\000\210\001\001\022O" - + "\n\006labels\030\377\277\301\356\001 \003(\0132;.google.cloud.comput" - + "e.v1.GlobalSetLabelsRequest.LabelsEntry\032" - + "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" - + "(\t:\0028\001B\024\n\022_label_fingerprint\"\263\001\n\026GlobalS" - + "etPolicyRequest\0226\n\010bindings\030\216\305\244\300\001 \003(\0132 ." - + "google.cloud.compute.v1.Binding\022\024\n\004etag\030" - + "\225\322\276\001 \001(\tH\000\210\001\001\0227\n\006policy\030\262\312\266+ \001(\0132\037.googl" - + "e.cloud.compute.v1.PolicyH\001\210\001\001B\007\n\005_etagB" - + "\t\n\007_policy\"\304\002\n\017GuestAttributes\022\024\n\004kind\030\224" - + "\367\310\001 \001(\tH\000\210\001\001\022\033\n\nquery_path\030\274\202\341\257\001 \001(\tH\001\210\001" - + "\001\022J\n\013query_value\030\272\256\221K \001(\0132-.google.cloud" - + ".compute.v1.GuestAttributesValueH\002\210\001\001\022\032\n" - + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\034\n\014variable_ke" - + "y\030\234\204\260N \001(\tH\004\210\001\001\022\036\n\016variable_value\030\356\363\263; \001" - + "(\tH\005\210\001\001B\007\n\005_kindB\r\n\013_query_pathB\016\n\014_quer" - + "y_valueB\014\n\n_self_linkB\017\n\r_variable_keyB\021" - + "\n\017_variable_value\"|\n\024GuestAttributesEntr" - + "y\022\022\n\003key\030\337\274\006 \001(\tH\000\210\001\001\022\031\n\tnamespace\030\333\252\215U " - + "\001(\tH\001\210\001\001\022\025\n\005value\030\361\242\2625 \001(\tH\002\210\001\001B\006\n\004_keyB" - + "\014\n\n_namespaceB\010\n\006_value\"W\n\024GuestAttribut" - + "esValue\022?\n\005items\030\300\317\367/ \003(\0132-.google.cloud" - + ".compute.v1.GuestAttributesEntry\"\345\002\n\016Gue" - + "stOsFeature\022\024\n\004type\030\272\236\332\001 \001(\tH\000\210\001\001\"\263\002\n\004Ty" - + "pe\022\022\n\016UNDEFINED_TYPE\020\000\022 \n\030FEATURE_TYPE_U" - + "NSPECIFIED\020\333\277\310\375\001\022\014\n\005GVNIC\020\231\225\303 \022\013\n\004IDPF\020\321" - + "\360\210\001\022\026\n\017MULTI_IP_SUBNET\020\317\333\257H\022\023\n\013SECURE_BO" - + "OT\020\272\335\326\263\001\022\022\n\013SEV_CAPABLE\020\221\226\303)\022\033\n\023SEV_LIVE" - + "_MIGRATABLE\020\214\233\370\272\001\022\035\n\026SEV_LIVE_MIGRATABLE" - + "_V2\020\257\314\257P\022\025\n\017SEV_SNP_CAPABLE\020\247\207\032\022\026\n\017UEFI_" - + "COMPATIBLE\020\300\326\262]\022\035\n\026VIRTIO_SCSI_MULTIQUEU" - + "E\020\215\301\220`\022\017\n\007WINDOWS\020\343\334\354\331\001B\007\n\005_type\"\203\004\n\020HTT" - + "P2HealthCheck\022\024\n\004host\030\250\353\303\001 \001(\tH\000\210\001\001\022\024\n\004p" - + "ort\030\201\261\322\001 \001(\005H\001\210\001\001\022\031\n\tport_name\030\211\207\347\023 \001(\tH" - + "\002\210\001\001\022\"\n\022port_specification\030\305\353\314\030 \001(\tH\003\210\001\001" - + "\022\034\n\014proxy_header\030\376\272\274L \001(\tH\004\210\001\001\022\034\n\014reques" - + "t_path\030\325\327\261m \001(\tH\005\210\001\001\022\030\n\010response\030\301\250\334] \001(" - + "\tH\006\210\001\001\"~\n\021PortSpecification\022 \n\034UNDEFINED" - + "_PORT_SPECIFICATION\020\000\022\025\n\016USE_FIXED_PORT\020" - + "\344\210\333Z\022\026\n\016USE_NAMED_PORT\020\277\317\307\246\001\022\030\n\020USE_SERV" - + "ING_PORT\020\314\321\365\254\001\"H\n\013ProxyHeader\022\032\n\026UNDEFIN" - + "ED_PROXY_HEADER\020\000\022\013\n\004NONE\020\270\316\222\001\022\020\n\010PROXY_" - + "V1\020\254\244\267\237\001B\007\n\005_hostB\007\n\005_portB\014\n\n_port_name" - + "B\025\n\023_port_specificationB\017\n\r_proxy_header" - + "B\017\n\r_request_pathB\013\n\t_response\"\202\004\n\017HTTPH" - + "ealthCheck\022\024\n\004host\030\250\353\303\001 \001(\tH\000\210\001\001\022\024\n\004port" - + "\030\201\261\322\001 \001(\005H\001\210\001\001\022\031\n\tport_name\030\211\207\347\023 \001(\tH\002\210\001" - + "\001\022\"\n\022port_specification\030\305\353\314\030 \001(\tH\003\210\001\001\022\034\n" - + "\014proxy_header\030\376\272\274L \001(\tH\004\210\001\001\022\034\n\014request_p" - + "ath\030\325\327\261m \001(\tH\005\210\001\001\022\030\n\010response\030\301\250\334] \001(\tH\006" - + "\210\001\001\"~\n\021PortSpecification\022 \n\034UNDEFINED_PO" - + "RT_SPECIFICATION\020\000\022\025\n\016USE_FIXED_PORT\020\344\210\333" - + "Z\022\026\n\016USE_NAMED_PORT\020\277\317\307\246\001\022\030\n\020USE_SERVING" - + "_PORT\020\314\321\365\254\001\"H\n\013ProxyHeader\022\032\n\026UNDEFINED_" - + "PROXY_HEADER\020\000\022\013\n\004NONE\020\270\316\222\001\022\020\n\010PROXY_V1\020" - + "\254\244\267\237\001B\007\n\005_hostB\007\n\005_portB\014\n\n_port_nameB\025\n" - + "\023_port_specificationB\017\n\r_proxy_headerB\017\n" - + "\r_request_pathB\013\n\t_response\"\203\004\n\020HTTPSHea" - + "lthCheck\022\024\n\004host\030\250\353\303\001 \001(\tH\000\210\001\001\022\024\n\004port\030\201" - + "\261\322\001 \001(\005H\001\210\001\001\022\031\n\tport_name\030\211\207\347\023 \001(\tH\002\210\001\001\022" - + "\"\n\022port_specification\030\305\353\314\030 \001(\tH\003\210\001\001\022\034\n\014p" - + "roxy_header\030\376\272\274L \001(\tH\004\210\001\001\022\034\n\014request_pat" - + "h\030\325\327\261m \001(\tH\005\210\001\001\022\030\n\010response\030\301\250\334] \001(\tH\006\210\001" - + "\001\"~\n\021PortSpecification\022 \n\034UNDEFINED_PORT" - + "_SPECIFICATION\020\000\022\025\n\016USE_FIXED_PORT\020\344\210\333Z\022" - + "\026\n\016USE_NAMED_PORT\020\277\317\307\246\001\022\030\n\020USE_SERVING_P" - + "ORT\020\314\321\365\254\001\"H\n\013ProxyHeader\022\032\n\026UNDEFINED_PR" - + "OXY_HEADER\020\000\022\013\n\004NONE\020\270\316\222\001\022\020\n\010PROXY_V1\020\254\244" - + "\267\237\001B\007\n\005_hostB\007\n\005_portB\014\n\n_port_nameB\025\n\023_" - + "port_specificationB\017\n\r_proxy_headerB\017\n\r_" - + "request_pathB\013\n\t_response\"\303\n\n\013HealthChec" - + "k\022#\n\022check_interval_sec\030\256\257\343\244\001 \001(\005H\000\210\001\001\022\"" - + "\n\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013de" - + "scription\030\374\207\326\311\001 \001(\tH\002\210\001\001\022K\n\021grpc_health_" - + "check\030\346\247\344( \001(\0132(.google.cloud.compute.v1" - + ".GRPCHealthCheckH\003\210\001\001\022\"\n\021healthy_thresho" - + "ld\030\311\220\242\300\001 \001(\005H\004\210\001\001\022M\n\022http2_health_check\030" - + "\332\265\265\005 \001(\0132).google.cloud.compute.v1.HTTP2" - + "HealthCheckH\005\210\001\001\022L\n\021http_health_check\030\274\247" - + "\336\304\001 \001(\0132(.google.cloud.compute.v1.HTTPHe" - + "althCheckH\006\210\001\001\022N\n\022https_health_check\030\271\230\366" - + "\317\001 \001(\0132).google.cloud.compute.v1.HTTPSHe" - + "althCheckH\007\210\001\001\022\020\n\002id\030\233\032 \001(\004H\010\210\001\001\022\024\n\004kind" - + "\030\224\367\310\001 \001(\tH\t\210\001\001\022J\n\nlog_config\030\235\321\301\247\001 \001(\0132-" - + ".google.cloud.compute.v1.HealthCheckLogC" - + "onfigH\n\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\013\210\001\001\022\026\n\006regi" - + "on\030\364\315\240B \001(\tH\014\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH" - + "\r\210\001\001\022J\n\020ssl_health_check\030\270\351\303\205\001 \001(\0132\'.goo" - + "gle.cloud.compute.v1.SSLHealthCheckH\016\210\001\001" - + "\022J\n\020tcp_health_check\030\203\252\215\340\001 \001(\0132\'.google." - + "cloud.compute.v1.TCPHealthCheckH\017\210\001\001\022\033\n\013" - + "timeout_sec\030\363\300\222& \001(\005H\020\210\001\001\022\024\n\004type\030\272\236\332\001 \001" - + "(\tH\021\210\001\001\022#\n\023unhealthy_threshold\030\320\275\331l \001(\005H" - + "\022\210\001\001\"w\n\004Type\022\022\n\016UNDEFINED_TYPE\020\000\022\013\n\004GRPC" - + "\020\236\210\206\001\022\013\n\004HTTP\020\210\201\210\001\022\014\n\005HTTP2\020\252\241\370 \022\014\n\005HTTP" - + "S\020\313\241\370 \022\017\n\007INVALID\020\327\373\355\374\001\022\t\n\003SSL\020\354\203\005\022\t\n\003TC" - + "P\020\301\207\005B\025\n\023_check_interval_secB\025\n\023_creatio" - + "n_timestampB\016\n\014_descriptionB\024\n\022_grpc_hea" - + "lth_checkB\024\n\022_healthy_thresholdB\025\n\023_http" - + "2_health_checkB\024\n\022_http_health_checkB\025\n\023" - + "_https_health_checkB\005\n\003_idB\007\n\005_kindB\r\n\013_" - + "log_configB\007\n\005_nameB\t\n\007_regionB\014\n\n_self_" - + "linkB\023\n\021_ssl_health_checkB\023\n\021_tcp_health" - + "_checkB\016\n\014_timeout_secB\007\n\005_typeB\026\n\024_unhe" - + "althy_threshold\"\247\002\n\017HealthCheckList\022\020\n\002i" - + "d\030\233\032 \001(\tH\000\210\001\001\0226\n\005items\030\300\317\367/ \003(\0132$.google" - + ".cloud.compute.v1.HealthCheck\022\024\n\004kind\030\224\367" - + "\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH" - + "\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warn" - + "ing\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.W" - + "arningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_pag" - + "e_tokenB\014\n\n_self_linkB\n\n\010_warning\":\n\024Hea" - + "lthCheckLogConfig\022\027\n\006enable\030\203\313\324\224\001 \001(\010H\000\210" - + "\001\001B\t\n\007_enable\"F\n\024HealthCheckReference\022\035\n" - + "\014health_check\030\345\252\244\223\001 \001(\tH\000\210\001\001B\017\n\r_health_" - + "check\"\374\004\n\022HealthCheckService\022\"\n\022creation" - + "_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013description\030" - + "\374\207\326\311\001 \001(\tH\001\210\001\001\022\033\n\013fingerprint\030\344\321\363o \001(\tH\002" - + "\210\001\001\022\031\n\rhealth_checks\030\256\257\346\325\001 \003(\t\0220\n health" - + "_status_aggregation_policy\030\371\354\333x \001(\tH\003\210\001\001" - + "\022\020\n\002id\030\233\032 \001(\004H\004\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\005\210\001\001" - + "\022\024\n\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022\"\n\027network_endpoi" - + "nt_groups\030\255\227\377\r \003(\t\022\"\n\026notification_endpo" - + "ints\030\252\336\370\301\001 \003(\t\022\026\n\006region\030\364\315\240B \001(\tH\007\210\001\001\022\032" - + "\n\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\"r\n\035HealthStat" - + "usAggregationPolicy\022.\n*UNDEFINED_HEALTH_" - + "STATUS_AGGREGATION_POLICY\020\000\022\t\n\003AND\020\267\373\003\022\026", - "\n\016NO_AGGREGATION\020\304\222\254\313\001B\025\n\023_creation_time" - + "stampB\016\n\014_descriptionB\016\n\014_fingerprintB#\n" - + "!_health_status_aggregation_policyB\005\n\003_i" - + "dB\007\n\005_kindB\007\n\005_nameB\t\n\007_regionB\014\n\n_self_" - + "link\"]\n\033HealthCheckServiceReference\022%\n\024h" - + "ealth_check_service\030\333\233\335\302\001 \001(\tH\000\210\001\001B\027\n\025_h" - + "ealth_check_service\"\266\002\n\027HealthCheckServi" - + "cesList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022=\n\005items\030\300\317\367/ " - + "\003(\0132+.google.cloud.compute.v1.HealthChec" - + "kService\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_p" - + "age_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305" - + "\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google" - + ".cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n" - + "\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_link" - + "B\n\n\010_warning\"\304\003\n\032HealthChecksAggregatedL" - + "ist\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022P\n\005items\030\300\317\367/ \003(\0132" - + ">.google.cloud.compute.v1.HealthChecksAg" - + "gregatedList.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\t" - + "H\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032" - + "\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachabl" - + "es\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .google" - + ".cloud.compute.v1.WarningH\004\210\001\001\032]\n\nItemsE" - + "ntry\022\013\n\003key\030\001 \001(\t\022>\n\005value\030\002 \001(\0132/.googl" - + "e.cloud.compute.v1.HealthChecksScopedLis" - + "t:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_toke" - + "nB\014\n\n_self_linkB\n\n\010_warning\"\240\001\n\026HealthCh" - + "ecksScopedList\022?\n\rhealth_checks\030\256\257\346\325\001 \003(" - + "\0132$.google.cloud.compute.v1.HealthCheck\022" - + "9\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.compu" - + "te.v1.WarningH\000\210\001\001B\n\n\010_warning\"\325\005\n\014Healt" - + "hStatus\022N\n\013annotations\030\244\366\2655 \003(\01326.google" - + ".cloud.compute.v1.HealthStatus.Annotatio" - + "nsEntry\022 \n\017forwarding_rule\030\376\245\335\200\001 \001(\tH\000\210\001" - + "\001\022\"\n\022forwarding_rule_ip\030\210\254\221R \001(\tH\001\210\001\001\022\035\n" - + "\014health_state\030\356\351\277\232\001 \001(\tH\002\210\001\001\022\030\n\010instance" - + "\030\225\251\332\010 \001(\tH\003\210\001\001\022\033\n\nip_address\030\334\361\334\301\001 \001(\tH\004" - + "\210\001\001\022\024\n\004port\030\201\261\322\001 \001(\005H\005\210\001\001\022\027\n\006weight\030\370\204\305\206" - + "\001 \001(\tH\006\210\001\001\022\035\n\014weight_error\030\201\373\222\371\001 \001(\tH\007\210\001" - + "\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" - + "lue\030\002 \001(\t:\0028\001\"M\n\013HealthState\022\032\n\026UNDEFINE" - + "D_HEALTH_STATE\020\000\022\017\n\007HEALTHY\020\375\252\333\321\001\022\021\n\tUNH" - + "EALTHY\020\304\271\255\334\001\"\212\001\n\013WeightError\022\032\n\026UNDEFINE" - + "D_WEIGHT_ERROR\020\000\022\026\n\016INVALID_WEIGHT\020\340\213\373\266\001" - + "\022\026\n\016MISSING_WEIGHT\020\221\227\217\267\001\022\032\n\022UNAVAILABLE_" - + "WEIGHT\020\347\342\306\321\001\022\023\n\013WEIGHT_NONE\020\237\351\311\357\001B\022\n\020_fo" - + "rwarding_ruleB\025\n\023_forwarding_rule_ipB\017\n\r" - + "_health_stateB\013\n\t_instanceB\r\n\013_ip_addres" - + "sB\007\n\005_portB\t\n\007_weightB\017\n\r_weight_error\"\347" - + "\004\n\036HealthStatusForNetworkEndpoint\022R\n\017bac" - + "kend_service\030\212\300\256\222\001 \001(\01320.google.cloud.co" - + "mpute.v1.BackendServiceReferenceH\000\210\001\001\022R\n" - + "\017forwarding_rule\030\376\245\335\200\001 \001(\01320.google.clou" - + "d.compute.v1.ForwardingRuleReferenceH\001\210\001" - + "\001\022L\n\014health_check\030\345\252\244\223\001 \001(\0132-.google.clo" - + "ud.compute.v1.HealthCheckReferenceH\002\210\001\001\022" - + "[\n\024health_check_service\030\333\233\335\302\001 \001(\01324.goog" - + "le.cloud.compute.v1.HealthCheckServiceRe" - + "ferenceH\003\210\001\001\022\035\n\014health_state\030\356\351\277\232\001 \001(\tH\004" - + "\210\001\001\"p\n\013HealthState\022\032\n\026UNDEFINED_HEALTH_S" - + "TATE\020\000\022\020\n\010DRAINING\020\352\325\214\345\001\022\017\n\007HEALTHY\020\375\252\333\321" - + "\001\022\021\n\tUNHEALTHY\020\304\271\255\334\001\022\017\n\007UNKNOWN\020\252\360\304\316\001B\022\n" - + "\020_backend_serviceB\022\n\020_forwarding_ruleB\017\n" - + "\r_health_checkB\027\n\025_health_check_serviceB" - + "\017\n\r_health_state\";\n\004Help\0223\n\005links\030\271\237\2151 \003" - + "(\0132!.google.cloud.compute.v1.HelpLink\"T\n" - + "\010HelpLink\022\034\n\013description\030\374\207\326\311\001 \001(\tH\000\210\001\001\022" - + "\022\n\003url\030\357\212\007 \001(\tH\001\210\001\001B\016\n\014_descriptionB\006\n\004_" - + "url\"z\n\010HostRule\022\034\n\013description\030\374\207\326\311\001 \001(\t" - + "H\000\210\001\001\022\020\n\005hosts\030\313\377\266/ \003(\t\022\035\n\014path_matcher\030" - + "\230\276\212\241\001 \001(\tH\001\210\001\001B\016\n\014_descriptionB\017\n\r_path_" - + "matcher\"i\n\016HttpFaultAbort\022\034\n\013http_status" - + "\030\211\267\316\337\001 \001(\rH\000\210\001\001\022\032\n\npercentage\030\232\345\267H \001(\001H\001" - + "\210\001\001B\016\n\014_http_statusB\r\n\013_percentage\"\214\001\n\016H" - + "ttpFaultDelay\022?\n\013fixed_delay\030\370\271\226\227\001 \001(\0132!" - + ".google.cloud.compute.v1.DurationH\000\210\001\001\022\032" - + "\n\npercentage\030\232\345\267H \001(\001H\001\210\001\001B\016\n\014_fixed_del" - + "ayB\r\n\013_percentage\"\250\001\n\022HttpFaultInjection" - + "\022>\n\005abort\030\260\306\224, \001(\0132\'.google.cloud.comput" - + "e.v1.HttpFaultAbortH\000\210\001\001\022>\n\005delay\030\203\363\302- \001" - + "(\0132\'.google.cloud.compute.v1.HttpFaultDe" - + "layH\001\210\001\001B\010\n\006_abortB\010\n\006_delay\"\374\001\n\020HttpHea" - + "derAction\022L\n\026request_headers_to_add\030\346\256\261\"" - + " \003(\0132).google.cloud.compute.v1.HttpHeade" - + "rOption\022$\n\031request_headers_to_remove\030\237\317\223" - + "h \003(\t\022M\n\027response_headers_to_add\030\364\266\251\017 \003(" - + "\0132).google.cloud.compute.v1.HttpHeaderOp" - + "tion\022%\n\032response_headers_to_remove\030\321\201\373# " - + "\003(\t\"\260\003\n\017HttpHeaderMatch\022\034\n\013exact_match\030\205" - + "\231\234\332\001 \001(\tH\000\210\001\001\022\033\n\013header_name\030\375\301\3074 \001(\tH\001\210" - + "\001\001\022\035\n\014invert_match\030\234\310\372\356\001 \001(\010H\002\210\001\001\022\034\n\014pre" - + "fix_match\030\330\363\374z \001(\tH\003\210\001\001\022\035\n\rpresent_match" - + "\030\301\372\223 \001(\010H\004\210\001\001\022E\n\013range_match\030\303\250\257. \001(\0132(" - + ".google.cloud.compute.v1.Int64RangeMatch" - + "H\005\210\001\001\022\033\n\013regex_match\030\315\267\2323 \001(\tH\006\210\001\001\022\035\n\014su" - + "ffix_match\030\327\346\256\313\001 \001(\tH\007\210\001\001B\016\n\014_exact_matc" - + "hB\016\n\014_header_nameB\017\n\r_invert_matchB\017\n\r_p" - + "refix_matchB\020\n\016_present_matchB\016\n\014_range_" - + "matchB\016\n\014_regex_matchB\017\n\r_suffix_match\"\223" - + "\001\n\020HttpHeaderOption\022\033\n\013header_name\030\375\301\3074 " - + "\001(\tH\000\210\001\001\022\034\n\014header_value\030\277\362\353` \001(\tH\001\210\001\001\022\027" - + "\n\007replace\030\264\345\362\t \001(\010H\002\210\001\001B\016\n\014_header_nameB" - + "\017\n\r_header_valueB\n\n\010_replace\"\304\001\n\027HttpQue" - + "ryParameterMatch\022\034\n\013exact_match\030\205\231\234\332\001 \001(" - + "\tH\000\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\001\210\001\001\022\035\n\rpresent_" - + "match\030\301\372\223 \001(\010H\002\210\001\001\022\033\n\013regex_match\030\315\267\2323 " - + "\001(\tH\003\210\001\001B\016\n\014_exact_matchB\007\n\005_nameB\020\n\016_pr" - + "esent_matchB\016\n\014_regex_match\"\214\004\n\022HttpRedi" - + "rectAction\022\035\n\rhost_redirect\030\223\241\2343 \001(\tH\000\210\001" - + "\001\022\036\n\016https_redirect\030\260\361\227Q \001(\010H\001\210\001\001\022\036\n\rpat" - + "h_redirect\030\266\275\356\201\001 \001(\tH\002\210\001\001\022 \n\017prefix_redi" - + "rect\030\351\365\340\324\001 \001(\tH\003\210\001\001\022\'\n\026redirect_response" - + "_code\030\210\330\236\320\001 \001(\tH\004\210\001\001\022\033\n\013strip_query\030\341\231\367\030" - + " \001(\010H\005\210\001\001\"\270\001\n\024RedirectResponseCode\022$\n UN" - + "DEFINED_REDIRECT_RESPONSE_CODE\020\000\022\014\n\005FOUN" - + "D\020\342\276\376\037\022!\n\031MOVED_PERMANENTLY_DEFAULT\020\321\231\262\270" - + "\001\022\032\n\022PERMANENT_REDIRECT\020\355\350\223\266\001\022\021\n\tSEE_OTH" - + "ER\020\344\357\257\324\001\022\032\n\022TEMPORARY_REDIRECT\020\252\344\267\351\001B\020\n\016" - + "_host_redirectB\021\n\017_https_redirectB\020\n\016_pa" - + "th_redirectB\022\n\020_prefix_redirectB\031\n\027_redi" - + "rect_response_codeB\016\n\014_strip_query\"\264\001\n\017H" - + "ttpRetryPolicy\022\033\n\013num_retries\030\215\253\201x \001(\rH\000" - + "\210\001\001\022C\n\017per_try_timeout\030\273\255\304\205\001 \001(\0132!.googl" - + "e.cloud.compute.v1.DurationH\001\210\001\001\022\033\n\020retr" - + "y_conditions\030\257\341\336\r \003(\tB\016\n\014_num_retriesB\022\n" - + "\020_per_try_timeout\"\361\005\n\017HttpRouteAction\022A\n" - + "\013cors_policy\030\204\314\235\276\001 \001(\0132#.google.cloud.co" - + "mpute.v1.CorsPolicyH\000\210\001\001\022T\n\026fault_inject" - + "ion_policy\030\227\224\352\304\001 \001(\0132+.google.cloud.comp" - + "ute.v1.HttpFaultInjectionH\001\210\001\001\022F\n\023max_st" - + "ream_duration\030\230\245\245\035 \001(\0132!.google.cloud.co" - + "mpute.v1.DurationH\002\210\001\001\022S\n\025request_mirror" - + "_policy\030\202\340\377h \001(\0132,.google.cloud.compute." - + "v1.RequestMirrorPolicyH\003\210\001\001\022F\n\014retry_pol" - + "icy\030\251\345\212\033 \001(\0132(.google.cloud.compute.v1.H" - + "ttpRetryPolicyH\004\210\001\001\022;\n\007timeout\030\341\232\275\215\001 \001(\013" - + "2!.google.cloud.compute.v1.DurationH\005\210\001\001" - + "\022A\n\013url_rewrite\030\274\375\252\202\001 \001(\0132#.google.cloud" - + ".compute.v1.UrlRewriteH\006\210\001\001\022V\n\031weighted_" - + "backend_services\030\321\307\332\240\001 \003(\0132/.google.clou" - + "d.compute.v1.WeightedBackendServiceB\016\n\014_" - + "cors_policyB\031\n\027_fault_injection_policyB\026" - + "\n\024_max_stream_durationB\030\n\026_request_mirro" - + "r_policyB\017\n\r_retry_policyB\n\n\010_timeoutB\016\n" - + "\014_url_rewrite\"\345\003\n\rHttpRouteRule\022\034\n\013descr" - + "iption\030\374\207\326\311\001 \001(\tH\000\210\001\001\022I\n\rheader_action\030\250" - + "\240\270\234\001 \001(\0132).google.cloud.compute.v1.HttpH" - + "eaderActionH\001\210\001\001\022D\n\013match_rules\030\375\273\261\263\001 \003(" - + "\0132+.google.cloud.compute.v1.HttpRouteRul" - + "eMatch\022\031\n\010priority\030\244\363\241\324\001 \001(\005H\002\210\001\001\022G\n\014rou" - + "te_action\030\354\251\271\312\001 \001(\0132(.google.cloud.compu" - + "te.v1.HttpRouteActionH\003\210\001\001\022\030\n\007service\030\265\215" - + "\217\262\001 \001(\tH\004\210\001\001\022J\n\014url_redirect\030\254\241\230\301\001 \001(\0132+" - + ".google.cloud.compute.v1.HttpRedirectAct" - + "ionH\005\210\001\001B\016\n\014_descriptionB\020\n\016_header_acti" - + "onB\013\n\t_priorityB\017\n\r_route_actionB\n\n\010_ser" - + "viceB\017\n\r_url_redirect\"\365\003\n\022HttpRouteRuleM" - + "atch\022\037\n\017full_path_match\030\333\211\252f \001(\tH\000\210\001\001\022D\n" - + "\016header_matches\030\201\353\310\254\001 \003(\0132(.google.cloud" - + ".compute.v1.HttpHeaderMatch\022\034\n\013ignore_ca" - + "se\030\375\222\264\335\001 \001(\010H\001\210\001\001\022E\n\020metadata_filters\030\353\315" - + "\314\335\001 \003(\0132\'.google.cloud.compute.v1.Metada" - + "taFilter\022$\n\023path_template_match\030\232\302\263\213\001 \001(" - + "\tH\002\210\001\001\022\034\n\014prefix_match\030\330\363\374z \001(\tH\003\210\001\001\022U\n\027" - + "query_parameter_matches\030\346\225\276\210\001 \003(\01320.goog" - + "le.cloud.compute.v1.HttpQueryParameterMa" - + "tch\022\033\n\013regex_match\030\315\267\2323 \001(\tH\004\210\001\001B\022\n\020_ful" - + "l_path_matchB\016\n\014_ignore_caseB\026\n\024_path_te" - + "mplate_matchB\017\n\r_prefix_matchB\016\n\014_regex_" - + "match\"\271\022\n\005Image\022\035\n\014architecture\030\323\322\261\220\001 \001(" - + "\tH\000\210\001\001\022#\n\022archive_size_bytes\030\312\214\334\265\001 \001(\003H\001" - + "\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022" - + "G\n\ndeprecated\030\263\313\321\365\001 \001(\0132*.google.cloud.c" - + "ompute.v1.DeprecationStatusH\003\210\001\001\022\034\n\013desc" - + "ription\030\374\207\326\311\001 \001(\tH\004\210\001\001\022\035\n\014disk_size_gb\030\267" - + "\232\347\226\001 \001(\003H\005\210\001\001\022+\n\033enable_confidential_com" - + "pute\030\274\353\3310 \001(\010H\006\210\001\001\022\027\n\006family\030\344\266\341\234\001 \001(\tH\007" - + "\210\001\001\022E\n\021guest_os_features\030\321\340\347% \003(\0132\'.goog" - + "le.cloud.compute.v1.GuestOsFeature\022\020\n\002id" - + "\030\233\032 \001(\004H\010\210\001\001\022U\n\024image_encryption_key\030\207\316\373" - + "\264\001 \001(\0132..google.cloud.compute.v1.Custome" - + "rEncryptionKeyH\t\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\n\210\001" - + "\001\022!\n\021label_fingerprint\030\231\360\367T \001(\tH\013\210\001\001\022>\n\006" - + "labels\030\377\277\301\356\001 \003(\0132*.google.cloud.compute." - + "v1.Image.LabelsEntry\022\030\n\rlicense_codes\030\250\205" - + "\330\025 \003(\003\022\024\n\010licenses\030\322\210\200\241\001 \003(\t\022\024\n\004name\030\213\365\315" - + "\001 \001(\tH\014\210\001\001\022;\n\010raw_disk\030\324\316\363\357\001 \001(\0132 .googl" - + "e.cloud.compute.v1.RawDiskH\r\210\001\001\022\036\n\rsatis" - + "fies_pzi\030\241\335\253\345\001 \001(\010H\016\210\001\001\022\036\n\rsatisfies_pzs" - + "\030\253\335\253\345\001 \001(\010H\017\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\020" - + "\210\001\001\022\\\n\037shielded_instance_initial_state\030\203" - + "\304\334[ \001(\0132+.google.cloud.compute.v1.Initia" - + "lStateConfigH\021\210\001\001\022\034\n\013source_disk\030\301\356\264\327\001 \001" - + "(\tH\022\210\001\001\022[\n\032source_disk_encryption_key\030\341\240" - + "\270\375\001 \001(\0132..google.cloud.compute.v1.Custom" - + "erEncryptionKeyH\023\210\001\001\022\037\n\016source_disk_id\030\331" - + "\315\311\330\001 \001(\tH\024\210\001\001\022\034\n\014source_image\030\267\350\206\030 \001(\tH\025" - + "\210\001\001\022\\\n\033source_image_encryption_key\030\253\221\365\265\001" - + " \001(\0132..google.cloud.compute.v1.CustomerE" - + "ncryptionKeyH\026\210\001\001\022\037\n\017source_image_id\030\243\374\260" - + "\032 \001(\tH\027\210\001\001\022\037\n\017source_snapshot\030\350\232\216< \001(\tH\030" - + "\210\001\001\022_\n\036source_snapshot_encryption_key\030\332\216" - + "\347\220\001 \001(\0132..google.cloud.compute.v1.Custom" - + "erEncryptionKeyH\031\210\001\001\022\"\n\022source_snapshot_" - + "id\030\322\226\230/ \001(\tH\032\210\001\001\022\034\n\013source_type\030\336\361\322\327\001 \001(" - + "\tH\033\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\034\210\001\001\022\035\n\021storag" - + "e_locations\030\232\355\263\234\001 \003(\t\032-\n\013LabelsEntry\022\013\n\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"j\n\014Architec" - + "ture\022\032\n\026UNDEFINED_ARCHITECTURE\020\000\022 \n\030ARCH" - + "ITECTURE_UNSPECIFIED\020\253\324\235\274\001\022\014\n\005ARM64\020\372\313\351\035" - + "\022\016\n\006X86_64\020\307\244\346\312\001\"2\n\nSourceType\022\031\n\025UNDEFI" - + "NED_SOURCE_TYPE\020\000\022\t\n\003RAW\020\210\370\004\"^\n\006Status\022\024" - + "\n\020UNDEFINED_STATUS\020\000\022\020\n\010DELETING\020\250\247\207\374\001\022\016" - + "\n\006FAILED\020\275\220\246\331\001\022\016\n\007PENDING\020\367\252\360\020\022\014\n\005READY\020" - + "\203\303\217%B\017\n\r_architectureB\025\n\023_archive_size_b" - + "ytesB\025\n\023_creation_timestampB\r\n\013_deprecat" - + "edB\016\n\014_descriptionB\017\n\r_disk_size_gbB\036\n\034_" - + "enable_confidential_computeB\t\n\007_familyB\005" - + "\n\003_idB\027\n\025_image_encryption_keyB\007\n\005_kindB" - + "\024\n\022_label_fingerprintB\007\n\005_nameB\013\n\t_raw_d" - + "iskB\020\n\016_satisfies_pziB\020\n\016_satisfies_pzsB" - + "\014\n\n_self_linkB\"\n _shielded_instance_init" - + "ial_stateB\016\n\014_source_diskB\035\n\033_source_dis" - + "k_encryption_keyB\021\n\017_source_disk_idB\017\n\r_" - + "source_imageB\036\n\034_source_image_encryption" - + "_keyB\022\n\020_source_image_idB\022\n\020_source_snap" - + "shotB!\n\037_source_snapshot_encryption_keyB" - + "\025\n\023_source_snapshot_idB\016\n\014_source_typeB\t" - + "\n\007_status\"R\n\017ImageFamilyView\0225\n\005image\030\333\322" - + "\352/ \001(\0132\036.google.cloud.compute.v1.ImageH\000" - + "\210\001\001B\010\n\006_image\"\233\002\n\tImageList\022\020\n\002id\030\233\032 \001(\t" - + "H\000\210\001\001\0220\n\005items\030\300\317\367/ \003(\0132\036.google.cloud.c" - + "ompute.v1.Image\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" - + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_l" - + "ink\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 " - + ".google.cloud.compute.v1.WarningH\004\210\001\001B\005\n" - + "\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_se" - + "lf_linkB\n\n\010_warning\"\216\002\n\022InitialStateConf" - + "ig\0229\n\003dbs\030\265\207\006 \003(\0132*.google.cloud.compute" - + ".v1.FileContentBuffer\022;\n\004dbxs\030\371\347\273\001 \003(\0132*" - + ".google.cloud.compute.v1.FileContentBuff" - + "er\022;\n\004keks\030\302\330\310\001 \003(\0132*.google.cloud.compu" - + "te.v1.FileContentBuffer\022<\n\002pk\030\373\033 \001(\0132*.g" - + "oogle.cloud.compute.v1.FileContentBuffer" - + "H\000\210\001\001B\005\n\003_pk\"\312\001\n\024InsertAddressRequest\022C\n" - + "\020address_resource\030\371\227\336\346\001 \001(\0132 .google.clo" - + "ud.compute.v1.AddressB\003\340A\002\022!\n\007project\030\231\226" - + "\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\t" - + "B\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" - + "\001\001B\r\n\013_request_id\"\316\001\n\027InsertAutoscalerRe" - + "quest\022H\n\023autoscaler_resource\030\366\360\377b \001(\0132#." - + "google.cloud.compute.v1.AutoscalerB\003\340A\002\022" - + "!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nre" - + "quest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB" - + "\n\340A\002\362G\004zoneB\r\n\013_request_id\"\274\001\n\032InsertBac" - + "kendBucketRequest\022P\n\027backend_bucket_reso" - + "urce\030\230\316\307\265\001 \001(\0132&.google.cloud.compute.v1" - + ".BackendBucketB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB" - + "\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" - + "\001\001B\r\n\013_request_id\"\277\001\n\033InsertBackendServi" - + "ceRequest\022R\n\030backend_service_resource\030\243\201" - + "\337\245\001 \001(\0132\'.google.cloud.compute.v1.Backen" - + "dServiceB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" - + "\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013" - + "_request_id\"\353\001\n\021InsertDiskRequest\022<\n\rdis" - + "k_resource\030\360\320\253\014 \001(\0132\035.google.cloud.compu" - + "te.v1.DiskB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002" - + "\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\034" - + "\n\014source_image\030\267\350\206\030 \001(\tH\001\210\001\001\022\033\n\004zone\030\254\307\344" - + "\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_idB\017\n\r_sou" - + "rce_image\"\314\001\n\037InsertExternalVpnGatewayRe" - + "quest\022[\n\035external_vpn_gateway_resource\030\210" - + "\337\220\350\001 \001(\0132+.google.cloud.compute.v1.Exter" - + "nalVpnGatewayB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r" - + "\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001" - + "\001B\r\n\013_request_id\"\304\001\n\033InsertFirewallPolic" - + "yRequest\022R\n\030firewall_policy_resource\030\274\266\207" - + "\354\001 \001(\0132\'.google.cloud.compute.v1.Firewal" - + "lPolicyB\003\340A\002\022&\n\tparent_id\030\320\341\232\333\001 \001(\tB\017\340A\002" - + "\362G\tparent_id\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001" - + "B\r\n\013_request_id\"\253\001\n\025InsertFirewallReques" - + "t\022D\n\021firewall_resource\030\355\260\340\023 \001(\0132!.google" - + ".cloud.compute.v1.FirewallB\003\340A\002\022!\n\007proje" - + "ct\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id" - + "\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\340\001\n\033Insert" - + "ForwardingRuleRequest\022R\n\030forwarding_rule" - + "_resource\030\257\300\320\217\001 \001(\0132\'.google.cloud.compu" - + "te.v1.ForwardingRuleB\003\340A\002\022!\n\007project\030\231\226\301" - + "l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB" - + "\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001" - + "\001B\r\n\013_request_id\"\257\001\n\032InsertGlobalAddress" - + "Request\022C\n\020address_resource\030\371\227\336\346\001 \001(\0132 ." - + "google.cloud.compute.v1.AddressB\003\340A\002\022!\n\007" - + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreque" - + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\305\001\n!I" - + "nsertGlobalForwardingRuleRequest\022R\n\030forw" - + "arding_rule_resource\030\257\300\320\217\001 \001(\0132\'.google." - + "cloud.compute.v1.ForwardingRuleB\003\340A\002\022!\n\007" - + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreque" - + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\330\001\n\'I" - + "nsertGlobalNetworkEndpointGroupRequest\022_" - + "\n\037network_endpoint_group_resource\030\247\315\333\372\001 " - + "\001(\0132-.google.cloud.compute.v1.NetworkEnd" - + "pointGroupB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002" - + "\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r" - + "\n\013_request_id\"\333\001\n)InsertGlobalPublicDele" - + "gatedPrefixeRequest\022!\n\007project\030\231\226\301l \001(\tB" - + "\r\340A\002\362G\007project\022`\n public_delegated_prefi" - + "x_resource\030\205\370\330\026 \001(\0132..google.cloud.compu" - + "te.v1.PublicDelegatedPrefixB\003\340A\002\022\032\n\nrequ" - + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\265\001\n\030" - + "InsertHealthCheckRequest\022K\n\025health_check" - + "_resource\030\250\303\244` \001(\0132$.google.cloud.comput" - + "e.v1.HealthCheckB\003\340A\002\022!\n\007project\030\231\226\301l \001(" - + "\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" - + "\000\210\001\001B\r\n\013_request_id\"\322\001\n\022InsertImageReque" - + "st\022\034\n\014force_create\030\320\211\244^ \001(\010H\000\210\001\001\022?\n\016imag" - + "e_resource\030\362\304\376\260\001 \001(\0132\036.google.cloud.comp" - + "ute.v1.ImageB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340" - + "A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001" - + "B\017\n\r_force_createB\r\n\013_request_id\"\356\001\n!Ins" - + "ertInstanceGroupManagerRequest\022^\n\037instan" - + "ce_group_manager_resource\030\212\212\276| \001(\0132-.goo" - + "gle.cloud.compute.v1.InstanceGroupManage" - + "rB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" - + "t\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307" - + "\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\331\001\n\032In" - + "sertInstanceGroupRequest\022P\n\027instance_gro" - + "up_resource\030\270\265\325\210\001 \001(\0132&.google.cloud.com" - + "pute.v1.InstanceGroupB\003\340A\002\022!\n\007project\030\231\226" - + "\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021" - + " \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r" - + "\n\013_request_id\"\317\002\n\025InsertInstanceRequest\022" - + "D\n\021instance_resource\030\370\360\376f \001(\0132!.google.c" - + "loud.compute.v1.InstanceB\003\340A\002\022!\n\007project" - + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313" - + "\201\331\021 \001(\tH\000\210\001\001\022)\n\030source_instance_template" - + "\030\300\303\301\236\001 \001(\tH\001\210\001\001\022$\n\024source_machine_image\030" - + "\277\334\260\n \001(\tH\002\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zo" - + "neB\r\n\013_request_idB\033\n\031_source_instance_te" - + "mplateB\027\n\025_source_machine_image\"\304\001\n\035Inse" - + "rtInstanceTemplateRequest\022U\n\032instance_te" - + "mplate_resource\030\211\352\213\005 \001(\0132).google.cloud." - + "compute.v1.InstanceTemplateB\003\340A\002\022!\n\007proj" - + "ect\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_i" - + "d\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\337\001\n\034Inser" - + "tInstantSnapshotRequest\022T\n\031instant_snaps" - + "hot_resource\030\313\252\210\267\001 \001(\0132(.google.cloud.co" - + "mpute.v1.InstantSnapshotB\003\340A\002\022!\n\007project" - + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313" - + "\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zon" - + "eB\r\n\013_request_id\"\250\002\n#InsertInterconnectA" - + "ttachmentRequest\022a\n interconnect_attachm" - + "ent_resource\030\371\244\240e \001(\0132/.google.cloud.com" - + "pute.v1.InterconnectAttachmentB\003\340A\002\022!\n\007p" - + "roject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region" - + "\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201" - + "\331\021 \001(\tH\000\210\001\001\022\035\n\rvalidate_only\030\265\372\337s \001(\010H\001\210" - + "\001\001B\r\n\013_request_idB\020\n\016_validate_only\"\270\001\n\031" - + "InsertInterconnectRequest\022M\n\025interconnec" - + "t_resource\030\237\241\314\275\001 \001(\0132%.google.cloud.comp" - + "ute.v1.InterconnectB\003\340A\002\022!\n\007project\030\231\226\301l" - + " \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001" - + "(\tH\000\210\001\001B\r\n\013_request_id\"\251\001\n\024InsertLicense" - + "Request\022C\n\020license_resource\030\314\324\352\320\001 \001(\0132 ." - + "google.cloud.compute.v1.LicenseB\003\340A\002\022!\n\007" - + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreque" - + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\356\001\n\031I" - + "nsertMachineImageRequest\022M\n\026machine_imag" - + "e_resource\030\352\252\373\034 \001(\0132%.google.cloud.compu" - + "te.v1.MachineImageB\003\340A\002\022!\n\007project\030\231\226\301l " - + "\001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(" - + "\tH\000\210\001\001\022 \n\017source_instance\030\271\230\375\274\001 \001(\tH\001\210\001\001" - + "B\r\n\013_request_idB\022\n\020_source_instance\"\350\001\n\036" - + "InsertNetworkAttachmentRequest\022W\n\033networ" - + "k_attachment_resource\030\231\360\314d \001(\0132*.google." - + "cloud.compute.v1.NetworkAttachmentB\003\340A\002\022" - + "!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006re" - + "gion\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_i" - + "d\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\267\002\n\'Inser" - + "tNetworkEdgeSecurityServiceRequest\022l\n&ne" - + "twork_edge_security_service_resource\030\246\243\333" - + "\343\001 \001(\01323.google.cloud.compute.v1.Network" - + "EdgeSecurityServiceB\003\340A\002\022!\n\007project\030\231\226\301l" - + " \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014" - + "\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001" - + "\022\035\n\rvalidate_only\030\265\372\337s \001(\010H\001\210\001\001B\r\n\013_requ" - + "est_idB\020\n\016_validate_only\"\357\001\n!InsertNetwo" - + "rkEndpointGroupRequest\022_\n\037network_endpoi" - + "nt_group_resource\030\247\315\333\372\001 \001(\0132-.google.clo" - + "ud.compute.v1.NetworkEndpointGroupB\003\340A\002\022" - + "!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nre" - + "quest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB" - + "\n\340A\002\362G\004zoneB\r\n\013_request_id\"\306\001\n\"InsertNet" - + "workFirewallPolicyRequest\022R\n\030firewall_po" - + "licy_resource\030\274\266\207\354\001 \001(\0132\'.google.cloud.c" - + "ompute.v1.FirewallPolicyB\003\340A\002\022!\n\007project" - + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313" - + "\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\250\001\n\024InsertNe" - + "tworkRequest\022B\n\020network_resource\030\377\335\234: \001(" - + "\0132 .google.cloud.compute.v1.NetworkB\003\340A\002", - "\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nr" - + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\361" - + "\001\n\026InsertNodeGroupRequest\022\"\n\022initial_nod" - + "e_count\030\355\310\247\" \001(\005B\003\340A\002\022H\n\023node_group_reso" - + "urce\030\253\263\372\360\001 \001(\0132\".google.cloud.compute.v1" - + ".NodeGroupB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002" - + "\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033" - + "\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_" - + "id\"\331\001\n\031InsertNodeTemplateRequest\022M\n\026node" - + "_template_resource\030\266\332\335< \001(\0132%.google.clo" - + "ud.compute.v1.NodeTemplateB\003\340A\002\022!\n\007proje" + + "B\003\340A\002\022\033\n\nsubnetwork\030\356\247\344\222\001 \001(\tB\003\340A\002\"W\n\031Ge" + + "tTargetGrpcProxyRequest\022\027\n\007project\030\231\226\301l " + + "\001(\tB\003\340A\002\022!\n\021target_grpc_proxy\030\373\264\262\002 \001(\tB\003" + + "\340A\002\"W\n\031GetTargetHttpProxyRequest\022\027\n\007proj" + + "ect\030\231\226\301l \001(\tB\003\340A\002\022!\n\021target_http_proxy\030\345" + + "\276\322b \001(\tB\003\340A\002\"Y\n\032GetTargetHttpsProxyReque" + + "st\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\"\n\022target_ht" + + "tps_proxy\030\354\260\372\030 \001(\tB\003\340A\002\"k\n\030GetTargetInst" + + "anceRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022 \n\017" + + "target_instance\030\203\217\226\212\001 \001(\tB\003\340A\002\022\024\n\004zone\030\254" + + "\307\344\001 \001(\tB\003\340A\002\"d\n\024GetTargetPoolRequest\022\027\n\007" + + "project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\t" + + "B\003\340A\002\022\033\n\013target_pool\030\212\344\370\035 \001(\tB\003\340A\002\"V\n\030Ge" + + "tTargetSslProxyRequest\022\027\n\007project\030\231\226\301l \001" + + "(\tB\003\340A\002\022!\n\020target_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340" + + "A\002\"V\n\030GetTargetTcpProxyRequest\022\027\n\007projec" + + "t\030\231\226\301l \001(\tB\003\340A\002\022!\n\020target_tcp_proxy\030\342\326\360\357" + + "\001 \001(\tB\003\340A\002\"r\n\032GetTargetVpnGatewayRequest" + + "\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B" + + " \001(\tB\003\340A\002\022#\n\022target_vpn_gateway\030\313\200\366\375\001 \001(" + + "\tB\003\340A\002\"E\n\020GetUrlMapRequest\022\027\n\007project\030\231\226" + + "\301l \001(\tB\003\340A\002\022\030\n\007url_map\030\214\225\201\257\001 \001(\tB\003\340A\002\"e\n" + + "\024GetVpnGatewayRequest\022\027\n\007project\030\231\226\301l \001(" + + "\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\034\n\013vpn_ga" + + "teway\030\371\203\366\301\001 \001(\tB\003\340A\002\"b\n\023GetVpnTunnelRequ" + + "est\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364" + + "\315\240B \001(\tB\003\340A\002\022\032\n\nvpn_tunnel\030\223\224\312D \001(\tB\003\340A\002" + + "\"3\n\030GetXpnHostProjectRequest\022\027\n\007project\030" + + "\231\226\301l \001(\tB\003\340A\002\"\240\002\n\036GetXpnResourcesProject" + + "sRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max" + + "_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L " + + "\001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007" + + "project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_" + + "success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_ma" + + "x_resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n" + + "\027_return_partial_success\"j\n\027GetZoneOpera" + + "tionRequest\022 \n\toperation\030\347\252\353\030 \001(\tB\n\340A\002\372G" + + "\004name\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254" + + "\307\344\001 \001(\tB\003\340A\002\"?\n\016GetZoneRequest\022\027\n\007projec" + + "t\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\210\001" + + "\n\032GlobalAddressesMoveRequest\022\034\n\013descript" + + "ion\030\374\207\326\311\001 \001(\tH\000\210\001\001\022$\n\023destination_addres" + + "s\030\303\261\236\261\001 \001(\tH\001\210\001\001B\016\n\014_descriptionB\026\n\024_des" + + "tination_address\"{\n1GlobalNetworkEndpoin" + + "tGroupsAttachEndpointsRequest\022F\n\021network" + + "_endpoints\030\255\221\272G \003(\0132(.google.cloud.compu" + + "te.v1.NetworkEndpoint\"{\n1GlobalNetworkEn" + + "dpointGroupsDetachEndpointsRequest\022F\n\021ne" + + "twork_endpoints\030\255\221\272G \003(\0132(.google.cloud." + + "compute.v1.NetworkEndpoint\"\277\001\n\"GlobalOrg" + + "anizationSetPolicyRequest\0226\n\010bindings\030\216\305" + + "\244\300\001 \003(\0132 .google.cloud.compute.v1.Bindin" + + "g\022\024\n\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\0227\n\006policy\030\262\312\266+ \001" + + "(\0132\037.google.cloud.compute.v1.PolicyH\001\210\001\001" + + "B\007\n\005_etagB\t\n\007_policy\"\321\001\n\026GlobalSetLabels" + + "Request\022!\n\021label_fingerprint\030\231\360\367T \001(\tH\000\210" + + "\001\001\022O\n\006labels\030\377\277\301\356\001 \003(\0132;.google.cloud.co" + + "mpute.v1.GlobalSetLabelsRequest.LabelsEn" + + "try\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + + "\030\002 \001(\t:\0028\001B\024\n\022_label_fingerprint\"\263\001\n\026Glo" + + "balSetPolicyRequest\0226\n\010bindings\030\216\305\244\300\001 \003(" + + "\0132 .google.cloud.compute.v1.Binding\022\024\n\004e" + + "tag\030\225\322\276\001 \001(\tH\000\210\001\001\0227\n\006policy\030\262\312\266+ \001(\0132\037.g" + + "oogle.cloud.compute.v1.PolicyH\001\210\001\001B\007\n\005_e" + + "tagB\t\n\007_policy\"\304\002\n\017GuestAttributes\022\024\n\004ki" + + "nd\030\224\367\310\001 \001(\tH\000\210\001\001\022\033\n\nquery_path\030\274\202\341\257\001 \001(\t" + + "H\001\210\001\001\022J\n\013query_value\030\272\256\221K \001(\0132-.google.c" + + "loud.compute.v1.GuestAttributesValueH\002\210\001" + + "\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\034\n\014variabl" + + "e_key\030\234\204\260N \001(\tH\004\210\001\001\022\036\n\016variable_value\030\356\363" + + "\263; \001(\tH\005\210\001\001B\007\n\005_kindB\r\n\013_query_pathB\016\n\014_" + + "query_valueB\014\n\n_self_linkB\017\n\r_variable_k" + + "eyB\021\n\017_variable_value\"|\n\024GuestAttributes" + + "Entry\022\022\n\003key\030\337\274\006 \001(\tH\000\210\001\001\022\031\n\tnamespace\030\333" + + "\252\215U \001(\tH\001\210\001\001\022\025\n\005value\030\361\242\2625 \001(\tH\002\210\001\001B\006\n\004_" + + "keyB\014\n\n_namespaceB\010\n\006_value\"W\n\024GuestAttr" + + "ibutesValue\022?\n\005items\030\300\317\367/ \003(\0132-.google.c" + + "loud.compute.v1.GuestAttributesEntry\"\345\002\n" + + "\016GuestOsFeature\022\024\n\004type\030\272\236\332\001 \001(\tH\000\210\001\001\"\263\002" + + "\n\004Type\022\022\n\016UNDEFINED_TYPE\020\000\022 \n\030FEATURE_TY" + + "PE_UNSPECIFIED\020\333\277\310\375\001\022\014\n\005GVNIC\020\231\225\303 \022\013\n\004ID" + + "PF\020\321\360\210\001\022\026\n\017MULTI_IP_SUBNET\020\317\333\257H\022\023\n\013SECUR" + + "E_BOOT\020\272\335\326\263\001\022\022\n\013SEV_CAPABLE\020\221\226\303)\022\033\n\023SEV_" + + "LIVE_MIGRATABLE\020\214\233\370\272\001\022\035\n\026SEV_LIVE_MIGRAT" + + "ABLE_V2\020\257\314\257P\022\025\n\017SEV_SNP_CAPABLE\020\247\207\032\022\026\n\017U" + + "EFI_COMPATIBLE\020\300\326\262]\022\035\n\026VIRTIO_SCSI_MULTI" + + "QUEUE\020\215\301\220`\022\017\n\007WINDOWS\020\343\334\354\331\001B\007\n\005_type\"\203\004\n" + + "\020HTTP2HealthCheck\022\024\n\004host\030\250\353\303\001 \001(\tH\000\210\001\001\022" + + "\024\n\004port\030\201\261\322\001 \001(\005H\001\210\001\001\022\031\n\tport_name\030\211\207\347\023 " + + "\001(\tH\002\210\001\001\022\"\n\022port_specification\030\305\353\314\030 \001(\tH" + + "\003\210\001\001\022\034\n\014proxy_header\030\376\272\274L \001(\tH\004\210\001\001\022\034\n\014re" + + "quest_path\030\325\327\261m \001(\tH\005\210\001\001\022\030\n\010response\030\301\250\334" + + "] \001(\tH\006\210\001\001\"~\n\021PortSpecification\022 \n\034UNDEF" + + "INED_PORT_SPECIFICATION\020\000\022\025\n\016USE_FIXED_P" + + "ORT\020\344\210\333Z\022\026\n\016USE_NAMED_PORT\020\277\317\307\246\001\022\030\n\020USE_" + + "SERVING_PORT\020\314\321\365\254\001\"H\n\013ProxyHeader\022\032\n\026UND" + + "EFINED_PROXY_HEADER\020\000\022\013\n\004NONE\020\270\316\222\001\022\020\n\010PR" + + "OXY_V1\020\254\244\267\237\001B\007\n\005_hostB\007\n\005_portB\014\n\n_port_" + + "nameB\025\n\023_port_specificationB\017\n\r_proxy_he" + + "aderB\017\n\r_request_pathB\013\n\t_response\"\202\004\n\017H" + + "TTPHealthCheck\022\024\n\004host\030\250\353\303\001 \001(\tH\000\210\001\001\022\024\n\004" + + "port\030\201\261\322\001 \001(\005H\001\210\001\001\022\031\n\tport_name\030\211\207\347\023 \001(\t" + + "H\002\210\001\001\022\"\n\022port_specification\030\305\353\314\030 \001(\tH\003\210\001" + + "\001\022\034\n\014proxy_header\030\376\272\274L \001(\tH\004\210\001\001\022\034\n\014reque" + + "st_path\030\325\327\261m \001(\tH\005\210\001\001\022\030\n\010response\030\301\250\334] \001" + + "(\tH\006\210\001\001\"~\n\021PortSpecification\022 \n\034UNDEFINE" + + "D_PORT_SPECIFICATION\020\000\022\025\n\016USE_FIXED_PORT" + + "\020\344\210\333Z\022\026\n\016USE_NAMED_PORT\020\277\317\307\246\001\022\030\n\020USE_SER" + + "VING_PORT\020\314\321\365\254\001\"H\n\013ProxyHeader\022\032\n\026UNDEFI" + + "NED_PROXY_HEADER\020\000\022\013\n\004NONE\020\270\316\222\001\022\020\n\010PROXY" + + "_V1\020\254\244\267\237\001B\007\n\005_hostB\007\n\005_portB\014\n\n_port_nam" + + "eB\025\n\023_port_specificationB\017\n\r_proxy_heade" + + "rB\017\n\r_request_pathB\013\n\t_response\"\203\004\n\020HTTP" + + "SHealthCheck\022\024\n\004host\030\250\353\303\001 \001(\tH\000\210\001\001\022\024\n\004po" + + "rt\030\201\261\322\001 \001(\005H\001\210\001\001\022\031\n\tport_name\030\211\207\347\023 \001(\tH\002" + + "\210\001\001\022\"\n\022port_specification\030\305\353\314\030 \001(\tH\003\210\001\001\022" + + "\034\n\014proxy_header\030\376\272\274L \001(\tH\004\210\001\001\022\034\n\014request" + + "_path\030\325\327\261m \001(\tH\005\210\001\001\022\030\n\010response\030\301\250\334] \001(\t" + + "H\006\210\001\001\"~\n\021PortSpecification\022 \n\034UNDEFINED_" + + "PORT_SPECIFICATION\020\000\022\025\n\016USE_FIXED_PORT\020\344" + + "\210\333Z\022\026\n\016USE_NAMED_PORT\020\277\317\307\246\001\022\030\n\020USE_SERVI" + + "NG_PORT\020\314\321\365\254\001\"H\n\013ProxyHeader\022\032\n\026UNDEFINE" + + "D_PROXY_HEADER\020\000\022\013\n\004NONE\020\270\316\222\001\022\020\n\010PROXY_V" + + "1\020\254\244\267\237\001B\007\n\005_hostB\007\n\005_portB\014\n\n_port_nameB", + "\025\n\023_port_specificationB\017\n\r_proxy_headerB" + + "\017\n\r_request_pathB\013\n\t_response\"\303\n\n\013Health" + + "Check\022#\n\022check_interval_sec\030\256\257\343\244\001 \001(\005H\000\210" + + "\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034" + + "\n\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022K\n\021grpc_hea" + + "lth_check\030\346\247\344( \001(\0132(.google.cloud.comput" + + "e.v1.GRPCHealthCheckH\003\210\001\001\022\"\n\021healthy_thr" + + "eshold\030\311\220\242\300\001 \001(\005H\004\210\001\001\022M\n\022http2_health_ch" + + "eck\030\332\265\265\005 \001(\0132).google.cloud.compute.v1.H" + + "TTP2HealthCheckH\005\210\001\001\022L\n\021http_health_chec" + + "k\030\274\247\336\304\001 \001(\0132(.google.cloud.compute.v1.HT" + + "TPHealthCheckH\006\210\001\001\022N\n\022https_health_check" + + "\030\271\230\366\317\001 \001(\0132).google.cloud.compute.v1.HTT" + + "PSHealthCheckH\007\210\001\001\022\020\n\002id\030\233\032 \001(\004H\010\210\001\001\022\024\n\004" + + "kind\030\224\367\310\001 \001(\tH\t\210\001\001\022J\n\nlog_config\030\235\321\301\247\001 \001" + + "(\0132-.google.cloud.compute.v1.HealthCheck" + + "LogConfigH\n\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\013\210\001\001\022\026\n\006" + + "region\030\364\315\240B \001(\tH\014\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 " + + "\001(\tH\r\210\001\001\022J\n\020ssl_health_check\030\270\351\303\205\001 \001(\0132\'" + + ".google.cloud.compute.v1.SSLHealthCheckH" + + "\016\210\001\001\022J\n\020tcp_health_check\030\203\252\215\340\001 \001(\0132\'.goo" + + "gle.cloud.compute.v1.TCPHealthCheckH\017\210\001\001" + + "\022\033\n\013timeout_sec\030\363\300\222& \001(\005H\020\210\001\001\022\024\n\004type\030\272\236" + + "\332\001 \001(\tH\021\210\001\001\022#\n\023unhealthy_threshold\030\320\275\331l " + + "\001(\005H\022\210\001\001\"w\n\004Type\022\022\n\016UNDEFINED_TYPE\020\000\022\013\n\004" + + "GRPC\020\236\210\206\001\022\013\n\004HTTP\020\210\201\210\001\022\014\n\005HTTP2\020\252\241\370 \022\014\n\005" + + "HTTPS\020\313\241\370 \022\017\n\007INVALID\020\327\373\355\374\001\022\t\n\003SSL\020\354\203\005\022\t" + + "\n\003TCP\020\301\207\005B\025\n\023_check_interval_secB\025\n\023_cre" + + "ation_timestampB\016\n\014_descriptionB\024\n\022_grpc" + + "_health_checkB\024\n\022_healthy_thresholdB\025\n\023_" + + "http2_health_checkB\024\n\022_http_health_check" + + "B\025\n\023_https_health_checkB\005\n\003_idB\007\n\005_kindB" + + "\r\n\013_log_configB\007\n\005_nameB\t\n\007_regionB\014\n\n_s" + + "elf_linkB\023\n\021_ssl_health_checkB\023\n\021_tcp_he" + + "alth_checkB\016\n\014_timeout_secB\007\n\005_typeB\026\n\024_" + + "unhealthy_threshold\"\247\002\n\017HealthCheckList\022" + + "\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0226\n\005items\030\300\317\367/ \003(\0132$.go" + + "ogle.cloud.compute.v1.HealthCheck\022\024\n\004kin" + + "d\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& " + + "\001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007" + + "warning\030\234\337\226\030 \001(\0132 .google.cloud.compute." + + "v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next" + + "_page_tokenB\014\n\n_self_linkB\n\n\010_warning\":\n" + + "\024HealthCheckLogConfig\022\027\n\006enable\030\203\313\324\224\001 \001(" + + "\010H\000\210\001\001B\t\n\007_enable\"F\n\024HealthCheckReferenc" + + "e\022\035\n\014health_check\030\345\252\244\223\001 \001(\tH\000\210\001\001B\017\n\r_hea" + + "lth_check\"\374\004\n\022HealthCheckService\022\"\n\022crea" + + "tion_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013descript" + + "ion\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\033\n\013fingerprint\030\344\321\363o \001" + + "(\tH\002\210\001\001\022\031\n\rhealth_checks\030\256\257\346\325\001 \003(\t\0220\n he" + + "alth_status_aggregation_policy\030\371\354\333x \001(\tH" + + "\003\210\001\001\022\020\n\002id\030\233\032 \001(\004H\004\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH" + + "\005\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022\"\n\027network_en" + + "dpoint_groups\030\255\227\377\r \003(\t\022\"\n\026notification_e" + + "ndpoints\030\252\336\370\301\001 \003(\t\022\026\n\006region\030\364\315\240B \001(\tH\007\210" + + "\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\"r\n\035Health" + + "StatusAggregationPolicy\022.\n*UNDEFINED_HEA" + + "LTH_STATUS_AGGREGATION_POLICY\020\000\022\t\n\003AND\020\267" + + "\373\003\022\026\n\016NO_AGGREGATION\020\304\222\254\313\001B\025\n\023_creation_" + + "timestampB\016\n\014_descriptionB\016\n\014_fingerprin" + + "tB#\n!_health_status_aggregation_policyB\005" + + "\n\003_idB\007\n\005_kindB\007\n\005_nameB\t\n\007_regionB\014\n\n_s" + + "elf_link\"]\n\033HealthCheckServiceReference\022" + + "%\n\024health_check_service\030\333\233\335\302\001 \001(\tH\000\210\001\001B\027" + + "\n\025_health_check_service\"\266\002\n\027HealthCheckS" + + "ervicesList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022=\n\005items\030\300" + + "\317\367/ \003(\0132+.google.cloud.compute.v1.Health" + + "CheckService\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017ne" + + "xt_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link" + + "\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .go" + + "ogle.cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_i" + + "dB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_" + + "linkB\n\n\010_warning\"\304\003\n\032HealthChecksAggrega" + + "tedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022P\n\005items\030\300\317\367/ " + + "\003(\0132>.google.cloud.compute.v1.HealthChec" + + "ksAggregatedList.ItemsEntry\022\024\n\004kind\030\224\367\310\001" + + " \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210" + + "\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreac" + + "hables\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .go" + + "ogle.cloud.compute.v1.WarningH\004\210\001\001\032]\n\nIt" + + "emsEntry\022\013\n\003key\030\001 \001(\t\022>\n\005value\030\002 \001(\0132/.g" + + "oogle.cloud.compute.v1.HealthChecksScope" + + "dList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_" + + "tokenB\014\n\n_self_linkB\n\n\010_warning\"\240\001\n\026Heal" + + "thChecksScopedList\022?\n\rhealth_checks\030\256\257\346\325" + + "\001 \003(\0132$.google.cloud.compute.v1.HealthCh" + + "eck\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.c" + + "ompute.v1.WarningH\000\210\001\001B\n\n\010_warning\"\325\005\n\014H" + + "ealthStatus\022N\n\013annotations\030\244\366\2655 \003(\01326.go" + + "ogle.cloud.compute.v1.HealthStatus.Annot" + + "ationsEntry\022 \n\017forwarding_rule\030\376\245\335\200\001 \001(\t" + + "H\000\210\001\001\022\"\n\022forwarding_rule_ip\030\210\254\221R \001(\tH\001\210\001" + + "\001\022\035\n\014health_state\030\356\351\277\232\001 \001(\tH\002\210\001\001\022\030\n\010inst" + + "ance\030\225\251\332\010 \001(\tH\003\210\001\001\022\033\n\nip_address\030\334\361\334\301\001 \001" + + "(\tH\004\210\001\001\022\024\n\004port\030\201\261\322\001 \001(\005H\005\210\001\001\022\027\n\006weight\030" + + "\370\204\305\206\001 \001(\tH\006\210\001\001\022\035\n\014weight_error\030\201\373\222\371\001 \001(\t" + + "H\007\210\001\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r" + + "\n\005value\030\002 \001(\t:\0028\001\"M\n\013HealthState\022\032\n\026UNDE" + + "FINED_HEALTH_STATE\020\000\022\017\n\007HEALTHY\020\375\252\333\321\001\022\021\n" + + "\tUNHEALTHY\020\304\271\255\334\001\"\212\001\n\013WeightError\022\032\n\026UNDE" + + "FINED_WEIGHT_ERROR\020\000\022\026\n\016INVALID_WEIGHT\020\340" + + "\213\373\266\001\022\026\n\016MISSING_WEIGHT\020\221\227\217\267\001\022\032\n\022UNAVAILA" + + "BLE_WEIGHT\020\347\342\306\321\001\022\023\n\013WEIGHT_NONE\020\237\351\311\357\001B\022\n" + + "\020_forwarding_ruleB\025\n\023_forwarding_rule_ip" + + "B\017\n\r_health_stateB\013\n\t_instanceB\r\n\013_ip_ad" + + "dressB\007\n\005_portB\t\n\007_weightB\017\n\r_weight_err" + + "or\"\347\004\n\036HealthStatusForNetworkEndpoint\022R\n" + + "\017backend_service\030\212\300\256\222\001 \001(\01320.google.clou" + + "d.compute.v1.BackendServiceReferenceH\000\210\001" + + "\001\022R\n\017forwarding_rule\030\376\245\335\200\001 \001(\01320.google." + + "cloud.compute.v1.ForwardingRuleReference" + + "H\001\210\001\001\022L\n\014health_check\030\345\252\244\223\001 \001(\0132-.google" + + ".cloud.compute.v1.HealthCheckReferenceH\002" + + "\210\001\001\022[\n\024health_check_service\030\333\233\335\302\001 \001(\01324." + + "google.cloud.compute.v1.HealthCheckServi" + + "ceReferenceH\003\210\001\001\022\035\n\014health_state\030\356\351\277\232\001 \001" + + "(\tH\004\210\001\001\"p\n\013HealthState\022\032\n\026UNDEFINED_HEAL" + + "TH_STATE\020\000\022\020\n\010DRAINING\020\352\325\214\345\001\022\017\n\007HEALTHY\020" + + "\375\252\333\321\001\022\021\n\tUNHEALTHY\020\304\271\255\334\001\022\017\n\007UNKNOWN\020\252\360\304\316" + + "\001B\022\n\020_backend_serviceB\022\n\020_forwarding_rul" + + "eB\017\n\r_health_checkB\027\n\025_health_check_serv" + + "iceB\017\n\r_health_state\";\n\004Help\0223\n\005links\030\271\237" + + "\2151 \003(\0132!.google.cloud.compute.v1.HelpLin" + + "k\"T\n\010HelpLink\022\034\n\013description\030\374\207\326\311\001 \001(\tH\000" + + "\210\001\001\022\022\n\003url\030\357\212\007 \001(\tH\001\210\001\001B\016\n\014_descriptionB" + + "\006\n\004_url\"z\n\010HostRule\022\034\n\013description\030\374\207\326\311\001" + + " \001(\tH\000\210\001\001\022\020\n\005hosts\030\313\377\266/ \003(\t\022\035\n\014path_matc" + + "her\030\230\276\212\241\001 \001(\tH\001\210\001\001B\016\n\014_descriptionB\017\n\r_p" + + "ath_matcher\"i\n\016HttpFaultAbort\022\034\n\013http_st" + + "atus\030\211\267\316\337\001 \001(\rH\000\210\001\001\022\032\n\npercentage\030\232\345\267H \001" + + "(\001H\001\210\001\001B\016\n\014_http_statusB\r\n\013_percentage\"\214" + + "\001\n\016HttpFaultDelay\022?\n\013fixed_delay\030\370\271\226\227\001 \001" + + "(\0132!.google.cloud.compute.v1.DurationH\000\210" + + "\001\001\022\032\n\npercentage\030\232\345\267H \001(\001H\001\210\001\001B\016\n\014_fixed" + + "_delayB\r\n\013_percentage\"\250\001\n\022HttpFaultInjec" + + "tion\022>\n\005abort\030\260\306\224, \001(\0132\'.google.cloud.co" + + "mpute.v1.HttpFaultAbortH\000\210\001\001\022>\n\005delay\030\203\363" + + "\302- \001(\0132\'.google.cloud.compute.v1.HttpFau" + + "ltDelayH\001\210\001\001B\010\n\006_abortB\010\n\006_delay\"\374\001\n\020Htt" + + "pHeaderAction\022L\n\026request_headers_to_add\030" + + "\346\256\261\" \003(\0132).google.cloud.compute.v1.HttpH" + + "eaderOption\022$\n\031request_headers_to_remove" + + "\030\237\317\223h \003(\t\022M\n\027response_headers_to_add\030\364\266\251" + + "\017 \003(\0132).google.cloud.compute.v1.HttpHead" + + "erOption\022%\n\032response_headers_to_remove\030\321" + + "\201\373# \003(\t\"\260\003\n\017HttpHeaderMatch\022\034\n\013exact_mat" + + "ch\030\205\231\234\332\001 \001(\tH\000\210\001\001\022\033\n\013header_name\030\375\301\3074 \001(" + + "\tH\001\210\001\001\022\035\n\014invert_match\030\234\310\372\356\001 \001(\010H\002\210\001\001\022\034\n" + + "\014prefix_match\030\330\363\374z \001(\tH\003\210\001\001\022\035\n\rpresent_m" + + "atch\030\301\372\223 \001(\010H\004\210\001\001\022E\n\013range_match\030\303\250\257. \001" + + "(\0132(.google.cloud.compute.v1.Int64RangeM" + + "atchH\005\210\001\001\022\033\n\013regex_match\030\315\267\2323 \001(\tH\006\210\001\001\022\035" + + "\n\014suffix_match\030\327\346\256\313\001 \001(\tH\007\210\001\001B\016\n\014_exact_" + + "matchB\016\n\014_header_nameB\017\n\r_invert_matchB\017" + + "\n\r_prefix_matchB\020\n\016_present_matchB\016\n\014_ra" + + "nge_matchB\016\n\014_regex_matchB\017\n\r_suffix_mat" + + "ch\"\223\001\n\020HttpHeaderOption\022\033\n\013header_name\030\375" + + "\301\3074 \001(\tH\000\210\001\001\022\034\n\014header_value\030\277\362\353` \001(\tH\001\210" + + "\001\001\022\027\n\007replace\030\264\345\362\t \001(\010H\002\210\001\001B\016\n\014_header_n" + + "ameB\017\n\r_header_valueB\n\n\010_replace\"\304\001\n\027Htt" + + "pQueryParameterMatch\022\034\n\013exact_match\030\205\231\234\332" + + "\001 \001(\tH\000\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\001\210\001\001\022\035\n\rpres" + + "ent_match\030\301\372\223 \001(\010H\002\210\001\001\022\033\n\013regex_match\030\315" + + "\267\2323 \001(\tH\003\210\001\001B\016\n\014_exact_matchB\007\n\005_nameB\020\n" + + "\016_present_matchB\016\n\014_regex_match\"\214\004\n\022Http" + + "RedirectAction\022\035\n\rhost_redirect\030\223\241\2343 \001(\t" + + "H\000\210\001\001\022\036\n\016https_redirect\030\260\361\227Q \001(\010H\001\210\001\001\022\036\n" + + "\rpath_redirect\030\266\275\356\201\001 \001(\tH\002\210\001\001\022 \n\017prefix_" + + "redirect\030\351\365\340\324\001 \001(\tH\003\210\001\001\022\'\n\026redirect_resp" + + "onse_code\030\210\330\236\320\001 \001(\tH\004\210\001\001\022\033\n\013strip_query\030" + + "\341\231\367\030 \001(\010H\005\210\001\001\"\270\001\n\024RedirectResponseCode\022$" + + "\n UNDEFINED_REDIRECT_RESPONSE_CODE\020\000\022\014\n\005" + + "FOUND\020\342\276\376\037\022!\n\031MOVED_PERMANENTLY_DEFAULT\020" + + "\321\231\262\270\001\022\032\n\022PERMANENT_REDIRECT\020\355\350\223\266\001\022\021\n\tSEE" + + "_OTHER\020\344\357\257\324\001\022\032\n\022TEMPORARY_REDIRECT\020\252\344\267\351\001" + + "B\020\n\016_host_redirectB\021\n\017_https_redirectB\020\n" + + "\016_path_redirectB\022\n\020_prefix_redirectB\031\n\027_" + + "redirect_response_codeB\016\n\014_strip_query\"\264" + + "\001\n\017HttpRetryPolicy\022\033\n\013num_retries\030\215\253\201x \001" + + "(\rH\000\210\001\001\022C\n\017per_try_timeout\030\273\255\304\205\001 \001(\0132!.g" + + "oogle.cloud.compute.v1.DurationH\001\210\001\001\022\033\n\020" + + "retry_conditions\030\257\341\336\r \003(\tB\016\n\014_num_retrie" + + "sB\022\n\020_per_try_timeout\"\361\005\n\017HttpRouteActio" + + "n\022A\n\013cors_policy\030\204\314\235\276\001 \001(\0132#.google.clou" + + "d.compute.v1.CorsPolicyH\000\210\001\001\022T\n\026fault_in" + + "jection_policy\030\227\224\352\304\001 \001(\0132+.google.cloud." + + "compute.v1.HttpFaultInjectionH\001\210\001\001\022F\n\023ma" + + "x_stream_duration\030\230\245\245\035 \001(\0132!.google.clou" + + "d.compute.v1.DurationH\002\210\001\001\022S\n\025request_mi" + + "rror_policy\030\202\340\377h \001(\0132,.google.cloud.comp" + + "ute.v1.RequestMirrorPolicyH\003\210\001\001\022F\n\014retry" + + "_policy\030\251\345\212\033 \001(\0132(.google.cloud.compute." + + "v1.HttpRetryPolicyH\004\210\001\001\022;\n\007timeout\030\341\232\275\215\001" + + " \001(\0132!.google.cloud.compute.v1.DurationH" + + "\005\210\001\001\022A\n\013url_rewrite\030\274\375\252\202\001 \001(\0132#.google.c" + + "loud.compute.v1.UrlRewriteH\006\210\001\001\022V\n\031weigh" + + "ted_backend_services\030\321\307\332\240\001 \003(\0132/.google." + + "cloud.compute.v1.WeightedBackendServiceB" + + "\016\n\014_cors_policyB\031\n\027_fault_injection_poli" + + "cyB\026\n\024_max_stream_durationB\030\n\026_request_m" + + "irror_policyB\017\n\r_retry_policyB\n\n\010_timeou" + + "tB\016\n\014_url_rewrite\"\345\003\n\rHttpRouteRule\022\034\n\013d" + + "escription\030\374\207\326\311\001 \001(\tH\000\210\001\001\022I\n\rheader_acti" + + "on\030\250\240\270\234\001 \001(\0132).google.cloud.compute.v1.H" + + "ttpHeaderActionH\001\210\001\001\022D\n\013match_rules\030\375\273\261\263" + + "\001 \003(\0132+.google.cloud.compute.v1.HttpRout" + + "eRuleMatch\022\031\n\010priority\030\244\363\241\324\001 \001(\005H\002\210\001\001\022G\n" + + "\014route_action\030\354\251\271\312\001 \001(\0132(.google.cloud.c" + + "ompute.v1.HttpRouteActionH\003\210\001\001\022\030\n\007servic" + + "e\030\265\215\217\262\001 \001(\tH\004\210\001\001\022J\n\014url_redirect\030\254\241\230\301\001 \001" + + "(\0132+.google.cloud.compute.v1.HttpRedirec" + + "tActionH\005\210\001\001B\016\n\014_descriptionB\020\n\016_header_" + + "actionB\013\n\t_priorityB\017\n\r_route_actionB\n\n\010" + + "_serviceB\017\n\r_url_redirect\"\365\003\n\022HttpRouteR" + + "uleMatch\022\037\n\017full_path_match\030\333\211\252f \001(\tH\000\210\001" + + "\001\022D\n\016header_matches\030\201\353\310\254\001 \003(\0132(.google.c" + + "loud.compute.v1.HttpHeaderMatch\022\034\n\013ignor" + + "e_case\030\375\222\264\335\001 \001(\010H\001\210\001\001\022E\n\020metadata_filter" + + "s\030\353\315\314\335\001 \003(\0132\'.google.cloud.compute.v1.Me" + + "tadataFilter\022$\n\023path_template_match\030\232\302\263\213" + + "\001 \001(\tH\002\210\001\001\022\034\n\014prefix_match\030\330\363\374z \001(\tH\003\210\001\001" + + "\022U\n\027query_parameter_matches\030\346\225\276\210\001 \003(\01320." + + "google.cloud.compute.v1.HttpQueryParamet" + + "erMatch\022\033\n\013regex_match\030\315\267\2323 \001(\tH\004\210\001\001B\022\n\020" + + "_full_path_matchB\016\n\014_ignore_caseB\026\n\024_pat" + + "h_template_matchB\017\n\r_prefix_matchB\016\n\014_re" + + "gex_match\"\271\022\n\005Image\022\035\n\014architecture\030\323\322\261\220" + + "\001 \001(\tH\000\210\001\001\022#\n\022archive_size_bytes\030\312\214\334\265\001 \001" + + "(\003H\001\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\002" + + "\210\001\001\022G\n\ndeprecated\030\263\313\321\365\001 \001(\0132*.google.clo" + + "ud.compute.v1.DeprecationStatusH\003\210\001\001\022\034\n\013" + + "description\030\374\207\326\311\001 \001(\tH\004\210\001\001\022\035\n\014disk_size_" + + "gb\030\267\232\347\226\001 \001(\003H\005\210\001\001\022+\n\033enable_confidential" + + "_compute\030\274\353\3310 \001(\010H\006\210\001\001\022\027\n\006family\030\344\266\341\234\001 \001" + + "(\tH\007\210\001\001\022E\n\021guest_os_features\030\321\340\347% \003(\0132\'." + + "google.cloud.compute.v1.GuestOsFeature\022\020" + + "\n\002id\030\233\032 \001(\004H\010\210\001\001\022U\n\024image_encryption_key" + + "\030\207\316\373\264\001 \001(\0132..google.cloud.compute.v1.Cus" + + "tomerEncryptionKeyH\t\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\t" + + "H\n\210\001\001\022!\n\021label_fingerprint\030\231\360\367T \001(\tH\013\210\001\001" + + "\022>\n\006labels\030\377\277\301\356\001 \003(\0132*.google.cloud.comp" + + "ute.v1.Image.LabelsEntry\022\030\n\rlicense_code" + + "s\030\250\205\330\025 \003(\003\022\024\n\010licenses\030\322\210\200\241\001 \003(\t\022\024\n\004name" + + "\030\213\365\315\001 \001(\tH\014\210\001\001\022;\n\010raw_disk\030\324\316\363\357\001 \001(\0132 .g" + + "oogle.cloud.compute.v1.RawDiskH\r\210\001\001\022\036\n\rs" + + "atisfies_pzi\030\241\335\253\345\001 \001(\010H\016\210\001\001\022\036\n\rsatisfies" + + "_pzs\030\253\335\253\345\001 \001(\010H\017\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001" + + "(\tH\020\210\001\001\022\\\n\037shielded_instance_initial_sta" + + "te\030\203\304\334[ \001(\0132+.google.cloud.compute.v1.In" + + "itialStateConfigH\021\210\001\001\022\034\n\013source_disk\030\301\356\264" + + "\327\001 \001(\tH\022\210\001\001\022[\n\032source_disk_encryption_ke" + + "y\030\341\240\270\375\001 \001(\0132..google.cloud.compute.v1.Cu" + + "stomerEncryptionKeyH\023\210\001\001\022\037\n\016source_disk_" + + "id\030\331\315\311\330\001 \001(\tH\024\210\001\001\022\034\n\014source_image\030\267\350\206\030 \001" + + "(\tH\025\210\001\001\022\\\n\033source_image_encryption_key\030\253" + + "\221\365\265\001 \001(\0132..google.cloud.compute.v1.Custo" + + "merEncryptionKeyH\026\210\001\001\022\037\n\017source_image_id" + + "\030\243\374\260\032 \001(\tH\027\210\001\001\022\037\n\017source_snapshot\030\350\232\216< \001" + + "(\tH\030\210\001\001\022_\n\036source_snapshot_encryption_ke" + + "y\030\332\216\347\220\001 \001(\0132..google.cloud.compute.v1.Cu" + + "stomerEncryptionKeyH\031\210\001\001\022\"\n\022source_snaps" + + "hot_id\030\322\226\230/ \001(\tH\032\210\001\001\022\034\n\013source_type\030\336\361\322\327" + + "\001 \001(\tH\033\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\034\210\001\001\022\035\n\021st" + + "orage_locations\030\232\355\263\234\001 \003(\t\032-\n\013LabelsEntry" + + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"j\n\014Arch" + + "itecture\022\032\n\026UNDEFINED_ARCHITECTURE\020\000\022 \n\030" + + "ARCHITECTURE_UNSPECIFIED\020\253\324\235\274\001\022\014\n\005ARM64\020" + + "\372\313\351\035\022\016\n\006X86_64\020\307\244\346\312\001\"2\n\nSourceType\022\031\n\025UN" + + "DEFINED_SOURCE_TYPE\020\000\022\t\n\003RAW\020\210\370\004\"^\n\006Stat" + + "us\022\024\n\020UNDEFINED_STATUS\020\000\022\020\n\010DELETING\020\250\247\207" + + "\374\001\022\016\n\006FAILED\020\275\220\246\331\001\022\016\n\007PENDING\020\367\252\360\020\022\014\n\005RE" + + "ADY\020\203\303\217%B\017\n\r_architectureB\025\n\023_archive_si" + + "ze_bytesB\025\n\023_creation_timestampB\r\n\013_depr" + + "ecatedB\016\n\014_descriptionB\017\n\r_disk_size_gbB" + + "\036\n\034_enable_confidential_computeB\t\n\007_fami" + + "lyB\005\n\003_idB\027\n\025_image_encryption_keyB\007\n\005_k" + + "indB\024\n\022_label_fingerprintB\007\n\005_nameB\013\n\t_r" + + "aw_diskB\020\n\016_satisfies_pziB\020\n\016_satisfies_" + + "pzsB\014\n\n_self_linkB\"\n _shielded_instance_" + + "initial_stateB\016\n\014_source_diskB\035\n\033_source" + + "_disk_encryption_keyB\021\n\017_source_disk_idB" + + "\017\n\r_source_imageB\036\n\034_source_image_encryp" + + "tion_keyB\022\n\020_source_image_idB\022\n\020_source_" + + "snapshotB!\n\037_source_snapshot_encryption_" + + "keyB\025\n\023_source_snapshot_idB\016\n\014_source_ty" + + "peB\t\n\007_status\"R\n\017ImageFamilyView\0225\n\005imag" + + "e\030\333\322\352/ \001(\0132\036.google.cloud.compute.v1.Ima" + + "geH\000\210\001\001B\010\n\006_image\"\233\002\n\tImageList\022\020\n\002id\030\233\032" + + " \001(\tH\000\210\001\001\0220\n\005items\030\300\317\367/ \003(\0132\036.google.clo" + + "ud.compute.v1.Image\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001" + + "\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tse" + + "lf_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001" + + "(\0132 .google.cloud.compute.v1.WarningH\004\210\001" + + "\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n" + + "\n_self_linkB\n\n\010_warning\"\216\002\n\022InitialState" + + "Config\0229\n\003dbs\030\265\207\006 \003(\0132*.google.cloud.com" + + "pute.v1.FileContentBuffer\022;\n\004dbxs\030\371\347\273\001 \003" + + "(\0132*.google.cloud.compute.v1.FileContent" + + "Buffer\022;\n\004keks\030\302\330\310\001 \003(\0132*.google.cloud.c" + + "ompute.v1.FileContentBuffer\022<\n\002pk\030\373\033 \001(\013" + + "2*.google.cloud.compute.v1.FileContentBu" + + "fferH\000\210\001\001B\005\n\003_pk\"\312\001\n\024InsertAddressReques" + + "t\022C\n\020address_resource\030\371\227\336\346\001 \001(\0132 .google" + + ".cloud.compute.v1.AddressB\003\340A\002\022!\n\007projec" + + "t\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B" + + " \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(" + + "\tH\000\210\001\001B\r\n\013_request_id\"\316\001\n\027InsertAutoscal" + + "erRequest\022H\n\023autoscaler_resource\030\366\360\377b \001(" + + "\0132#.google.cloud.compute.v1.AutoscalerB\003" + + "\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032" + + "\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 " + + "\001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\274\001\n\032Inser" + + "tBackendBucketRequest\022P\n\027backend_bucket_" + + "resource\030\230\316\307\265\001 \001(\0132&.google.cloud.comput" + + "e.v1.BackendBucketB\003\340A\002\022!\n\007project\030\231\226\301l " + + "\001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(" + + "\tH\000\210\001\001B\r\n\013_request_id\"\277\001\n\033InsertBackendS" + + "erviceRequest\022R\n\030backend_service_resourc" + + "e\030\243\201\337\245\001 \001(\0132\'.google.cloud.compute.v1.Ba" + + "ckendServiceB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340" + + "A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001" + + "B\r\n\013_request_id\"\353\001\n\021InsertDiskRequest\022<\n" + + "\rdisk_resource\030\360\320\253\014 \001(\0132\035.google.cloud.c" + + "ompute.v1.DiskB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB" + + "\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" + + "\001\001\022\034\n\014source_image\030\267\350\206\030 \001(\tH\001\210\001\001\022\033\n\004zone" + + "\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_idB\017\n\r" + + "_source_image\"\314\001\n\037InsertExternalVpnGatew" + + "ayRequest\022[\n\035external_vpn_gateway_resour" + + "ce\030\210\337\220\350\001 \001(\0132+.google.cloud.compute.v1.E" + + "xternalVpnGatewayB\003\340A\002\022!\n\007project\030\231\226\301l \001" + + "(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\t" + + "H\000\210\001\001B\r\n\013_request_id\"\304\001\n\033InsertFirewallP" + + "olicyRequest\022R\n\030firewall_policy_resource" + + "\030\274\266\207\354\001 \001(\0132\'.google.cloud.compute.v1.Fir" + + "ewallPolicyB\003\340A\002\022&\n\tparent_id\030\320\341\232\333\001 \001(\tB" + + "\017\340A\002\362G\tparent_id\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" + + "\000\210\001\001B\r\n\013_request_id\"\253\001\n\025InsertFirewallRe" + + "quest\022D\n\021firewall_resource\030\355\260\340\023 \001(\0132!.go" + + "ogle.cloud.compute.v1.FirewallB\003\340A\002\022!\n\007p" + + "roject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreques" + + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\340\001\n\033In" + + "sertForwardingRuleRequest\022R\n\030forwarding_" + + "rule_resource\030\257\300\320\217\001 \001(\0132\'.google.cloud.c" + + "ompute.v1.ForwardingRuleB\003\340A\002\022!\n\007project" + + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B " + + "\001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\t" + + "H\000\210\001\001B\r\n\013_request_id\"\257\001\n\032InsertGlobalAdd" + + "ressRequest\022C\n\020address_resource\030\371\227\336\346\001 \001(" + + "\0132 .google.cloud.compute.v1.AddressB\003\340A\002" + + "\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nr" + + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\305" + + "\001\n!InsertGlobalForwardingRuleRequest\022R\n\030" + + "forwarding_rule_resource\030\257\300\320\217\001 \001(\0132\'.goo" + + "gle.cloud.compute.v1.ForwardingRuleB\003\340A\002" + + "\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nr" + + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\330" + + "\001\n\'InsertGlobalNetworkEndpointGroupReque" + + "st\022_\n\037network_endpoint_group_resource\030\247\315" + + "\333\372\001 \001(\0132-.google.cloud.compute.v1.Networ" + + "kEndpointGroupB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB" + + "\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" + + "\001\001B\r\n\013_request_id\"\333\001\n)InsertGlobalPublic" + + "DelegatedPrefixeRequest\022!\n\007project\030\231\226\301l " + + "\001(\tB\r\340A\002\362G\007project\022`\n public_delegated_p" + + "refix_resource\030\205\370\330\026 \001(\0132..google.cloud.c" + + "ompute.v1.PublicDelegatedPrefixB\003\340A\002\022\032\n\n" + + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"" + + "\265\001\n\030InsertHealthCheckRequest\022K\n\025health_c" + + "heck_resource\030\250\303\244` \001(\0132$.google.cloud.co" + + "mpute.v1.HealthCheckB\003\340A\002\022!\n\007project\030\231\226\301" + + "l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 " + + "\001(\tH\000\210\001\001B\r\n\013_request_id\"\322\001\n\022InsertImageR" + + "equest\022\034\n\014force_create\030\320\211\244^ \001(\010H\000\210\001\001\022?\n\016" + + "image_resource\030\362\304\376\260\001 \001(\0132\036.google.cloud." + + "compute.v1.ImageB\003\340A\002\022!\n\007project\030\231\226\301l \001(" + + "\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" + + "\001\210\001\001B\017\n\r_force_createB\r\n\013_request_id\"\356\001\n" + + "!InsertInstanceGroupManagerRequest\022^\n\037in" + + "stance_group_manager_resource\030\212\212\276| \001(\0132-" + + ".google.cloud.compute.v1.InstanceGroupMa" + + "nagerB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" + + "oject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zon" + + "e\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\300\002" + + "\n.InsertInstanceGroupManagerResizeReques" + + "tRequest\022&\n\026instance_group_manager\030\303\367\363v " + + "\001(\tB\003\340A\002\022{\n.instance_group_manager_resiz" + + "e_request_resource\030\355\276\265\337\001 \001(\0132:.google.cl" + + "oud.compute.v1.InstanceGroupManagerResiz" + + "eRequestB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" + + "\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004" + + "zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id" + + "\"\331\001\n\032InsertInstanceGroupRequest\022P\n\027insta" + + "nce_group_resource\030\270\265\325\210\001 \001(\0132&.google.cl" + + "oud.compute.v1.InstanceGroupB\003\340A\002\022!\n\007pro" + + "ject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_" + + "id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G" + + "\004zoneB\r\n\013_request_id\"\317\002\n\025InsertInstanceR" + + "equest\022D\n\021instance_resource\030\370\360\376f \001(\0132!.g" + + "oogle.cloud.compute.v1.InstanceB\003\340A\002\022!\n\007", + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreque" + + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001\022)\n\030source_instance_t" + + "emplate\030\300\303\301\236\001 \001(\tH\001\210\001\001\022$\n\024source_machine" + + "_image\030\277\334\260\n \001(\tH\002\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340" + + "A\002\362G\004zoneB\r\n\013_request_idB\033\n\031_source_inst" + + "ance_templateB\027\n\025_source_machine_image\"\304" + + "\001\n\035InsertInstanceTemplateRequest\022U\n\032inst" + + "ance_template_resource\030\211\352\213\005 \001(\0132).google" + + ".cloud.compute.v1.InstanceTemplateB\003\340A\002\022" + + "!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nre" + + "quest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\337\001" + + "\n\034InsertInstantSnapshotRequest\022T\n\031instan" + + "t_snapshot_resource\030\313\252\210\267\001 \001(\0132(.google.c" + + "loud.compute.v1.InstantSnapshotB\003\340A\002\022!\n\007" + + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreque" + + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A" + + "\002\362G\004zoneB\r\n\013_request_id\"\250\002\n#InsertInterc" + + "onnectAttachmentRequest\022a\n interconnect_" + + "attachment_resource\030\371\244\240e \001(\0132/.google.cl" + + "oud.compute.v1.InterconnectAttachmentB\003\340" + + "A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n" + + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nreques" + + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\035\n\rvalidate_only\030\265\372\337s" + + " \001(\010H\001\210\001\001B\r\n\013_request_idB\020\n\016_validate_on" + + "ly\"\270\001\n\031InsertInterconnectRequest\022M\n\025inte" + + "rconnect_resource\030\237\241\314\275\001 \001(\0132%.google.clo" + + "ud.compute.v1.InterconnectB\003\340A\002\022!\n\007proje" + + "ct\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id" + + "\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\251\001\n\024Insert" + + "LicenseRequest\022C\n\020license_resource\030\314\324\352\320\001" + + " \001(\0132 .google.cloud.compute.v1.LicenseB\003" + + "\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032" + + "\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_i" + + "d\"\356\001\n\031InsertMachineImageRequest\022M\n\026machi" + + "ne_image_resource\030\352\252\373\034 \001(\0132%.google.clou" + + "d.compute.v1.MachineImageB\003\340A\002\022!\n\007projec" + + "t\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030" + + "\313\201\331\021 \001(\tH\000\210\001\001\022 \n\017source_instance\030\271\230\375\274\001 \001" + + "(\tH\001\210\001\001B\r\n\013_request_idB\022\n\020_source_instan" + + "ce\"\350\001\n\036InsertNetworkAttachmentRequest\022W\n" + + "\033network_attachment_resource\030\231\360\314d \001(\0132*." + + "google.cloud.compute.v1.NetworkAttachmen" + + "tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" + + "t\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nre" + + "quest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\267\002" + + "\n\'InsertNetworkEdgeSecurityServiceReques" + + "t\022l\n&network_edge_security_service_resou" + + "rce\030\246\243\333\343\001 \001(\01323.google.cloud.compute.v1." + + "NetworkEdgeSecurityServiceB\003\340A\002\022!\n\007proje" + "ct\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240" + "B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001" - + "(\tH\000\210\001\001B\r\n\013_request_id\"\343\001\n\034InsertPacketM" - + "irroringRequest\022T\n\031packet_mirroring_reso" - + "urce\030\241\374\250\353\001 \001(\0132(.google.cloud.compute.v1" - + ".PacketMirroringB\003\340A\002\022!\n\007project\030\231\226\301l \001(" - + "\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002" - + "\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" - + "\013_request_id\"\330\001\n$InsertPublicAdvertisedP" - + "refixeRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" - + "\007project\022b\n!public_advertised_prefix_res" - + "ource\030\217\327\262o \001(\0132/.google.cloud.compute.v1" - + ".PublicAdvertisedPrefixB\003\340A\002\022\032\n\nrequest_" - + "id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\366\001\n#Inse" - + "rtPublicDelegatedPrefixeRequest\022!\n\007proje" - + "ct\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022`\n public_del" - + "egated_prefix_resource\030\205\370\330\026 \001(\0132..google" - + ".cloud.compute.v1.PublicDelegatedPrefixB" - + "\003\340A\002\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n" - + "\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id" - + "\"\330\001\n\035InsertRegionAutoscalerRequest\022H\n\023au" - + "toscaler_resource\030\366\360\377b \001(\0132#.google.clou" - + "d.compute.v1.AutoscalerB\003\340A\002\022!\n\007project\030" + + "(\tH\000\210\001\001\022\035\n\rvalidate_only\030\265\372\337s \001(\010H\001\210\001\001B\r" + + "\n\013_request_idB\020\n\016_validate_only\"\357\001\n!Inse" + + "rtNetworkEndpointGroupRequest\022_\n\037network" + + "_endpoint_group_resource\030\247\315\333\372\001 \001(\0132-.goo" + + "gle.cloud.compute.v1.NetworkEndpointGrou" + + "pB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" + + "t\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307" + + "\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\306\001\n\"In" + + "sertNetworkFirewallPolicyRequest\022R\n\030fire" + + "wall_policy_resource\030\274\266\207\354\001 \001(\0132\'.google." + + "cloud.compute.v1.FirewallPolicyB\003\340A\002\022!\n\007" + + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreque" + + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\250\001\n\024I" + + "nsertNetworkRequest\022B\n\020network_resource\030" + + "\377\335\234: \001(\0132 .google.cloud.compute.v1.Netwo" + + "rkB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proje" + + "ct\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_reque" + + "st_id\"\361\001\n\026InsertNodeGroupRequest\022\"\n\022init" + + "ial_node_count\030\355\310\247\" \001(\005B\003\340A\002\022H\n\023node_gro" + + "up_resource\030\253\263\372\360\001 \001(\0132\".google.cloud.com" + + "pute.v1.NodeGroupB\003\340A\002\022!\n\007project\030\231\226\301l \001" + + "(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\t" + + "H\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_r" + + "equest_id\"\331\001\n\031InsertNodeTemplateRequest\022" + + "M\n\026node_template_resource\030\266\332\335< \001(\0132%.goo" + + "gle.cloud.compute.v1.NodeTemplateB\003\340A\002\022!" + + "\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006reg" + + "ion\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id" + + "\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\343\001\n\034Insert" + + "PacketMirroringRequest\022T\n\031packet_mirrori" + + "ng_resource\030\241\374\250\353\001 \001(\0132(.google.cloud.com" + + "pute.v1.PacketMirroringB\003\340A\002\022!\n\007project\030" + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001" + "(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" - + "\000\210\001\001B\r\n\013_request_id\"\346\001\n!InsertRegionBack" - + "endServiceRequest\022R\n\030backend_service_res" - + "ource\030\243\201\337\245\001 \001(\0132\'.google.cloud.compute.v" - + "1.BackendServiceB\003\340A\002\022!\n\007project\030\231\226\301l \001(" - + "\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002" - + "\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" - + "\013_request_id\"\330\001\n\035InsertRegionCommitmentR" - + "equest\022H\n\023commitment_resource\030\370\243\273t \001(\0132#" - + ".google.cloud.compute.v1.CommitmentB\003\340A\002" - + "\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006r" - + "egion\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_" - + "id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\365\001\n\027Inse" - + "rtRegionDiskRequest\022<\n\rdisk_resource\030\360\320\253" - + "\014 \001(\0132\035.google.cloud.compute.v1.DiskB\003\340A" - + "\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006" - + "region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest" - + "_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\034\n\014source_image\030\267\350\206\030 \001" - + "(\tH\001\210\001\001B\r\n\013_request_idB\017\n\r_source_image\"" - + "\334\001\n\036InsertRegionHealthCheckRequest\022K\n\025he" - + "alth_check_resource\030\250\303\244` \001(\0132$.google.cl" - + "oud.compute.v1.HealthCheckB\003\340A\002\022!\n\007proje" - + "ct\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240" - + "B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001" - + "(\tH\000\210\001\001B\r\n\013_request_id\"\363\001\n%InsertRegionH" - + "ealthCheckServiceRequest\022[\n\035health_check" - + "_service_resource\030\362\233\320\343\001 \001(\0132+.google.clo" - + "ud.compute.v1.HealthCheckServiceB\003\340A\002\022!\n" - + "\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006regi" - + "on\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030" - + "\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\370\001\n\'InsertR" - + "egionInstanceGroupManagerRequest\022^\n\037inst" - + "ance_group_manager_resource\030\212\212\276| \001(\0132-.g" - + "oogle.cloud.compute.v1.InstanceGroupMana" - + "gerB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" + + "\000\210\001\001B\r\n\013_request_id\"\330\001\n$InsertPublicAdve" + + "rtisedPrefixeRequest\022!\n\007project\030\231\226\301l \001(\t" + + "B\r\340A\002\362G\007project\022b\n!public_advertised_pre" + + "fix_resource\030\217\327\262o \001(\0132/.google.cloud.com" + + "pute.v1.PublicAdvertisedPrefixB\003\340A\002\022\032\n\nr" + + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\366" + + "\001\n#InsertPublicDelegatedPrefixeRequest\022!" + + "\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022`\n pub" + + "lic_delegated_prefix_resource\030\205\370\330\026 \001(\0132." + + ".google.cloud.compute.v1.PublicDelegated" + + "PrefixB\003\340A\002\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006re" + + "gion\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_req" + + "uest_id\"\330\001\n\035InsertRegionAutoscalerReques" + + "t\022H\n\023autoscaler_resource\030\366\360\377b \001(\0132#.goog" + + "le.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n\007p" + + "roject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region" + + "\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201" + + "\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\346\001\n!InsertReg" + + "ionBackendServiceRequest\022R\n\030backend_serv" + + "ice_resource\030\243\201\337\245\001 \001(\0132\'.google.cloud.co" + + "mpute.v1.BackendServiceB\003\340A\002\022!\n\007project\030" + + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001" + + "(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" + + "\000\210\001\001B\r\n\013_request_id\"\330\001\n\035InsertRegionComm" + + "itmentRequest\022H\n\023commitment_resource\030\370\243\273" + + "t \001(\0132#.google.cloud.compute.v1.Commitme" + + "ntB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proje" + + "ct\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nr" + + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\365" + + "\001\n\027InsertRegionDiskRequest\022<\n\rdisk_resou" + + "rce\030\360\320\253\014 \001(\0132\035.google.cloud.compute.v1.D" + + "iskB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" + "ect\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" - + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"" - + "\353\001\n#InsertRegionInstanceTemplateRequest\022" - + "U\n\032instance_template_resource\030\211\352\213\005 \001(\0132)" - + ".google.cloud.compute.v1.InstanceTemplat" - + "eB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" - + "t\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nre" - + "quest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\351\001" - + "\n\"InsertRegionInstantSnapshotRequest\022T\n\031" - + "instant_snapshot_resource\030\313\252\210\267\001 \001(\0132(.go" - + "ogle.cloud.compute.v1.InstantSnapshotB\003\340" - + "A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n" - + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nreques" - + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\371\001\n\'In" - + "sertRegionNetworkEndpointGroupRequest\022_\n" - + "\037network_endpoint_group_resource\030\247\315\333\372\001 \001" - + "(\0132-.google.cloud.compute.v1.NetworkEndp" - + "ointGroupB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362" - + "G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006regi" - + "on\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_reque" - + "st_id\"\355\001\n(InsertRegionNetworkFirewallPol" - + "icyRequest\022R\n\030firewall_policy_resource\030\274" - + "\266\207\354\001 \001(\0132\'.google.cloud.compute.v1.Firew" - + "allPolicyB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362" - + "G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006regi" - + "on\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_reque" - + "st_id\"\370\001\n\'InsertRegionNotificationEndpoi" - + "ntRequest\022^\n\036notification_endpoint_resou" - + "rce\030\244\372\261\241\001 \001(\0132-.google.cloud.compute.v1." - + "NotificationEndpointB\003\340A\002\022!\n\007project\030\231\226\301" - + "l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB" - + "\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001" - + "\001B\r\n\013_request_id\"\226\002\n!InsertRegionSecurit" - + "yPolicyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362" - + "G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006regi" - + "on\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022Q\n\030securi" - + "ty_policy_resource\030\374\252\211g \001(\0132\'.google.clo" - + "ud.compute.v1.SecurityPolicyB\003\340A\002\022\035\n\rval" - + "idate_only\030\265\372\337s \001(\010H\001\210\001\001B\r\n\013_request_idB" - + "\020\n\016_validate_only\"\345\001\n!InsertRegionSslCer" - + "tificateRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002" + + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\034\n\014source_image" + + "\030\267\350\206\030 \001(\tH\001\210\001\001B\r\n\013_request_idB\017\n\r_source" + + "_image\"\334\001\n\036InsertRegionHealthCheckReques" + + "t\022K\n\025health_check_resource\030\250\303\244` \001(\0132$.go" + + "ogle.cloud.compute.v1.HealthCheckB\003\340A\002\022!" + + "\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006reg" + + "ion\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id" + + "\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\363\001\n%Insert" + + "RegionHealthCheckServiceRequest\022[\n\035healt" + + "h_check_service_resource\030\362\233\320\343\001 \001(\0132+.goo" + + "gle.cloud.compute.v1.HealthCheckServiceB" + + "\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022" + + "\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequ" + + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\370\001\n\'" + + "InsertRegionInstanceGroupManagerRequest\022" + + "^\n\037instance_group_manager_resource\030\212\212\276| " + + "\001(\0132-.google.cloud.compute.v1.InstanceGr" + + "oupManagerB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002" + "\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006reg" - + "ion\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022Q\n\030ssl_c" - + "ertificate_resource\030\211\324\225V \001(\0132\'.google.cl" - + "oud.compute.v1.SslCertificateB\003\340A\002B\r\n\013_r" - + "equest_id\"\327\001\n\034InsertRegionSslPolicyReque" - + "st\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n" - + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nreques" - + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001\022H\n\023ssl_policy_resourc" - + "e\030\310\210\212\203\001 \001(\0132\".google.cloud.compute.v1.Ss" - + "lPolicyB\003\340A\002B\r\n\013_request_id\"\351\001\n\"InsertRe" - + "gionTargetHttpProxyRequest\022!\n\007project\030\231\226" - + "\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\t" - + "B\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" - + "\001\001\022T\n\032target_http_proxy_resource\030\250\257\343\013 \001(" - + "\0132(.google.cloud.compute.v1.TargetHttpPr" - + "oxyB\003\340A\002B\r\n\013_request_id\"\355\001\n#InsertRegion" - + "TargetHttpsProxyRequest\022!\n\007project\030\231\226\301l " - + "\001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340" - + "A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022" - + "W\n\033target_https_proxy_resource\030\201\255\344\316\001 \001(\013" - + "2).google.cloud.compute.v1.TargetHttpsPr" - + "oxyB\003\340A\002B\r\n\013_request_id\"\346\001\n!InsertRegion" - + "TargetTcpProxyRequest\022!\n\007project\030\231\226\301l \001(" + + "ion\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_requ" + + "est_id\"\353\001\n#InsertRegionInstanceTemplateR" + + "equest\022U\n\032instance_template_resource\030\211\352\213" + + "\005 \001(\0132).google.cloud.compute.v1.Instance" + + "TemplateB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" + + "\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006regio" + + "n\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_reques" + + "t_id\"\351\001\n\"InsertRegionInstantSnapshotRequ" + + "est\022T\n\031instant_snapshot_resource\030\313\252\210\267\001 \001" + + "(\0132(.google.cloud.compute.v1.InstantSnap" + + "shotB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pro" + + "ject\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n" + + "\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id" + + "\"\371\001\n\'InsertRegionNetworkEndpointGroupReq" + + "uest\022_\n\037network_endpoint_group_resource\030" + + "\247\315\333\372\001 \001(\0132-.google.cloud.compute.v1.Netw" + + "orkEndpointGroupB\003\340A\002\022!\n\007project\030\231\226\301l \001(" + "\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002" - + "\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022R\n" - + "\031target_tcp_proxy_resource\030\313\360\311E \001(\0132\'.go" - + "ogle.cloud.compute.v1.TargetTcpProxyB\003\340A" - + "\002B\r\n\013_request_id\"\315\001\n\031InsertRegionUrlMapR" - + "equest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" - + "t\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nre" - + "quest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022A\n\020url_map_resour" - + "ce\030\341\220\267P \001(\0132\037.google.cloud.compute.v1.Ur" - + "lMapB\003\340A\002B\r\n\013_request_id\"\322\001\n\030InsertReser" - + "vationRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" - + "\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022K\n\024" - + "reservation_resource\030\241\356\364\207\001 \001(\0132$.google." - + "cloud.compute.v1.ReservationB\003\340A\002\022\033\n\004zon" - + "e\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\337\001" - + "\n\033InsertResourcePolicyRequest\022!\n\007project" - + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B " - + "\001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\t" - + "H\000\210\001\001\022Q\n\030resource_policy_resource\030\312\214\321$ \001" - + "(\0132\'.google.cloud.compute.v1.ResourcePol" - + "icyB\003\340A\002B\r\n\013_request_id\"\242\001\n\022InsertRouteR" - + "equest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" - + "t\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022>\n\016route_r" - + "esource\030\304\212\277k \001(\0132\036.google.cloud.compute." - + "v1.RouteB\003\340A\002B\r\n\013_request_id\"\306\001\n\023InsertR" - + "outerRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" - + "project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region" - + "\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022@\n\017router_r" - + "esource\030\304\200\202J \001(\0132\037.google.cloud.compute." - + "v1.RouterB\003\340A\002B\r\n\013_request_id\"\357\001\n\033Insert" + + "\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + + "\013_request_id\"\355\001\n(InsertRegionNetworkFire" + + "wallPolicyRequest\022R\n\030firewall_policy_res" + + "ource\030\274\266\207\354\001 \001(\0132\'.google.cloud.compute.v" + + "1.FirewallPolicyB\003\340A\002\022!\n\007project\030\231\226\301l \001(" + + "\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002" + + "\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" + + "\013_request_id\"\370\001\n\'InsertRegionNotificatio" + + "nEndpointRequest\022^\n\036notification_endpoin" + + "t_resource\030\244\372\261\241\001 \001(\0132-.google.cloud.comp" + + "ute.v1.NotificationEndpointB\003\340A\002\022!\n\007proj" + + "ect\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315" + + "\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 " + + "\001(\tH\000\210\001\001B\r\n\013_request_id\"\226\002\n!InsertRegion" + "SecurityPolicyRequest\022!\n\007project\030\231\226\301l \001(" - + "\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" - + "\000\210\001\001\022Q\n\030security_policy_resource\030\374\252\211g \001(" - + "\0132\'.google.cloud.compute.v1.SecurityPoli" - + "cyB\003\340A\002\022\035\n\rvalidate_only\030\265\372\337s \001(\010H\001\210\001\001B\r" - + "\n\013_request_idB\020\n\016_validate_only\"\351\001\n\036Inse" - + "rtServiceAttachmentRequest\022!\n\007project\030\231\226" - + "\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\t" - + "B\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" - + "\001\001\022X\n\033service_attachment_resource\030\240\266\304\341\001 " - + "\001(\0132*.google.cloud.compute.v1.ServiceAtt" - + "achmentB\003\340A\002B\r\n\013_request_id\"\254\001\n\025InsertSn" - + "apshotRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" - + "\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022E\n\021" - + "snapshot_resource\030\251\270\301\345\001 \001(\0132!.google.clo" - + "ud.compute.v1.SnapshotB\003\340A\002B\r\n\013_request_" - + "id\"\276\001\n\033InsertSslCertificateRequest\022!\n\007pr" - + "oject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest" - + "_id\030\313\201\331\021 \001(\tH\000\210\001\001\022Q\n\030ssl_certificate_res" - + "ource\030\211\324\225V \001(\0132\'.google.cloud.compute.v1" - + ".SslCertificateB\003\340A\002B\r\n\013_request_id\"\260\001\n\026" - + "InsertSslPolicyRequest\022!\n\007project\030\231\226\301l \001" - + "(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\t" - + "H\000\210\001\001\022H\n\023ssl_policy_resource\030\310\210\212\203\001 \001(\0132\"" - + ".google.cloud.compute.v1.SslPolicyB\003\340A\002B" - + "\r\n\013_request_id\"\322\001\n\027InsertSubnetworkReque" - + "st\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n" - + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nreques" - + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001\022H\n\023subnetwork_resourc" - + "e\030\277\332\221\024 \001(\0132#.google.cloud.compute.v1.Sub" - + "networkB\003\340A\002B\r\n\013_request_id\"\303\001\n\034InsertTa" - + "rgetGrpcProxyRequest\022!\n\007project\030\231\226\301l \001(\t" + + "\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002" + + "\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022Q\n" + + "\030security_policy_resource\030\374\252\211g \001(\0132\'.goo" + + "gle.cloud.compute.v1.SecurityPolicyB\003\340A\002" + + "\022\035\n\rvalidate_only\030\265\372\337s \001(\010H\001\210\001\001B\r\n\013_requ" + + "est_idB\020\n\016_validate_only\"\345\001\n!InsertRegio" + + "nSslCertificateRequest\022!\n\007project\030\231\226\301l \001" + + "(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A" + + "\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022Q" + + "\n\030ssl_certificate_resource\030\211\324\225V \001(\0132\'.go" + + "ogle.cloud.compute.v1.SslCertificateB\003\340A" + + "\002B\r\n\013_request_id\"\327\001\n\034InsertRegionSslPoli" + + "cyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pro" + + "ject\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n" + + "\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022H\n\023ssl_policy_" + + "resource\030\310\210\212\203\001 \001(\0132\".google.cloud.comput" + + "e.v1.SslPolicyB\003\340A\002B\r\n\013_request_id\"\351\001\n\"I" + + "nsertRegionTargetHttpProxyRequest\022!\n\007pro" + + "ject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364" + + "\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021" + + " \001(\tH\000\210\001\001\022T\n\032target_http_proxy_resource\030" + + "\250\257\343\013 \001(\0132(.google.cloud.compute.v1.Targe" + + "tHttpProxyB\003\340A\002B\r\n\013_request_id\"\355\001\n#Inser" + + "tRegionTargetHttpsProxyRequest\022!\n\007projec" + + "t\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B" + + " \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(" + + "\tH\000\210\001\001\022W\n\033target_https_proxy_resource\030\201\255" + + "\344\316\001 \001(\0132).google.cloud.compute.v1.Target" + + "HttpsProxyB\003\340A\002B\r\n\013_request_id\"\346\001\n!Inser" + + "tRegionTargetTcpProxyRequest\022!\n\007project\030" + + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001" + + "(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" + + "\000\210\001\001\022R\n\031target_tcp_proxy_resource\030\313\360\311E \001" + + "(\0132\'.google.cloud.compute.v1.TargetTcpPr" + + "oxyB\003\340A\002B\r\n\013_request_id\"\315\001\n\031InsertRegion" + + "UrlMapRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" + + "\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006regio" + + "n\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022A\n\020url_map" + + "_resource\030\341\220\267P \001(\0132\037.google.cloud.comput" + + "e.v1.UrlMapB\003\340A\002B\r\n\013_request_id\"\322\001\n\030Inse" + + "rtReservationRequest\022!\n\007project\030\231\226\301l \001(\t" + "B\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000" - + "\210\001\001\022U\n\032target_grpc_proxy_resource\030\322\352\353\234\001 " - + "\001(\0132(.google.cloud.compute.v1.TargetGrpc" - + "ProxyB\003\340A\002B\r\n\013_request_id\"\302\001\n\034InsertTarg" - + "etHttpProxyRequest\022!\n\007project\030\231\226\301l \001(\tB\r" - + "\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001" - + "\001\022T\n\032target_http_proxy_resource\030\250\257\343\013 \001(\013" - + "2(.google.cloud.compute.v1.TargetHttpPro" - + "xyB\003\340A\002B\r\n\013_request_id\"\306\001\n\035InsertTargetH" - + "ttpsProxyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A" - + "\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022" - + "W\n\033target_https_proxy_resource\030\201\255\344\316\001 \001(\013" - + "2).google.cloud.compute.v1.TargetHttpsPr" - + "oxyB\003\340A\002B\r\n\013_request_id\"\334\001\n\033InsertTarget" - + "InstanceRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002" - + "\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022R" - + "\n\030target_instance_resource\030\312\342\240\315\001 \001(\0132\'.g" - + "oogle.cloud.compute.v1.TargetInstanceB\003\340" - + "A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_requ" - + "est_id\"\323\001\n\027InsertTargetPoolRequest\022!\n\007pr" - + "oject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030" - + "\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331" - + "\021 \001(\tH\000\210\001\001\022I\n\024target_pool_resource\030\243\335\2450 " - + "\001(\0132#.google.cloud.compute.v1.TargetPool" - + "B\003\340A\002B\r\n\013_request_id\"\277\001\n\033InsertTargetSsl" - + "ProxyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" - + "project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022R\n\031t" - + "arget_ssl_proxy_resource\030\300\375\333C \001(\0132\'.goog" - + "le.cloud.compute.v1.TargetSslProxyB\003\340A\002B" - + "\r\n\013_request_id\"\277\001\n\033InsertTargetTcpProxyR" - + "equest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" - + "t\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022R\n\031target_" - + "tcp_proxy_resource\030\313\360\311E \001(\0132\'.google.clo" - + "ud.compute.v1.TargetTcpProxyB\003\340A\002B\r\n\013_re" - + "quest_id\"\345\001\n\035InsertTargetVpnGatewayReque" - + "st\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n" - + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nreques" - + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001\022U\n\033target_vpn_gateway" - + "_resource\030\202\263\036 \001(\0132).google.cloud.compute" - + ".v1.TargetVpnGatewayB\003\340A\002B\r\n\013_request_id" - + "\"\246\001\n\023InsertUrlMapRequest\022!\n\007project\030\231\226\301l" - + " \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001" - + "(\tH\000\210\001\001\022A\n\020url_map_resource\030\341\220\267P \001(\0132\037.g" - + "oogle.cloud.compute.v1.UrlMapB\003\340A\002B\r\n\013_r" - + "equest_id\"\323\001\n\027InsertVpnGatewayRequest\022!\n" - + "\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006regi" - + "on\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030" - + "\313\201\331\021 \001(\tH\000\210\001\001\022I\n\024vpn_gateway_resource\030\224\267" - + "\216W \001(\0132#.google.cloud.compute.v1.VpnGate" - + "wayB\003\340A\002B\r\n\013_request_id\"\320\001\n\026InsertVpnTun" - + "nelRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" - + "oject\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032" - + "\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022G\n\023vpn_tunnel" - + "_resource\030\272\241\264) \001(\0132\".google.cloud.comput" - + "e.v1.VpnTunnelB\003\340A\002B\r\n\013_request_id\"\347\035\n\010I" - + "nstance\022\\\n\031advanced_machine_features\030\262\347\252" - + "\303\001 \001(\01320.google.cloud.compute.v1.Advance" - + "dMachineFeaturesH\000\210\001\001\022\037\n\016can_ip_forward\030" - + "\374\206\204\337\001 \001(\010H\001\210\001\001\022b\n\034confidential_instance_" - + "config\030\365\222\372\351\001 \001(\01323.google.cloud.compute." - + "v1.ConfidentialInstanceConfigH\002\210\001\001\022\035\n\014cp" - + "u_platform\030\252\352\321\303\001 \001(\tH\003\210\001\001\022\"\n\022creation_ti" - + "mestamp\030\266\217\307\016 \001(\tH\004\210\001\001\022$\n\023deletion_protec" - + "tion\030\352\377\262\332\001 \001(\010H\005\210\001\001\022\034\n\013description\030\374\207\326\311\001" - + " \001(\tH\006\210\001\001\0227\n\005disks\030\366\314\312- \003(\0132%.google.clo" - + "ud.compute.v1.AttachedDisk\022F\n\016display_de" - + "vice\030\363\210\274{ \001(\0132&.google.cloud.compute.v1." - + "DisplayDeviceH\007\210\001\001\022\033\n\013fingerprint\030\344\321\363o \001" - + "(\tH\010\210\001\001\022J\n\022guest_accelerators\030\357\314\207\335\001 \003(\0132" - + "*.google.cloud.compute.v1.AcceleratorCon" - + "fig\022\030\n\010hostname\030\263\270\205q \001(\tH\t\210\001\001\022\020\n\002id\030\233\032 \001" - + "(\004H\n\210\001\001\022W\n\027instance_encryption_key\030\215\301\357\036 " - + "\001(\0132..google.cloud.compute.v1.CustomerEn" - + "cryptionKeyH\013\210\001\001\022*\n\032key_revocation_actio" - + "n_type\030\342\334\300p \001(\tH\014\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\r\210" - + "\001\001\022!\n\021label_fingerprint\030\231\360\367T \001(\tH\016\210\001\001\022A\n" - + "\006labels\030\377\277\301\356\001 \003(\0132-.google.cloud.compute" - + ".v1.Instance.LabelsEntry\022%\n\024last_start_t" - + "imestamp\030\320\243\321\323\001 \001(\tH\017\210\001\001\022$\n\023last_stop_tim" - + "estamp\030\342\333\354\304\001 \001(\tH\020\210\001\001\022)\n\030last_suspended_" - + "timestamp\030\211\251\361\251\001 \001(\tH\021\210\001\001\022\034\n\014machine_type" - + "\030\262\260\312l \001(\tH\022\210\001\001\022;\n\010metadata\030\257\366\265) \001(\0132!.go" - + "ogle.cloud.compute.v1.MetadataH\023\210\001\001\022 \n\020m" - + "in_cpu_platform\030\367\233\352s \001(\tH\024\210\001\001\022\024\n\004name\030\213\365" - + "\315\001 \001(\tH\025\210\001\001\022H\n\022network_interfaces\030\213\332\222\031 \003" - + "(\0132).google.cloud.compute.v1.NetworkInte" - + "rface\022^\n\032network_performance_config\030\342\227\370\275" - + "\001 \001(\01321.google.cloud.compute.v1.NetworkP" - + "erformanceConfigH\026\210\001\001\022?\n\006params\030\206\363\253% \001(\013" - + "2\'.google.cloud.compute.v1.InstanceParam" - + "sH\027\210\001\001\022*\n\032private_ipv6_google_access\030\216\314\202" - + "\027 \001(\tH\030\210\001\001\022R\n\024reservation_affinity\030\273\270\242K " - + "\001(\0132,.google.cloud.compute.v1.Reservatio" - + "nAffinityH\031\210\001\001\022\034\n\021resource_policies\030\341\234\314\n" - + " \003(\t\022H\n\017resource_status\030\303\372\367v \001(\0132\'.googl" - + "e.cloud.compute.v1.ResourceStatusH\032\210\001\001\022\036" - + "\n\rsatisfies_pzi\030\241\335\253\345\001 \001(\010H\033\210\001\001\022\036\n\rsatisf" - + "ies_pzs\030\253\335\253\345\001 \001(\010H\034\210\001\001\022@\n\nscheduling\030\224\313\261" - + "\270\001 \001(\0132#.google.cloud.compute.v1.Schedul" - + "ingH\035\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\036\210\001\001\022E\n\020" - + "service_accounts\030\260\304\253\204\001 \003(\0132\'.google.clou" - + "d.compute.v1.ServiceAccount\022Y\n\030shielded_" - + "instance_config\030\265\213\221\006 \001(\0132/.google.cloud." - + "compute.v1.ShieldedInstanceConfigH\037\210\001\001\022l" - + "\n\"shielded_instance_integrity_policy\030\227\242\207" - + "N \001(\01328.google.cloud.compute.v1.Shielded" - + "InstanceIntegrityPolicyH \210\001\001\022$\n\024source_m" - + "achine_image\030\277\334\260\n \001(\tH!\210\001\001\022c\n#source_mac" - + "hine_image_encryption_key\030\243\373\371[ \001(\0132..goo" - + "gle.cloud.compute.v1.CustomerEncryptionK" - + "eyH\"\210\001\001\022 \n\020start_restricted\030\330\320\375: \001(\010H#\210\001" - + "\001\022\026\n\006status\030\362\237\267V \001(\tH$\210\001\001\022\037\n\016status_mess" - + "age\030\272\311\351\215\001 \001(\tH%\210\001\001\0223\n\004tags\030\231\350\330\001 \001(\0132\035.go" - + "ogle.cloud.compute.v1.TagsH&\210\001\001\022\024\n\004zone\030" - + "\254\307\344\001 \001(\tH\'\210\001\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(" - + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\215\001\n\027KeyRevocationAc" - + "tionType\022(\n$UNDEFINED_KEY_REVOCATION_ACT" - + "ION_TYPE\020\000\022.\n&KEY_REVOCATION_ACTION_TYPE" - + "_UNSPECIFIED\020\332\221\336\336\001\022\013\n\004NONE\020\270\316\222\001\022\013\n\004STOP\020" - + "\202\200\234\001\"\300\001\n\027PrivateIpv6GoogleAccess\022(\n$UNDE" - + "FINED_PRIVATE_IPV6_GOOGLE_ACCESS\020\000\022-\n%EN" - + "ABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE\020\272\312\211\314" - + "\001\022+\n#ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE" - + "\020\327\372\266\211\001\022\037\n\027INHERIT_FROM_SUBNETWORK\020\277\250\354\374\001\"" - + "\334\001\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\026\n\016DEPR" - + "OVISIONING\020\356\223\304\314\001\022\024\n\014PROVISIONING\020\355\365\332\212\001\022\021" - + "\n\tREPAIRING\020\225\202\225\305\001\022\016\n\007RUNNING\020\237\303\3529\022\017\n\007STA" - + "GING\020\233\310\306\315\001\022\017\n\007STOPPED\020\255\273\354\323\001\022\020\n\010STOPPING\020" - + "\364\320\242\247\001\022\020\n\tSUSPENDED\020\273\273\266\030\022\022\n\nSUSPENDING\020\246\324" - + "\230\365\001\022\021\n\nTERMINATED\020\243\364\233wB\034\n\032_advanced_mach" - + "ine_featuresB\021\n\017_can_ip_forwardB\037\n\035_conf" - + "idential_instance_configB\017\n\r_cpu_platfor" - + "mB\025\n\023_creation_timestampB\026\n\024_deletion_pr" - + "otectionB\016\n\014_descriptionB\021\n\017_display_dev" - + "iceB\016\n\014_fingerprintB\013\n\t_hostnameB\005\n\003_idB" - + "\032\n\030_instance_encryption_keyB\035\n\033_key_revo" - + "cation_action_typeB\007\n\005_kindB\024\n\022_label_fi" - + "ngerprintB\027\n\025_last_start_timestampB\026\n\024_l" - + "ast_stop_timestampB\033\n\031_last_suspended_ti" - + "mestampB\017\n\r_machine_typeB\013\n\t_metadataB\023\n" - + "\021_min_cpu_platformB\007\n\005_nameB\035\n\033_network_" - + "performance_configB\t\n\007_paramsB\035\n\033_privat" - + "e_ipv6_google_accessB\027\n\025_reservation_aff" - + "inityB\022\n\020_resource_statusB\020\n\016_satisfies_" - + "pziB\020\n\016_satisfies_pzsB\r\n\013_schedulingB\014\n\n" - + "_self_linkB\033\n\031_shielded_instance_configB" - + "%\n#_shielded_instance_integrity_policyB\027" - + "\n\025_source_machine_imageB&\n$_source_machi" - + "ne_image_encryption_keyB\023\n\021_start_restri" - + "ctedB\t\n\007_statusB\021\n\017_status_messageB\007\n\005_t" - + "agsB\007\n\005_zone\"\271\003\n\026InstanceAggregatedList\022" - + "\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022L\n\005items\030\300\317\367/ \003(\0132:.go" - + "ogle.cloud.compute.v1.InstanceAggregated" - + "List.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n" - + "\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_l" - + "ink\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t " - + "\003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.c" - + "ompute.v1.WarningH\004\210\001\001\032Z\n\nItemsEntry\022\013\n\003" - + "key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.cloud." - + "compute.v1.InstancesScopedList:\0028\001B\005\n\003_i" - + "dB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_" - + "linkB\n\n\010_warning\"\251\001\n\027InstanceConsumption" - + "Data\022R\n\020consumption_info\030\322\345\344E \001(\01320.goog" - + "le.cloud.compute.v1.InstanceConsumptionI" - + "nfoH\000\210\001\001\022\030\n\010instance\030\225\251\332\010 \001(\tH\001\210\001\001B\023\n\021_c" - + "onsumption_infoB\013\n\t_instance\"\320\001\n\027Instanc" - + "eConsumptionInfo\022\033\n\nguest_cpus\030\322\313\310\273\001 \001(\005" - + "H\000\210\001\001\022\035\n\014local_ssd_gb\030\312\210\377\234\001 \001(\005H\001\210\001\001\022\031\n\t" - + "memory_mb\030\223\223\2507 \001(\005H\002\210\001\001\022\036\n\rmin_node_cpus" - + "\030\273\244\242\227\001 \001(\005H\003\210\001\001B\r\n\013_guest_cpusB\017\n\r_local" - + "_ssd_gbB\014\n\n_memory_mbB\020\n\016_min_node_cpus\"" - + "\225\004\n\rInstanceGroup\022\"\n\022creation_timestamp\030" - + "\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001" - + "\210\001\001\022\033\n\013fingerprint\030\344\321\363o \001(\tH\002\210\001\001\022\020\n\002id\030\233" - + "\032 \001(\004H\003\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\024\n\004name" - + "\030\213\365\315\001 \001(\tH\005\210\001\001\022;\n\013named_ports\030\214\307\362\313\001 \003(\0132" - + "\".google.cloud.compute.v1.NamedPort\022\027\n\007n" - + "etwork\030\256\264\205o \001(\tH\006\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH" - + "\007\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022\024\n\004size" - + "\030\201\300\327\001 \001(\005H\t\210\001\001\022\033\n\nsubnetwork\030\356\247\344\222\001 \001(\tH\n" - + "\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tH\013\210\001\001B\025\n\023_creation_t" - + "imestampB\016\n\014_descriptionB\016\n\014_fingerprint" - + "B\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\n\n\010_networkB\t\n" - + "\007_regionB\014\n\n_self_linkB\007\n\005_sizeB\r\n\013_subn" - + "etworkB\007\n\005_zone\"\310\003\n\033InstanceGroupAggrega" - + "tedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022Q\n\005items\030\300\317\367/ " - + "\003(\0132?.google.cloud.compute.v1.InstanceGr" - + "oupAggregatedList.ItemsEntry\022\024\n\004kind\030\224\367\310" - + "\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002" - + "\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unrea" - + "chables\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .g" - + "oogle.cloud.compute.v1.WarningH\004\210\001\001\032_\n\nI" - + "temsEntry\022\013\n\003key\030\001 \001(\t\022@\n\005value\030\002 \001(\01321." - + "google.cloud.compute.v1.InstanceGroupsSc" - + "opedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_pa" - + "ge_tokenB\014\n\n_self_linkB\n\n\010_warning\"\253\002\n\021I" - + "nstanceGroupList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0228\n\005it" - + "ems\030\300\317\367/ \003(\0132&.google.cloud.compute.v1.I" - + "nstanceGroup\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017ne" - + "xt_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link" - + "\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .go" - + "ogle.cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_i" - + "dB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_" - + "linkB\n\n\010_warning\"\235\016\n\024InstanceGroupManage", - "r\022e\n\024all_instances_config\030\201\256\3305 \001(\0132?.goo" - + "gle.cloud.compute.v1.InstanceGroupManage" - + "rAllInstancesConfigH\000\210\001\001\022a\n\025auto_healing" - + "_policies\030\205\347\350\331\001 \003(\0132>.google.cloud.compu" - + "te.v1.InstanceGroupManagerAutoHealingPol" - + "icy\022#\n\022base_instance_name\030\207\226\305\271\001 \001(\tH\001\210\001\001" - + "\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022\\\n\017" - + "current_actions\030\267\310\234N \001(\0132;.google.cloud." - + "compute.v1.InstanceGroupManagerActionsSu" - + "mmaryH\003\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\004\210\001\001" - + "\022Q\n\023distribution_policy\030\315\356\362\376\001 \001(\0132+.goog" - + "le.cloud.compute.v1.DistributionPolicyH\005" - + "\210\001\001\022\033\n\013fingerprint\030\344\321\363o \001(\tH\006\210\001\001\022\020\n\002id\030\233" - + "\032 \001(\004H\007\210\001\001\022\036\n\016instance_group\030\325\324\325& \001(\tH\010\210" - + "\001\001\022p\n\031instance_lifecycle_policy\030\221\264\315\325\001 \001(" - + "\0132D.google.cloud.compute.v1.InstanceGrou" - + "pManagerInstanceLifecyclePolicyH\t\210\001\001\022\"\n\021" - + "instance_template\030\344\201\273\223\001 \001(\tH\n\210\001\001\022\024\n\004kind" - + "\030\224\367\310\001 \001(\tH\013\210\001\001\022/\n\036list_managed_instances" - + "_results\030\264\244\225\215\001 \001(\tH\014\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\t" - + "H\r\210\001\001\022;\n\013named_ports\030\214\307\362\313\001 \003(\0132\".google." - + "cloud.compute.v1.NamedPort\022\026\n\006region\030\364\315\240" - + "B \001(\tH\016\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\017\210\001\001\022H" - + "\n\017stateful_policy\030\205\303\325\026 \001(\0132\'.google.clou" - + "d.compute.v1.StatefulPolicyH\020\210\001\001\022K\n\006stat" - + "us\030\362\237\267V \001(\01323.google.cloud.compute.v1.In" - + "stanceGroupManagerStatusH\021\210\001\001\022\030\n\014target_" - + "pools\030\251\237\240\240\001 \003(\t\022\033\n\013target_size\030\357\363\375\035 \001(\005H" - + "\022\210\001\001\022X\n\rupdate_policy\030\350\312\352S \001(\01329.google." - + "cloud.compute.v1.InstanceGroupManagerUpd" - + "atePolicyH\023\210\001\001\022I\n\010versions\030\233\375\271M \003(\01324.go" - + "ogle.cloud.compute.v1.InstanceGroupManag" - + "erVersion\022\024\n\004zone\030\254\307\344\001 \001(\tH\024\210\001\001\"n\n\033ListM" - + "anagedInstancesResults\022,\n(UNDEFINED_LIST" - + "_MANAGED_INSTANCES_RESULTS\020\000\022\017\n\010PAGELESS" - + "\020\250\251\254\017\022\020\n\tPAGINATED\020\255\205\225\023B\027\n\025_all_instance" - + "s_configB\025\n\023_base_instance_nameB\025\n\023_crea" - + "tion_timestampB\022\n\020_current_actionsB\016\n\014_d" - + "escriptionB\026\n\024_distribution_policyB\016\n\014_f" - + "ingerprintB\005\n\003_idB\021\n\017_instance_groupB\034\n\032" - + "_instance_lifecycle_policyB\024\n\022_instance_" - + "templateB\007\n\005_kindB!\n\037_list_managed_insta" - + "nces_resultsB\007\n\005_nameB\t\n\007_regionB\014\n\n_sel" - + "f_linkB\022\n\020_stateful_policyB\t\n\007_statusB\016\n" - + "\014_target_sizeB\020\n\016_update_policyB\007\n\005_zone" - + "\"\323\004\n\"InstanceGroupManagerActionsSummary\022" - + "\033\n\nabandoning\030\315\362\350\321\001 \001(\005H\000\210\001\001\022\030\n\010creating" - + "\030\271\335\205d \001(\005H\001\210\001\001\022)\n\030creating_without_retri" - + "es\030\311\366\261\260\001 \001(\005H\002\210\001\001\022\031\n\010deleting\030\250\307\357\206\001 \001(\005H" - + "\003\210\001\001\022\024\n\004none\030\270\336\316\001 \001(\005H\004\210\001\001\022\033\n\nrecreating" - + "\030\354\263\326\241\001 \001(\005H\005\210\001\001\022\032\n\nrefreshing\030\247\246\305f \001(\005H\006" - + "\210\001\001\022\033\n\nrestarting\030\363\226\304\261\001 \001(\005H\007\210\001\001\022\030\n\010resu" - + "ming\030\252\233\362_ \001(\005H\010\210\001\001\022\030\n\010starting\030\300\300\363s \001(\005H" - + "\t\210\001\001\022\030\n\010stopping\030\364\360\2122 \001(\005H\n\210\001\001\022\032\n\nsuspen" - + "ding\030\246\374\360\r \001(\005H\013\210\001\001\022\032\n\tverifying\030\311\241\254\327\001 \001(" - + "\005H\014\210\001\001B\r\n\013_abandoningB\013\n\t_creatingB\033\n\031_c" - + "reating_without_retriesB\013\n\t_deletingB\007\n\005" - + "_noneB\r\n\013_recreatingB\r\n\013_refreshingB\r\n\013_" - + "restartingB\013\n\t_resumingB\013\n\t_startingB\013\n\t" - + "_stoppingB\r\n\013_suspendingB\014\n\n_verifying\"\335" - + "\003\n\"InstanceGroupManagerAggregatedList\022\020\n" - + "\002id\030\233\032 \001(\tH\000\210\001\001\022X\n\005items\030\300\317\367/ \003(\0132F.goog" - + "le.cloud.compute.v1.InstanceGroupManager" - + "AggregatedList.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001" - + "(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001" - + "\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreacha" - + "bles\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .goog" - + "le.cloud.compute.v1.WarningH\004\210\001\001\032f\n\nItem" - + "sEntry\022\013\n\003key\030\001 \001(\t\022G\n\005value\030\002 \001(\01328.goo" - + "gle.cloud.compute.v1.InstanceGroupManage" - + "rsScopedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_nex" - + "t_page_tokenB\014\n\n_self_linkB\n\n\010_warning\"\205" - + "\001\n&InstanceGroupManagerAllInstancesConfi" - + "g\022L\n\nproperties\030\263\232\266F \001(\01320.google.cloud." - + "compute.v1.InstancePropertiesPatchH\000\210\001\001B" - + "\r\n\013_properties\"\220\001\n%InstanceGroupManagerA" - + "utoHealingPolicy\022\035\n\014health_check\030\345\252\244\223\001 \001" - + "(\tH\000\210\001\001\022!\n\021initial_delay_sec\030\332\360\300} \001(\005H\001\210" - + "\001\001B\017\n\r_health_checkB\024\n\022_initial_delay_se" - + "c\"\361\002\n+InstanceGroupManagerInstanceLifecy" - + "clePolicy\022)\n\031default_action_on_failure\030\325" - + "\304\242\035 \001(\tH\000\210\001\001\022\'\n\026force_update_on_repair\030\313" - + "\371\362\251\001 \001(\tH\001\210\001\001\"d\n\026DefaultActionOnFailure\022" - + "\'\n#UNDEFINED_DEFAULT_ACTION_ON_FAILURE\020\000" - + "\022\022\n\nDO_NOTHING\020\371\317\231\327\001\022\r\n\006REPAIR\020\215\247\374~\"O\n\023F" - + "orceUpdateOnRepair\022$\n UNDEFINED_FORCE_UP" - + "DATE_ON_REPAIR\020\000\022\007\n\002NO\020\301\023\022\t\n\003YES\020\307\255\005B\034\n\032" - + "_default_action_on_failureB\031\n\027_force_upd" - + "ate_on_repair\"\271\002\n\030InstanceGroupManagerLi" - + "st\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022?\n\005items\030\300\317\367/ \003(\0132-" - + ".google.cloud.compute.v1.InstanceGroupMa" - + "nager\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page" + + "\210\001\001\022K\n\024reservation_resource\030\241\356\364\207\001 \001(\0132$." + + "google.cloud.compute.v1.ReservationB\003\340A\002" + + "\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_reques" + + "t_id\"\337\001\n\033InsertResourcePolicyRequest\022!\n\007" + + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006regio" + + "n\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313" + + "\201\331\021 \001(\tH\000\210\001\001\022Q\n\030resource_policy_resource" + + "\030\312\214\321$ \001(\0132\'.google.cloud.compute.v1.Reso" + + "urcePolicyB\003\340A\002B\r\n\013_request_id\"\242\001\n\022Inser" + + "tRouteRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" + + "\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022>\n\016" + + "route_resource\030\304\212\277k \001(\0132\036.google.cloud.c" + + "ompute.v1.RouteB\003\340A\002B\r\n\013_request_id\"\306\001\n\023" + + "InsertRouterRequest\022!\n\007project\030\231\226\301l \001(\tB" + + "\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G" + + "\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022@\n\017r" + + "outer_resource\030\304\200\202J \001(\0132\037.google.cloud.c" + + "ompute.v1.RouterB\003\340A\002B\r\n\013_request_id\"\357\001\n" + + "\033InsertSecurityPolicyRequest\022!\n\007project\030" + + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201" + + "\331\021 \001(\tH\000\210\001\001\022Q\n\030security_policy_resource\030" + + "\374\252\211g \001(\0132\'.google.cloud.compute.v1.Secur" + + "ityPolicyB\003\340A\002\022\035\n\rvalidate_only\030\265\372\337s \001(\010" + + "H\001\210\001\001B\r\n\013_request_idB\020\n\016_validate_only\"\351" + + "\001\n\036InsertServiceAttachmentRequest\022!\n\007pro" + + "ject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364" + + "\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021" + + " \001(\tH\000\210\001\001\022X\n\033service_attachment_resource" + + "\030\240\266\304\341\001 \001(\0132*.google.cloud.compute.v1.Ser" + + "viceAttachmentB\003\340A\002B\r\n\013_request_id\"\254\001\n\025I" + + "nsertSnapshotRequest\022!\n\007project\030\231\226\301l \001(\t" + + "B\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000" + + "\210\001\001\022E\n\021snapshot_resource\030\251\270\301\345\001 \001(\0132!.goo" + + "gle.cloud.compute.v1.SnapshotB\003\340A\002B\r\n\013_r" + + "equest_id\"\276\001\n\033InsertSslCertificateReques" + + "t\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\n" + + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022Q\n\030ssl_certific" + + "ate_resource\030\211\324\225V \001(\0132\'.google.cloud.com" + + "pute.v1.SslCertificateB\003\340A\002B\r\n\013_request_" + + "id\"\260\001\n\026InsertSslPolicyRequest\022!\n\007project" + + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313" + + "\201\331\021 \001(\tH\000\210\001\001\022H\n\023ssl_policy_resource\030\310\210\212\203" + + "\001 \001(\0132\".google.cloud.compute.v1.SslPolic" + + "yB\003\340A\002B\r\n\013_request_id\"\322\001\n\030InsertStorageP" + + "oolRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" + + "oject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022K\n\025sto" + + "rage_pool_resource\030\215\274\371J \001(\0132$.google.clo" + + "ud.compute.v1.StoragePoolB\003\340A\002\022\033\n\004zone\030\254" + + "\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\322\001\n\027I" + + "nsertSubnetworkRequest\022!\n\007project\030\231\226\301l \001" + + "(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A" + + "\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022H" + + "\n\023subnetwork_resource\030\277\332\221\024 \001(\0132#.google." + + "cloud.compute.v1.SubnetworkB\003\340A\002B\r\n\013_req" + + "uest_id\"\303\001\n\034InsertTargetGrpcProxyRequest" + + "\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nr" + + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022U\n\032target_grpc_p" + + "roxy_resource\030\322\352\353\234\001 \001(\0132(.google.cloud.c" + + "ompute.v1.TargetGrpcProxyB\003\340A\002B\r\n\013_reque" + + "st_id\"\302\001\n\034InsertTargetHttpProxyRequest\022!" + + "\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreq" + + "uest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022T\n\032target_http_pro" + + "xy_resource\030\250\257\343\013 \001(\0132(.google.cloud.comp" + + "ute.v1.TargetHttpProxyB\003\340A\002B\r\n\013_request_" + + "id\"\306\001\n\035InsertTargetHttpsProxyRequest\022!\n\007" + + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreque" + + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001\022W\n\033target_https_prox" + + "y_resource\030\201\255\344\316\001 \001(\0132).google.cloud.comp" + + "ute.v1.TargetHttpsProxyB\003\340A\002B\r\n\013_request" + + "_id\"\334\001\n\033InsertTargetInstanceRequest\022!\n\007p" + + "roject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreques" + + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001\022R\n\030target_instance_re" + + "source\030\312\342\240\315\001 \001(\0132\'.google.cloud.compute." + + "v1.TargetInstanceB\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB" + + "\n\340A\002\362G\004zoneB\r\n\013_request_id\"\323\001\n\027InsertTar" + + "getPoolRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362" + + "G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006regi" + + "on\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022I\n\024target" + + "_pool_resource\030\243\335\2450 \001(\0132#.google.cloud.c" + + "ompute.v1.TargetPoolB\003\340A\002B\r\n\013_request_id" + + "\"\277\001\n\033InsertTargetSslProxyRequest\022!\n\007proj" + + "ect\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_i" + + "d\030\313\201\331\021 \001(\tH\000\210\001\001\022R\n\031target_ssl_proxy_reso" + + "urce\030\300\375\333C \001(\0132\'.google.cloud.compute.v1." + + "TargetSslProxyB\003\340A\002B\r\n\013_request_id\"\277\001\n\033I" + + "nsertTargetTcpProxyRequest\022!\n\007project\030\231\226" + + "\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021" + + " \001(\tH\000\210\001\001\022R\n\031target_tcp_proxy_resource\030\313" + + "\360\311E \001(\0132\'.google.cloud.compute.v1.Target" + + "TcpProxyB\003\340A\002B\r\n\013_request_id\"\345\001\n\035InsertT" + + "argetVpnGatewayRequest\022!\n\007project\030\231\226\301l \001" + + "(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A" + + "\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022U" + + "\n\033target_vpn_gateway_resource\030\202\263\036 \001(\0132)." + + "google.cloud.compute.v1.TargetVpnGateway" + + "B\003\340A\002B\r\n\013_request_id\"\246\001\n\023InsertUrlMapReq" + + "uest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022" + + "\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022A\n\020url_map_r" + + "esource\030\341\220\267P \001(\0132\037.google.cloud.compute." + + "v1.UrlMapB\003\340A\002B\r\n\013_request_id\"\323\001\n\027Insert" + + "VpnGatewayRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340" + + "A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006r" + + "egion\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022I\n\024vpn" + + "_gateway_resource\030\224\267\216W \001(\0132#.google.clou" + + "d.compute.v1.VpnGatewayB\003\340A\002B\r\n\013_request" + + "_id\"\320\001\n\026InsertVpnTunnelRequest\022!\n\007projec" + + "t\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B" + + " \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(" + + "\tH\000\210\001\001\022G\n\023vpn_tunnel_resource\030\272\241\264) \001(\0132\"" + + ".google.cloud.compute.v1.VpnTunnelB\003\340A\002B" + + "\r\n\013_request_id\"\347\035\n\010Instance\022\\\n\031advanced_" + + "machine_features\030\262\347\252\303\001 \001(\01320.google.clou" + + "d.compute.v1.AdvancedMachineFeaturesH\000\210\001" + + "\001\022\037\n\016can_ip_forward\030\374\206\204\337\001 \001(\010H\001\210\001\001\022b\n\034co" + + "nfidential_instance_config\030\365\222\372\351\001 \001(\01323.g" + + "oogle.cloud.compute.v1.ConfidentialInsta" + + "nceConfigH\002\210\001\001\022\035\n\014cpu_platform\030\252\352\321\303\001 \001(\t" + + "H\003\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\004\210\001" + + "\001\022$\n\023deletion_protection\030\352\377\262\332\001 \001(\010H\005\210\001\001\022" + + "\034\n\013description\030\374\207\326\311\001 \001(\tH\006\210\001\001\0227\n\005disks\030\366" + + "\314\312- \003(\0132%.google.cloud.compute.v1.Attach" + + "edDisk\022F\n\016display_device\030\363\210\274{ \001(\0132&.goog" + + "le.cloud.compute.v1.DisplayDeviceH\007\210\001\001\022\033" + + "\n\013fingerprint\030\344\321\363o \001(\tH\010\210\001\001\022J\n\022guest_acc" + + "elerators\030\357\314\207\335\001 \003(\0132*.google.cloud.compu" + + "te.v1.AcceleratorConfig\022\030\n\010hostname\030\263\270\205q" + + " \001(\tH\t\210\001\001\022\020\n\002id\030\233\032 \001(\004H\n\210\001\001\022W\n\027instance_" + + "encryption_key\030\215\301\357\036 \001(\0132..google.cloud.c" + + "ompute.v1.CustomerEncryptionKeyH\013\210\001\001\022*\n\032" + + "key_revocation_action_type\030\342\334\300p \001(\tH\014\210\001\001" + + "\022\024\n\004kind\030\224\367\310\001 \001(\tH\r\210\001\001\022!\n\021label_fingerpr" + + "int\030\231\360\367T \001(\tH\016\210\001\001\022A\n\006labels\030\377\277\301\356\001 \003(\0132-." + + "google.cloud.compute.v1.Instance.LabelsE" + + "ntry\022%\n\024last_start_timestamp\030\320\243\321\323\001 \001(\tH\017" + + "\210\001\001\022$\n\023last_stop_timestamp\030\342\333\354\304\001 \001(\tH\020\210\001" + + "\001\022)\n\030last_suspended_timestamp\030\211\251\361\251\001 \001(\tH" + + "\021\210\001\001\022\034\n\014machine_type\030\262\260\312l \001(\tH\022\210\001\001\022;\n\010me" + + "tadata\030\257\366\265) \001(\0132!.google.cloud.compute.v" + + "1.MetadataH\023\210\001\001\022 \n\020min_cpu_platform\030\367\233\352s" + + " \001(\tH\024\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\025\210\001\001\022H\n\022netwo" + + "rk_interfaces\030\213\332\222\031 \003(\0132).google.cloud.co" + + "mpute.v1.NetworkInterface\022^\n\032network_per" + + "formance_config\030\342\227\370\275\001 \001(\01321.google.cloud" + + ".compute.v1.NetworkPerformanceConfigH\026\210\001" + + "\001\022?\n\006params\030\206\363\253% \001(\0132\'.google.cloud.comp" + + "ute.v1.InstanceParamsH\027\210\001\001\022*\n\032private_ip" + + "v6_google_access\030\216\314\202\027 \001(\tH\030\210\001\001\022R\n\024reserv" + + "ation_affinity\030\273\270\242K \001(\0132,.google.cloud.c" + + "ompute.v1.ReservationAffinityH\031\210\001\001\022\034\n\021re" + + "source_policies\030\341\234\314\n \003(\t\022H\n\017resource_sta" + + "tus\030\303\372\367v \001(\0132\'.google.cloud.compute.v1.R" + + "esourceStatusH\032\210\001\001\022\036\n\rsatisfies_pzi\030\241\335\253\345" + + "\001 \001(\010H\033\210\001\001\022\036\n\rsatisfies_pzs\030\253\335\253\345\001 \001(\010H\034\210" + + "\001\001\022@\n\nscheduling\030\224\313\261\270\001 \001(\0132#.google.clou" + + "d.compute.v1.SchedulingH\035\210\001\001\022\032\n\tself_lin" + + "k\030\215\222\305\331\001 \001(\tH\036\210\001\001\022E\n\020service_accounts\030\260\304\253" + + "\204\001 \003(\0132\'.google.cloud.compute.v1.Service" + + "Account\022Y\n\030shielded_instance_config\030\265\213\221\006" + + " \001(\0132/.google.cloud.compute.v1.ShieldedI" + + "nstanceConfigH\037\210\001\001\022l\n\"shielded_instance_" + + "integrity_policy\030\227\242\207N \001(\01328.google.cloud" + + ".compute.v1.ShieldedInstanceIntegrityPol" + + "icyH \210\001\001\022$\n\024source_machine_image\030\277\334\260\n \001(" + + "\tH!\210\001\001\022c\n#source_machine_image_encryptio" + + "n_key\030\243\373\371[ \001(\0132..google.cloud.compute.v1" + + ".CustomerEncryptionKeyH\"\210\001\001\022 \n\020start_res" + + "tricted\030\330\320\375: \001(\010H#\210\001\001\022\026\n\006status\030\362\237\267V \001(\t" + + "H$\210\001\001\022\037\n\016status_message\030\272\311\351\215\001 \001(\tH%\210\001\001\0223" + + "\n\004tags\030\231\350\330\001 \001(\0132\035.google.cloud.compute.v" + + "1.TagsH&\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tH\'\210\001\001\032-\n\013Lab" + + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + + "\"\215\001\n\027KeyRevocationActionType\022(\n$UNDEFINE" + + "D_KEY_REVOCATION_ACTION_TYPE\020\000\022.\n&KEY_RE" + + "VOCATION_ACTION_TYPE_UNSPECIFIED\020\332\221\336\336\001\022\013" + + "\n\004NONE\020\270\316\222\001\022\013\n\004STOP\020\202\200\234\001\"\300\001\n\027PrivateIpv6" + + "GoogleAccess\022(\n$UNDEFINED_PRIVATE_IPV6_G" + + "OOGLE_ACCESS\020\000\022-\n%ENABLE_BIDIRECTIONAL_A" + + "CCESS_TO_GOOGLE\020\272\312\211\314\001\022+\n#ENABLE_OUTBOUND" + + "_VM_ACCESS_TO_GOOGLE\020\327\372\266\211\001\022\037\n\027INHERIT_FR" + + "OM_SUBNETWORK\020\277\250\354\374\001\"\334\001\n\006Status\022\024\n\020UNDEFI" + + "NED_STATUS\020\000\022\026\n\016DEPROVISIONING\020\356\223\304\314\001\022\024\n\014" + + "PROVISIONING\020\355\365\332\212\001\022\021\n\tREPAIRING\020\225\202\225\305\001\022\016\n" + + "\007RUNNING\020\237\303\3529\022\017\n\007STAGING\020\233\310\306\315\001\022\017\n\007STOPPE" + + "D\020\255\273\354\323\001\022\020\n\010STOPPING\020\364\320\242\247\001\022\020\n\tSUSPENDED\020\273" + + "\273\266\030\022\022\n\nSUSPENDING\020\246\324\230\365\001\022\021\n\nTERMINATED\020\243\364" + + "\233wB\034\n\032_advanced_machine_featuresB\021\n\017_can" + + "_ip_forwardB\037\n\035_confidential_instance_co" + + "nfigB\017\n\r_cpu_platformB\025\n\023_creation_times", + "tampB\026\n\024_deletion_protectionB\016\n\014_descrip" + + "tionB\021\n\017_display_deviceB\016\n\014_fingerprintB" + + "\013\n\t_hostnameB\005\n\003_idB\032\n\030_instance_encrypt" + + "ion_keyB\035\n\033_key_revocation_action_typeB\007" + + "\n\005_kindB\024\n\022_label_fingerprintB\027\n\025_last_s" + + "tart_timestampB\026\n\024_last_stop_timestampB\033" + + "\n\031_last_suspended_timestampB\017\n\r_machine_" + + "typeB\013\n\t_metadataB\023\n\021_min_cpu_platformB\007" + + "\n\005_nameB\035\n\033_network_performance_configB\t" + + "\n\007_paramsB\035\n\033_private_ipv6_google_access" + + "B\027\n\025_reservation_affinityB\022\n\020_resource_s" + + "tatusB\020\n\016_satisfies_pziB\020\n\016_satisfies_pz" + + "sB\r\n\013_schedulingB\014\n\n_self_linkB\033\n\031_shiel" + + "ded_instance_configB%\n#_shielded_instanc" + + "e_integrity_policyB\027\n\025_source_machine_im" + + "ageB&\n$_source_machine_image_encryption_" + + "keyB\023\n\021_start_restrictedB\t\n\007_statusB\021\n\017_" + + "status_messageB\007\n\005_tagsB\007\n\005_zone\"\271\003\n\026Ins" + + "tanceAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022L\n" + + "\005items\030\300\317\367/ \003(\0132:.google.cloud.compute.v" + + "1.InstanceAggregatedList.ItemsEntry\022\024\n\004k" + + "ind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206" + + "& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027" + + "\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 " + + "\001(\0132 .google.cloud.compute.v1.WarningH\004\210" + + "\001\001\032Z\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022;\n\005value\030\002" + + " \001(\0132,.google.cloud.compute.v1.Instances" + + "ScopedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_" + + "page_tokenB\014\n\n_self_linkB\n\n\010_warning\"\251\001\n" + + "\027InstanceConsumptionData\022R\n\020consumption_" + + "info\030\322\345\344E \001(\01320.google.cloud.compute.v1." + + "InstanceConsumptionInfoH\000\210\001\001\022\030\n\010instance" + + "\030\225\251\332\010 \001(\tH\001\210\001\001B\023\n\021_consumption_infoB\013\n\t_" + + "instance\"\320\001\n\027InstanceConsumptionInfo\022\033\n\n" + + "guest_cpus\030\322\313\310\273\001 \001(\005H\000\210\001\001\022\035\n\014local_ssd_g" + + "b\030\312\210\377\234\001 \001(\005H\001\210\001\001\022\031\n\tmemory_mb\030\223\223\2507 \001(\005H\002" + + "\210\001\001\022\036\n\rmin_node_cpus\030\273\244\242\227\001 \001(\005H\003\210\001\001B\r\n\013_" + + "guest_cpusB\017\n\r_local_ssd_gbB\014\n\n_memory_m" + + "bB\020\n\016_min_node_cpus\"\225\004\n\rInstanceGroup\022\"\n" + + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013des" + + "cription\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\033\n\013fingerprint\030\344" + + "\321\363o \001(\tH\002\210\001\001\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n\004kind\030\224" + + "\367\310\001 \001(\tH\004\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022;\n\013na" + + "med_ports\030\214\307\362\313\001 \003(\0132\".google.cloud.compu" + + "te.v1.NamedPort\022\027\n\007network\030\256\264\205o \001(\tH\006\210\001\001" + + "\022\026\n\006region\030\364\315\240B \001(\tH\007\210\001\001\022\032\n\tself_link\030\215\222" + + "\305\331\001 \001(\tH\010\210\001\001\022\024\n\004size\030\201\300\327\001 \001(\005H\t\210\001\001\022\033\n\nsu" + + "bnetwork\030\356\247\344\222\001 \001(\tH\n\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\t" + + "H\013\210\001\001B\025\n\023_creation_timestampB\016\n\014_descrip" + + "tionB\016\n\014_fingerprintB\005\n\003_idB\007\n\005_kindB\007\n\005" + + "_nameB\n\n\010_networkB\t\n\007_regionB\014\n\n_self_li" + + "nkB\007\n\005_sizeB\r\n\013_subnetworkB\007\n\005_zone\"\310\003\n\033" + + "InstanceGroupAggregatedList\022\020\n\002id\030\233\032 \001(\t" + + "H\000\210\001\001\022Q\n\005items\030\300\317\367/ \003(\0132?.google.cloud.c" + + "ompute.v1.InstanceGroupAggregatedList.It" + + "emsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_p" + + "age_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305" + + "\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007" + + "warning\030\234\337\226\030 \001(\0132 .google.cloud.compute." + + "v1.WarningH\004\210\001\001\032_\n\nItemsEntry\022\013\n\003key\030\001 \001" + + "(\t\022@\n\005value\030\002 \001(\01321.google.cloud.compute" + + ".v1.InstanceGroupsScopedList:\0028\001B\005\n\003_idB" + + "\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_li" + + "nkB\n\n\010_warning\"\253\002\n\021InstanceGroupList\022\020\n\002" + + "id\030\233\032 \001(\tH\000\210\001\001\0228\n\005items\030\300\317\367/ \003(\0132&.googl" + + "e.cloud.compute.v1.InstanceGroup\022\024\n\004kind" + + "\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001" + + "(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007w" + + "arning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v" + + "1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_" + + "page_tokenB\014\n\n_self_linkB\n\n\010_warning\"\235\016\n" + + "\024InstanceGroupManager\022e\n\024all_instances_c" + + "onfig\030\201\256\3305 \001(\0132?.google.cloud.compute.v1" + + ".InstanceGroupManagerAllInstancesConfigH" + + "\000\210\001\001\022a\n\025auto_healing_policies\030\205\347\350\331\001 \003(\0132" + + ">.google.cloud.compute.v1.InstanceGroupM" + + "anagerAutoHealingPolicy\022#\n\022base_instance" + + "_name\030\207\226\305\271\001 \001(\tH\001\210\001\001\022\"\n\022creation_timesta" + + "mp\030\266\217\307\016 \001(\tH\002\210\001\001\022\\\n\017current_actions\030\267\310\234N" + + " \001(\0132;.google.cloud.compute.v1.InstanceG" + + "roupManagerActionsSummaryH\003\210\001\001\022\034\n\013descri" + + "ption\030\374\207\326\311\001 \001(\tH\004\210\001\001\022Q\n\023distribution_pol" + + "icy\030\315\356\362\376\001 \001(\0132+.google.cloud.compute.v1." + + "DistributionPolicyH\005\210\001\001\022\033\n\013fingerprint\030\344" + + "\321\363o \001(\tH\006\210\001\001\022\020\n\002id\030\233\032 \001(\004H\007\210\001\001\022\036\n\016instan" + + "ce_group\030\325\324\325& \001(\tH\010\210\001\001\022p\n\031instance_lifec" + + "ycle_policy\030\221\264\315\325\001 \001(\0132D.google.cloud.com" + + "pute.v1.InstanceGroupManagerInstanceLife" + + "cyclePolicyH\t\210\001\001\022\"\n\021instance_template\030\344\201" + + "\273\223\001 \001(\tH\n\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\013\210\001\001\022/\n\036li" + + "st_managed_instances_results\030\264\244\225\215\001 \001(\tH\014" + + "\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\r\210\001\001\022;\n\013named_ports" + + "\030\214\307\362\313\001 \003(\0132\".google.cloud.compute.v1.Nam" + + "edPort\022\026\n\006region\030\364\315\240B \001(\tH\016\210\001\001\022\032\n\tself_l" + + "ink\030\215\222\305\331\001 \001(\tH\017\210\001\001\022H\n\017stateful_policy\030\205\303" + + "\325\026 \001(\0132\'.google.cloud.compute.v1.Statefu" + + "lPolicyH\020\210\001\001\022K\n\006status\030\362\237\267V \001(\01323.google" + + ".cloud.compute.v1.InstanceGroupManagerSt" + + "atusH\021\210\001\001\022\030\n\014target_pools\030\251\237\240\240\001 \003(\t\022\033\n\013t" + + "arget_size\030\357\363\375\035 \001(\005H\022\210\001\001\022X\n\rupdate_polic" + + "y\030\350\312\352S \001(\01329.google.cloud.compute.v1.Ins" + + "tanceGroupManagerUpdatePolicyH\023\210\001\001\022I\n\010ve" + + "rsions\030\233\375\271M \003(\01324.google.cloud.compute.v" + + "1.InstanceGroupManagerVersion\022\024\n\004zone\030\254\307" + + "\344\001 \001(\tH\024\210\001\001\"n\n\033ListManagedInstancesResul" + + "ts\022,\n(UNDEFINED_LIST_MANAGED_INSTANCES_R" + + "ESULTS\020\000\022\017\n\010PAGELESS\020\250\251\254\017\022\020\n\tPAGINATED\020\255" + + "\205\225\023B\027\n\025_all_instances_configB\025\n\023_base_in" + + "stance_nameB\025\n\023_creation_timestampB\022\n\020_c" + + "urrent_actionsB\016\n\014_descriptionB\026\n\024_distr" + + "ibution_policyB\016\n\014_fingerprintB\005\n\003_idB\021\n" + + "\017_instance_groupB\034\n\032_instance_lifecycle_" + + "policyB\024\n\022_instance_templateB\007\n\005_kindB!\n" + + "\037_list_managed_instances_resultsB\007\n\005_nam" + + "eB\t\n\007_regionB\014\n\n_self_linkB\022\n\020_stateful_" + + "policyB\t\n\007_statusB\016\n\014_target_sizeB\020\n\016_up" + + "date_policyB\007\n\005_zone\"\323\004\n\"InstanceGroupMa" + + "nagerActionsSummary\022\033\n\nabandoning\030\315\362\350\321\001 " + + "\001(\005H\000\210\001\001\022\030\n\010creating\030\271\335\205d \001(\005H\001\210\001\001\022)\n\030cr" + + "eating_without_retries\030\311\366\261\260\001 \001(\005H\002\210\001\001\022\031\n" + + "\010deleting\030\250\307\357\206\001 \001(\005H\003\210\001\001\022\024\n\004none\030\270\336\316\001 \001(" + + "\005H\004\210\001\001\022\033\n\nrecreating\030\354\263\326\241\001 \001(\005H\005\210\001\001\022\032\n\nr" + + "efreshing\030\247\246\305f \001(\005H\006\210\001\001\022\033\n\nrestarting\030\363\226" + + "\304\261\001 \001(\005H\007\210\001\001\022\030\n\010resuming\030\252\233\362_ \001(\005H\010\210\001\001\022\030" + + "\n\010starting\030\300\300\363s \001(\005H\t\210\001\001\022\030\n\010stopping\030\364\360\212" + + "2 \001(\005H\n\210\001\001\022\032\n\nsuspending\030\246\374\360\r \001(\005H\013\210\001\001\022\032" + + "\n\tverifying\030\311\241\254\327\001 \001(\005H\014\210\001\001B\r\n\013_abandonin" + + "gB\013\n\t_creatingB\033\n\031_creating_without_retr" + + "iesB\013\n\t_deletingB\007\n\005_noneB\r\n\013_recreating" + + "B\r\n\013_refreshingB\r\n\013_restartingB\013\n\t_resum" + + "ingB\013\n\t_startingB\013\n\t_stoppingB\r\n\013_suspen" + + "dingB\014\n\n_verifying\"\335\003\n\"InstanceGroupMana" + + "gerAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022X\n\005i" + + "tems\030\300\317\367/ \003(\0132F.google.cloud.compute.v1." + + "InstanceGroupManagerAggregatedList.Items" + + "Entry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page" + "_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 " - + "\001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cl" - + "oud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_k" - + "indB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n\n" - + "\010_warning\"\321\003\n\032InstanceGroupManagerStatus" - + "\022k\n\024all_instances_config\030\201\256\3305 \001(\0132E.goog" - + "le.cloud.compute.v1.InstanceGroupManager" - + "StatusAllInstancesConfigH\000\210\001\001\022\033\n\nautosca" - + "ler\030\327\375\322\366\001 \001(\tH\001\210\001\001\022\031\n\tis_stable\030\360\357\3303 \001(\010" - + "H\002\210\001\001\022U\n\010stateful\030\314\346\310t \001(\0132;.google.clou" - + "d.compute.v1.InstanceGroupManagerStatusS" - + "tatefulH\003\210\001\001\022a\n\016version_target\030\330\335\376\211\001 \001(\013" - + "2@.google.cloud.compute.v1.InstanceGroup" - + "ManagerStatusVersionTargetH\004\210\001\001B\027\n\025_all_" - + "instances_configB\r\n\013_autoscalerB\014\n\n_is_s" - + "tableB\013\n\t_statefulB\021\n\017_version_target\"\216\001" - + "\n,InstanceGroupManagerStatusAllInstances" - + "Config\022 \n\020current_revision\030\341\207\245\022 \001(\tH\000\210\001\001" - + "\022\031\n\teffective\030\247\323\330C \001(\010H\001\210\001\001B\023\n\021_current_" - + "revisionB\014\n\n_effective\"\360\001\n\"InstanceGroup" - + "ManagerStatusStateful\022#\n\023has_stateful_co" - + "nfig\030\360\347\3264 \001(\010H\000\210\001\001\022t\n\024per_instance_confi" - + "gs\030\251\325\370\372\001 \001(\0132M.google.cloud.compute.v1.I" - + "nstanceGroupManagerStatusStatefulPerInst" - + "anceConfigsH\001\210\001\001B\026\n\024_has_stateful_config" - + "B\027\n\025_per_instance_configs\"h\n4InstanceGro" - + "upManagerStatusStatefulPerInstanceConfig" - + "s\022\036\n\rall_effective\030\211\221\247\366\001 \001(\010H\000\210\001\001B\020\n\016_al" - + "l_effective\"U\n\'InstanceGroupManagerStatu" - + "sVersionTarget\022\033\n\nis_reached\030\275\376\310\316\001 \001(\010H\000" - + "\210\001\001B\r\n\013_is_reached\"\334\006\n InstanceGroupMana" - + "gerUpdatePolicy\022-\n\034instance_redistributi" - + "on_type\030\230\337\304\213\001 \001(\tH\000\210\001\001\022C\n\tmax_surge\030\223\311\243\220" - + "\001 \001(\0132\'.google.cloud.compute.v1.FixedOrP" - + "ercentH\001\210\001\001\022I\n\017max_unavailable\030\365\313\213\301\001 \001(\013" - + "2\'.google.cloud.compute.v1.FixedOrPercen" - + "tH\002\210\001\001\022\037\n\016minimal_action\030\224\215\202\201\001 \001(\tH\003\210\001\001\022" - + ".\n\036most_disruptive_allowed_action\030\215\316\302\037 \001" - + "(\tH\004\210\001\001\022#\n\022replacement_method\030\256\317\237\361\001 \001(\tH" - + "\005\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\006\210\001\001\"H\n\032InstanceRe" - + "distributionType\022*\n&UNDEFINED_INSTANCE_R" - + "EDISTRIBUTION_TYPE\020\000\"-\n\rMinimalAction\022\034\n" - + "\030UNDEFINED_MINIMAL_ACTION\020\000\"K\n\033MostDisru" - + "ptiveAllowedAction\022,\n(UNDEFINED_MOST_DIS" - + "RUPTIVE_ALLOWED_ACTION\020\000\"[\n\021ReplacementM" - + "ethod\022 \n\034UNDEFINED_REPLACEMENT_METHOD\020\000\022" - + "\020\n\010RECREATE\020\357\331\233\371\001\022\022\n\nSUBSTITUTE\020\232\241\372\205\001\"1\n" - + "\004Type\022\022\n\016UNDEFINED_TYPE\020\000\022\025\n\rOPPORTUNIST" - + "IC\020\351\267\350\314\001B\037\n\035_instance_redistribution_typ" - + "eB\014\n\n_max_surgeB\022\n\020_max_unavailableB\021\n\017_" - + "minimal_actionB!\n\037_most_disruptive_allow" - + "ed_actionB\025\n\023_replacement_methodB\007\n\005_typ" - + "e\"\314\001\n\033InstanceGroupManagerVersion\022\"\n\021ins" - + "tance_template\030\344\201\273\223\001 \001(\tH\000\210\001\001\022\024\n\004name\030\213\365" - + "\315\001 \001(\tH\001\210\001\001\022D\n\013target_size\030\357\363\375\035 \001(\0132\'.go" - + "ogle.cloud.compute.v1.FixedOrPercentH\002\210\001" - + "\001B\024\n\022_instance_templateB\007\n\005_nameB\016\n\014_tar" - + "get_size\"D\n,InstanceGroupManagersAbandon" - + "InstancesRequest\022\024\n\tinstances\030\376\374\357\r \003(\t\"\365" - + "\002\n(InstanceGroupManagersApplyUpdatesRequ" - + "est\022\036\n\rall_instances\030\340\272\276\300\001 \001(\010H\000\210\001\001\022\024\n\ti" - + "nstances\030\376\374\357\r \003(\t\022\037\n\016minimal_action\030\224\215\202\201" - + "\001 \001(\tH\001\210\001\001\022.\n\036most_disruptive_allowed_ac" - + "tion\030\215\316\302\037 \001(\tH\002\210\001\001\"-\n\rMinimalAction\022\034\n\030U" - + "NDEFINED_MINIMAL_ACTION\020\000\"K\n\033MostDisrupt" - + "iveAllowedAction\022,\n(UNDEFINED_MOST_DISRU" - + "PTIVE_ALLOWED_ACTION\020\000B\020\n\016_all_instances" - + "B\021\n\017_minimal_actionB!\n\037_most_disruptive_" - + "allowed_action\"o\n+InstanceGroupManagersC" - + "reateInstancesRequest\022@\n\tinstances\030\376\374\357\r " - + "\003(\0132*.google.cloud.compute.v1.PerInstanc" - + "eConfig\"\236\001\n+InstanceGroupManagersDeleteI" - + "nstancesRequest\022\024\n\tinstances\030\376\374\357\r \003(\t\0222\n" - + "\"skip_instances_on_validation_error\030\241\366\257\023" - + " \001(\010H\000\210\001\001B%\n#_skip_instances_on_validati" - + "on_error\"D\n0InstanceGroupManagersDeleteP" - + "erInstanceConfigsReq\022\020\n\005names\030\310\256\3571 \003(\t\"\244" - + "\001\n\'InstanceGroupManagersListErrorsRespon" - + "se\022D\n\005items\030\300\317\367/ \003(\01322.google.cloud.comp" - + "ute.v1.InstanceManagedByIgmError\022\037\n\017next" - + "_page_token\030\225\272\206& \001(\tH\000\210\001\001B\022\n\020_next_page_" - + "token\"\261\001\n1InstanceGroupManagersListManag" - + "edInstancesResponse\022G\n\021managed_instances" - + "\030\336\233\251\240\001 \003(\0132(.google.cloud.compute.v1.Man" - + "agedInstance\022\037\n\017next_page_token\030\225\272\206& \001(\t" - + "H\000\210\001\001B\022\n\020_next_page_token\"\353\001\n/InstanceGr" - + "oupManagersListPerInstanceConfigsResp\022<\n" - + "\005items\030\300\317\367/ \003(\0132*.google.cloud.compute.v" - + "1.PerInstanceConfig\022\037\n\017next_page_token\030\225" - + "\272\206& \001(\tH\000\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .googl" - + "e.cloud.compute.v1.WarningH\001\210\001\001B\022\n\020_next" - + "_page_tokenB\n\n\010_warning\"\177\n/InstanceGroup" - + "ManagersPatchPerInstanceConfigsReq\022L\n\024pe" - + "r_instance_configs\030\251\325\370\372\001 \003(\0132*.google.cl" - + "oud.compute.v1.PerInstanceConfig\"E\n-Inst" - + "anceGroupManagersRecreateInstancesReques" - + "t\022\024\n\tinstances\030\376\374\357\r \003(\t\"\273\001\n\037InstanceGrou" - + "pManagersScopedList\022Q\n\027instance_group_ma" - + "nagers\030\220\372\211f \003(\0132-.google.cloud.compute.v" - + "1.InstanceGroupManager\0229\n\007warning\030\234\337\226\030 \001" - + "(\0132 .google.cloud.compute.v1.WarningH\000\210\001" - + "\001B\n\n\010_warning\"k\n/InstanceGroupManagersSe" - + "tInstanceTemplateRequest\022\"\n\021instance_tem" - + "plate\030\344\201\273\223\001 \001(\tH\000\210\001\001B\024\n\022_instance_templa" - + "te\"s\n*InstanceGroupManagersSetTargetPool" - + "sRequest\022\033\n\013fingerprint\030\344\321\363o \001(\tH\000\210\001\001\022\030\n" - + "\014target_pools\030\251\237\240\240\001 \003(\tB\016\n\014_fingerprint\"" - + "\200\001\n0InstanceGroupManagersUpdatePerInstan" - + "ceConfigsReq\022L\n\024per_instance_configs\030\251\325\370" - + "\372\001 \003(\0132*.google.cloud.compute.v1.PerInst" - + "anceConfig\"e\n!InstanceGroupsAddInstances" - + "Request\022@\n\tinstances\030\376\374\357\r \003(\0132*.google.c" - + "loud.compute.v1.InstanceReference\"\276\002\n\033In" - + "stanceGroupsListInstances\022\020\n\002id\030\233\032 \001(\tH\000" - + "\210\001\001\022A\n\005items\030\300\317\367/ \003(\0132/.google.cloud.com" - + "pute.v1.InstanceWithNamedPorts\022\024\n\004kind\030\224" - + "\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\t" - + "H\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007war" + + "\001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007war" + "ning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1." - + "WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_pa" - + "ge_tokenB\014\n\n_self_linkB\n\n\010_warning\"\241\001\n\"I" - + "nstanceGroupsListInstancesRequest\022\036\n\016ins" - + "tance_state\030\347\360\374+ \001(\tH\000\210\001\001\"H\n\rInstanceSta" - + "te\022\034\n\030UNDEFINED_INSTANCE_STATE\020\000\022\t\n\003ALL\020" - + "\201\373\003\022\016\n\007RUNNING\020\237\303\3529B\021\n\017_instance_state\"h" - + "\n$InstanceGroupsRemoveInstancesRequest\022@" - + "\n\tinstances\030\376\374\357\r \003(\0132*.google.cloud.comp" - + "ute.v1.InstanceReference\"\246\001\n\030InstanceGro" - + "upsScopedList\022C\n\017instance_groups\030\276\301\337\256\001 \003" - + "(\0132&.google.cloud.compute.v1.InstanceGro" - + "up\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.co" - + "mpute.v1.WarningH\000\210\001\001B\n\n\010_warning\"\216\001\n\"In" - + "stanceGroupsSetNamedPortsRequest\022\033\n\013fing" - + "erprint\030\344\321\363o \001(\tH\000\210\001\001\022;\n\013named_ports\030\214\307\362" - + "\313\001 \003(\0132\".google.cloud.compute.v1.NamedPo" - + "rtB\016\n\014_fingerprint\"\241\002\n\014InstanceList\022\020\n\002i" - + "d\030\233\032 \001(\tH\000\210\001\001\0223\n\005items\030\300\317\367/ \003(\0132!.google" - + ".cloud.compute.v1.Instance\022\024\n\004kind\030\224\367\310\001 " - + "\001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001" - + "\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning" - + "\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warn" - + "ingH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_t" - + "okenB\014\n\n_self_linkB\n\n\010_warning\"\253\002\n\025Insta" - + "nceListReferrers\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0224\n\005it" - + "ems\030\300\317\367/ \003(\0132\".google.cloud.compute.v1.R" - + "eference\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_p" - + "age_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305" - + "\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google" - + ".cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n" + + "WarningH\004\210\001\001\032f\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022" + + "G\n\005value\030\002 \001(\01328.google.cloud.compute.v1" + + ".InstanceGroupManagersScopedList:\0028\001B\005\n\003" + + "_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_sel" + + "f_linkB\n\n\010_warning\"\205\001\n&InstanceGroupMana" + + "gerAllInstancesConfig\022L\n\nproperties\030\263\232\266F" + + " \001(\01320.google.cloud.compute.v1.InstanceP" + + "ropertiesPatchH\000\210\001\001B\r\n\013_properties\"\220\001\n%I" + + "nstanceGroupManagerAutoHealingPolicy\022\035\n\014" + + "health_check\030\345\252\244\223\001 \001(\tH\000\210\001\001\022!\n\021initial_d" + + "elay_sec\030\332\360\300} \001(\005H\001\210\001\001B\017\n\r_health_checkB" + + "\024\n\022_initial_delay_sec\"\361\002\n+InstanceGroupM" + + "anagerInstanceLifecyclePolicy\022)\n\031default" + + "_action_on_failure\030\325\304\242\035 \001(\tH\000\210\001\001\022\'\n\026forc" + + "e_update_on_repair\030\313\371\362\251\001 \001(\tH\001\210\001\001\"d\n\026Def" + + "aultActionOnFailure\022\'\n#UNDEFINED_DEFAULT" + + "_ACTION_ON_FAILURE\020\000\022\022\n\nDO_NOTHING\020\371\317\231\327\001" + + "\022\r\n\006REPAIR\020\215\247\374~\"O\n\023ForceUpdateOnRepair\022$" + + "\n UNDEFINED_FORCE_UPDATE_ON_REPAIR\020\000\022\007\n\002" + + "NO\020\301\023\022\t\n\003YES\020\307\255\005B\034\n\032_default_action_on_f" + + "ailureB\031\n\027_force_update_on_repair\"\271\002\n\030In" + + "stanceGroupManagerList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001" + + "\022?\n\005items\030\300\317\367/ \003(\0132-.google.cloud.comput" + + "e.v1.InstanceGroupManager\022\024\n\004kind\030\224\367\310\001 \001" + + "(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001" + + "\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030" + + "\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warni" + + "ngH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_to" + + "kenB\014\n\n_self_linkB\n\n\010_warning\"\215\006\n!Instan" + + "ceGroupManagerResizeRequest\022\"\n\022creation_" + + "timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013description\030\374" + + "\207\326\311\001 \001(\tH\001\210\001\001\022\020\n\002id\030\233\032 \001(\004H\002\210\001\001\022\024\n\004kind\030" + + "\224\367\310\001 \001(\tH\003\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\004\210\001\001\022I\n\026r" + + "equested_run_duration\030\371\213\331n \001(\0132!.google." + + "cloud.compute.v1.DurationH\005\210\001\001\022\032\n\tresize" + + "_by\030\302\317\300\376\001 \001(\005H\006\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(" + + "\tH\007\210\001\001\022!\n\021self_link_with_id\030\202\254\235\025 \001(\tH\010\210\001" + + "\001\022\025\n\005state\030\221\211\2534 \001(\tH\t\210\001\001\022X\n\006status\030\362\237\267V " + + "\001(\0132@.google.cloud.compute.v1.InstanceGr" + + "oupManagerResizeRequestStatusH\n\210\001\001\022\024\n\004zo" + + "ne\030\254\307\344\001 \001(\tH\013\210\001\001\"\217\001\n\005State\022\023\n\017UNDEFINED_" + + "STATE\020\000\022\017\n\010ACCEPTED\020\247\237\322u\022\020\n\tCANCELLED\020\261\362" + + "\200\024\022\020\n\010CREATING\020\271\275\235\331\001\022\016\n\006FAILED\020\275\220\246\331\001\022\031\n\021" + + "STATE_UNSPECIFIED\020\311\320\274\340\001\022\021\n\tSUCCEEDED\020\301\244\333" + + "\363\001B\025\n\023_creation_timestampB\016\n\014_descriptio" + + "nB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\031\n\027_requested" + + "_run_durationB\014\n\n_resize_byB\014\n\n_self_lin" + + "kB\024\n\022_self_link_with_idB\010\n\006_stateB\t\n\007_st" + + "atusB\007\n\005_zone\"\347\001\n\'InstanceGroupManagerRe" + + "sizeRequestStatus\0225\n\005error\030\210\244\223. \001(\0132\036.go" + + "ogle.cloud.compute.v1.ErrorH\000\210\001\001\022j\n\014last" + + "_attempt\030\244\254\250\317\001 \001(\0132K.google.cloud.comput" + + "e.v1.InstanceGroupManagerResizeRequestSt" + + "atusLastAttemptH\001\210\001\001B\010\n\006_errorB\017\n\r_last_" + + "attempt\"u\n2InstanceGroupManagerResizeReq" + + "uestStatusLastAttempt\0225\n\005error\030\210\244\223. \001(\0132" + + "\036.google.cloud.compute.v1.ErrorH\000\210\001\001B\010\n\006" + + "_error\"\334\002\n.InstanceGroupManagerResizeReq" + + "uestsListResponse\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022L\n\005i" + + "tems\030\300\317\367/ \003(\0132:.google.cloud.compute.v1." + + "InstanceGroupManagerResizeRequest\022\024\n\004kin" + + "d\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& " + + "\001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007" + + "warning\030\234\337\226\030 \001(\0132 .google.cloud.compute." + + "v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next" + + "_page_tokenB\014\n\n_self_linkB\n\n\010_warning\"\321\003" + + "\n\032InstanceGroupManagerStatus\022k\n\024all_inst" + + "ances_config\030\201\256\3305 \001(\0132E.google.cloud.com" + + "pute.v1.InstanceGroupManagerStatusAllIns" + + "tancesConfigH\000\210\001\001\022\033\n\nautoscaler\030\327\375\322\366\001 \001(" + + "\tH\001\210\001\001\022\031\n\tis_stable\030\360\357\3303 \001(\010H\002\210\001\001\022U\n\010sta" + + "teful\030\314\346\310t \001(\0132;.google.cloud.compute.v1" + + ".InstanceGroupManagerStatusStatefulH\003\210\001\001" + + "\022a\n\016version_target\030\330\335\376\211\001 \001(\0132@.google.cl" + + "oud.compute.v1.InstanceGroupManagerStatu" + + "sVersionTargetH\004\210\001\001B\027\n\025_all_instances_co" + + "nfigB\r\n\013_autoscalerB\014\n\n_is_stableB\013\n\t_st" + + "atefulB\021\n\017_version_target\"\216\001\n,InstanceGr" + + "oupManagerStatusAllInstancesConfig\022 \n\020cu" + + "rrent_revision\030\341\207\245\022 \001(\tH\000\210\001\001\022\031\n\teffectiv" + + "e\030\247\323\330C \001(\010H\001\210\001\001B\023\n\021_current_revisionB\014\n\n" + + "_effective\"\360\001\n\"InstanceGroupManagerStatu" + + "sStateful\022#\n\023has_stateful_config\030\360\347\3264 \001(" + + "\010H\000\210\001\001\022t\n\024per_instance_configs\030\251\325\370\372\001 \001(\013" + + "2M.google.cloud.compute.v1.InstanceGroup" + + "ManagerStatusStatefulPerInstanceConfigsH" + + "\001\210\001\001B\026\n\024_has_stateful_configB\027\n\025_per_ins" + + "tance_configs\"h\n4InstanceGroupManagerSta" + + "tusStatefulPerInstanceConfigs\022\036\n\rall_eff" + + "ective\030\211\221\247\366\001 \001(\010H\000\210\001\001B\020\n\016_all_effective\"" + + "U\n\'InstanceGroupManagerStatusVersionTarg" + + "et\022\033\n\nis_reached\030\275\376\310\316\001 \001(\010H\000\210\001\001B\r\n\013_is_r" + + "eached\"\334\006\n InstanceGroupManagerUpdatePol" + + "icy\022-\n\034instance_redistribution_type\030\230\337\304\213" + + "\001 \001(\tH\000\210\001\001\022C\n\tmax_surge\030\223\311\243\220\001 \001(\0132\'.goog" + + "le.cloud.compute.v1.FixedOrPercentH\001\210\001\001\022" + + "I\n\017max_unavailable\030\365\313\213\301\001 \001(\0132\'.google.cl" + + "oud.compute.v1.FixedOrPercentH\002\210\001\001\022\037\n\016mi" + + "nimal_action\030\224\215\202\201\001 \001(\tH\003\210\001\001\022.\n\036most_disr" + + "uptive_allowed_action\030\215\316\302\037 \001(\tH\004\210\001\001\022#\n\022r" + + "eplacement_method\030\256\317\237\361\001 \001(\tH\005\210\001\001\022\024\n\004type" + + "\030\272\236\332\001 \001(\tH\006\210\001\001\"H\n\032InstanceRedistribution" + + "Type\022*\n&UNDEFINED_INSTANCE_REDISTRIBUTIO" + + "N_TYPE\020\000\"-\n\rMinimalAction\022\034\n\030UNDEFINED_M" + + "INIMAL_ACTION\020\000\"K\n\033MostDisruptiveAllowed" + + "Action\022,\n(UNDEFINED_MOST_DISRUPTIVE_ALLO" + + "WED_ACTION\020\000\"[\n\021ReplacementMethod\022 \n\034UND" + + "EFINED_REPLACEMENT_METHOD\020\000\022\020\n\010RECREATE\020" + + "\357\331\233\371\001\022\022\n\nSUBSTITUTE\020\232\241\372\205\001\"1\n\004Type\022\022\n\016UND" + + "EFINED_TYPE\020\000\022\025\n\rOPPORTUNISTIC\020\351\267\350\314\001B\037\n\035" + + "_instance_redistribution_typeB\014\n\n_max_su" + + "rgeB\022\n\020_max_unavailableB\021\n\017_minimal_acti" + + "onB!\n\037_most_disruptive_allowed_actionB\025\n" + + "\023_replacement_methodB\007\n\005_type\"\314\001\n\033Instan" + + "ceGroupManagerVersion\022\"\n\021instance_templa" + + "te\030\344\201\273\223\001 \001(\tH\000\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\001\210\001\001\022" + + "D\n\013target_size\030\357\363\375\035 \001(\0132\'.google.cloud.c" + + "ompute.v1.FixedOrPercentH\002\210\001\001B\024\n\022_instan" + + "ce_templateB\007\n\005_nameB\016\n\014_target_size\"D\n," + + "InstanceGroupManagersAbandonInstancesReq" + + "uest\022\024\n\tinstances\030\376\374\357\r \003(\t\"\365\002\n(InstanceG" + + "roupManagersApplyUpdatesRequest\022\036\n\rall_i" + + "nstances\030\340\272\276\300\001 \001(\010H\000\210\001\001\022\024\n\tinstances\030\376\374\357" + + "\r \003(\t\022\037\n\016minimal_action\030\224\215\202\201\001 \001(\tH\001\210\001\001\022." + + "\n\036most_disruptive_allowed_action\030\215\316\302\037 \001(" + + "\tH\002\210\001\001\"-\n\rMinimalAction\022\034\n\030UNDEFINED_MIN" + + "IMAL_ACTION\020\000\"K\n\033MostDisruptiveAllowedAc" + + "tion\022,\n(UNDEFINED_MOST_DISRUPTIVE_ALLOWE" + + "D_ACTION\020\000B\020\n\016_all_instancesB\021\n\017_minimal" + + "_actionB!\n\037_most_disruptive_allowed_acti" + + "on\"o\n+InstanceGroupManagersCreateInstanc" + + "esRequest\022@\n\tinstances\030\376\374\357\r \003(\0132*.google" + + ".cloud.compute.v1.PerInstanceConfig\"\236\001\n+" + + "InstanceGroupManagersDeleteInstancesRequ" + + "est\022\024\n\tinstances\030\376\374\357\r \003(\t\0222\n\"skip_instan" + + "ces_on_validation_error\030\241\366\257\023 \001(\010H\000\210\001\001B%\n" + + "#_skip_instances_on_validation_error\"D\n0" + + "InstanceGroupManagersDeletePerInstanceCo" + + "nfigsReq\022\020\n\005names\030\310\256\3571 \003(\t\"\244\001\n\'InstanceG" + + "roupManagersListErrorsResponse\022D\n\005items\030" + + "\300\317\367/ \003(\01322.google.cloud.compute.v1.Insta" + + "nceManagedByIgmError\022\037\n\017next_page_token\030" + + "\225\272\206& \001(\tH\000\210\001\001B\022\n\020_next_page_token\"\261\001\n1In" + + "stanceGroupManagersListManagedInstancesR" + + "esponse\022G\n\021managed_instances\030\336\233\251\240\001 \003(\0132(" + + ".google.cloud.compute.v1.ManagedInstance" + + "\022\037\n\017next_page_token\030\225\272\206& \001(\tH\000\210\001\001B\022\n\020_ne" + + "xt_page_token\"\353\001\n/InstanceGroupManagersL" + + "istPerInstanceConfigsResp\022<\n\005items\030\300\317\367/ " + + "\003(\0132*.google.cloud.compute.v1.PerInstanc" + + "eConfig\022\037\n\017next_page_token\030\225\272\206& \001(\tH\000\210\001\001" + + "\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comp" + + "ute.v1.WarningH\001\210\001\001B\022\n\020_next_page_tokenB" + + "\n\n\010_warning\"\177\n/InstanceGroupManagersPatc" + + "hPerInstanceConfigsReq\022L\n\024per_instance_c" + + "onfigs\030\251\325\370\372\001 \003(\0132*.google.cloud.compute." + + "v1.PerInstanceConfig\"E\n-InstanceGroupMan" + + "agersRecreateInstancesRequest\022\024\n\tinstanc" + + "es\030\376\374\357\r \003(\t\"\273\001\n\037InstanceGroupManagersSco" + + "pedList\022Q\n\027instance_group_managers\030\220\372\211f " + + "\003(\0132-.google.cloud.compute.v1.InstanceGr" + + "oupManager\0229\n\007warning\030\234\337\226\030 \001(\0132 .google." + + "cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_warnin" + + "g\"k\n/InstanceGroupManagersSetInstanceTem" + + "plateRequest\022\"\n\021instance_template\030\344\201\273\223\001 " + + "\001(\tH\000\210\001\001B\024\n\022_instance_template\"s\n*Instan" + + "ceGroupManagersSetTargetPoolsRequest\022\033\n\013" + + "fingerprint\030\344\321\363o \001(\tH\000\210\001\001\022\030\n\014target_pool" + + "s\030\251\237\240\240\001 \003(\tB\016\n\014_fingerprint\"\200\001\n0Instance" + + "GroupManagersUpdatePerInstanceConfigsReq" + + "\022L\n\024per_instance_configs\030\251\325\370\372\001 \003(\0132*.goo" + + "gle.cloud.compute.v1.PerInstanceConfig\"e" + + "\n!InstanceGroupsAddInstancesRequest\022@\n\ti" + + "nstances\030\376\374\357\r \003(\0132*.google.cloud.compute" + + ".v1.InstanceReference\"\276\002\n\033InstanceGroups" + + "ListInstances\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022A\n\005items" + + "\030\300\317\367/ \003(\0132/.google.cloud.compute.v1.Inst" + + "anceWithNamedPorts\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001" + + "\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tsel" + + "f_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(" + + "\0132 .google.cloud.compute.v1.WarningH\004\210\001\001" + + "B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n" + + "_self_linkB\n\n\010_warning\"\241\001\n\"InstanceGroup" + + "sListInstancesRequest\022\036\n\016instance_state\030" + + "\347\360\374+ \001(\tH\000\210\001\001\"H\n\rInstanceState\022\034\n\030UNDEFI" + + "NED_INSTANCE_STATE\020\000\022\t\n\003ALL\020\201\373\003\022\016\n\007RUNNI" + + "NG\020\237\303\3529B\021\n\017_instance_state\"h\n$InstanceGr" + + "oupsRemoveInstancesRequest\022@\n\tinstances\030" + + "\376\374\357\r \003(\0132*.google.cloud.compute.v1.Insta" + + "nceReference\"\246\001\n\030InstanceGroupsScopedLis" + + "t\022C\n\017instance_groups\030\276\301\337\256\001 \003(\0132&.google." + + "cloud.compute.v1.InstanceGroup\0229\n\007warnin" + + "g\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.War" + + "ningH\000\210\001\001B\n\n\010_warning\"\216\001\n\"InstanceGroups" + + "SetNamedPortsRequest\022\033\n\013fingerprint\030\344\321\363o" + + " \001(\tH\000\210\001\001\022;\n\013named_ports\030\214\307\362\313\001 \003(\0132\".goo" + + "gle.cloud.compute.v1.NamedPortB\016\n\014_finge" + + "rprint\"\241\002\n\014InstanceList\022\020\n\002id\030\233\032 \001(\tH\000\210\001" + + "\001\0223\n\005items\030\300\317\367/ \003(\0132!.google.cloud.compu" + + "te.v1.Instance\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017" + + "next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_li" + + "nk\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 ." + + "google.cloud.compute.v1.WarningH\004\210\001\001B\005\n\003" + + "_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_sel" + + "f_linkB\n\n\010_warning\"\253\002\n\025InstanceListRefer" + + "rers\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0224\n\005items\030\300\317\367/ \003(\013" + + "2\".google.cloud.compute.v1.Reference\022\024\n\004" + + "kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272" + + "\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022" + + "9\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.compu" + + "te.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_n" + + "ext_page_tokenB\014\n\n_self_linkB\n\n\010_warning" + + "\"\274\002\n\031InstanceManagedByIgmError\022]\n\005error\030" + + "\210\244\223. \001(\0132F.google.cloud.compute.v1.Insta" + + "nceManagedByIgmErrorManagedInstanceError" + + "H\000\210\001\001\022q\n\027instance_action_details\030\243\374\253\213\001 \001" + + "(\0132G.google.cloud.compute.v1.InstanceMan" + + "agedByIgmErrorInstanceActionDetailsH\001\210\001\001" + + "\022\031\n\ttimestamp\030\226\322\244\032 \001(\tH\002\210\001\001B\010\n\006_errorB\032\n" + + "\030_instance_action_detailsB\014\n\n_timestamp\"" + + "\360\003\n.InstanceManagedByIgmErrorInstanceAct" + + "ionDetails\022\026\n\006action\030\266\374\275Y \001(\tH\000\210\001\001\022\030\n\010in" + + "stance\030\225\251\332\010 \001(\tH\001\210\001\001\022I\n\007version\030\330\271\324\247\001 \001(" + + "\0132/.google.cloud.compute.v1.ManagedInsta" + + "nceVersionH\002\210\001\001\"\234\002\n\006Action\022\024\n\020UNDEFINED_" + + "ACTION\020\000\022\022\n\nABANDONING\020\315\312\220\271\001\022\020\n\010CREATING" + + "\020\271\275\235\331\001\022 \n\030CREATING_WITHOUT_RETRIES\020\211\306\276\314\001" + + "\022\020\n\010DELETING\020\250\247\207\374\001\022\013\n\004NONE\020\270\316\222\001\022\022\n\nRECRE" + + "ATING\020\354\213\376\210\001\022\021\n\nREFRESHING\020\247\376\354M\022\022\n\nRESTAR" + + "TING\020\363\356\353\230\001\022\020\n\010RESUMING\020\252\373\211\325\001\022\020\n\010STARTING" + + "\020\300\240\213\351\001\022\020\n\010STOPPING\020\364\320\242\247\001\022\022\n\nSUSPENDING\020\246" + + "\324\230\365\001\022\020\n\tVERIFYING\020\251\301\214\010B\t\n\007_actionB\013\n\t_in" + + "stanceB\n\n\010_version\"t\n-InstanceManagedByI" + + "gmErrorManagedInstanceError\022\024\n\004code\030\355\333\272\001" + + " \001(\tH\000\210\001\001\022\030\n\007message\030\207\200\254\307\001 \001(\tH\001\210\001\001B\007\n\005_" + + "codeB\n\n\010_message\"\202\001\n\023InstanceMoveRequest" + + "\022 \n\020destination_zone\030\275\342\357> \001(\tH\000\210\001\001\022 \n\017ta" + + "rget_instance\030\203\217\226\212\001 \001(\tH\001\210\001\001B\023\n\021_destina" + + "tion_zoneB\022\n\020_target_instance\"\261\001\n\016Instan" + + "ceParams\022c\n\025resource_manager_tags\030\374\233\213\264\001 " + + "\003(\0132@.google.cloud.compute.v1.InstancePa" + + "rams.ResourceManagerTagsEntry\032:\n\030Resourc" + + "eManagerTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + + "\002 \001(\t:\0028\001\"\330\020\n\022InstanceProperties\022\\\n\031adva" + + "nced_machine_features\030\262\347\252\303\001 \001(\01320.google" + + ".cloud.compute.v1.AdvancedMachineFeature" + + "sH\000\210\001\001\022\037\n\016can_ip_forward\030\374\206\204\337\001 \001(\010H\001\210\001\001\022" + + "b\n\034confidential_instance_config\030\365\222\372\351\001 \001(" + + "\01323.google.cloud.compute.v1.Confidential" + + "InstanceConfigH\002\210\001\001\022\034\n\013description\030\374\207\326\311\001" + + " \001(\tH\003\210\001\001\0227\n\005disks\030\366\314\312- \003(\0132%.google.clo" + + "ud.compute.v1.AttachedDisk\022J\n\022guest_acce" + + "lerators\030\357\314\207\335\001 \003(\0132*.google.cloud.comput" + + "e.v1.AcceleratorConfig\022*\n\032key_revocation" + + "_action_type\030\342\334\300p \001(\tH\004\210\001\001\022K\n\006labels\030\377\277\301" + + "\356\001 \003(\01327.google.cloud.compute.v1.Instanc" + + "eProperties.LabelsEntry\022\034\n\014machine_type\030" + + "\262\260\312l \001(\tH\005\210\001\001\022;\n\010metadata\030\257\366\265) \001(\0132!.goo" + + "gle.cloud.compute.v1.MetadataH\006\210\001\001\022 \n\020mi" + + "n_cpu_platform\030\367\233\352s \001(\tH\007\210\001\001\022H\n\022network_" + + "interfaces\030\213\332\222\031 \003(\0132).google.cloud.compu", + "te.v1.NetworkInterface\022^\n\032network_perfor" + + "mance_config\030\342\227\370\275\001 \001(\01321.google.cloud.co" + + "mpute.v1.NetworkPerformanceConfigH\010\210\001\001\022*" + + "\n\032private_ipv6_google_access\030\216\314\202\027 \001(\tH\t\210" + + "\001\001\022R\n\024reservation_affinity\030\273\270\242K \001(\0132,.go" + + "ogle.cloud.compute.v1.ReservationAffinit" + + "yH\n\210\001\001\022g\n\025resource_manager_tags\030\374\233\213\264\001 \003(" + + "\0132D.google.cloud.compute.v1.InstanceProp" + + "erties.ResourceManagerTagsEntry\022\034\n\021resou" + + "rce_policies\030\341\234\314\n \003(\t\022@\n\nscheduling\030\224\313\261\270" + + "\001 \001(\0132#.google.cloud.compute.v1.Scheduli" + + "ngH\013\210\001\001\022E\n\020service_accounts\030\260\304\253\204\001 \003(\0132\'." + + "google.cloud.compute.v1.ServiceAccount\022Y" + + "\n\030shielded_instance_config\030\265\213\221\006 \001(\0132/.go" + + "ogle.cloud.compute.v1.ShieldedInstanceCo" + + "nfigH\014\210\001\001\0223\n\004tags\030\231\350\330\001 \001(\0132\035.google.clou" + + "d.compute.v1.TagsH\r\210\001\001\032-\n\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032:\n\030Resourc" + + "eManagerTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + + "\002 \001(\t:\0028\001\"\215\001\n\027KeyRevocationActionType\022(\n" + + "$UNDEFINED_KEY_REVOCATION_ACTION_TYPE\020\000\022" + + ".\n&KEY_REVOCATION_ACTION_TYPE_UNSPECIFIE" + + "D\020\332\221\336\336\001\022\013\n\004NONE\020\270\316\222\001\022\013\n\004STOP\020\202\200\234\001\"\300\001\n\027Pr" + + "ivateIpv6GoogleAccess\022(\n$UNDEFINED_PRIVA" + + "TE_IPV6_GOOGLE_ACCESS\020\000\022-\n%ENABLE_BIDIRE" + + "CTIONAL_ACCESS_TO_GOOGLE\020\272\312\211\314\001\022+\n#ENABLE" + + "_OUTBOUND_VM_ACCESS_TO_GOOGLE\020\327\372\266\211\001\022\037\n\027I" + + "NHERIT_FROM_SUBNETWORK\020\277\250\354\374\001B\034\n\032_advance" + + "d_machine_featuresB\021\n\017_can_ip_forwardB\037\n" + + "\035_confidential_instance_configB\016\n\014_descr" + + "iptionB\035\n\033_key_revocation_action_typeB\017\n" + + "\r_machine_typeB\013\n\t_metadataB\023\n\021_min_cpu_" + + "platformB\035\n\033_network_performance_configB" + + "\035\n\033_private_ipv6_google_accessB\027\n\025_reser" + + "vation_affinityB\r\n\013_schedulingB\033\n\031_shiel" + + "ded_instance_configB\007\n\005_tags\"\240\002\n\027Instanc" + + "ePropertiesPatch\022P\n\006labels\030\377\277\301\356\001 \003(\0132<.g" + + "oogle.cloud.compute.v1.InstancePropertie" + + "sPatch.LabelsEntry\022S\n\010metadata\030\257\366\265) \003(\0132" + + ">.google.cloud.compute.v1.InstanceProper" + + "tiesPatch.MetadataEntry\032-\n\013LabelsEntry\022\013" + + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032/\n\rMetada" + + "taEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + + ":\n\021InstanceReference\022\030\n\010instance\030\225\251\332\010 \001(" + + "\tH\000\210\001\001B\013\n\t_instance\"\327\001\n\020InstanceSettings" + + "\022\033\n\013fingerprint\030\344\321\363o \001(\tH\000\210\001\001\022\024\n\004kind\030\224\367" + + "\310\001 \001(\tH\001\210\001\001\022K\n\010metadata\030\257\366\265) \001(\01321.googl" + + "e.cloud.compute.v1.InstanceSettingsMetad" + + "ataH\002\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tH\003\210\001\001B\016\n\014_finge" + + "rprintB\007\n\005_kindB\013\n\t_metadataB\007\n\005_zone\"\267\001" + + "\n\030InstanceSettingsMetadata\022N\n\005items\030\300\317\367/" + + " \003(\0132<.google.cloud.compute.v1.InstanceS" + + "ettingsMetadata.ItemsEntry\022\024\n\004kind\030\224\367\310\001 " + + "\001(\tH\000\210\001\001\032,\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + + "alue\030\002 \001(\t:\0028\001B\007\n\005_kind\"\237\004\n\020InstanceTemp" + + "late\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001" + + "\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\020\n\002id\030\233\032 " + + "\001(\004H\002\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022\024\n\004name\030\213" + + "\365\315\001 \001(\tH\004\210\001\001\022G\n\nproperties\030\263\232\266F \001(\0132+.go" + + "ogle.cloud.compute.v1.InstanceProperties" + + "H\005\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\006\210\001\001\022\032\n\tself_li" + + "nk\030\215\222\305\331\001 \001(\tH\007\210\001\001\022 \n\017source_instance\030\271\230\375" + + "\274\001 \001(\tH\010\210\001\001\022U\n\026source_instance_params\030\314\320" + + "\304@ \001(\0132-.google.cloud.compute.v1.SourceI" + + "nstanceParamsH\t\210\001\001B\025\n\023_creation_timestam" + + "pB\016\n\014_descriptionB\005\n\003_idB\007\n\005_kindB\007\n\005_na" + + "meB\r\n\013_propertiesB\t\n\007_regionB\014\n\n_self_li" + + "nkB\022\n\020_source_instanceB\031\n\027_source_instan" + + "ce_params\"\270\003\n\036InstanceTemplateAggregated" + + "List\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022T\n\005items\030\300\317\367/ \003(\013" + + "2B.google.cloud.compute.v1.InstanceTempl" + + "ateAggregatedList.ItemsEntry\022\024\n\004kind\030\224\367\310" + + "\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002" + + "\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warni" + + "ng\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Wa" + + "rningH\004\210\001\001\032b\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022C\n" + + "\005value\030\002 \001(\01324.google.cloud.compute.v1.I" + + "nstanceTemplatesScopedList:\0028\001B\005\n\003_idB\007\n" + "\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_link" - + "B\n\n\010_warning\"\274\002\n\031InstanceManagedByIgmErr" - + "or\022]\n\005error\030\210\244\223. \001(\0132F.google.cloud.comp" - + "ute.v1.InstanceManagedByIgmErrorManagedI" - + "nstanceErrorH\000\210\001\001\022q\n\027instance_action_det" - + "ails\030\243\374\253\213\001 \001(\0132G.google.cloud.compute.v1" - + ".InstanceManagedByIgmErrorInstanceAction" - + "DetailsH\001\210\001\001\022\031\n\ttimestamp\030\226\322\244\032 \001(\tH\002\210\001\001B" - + "\010\n\006_errorB\032\n\030_instance_action_detailsB\014\n" - + "\n_timestamp\"\360\003\n.InstanceManagedByIgmErro" - + "rInstanceActionDetails\022\026\n\006action\030\266\374\275Y \001(" - + "\tH\000\210\001\001\022\030\n\010instance\030\225\251\332\010 \001(\tH\001\210\001\001\022I\n\007vers" - + "ion\030\330\271\324\247\001 \001(\0132/.google.cloud.compute.v1." - + "ManagedInstanceVersionH\002\210\001\001\"\234\002\n\006Action\022\024" - + "\n\020UNDEFINED_ACTION\020\000\022\022\n\nABANDONING\020\315\312\220\271\001" - + "\022\020\n\010CREATING\020\271\275\235\331\001\022 \n\030CREATING_WITHOUT_R" - + "ETRIES\020\211\306\276\314\001\022\020\n\010DELETING\020\250\247\207\374\001\022\013\n\004NONE\020\270" - + "\316\222\001\022\022\n\nRECREATING\020\354\213\376\210\001\022\021\n\nREFRESHING\020\247\376" - + "\354M\022\022\n\nRESTARTING\020\363\356\353\230\001\022\020\n\010RESUMING\020\252\373\211\325\001" - + "\022\020\n\010STARTING\020\300\240\213\351\001\022\020\n\010STOPPING\020\364\320\242\247\001\022\022\n\n" - + "SUSPENDING\020\246\324\230\365\001\022\020\n\tVERIFYING\020\251\301\214\010B\t\n\007_a" - + "ctionB\013\n\t_instanceB\n\n\010_version\"t\n-Instan" - + "ceManagedByIgmErrorManagedInstanceError\022" - + "\024\n\004code\030\355\333\272\001 \001(\tH\000\210\001\001\022\030\n\007message\030\207\200\254\307\001 \001" - + "(\tH\001\210\001\001B\007\n\005_codeB\n\n\010_message\"\202\001\n\023Instanc" - + "eMoveRequest\022 \n\020destination_zone\030\275\342\357> \001(" - + "\tH\000\210\001\001\022 \n\017target_instance\030\203\217\226\212\001 \001(\tH\001\210\001\001" - + "B\023\n\021_destination_zoneB\022\n\020_target_instanc" - + "e\"\261\001\n\016InstanceParams\022c\n\025resource_manager" - + "_tags\030\374\233\213\264\001 \003(\0132@.google.cloud.compute.v" - + "1.InstanceParams.ResourceManagerTagsEntr" - + "y\032:\n\030ResourceManagerTagsEntry\022\013\n\003key\030\001 \001" - + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\330\020\n\022InstanceProper" - + "ties\022\\\n\031advanced_machine_features\030\262\347\252\303\001 " - + "\001(\01320.google.cloud.compute.v1.AdvancedMa" - + "chineFeaturesH\000\210\001\001\022\037\n\016can_ip_forward\030\374\206\204" - + "\337\001 \001(\010H\001\210\001\001\022b\n\034confidential_instance_con" - + "fig\030\365\222\372\351\001 \001(\01323.google.cloud.compute.v1." - + "ConfidentialInstanceConfigH\002\210\001\001\022\034\n\013descr" - + "iption\030\374\207\326\311\001 \001(\tH\003\210\001\001\0227\n\005disks\030\366\314\312- \003(\0132" - + "%.google.cloud.compute.v1.AttachedDisk\022J" - + "\n\022guest_accelerators\030\357\314\207\335\001 \003(\0132*.google." - + "cloud.compute.v1.AcceleratorConfig\022*\n\032ke" - + "y_revocation_action_type\030\342\334\300p \001(\tH\004\210\001\001\022K" - + "\n\006labels\030\377\277\301\356\001 \003(\01327.google.cloud.comput" - + "e.v1.InstanceProperties.LabelsEntry\022\034\n\014m" - + "achine_type\030\262\260\312l \001(\tH\005\210\001\001\022;\n\010metadata\030\257\366" - + "\265) \001(\0132!.google.cloud.compute.v1.Metadat" - + "aH\006\210\001\001\022 \n\020min_cpu_platform\030\367\233\352s \001(\tH\007\210\001\001" - + "\022H\n\022network_interfaces\030\213\332\222\031 \003(\0132).google" - + ".cloud.compute.v1.NetworkInterface\022^\n\032ne" - + "twork_performance_config\030\342\227\370\275\001 \001(\01321.goo" - + "gle.cloud.compute.v1.NetworkPerformanceC" - + "onfigH\010\210\001\001\022*\n\032private_ipv6_google_access" - + "\030\216\314\202\027 \001(\tH\t\210\001\001\022R\n\024reservation_affinity\030\273" - + "\270\242K \001(\0132,.google.cloud.compute.v1.Reserv" - + "ationAffinityH\n\210\001\001\022g\n\025resource_manager_t" - + "ags\030\374\233\213\264\001 \003(\0132D.google.cloud.compute.v1." - + "InstanceProperties.ResourceManagerTagsEn" - + "try\022\034\n\021resource_policies\030\341\234\314\n \003(\t\022@\n\nsch" - + "eduling\030\224\313\261\270\001 \001(\0132#.google.cloud.compute" - + ".v1.SchedulingH\013\210\001\001\022E\n\020service_accounts\030" - + "\260\304\253\204\001 \003(\0132\'.google.cloud.compute.v1.Serv" - + "iceAccount\022Y\n\030shielded_instance_config\030\265" - + "\213\221\006 \001(\0132/.google.cloud.compute.v1.Shield" - + "edInstanceConfigH\014\210\001\001\0223\n\004tags\030\231\350\330\001 \001(\0132\035" - + ".google.cloud.compute.v1.TagsH\r\210\001\001\032-\n\013La" - + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" - + "\001\032:\n\030ResourceManagerTagsEntry\022\013\n\003key\030\001 \001" - + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\215\001\n\027KeyRevocationA" - + "ctionType\022(\n$UNDEFINED_KEY_REVOCATION_AC" - + "TION_TYPE\020\000\022.\n&KEY_REVOCATION_ACTION_TYP" - + "E_UNSPECIFIED\020\332\221\336\336\001\022\013\n\004NONE\020\270\316\222\001\022\013\n\004STOP" - + "\020\202\200\234\001\"\300\001\n\027PrivateIpv6GoogleAccess\022(\n$UND" - + "EFINED_PRIVATE_IPV6_GOOGLE_ACCESS\020\000\022-\n%E" - + "NABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE\020\272\312\211" - + "\314\001\022+\n#ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGL" - + "E\020\327\372\266\211\001\022\037\n\027INHERIT_FROM_SUBNETWORK\020\277\250\354\374\001" - + "B\034\n\032_advanced_machine_featuresB\021\n\017_can_i" - + "p_forwardB\037\n\035_confidential_instance_conf" - + "igB\016\n\014_descriptionB\035\n\033_key_revocation_ac" - + "tion_typeB\017\n\r_machine_typeB\013\n\t_metadataB" - + "\023\n\021_min_cpu_platformB\035\n\033_network_perform" - + "ance_configB\035\n\033_private_ipv6_google_acce" - + "ssB\027\n\025_reservation_affinityB\r\n\013_scheduli" - + "ngB\033\n\031_shielded_instance_configB\007\n\005_tags" - + "\"\240\002\n\027InstancePropertiesPatch\022P\n\006labels\030\377" - + "\277\301\356\001 \003(\0132<.google.cloud.compute.v1.Insta" - + "ncePropertiesPatch.LabelsEntry\022S\n\010metada" - + "ta\030\257\366\265) \003(\0132>.google.cloud.compute.v1.In" - + "stancePropertiesPatch.MetadataEntry\032-\n\013L" - + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" - + "8\001\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" - + "e\030\002 \001(\t:\0028\001\":\n\021InstanceReference\022\030\n\010inst" - + "ance\030\225\251\332\010 \001(\tH\000\210\001\001B\013\n\t_instance\"\237\004\n\020Inst" - + "anceTemplate\022\"\n\022creation_timestamp\030\266\217\307\016 " - + "\001(\tH\000\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\020" - + "\n\002id\030\233\032 \001(\004H\002\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022\024" - + "\n\004name\030\213\365\315\001 \001(\tH\004\210\001\001\022G\n\nproperties\030\263\232\266F " - + "\001(\0132+.google.cloud.compute.v1.InstancePr" - + "opertiesH\005\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\006\210\001\001\022\032\n" - + "\tself_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\022 \n\017source_inst" - + "ance\030\271\230\375\274\001 \001(\tH\010\210\001\001\022U\n\026source_instance_p" - + "arams\030\314\320\304@ \001(\0132-.google.cloud.compute.v1" - + ".SourceInstanceParamsH\t\210\001\001B\025\n\023_creation_" - + "timestampB\016\n\014_descriptionB\005\n\003_idB\007\n\005_kin" - + "dB\007\n\005_nameB\r\n\013_propertiesB\t\n\007_regionB\014\n\n" - + "_self_linkB\022\n\020_source_instanceB\031\n\027_sourc" - + "e_instance_params\"\270\003\n\036InstanceTemplateAg" - + "gregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022T\n\005items\030" - + "\300\317\367/ \003(\0132B.google.cloud.compute.v1.Insta" - + "nceTemplateAggregatedList.ItemsEntry\022\024\n\004" + + "B\n\n\010_warning\"\261\002\n\024InstanceTemplateList\022\020\n" + + "\002id\030\233\032 \001(\tH\000\210\001\001\022;\n\005items\030\300\317\367/ \003(\0132).goog" + + "le.cloud.compute.v1.InstanceTemplate\022\024\n\004" + "kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272" + "\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022" + "9\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.compu" - + "te.v1.WarningH\004\210\001\001\032b\n\nItemsEntry\022\013\n\003key\030" - + "\001 \001(\t\022C\n\005value\030\002 \001(\01324.google.cloud.comp" - + "ute.v1.InstanceTemplatesScopedList:\0028\001B\005" - + "\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_s" - + "elf_linkB\n\n\010_warning\"\261\002\n\024InstanceTemplat" - + "eList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022;\n\005items\030\300\317\367/ \003(" - + "\0132).google.cloud.compute.v1.InstanceTemp" - + "late\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_" - + "token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001" - + "(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.clo" - + "ud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_ki" - + "ndB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010" - + "_warning\"\257\001\n\033InstanceTemplatesScopedList" - + "\022I\n\022instance_templates\030\217\270\245\333\001 \003(\0132).googl" - + "e.cloud.compute.v1.InstanceTemplate\0229\n\007w" - + "arning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v" - + "1.WarningH\000\210\001\001B\n\n\010_warning\"\376\002\n\026InstanceW" - + "ithNamedPorts\022\030\n\010instance\030\225\251\332\010 \001(\tH\000\210\001\001\022" - + ";\n\013named_ports\030\214\307\362\313\001 \003(\0132\".google.cloud." - + "compute.v1.NamedPort\022\026\n\006status\030\362\237\267V \001(\tH" - + "\001\210\001\001\"\334\001\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\026\n" - + "\016DEPROVISIONING\020\356\223\304\314\001\022\024\n\014PROVISIONING\020\355\365" - + "\332\212\001\022\021\n\tREPAIRING\020\225\202\225\305\001\022\016\n\007RUNNING\020\237\303\3529\022\017" - + "\n\007STAGING\020\233\310\306\315\001\022\017\n\007STOPPED\020\255\273\354\323\001\022\020\n\010STOP" - + "PING\020\364\320\242\247\001\022\020\n\tSUSPENDED\020\273\273\266\030\022\022\n\nSUSPENDI" - + "NG\020\246\324\230\365\001\022\021\n\nTERMINATED\020\243\364\233wB\013\n\t_instance" - + "B\t\n\007_status\"C\n#InstancesAddResourcePolic" - + "iesRequest\022\034\n\021resource_policies\030\341\234\314\n \003(\t" - + "\"\212\002\n$InstancesBulkInsertOperationMetadat" - + "a\022t\n\023per_location_status\030\232\351\204P \003(\0132T.goog" - + "le.cloud.compute.v1.InstancesBulkInsertO" - + "perationMetadata.PerLocationStatusEntry\032" - + "l\n\026PerLocationStatusEntry\022\013\n\003key\030\001 \001(\t\022A" - + "\n\005value\030\002 \001(\01322.google.cloud.compute.v1." - + "BulkInsertOperationStatus:\0028\001\"\330\001\n&Instan" - + "cesGetEffectiveFirewallsResponse\022t\n\020fire" - + "wall_policys\030\302\312\374\303\001 \003(\0132V.google.cloud.co" - + "mpute.v1.InstancesGetEffectiveFirewallsR" - + "esponseEffectiveFirewallPolicy\0228\n\tfirewa" - + "lls\030\363\306\350\201\001 \003(\0132!.google.cloud.compute.v1." - + "Firewall\"\204\003\n=InstancesGetEffectiveFirewa" - + "llsResponseEffectiveFirewallPolicy\022\034\n\014di" - + "splay_name\030\350\207\221\002 \001(\tH\000\210\001\001\022\024\n\004name\030\213\365\315\001 \001(" - + "\tH\001\210\001\001\022=\n\005rules\030\367\221\3653 \003(\0132+.google.cloud.", - "compute.v1.FirewallPolicyRule\022\033\n\nshort_n" - + "ame\030\356\270\320\352\001 \001(\tH\002\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\003\210\001\001" - + "\"k\n\004Type\022\022\n\016UNDEFINED_TYPE\020\000\022\020\n\tHIERARCH" - + "Y\020\225\304\252!\022\017\n\007NETWORK\020\216\314\263\305\001\022\027\n\020NETWORK_REGIO" - + "NAL\020\260\342\375Z\022\023\n\013UNSPECIFIED\020\227\276\230\373\001B\017\n\r_displa" - + "y_nameB\007\n\005_nameB\r\n\013_short_nameB\007\n\005_type\"" - + "F\n&InstancesRemoveResourcePoliciesReques" - + "t\022\034\n\021resource_policies\030\341\234\314\n \003(\t\"\225\001\n\023Inst" - + "ancesScopedList\0227\n\tinstances\030\376\374\357\r \003(\0132!." - + "google.cloud.compute.v1.Instance\0229\n\007warn" - + "ing\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.W" - + "arningH\000\210\001\001B\n\n\010_warning\"\327\001\n\031InstancesSet" - + "LabelsRequest\022!\n\021label_fingerprint\030\231\360\367T " - + "\001(\tH\000\210\001\001\022R\n\006labels\030\377\277\301\356\001 \003(\0132>.google.cl" - + "oud.compute.v1.InstancesSetLabelsRequest" - + ".LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" - + "\022\r\n\005value\030\002 \001(\t:\0028\001B\024\n\022_label_fingerprin" - + "t\"q\n#InstancesSetMachineResourcesRequest" - + "\022J\n\022guest_accelerators\030\357\314\207\335\001 \003(\0132*.googl" - + "e.cloud.compute.v1.AcceleratorConfig\"O\n\036" - + "InstancesSetMachineTypeRequest\022\034\n\014machin" - + "e_type\030\262\260\312l \001(\tH\000\210\001\001B\017\n\r_machine_type\"Z\n" - + "!InstancesSetMinCpuPlatformRequest\022 \n\020mi" - + "n_cpu_platform\030\367\233\352s \001(\tH\000\210\001\001B\023\n\021_min_cpu" - + "_platform\"h\n\027InstancesSetNameRequest\022\035\n\014" - + "current_name\030\221\363\253\274\001 \001(\tH\000\210\001\001\022\024\n\004name\030\213\365\315\001" - + " \001(\tH\001\210\001\001B\017\n\r_current_nameB\007\n\005_name\"w\n!I" - + "nstancesSetSecurityPolicyRequest\022\035\n\022netw" - + "ork_interfaces\030\213\332\222\031 \003(\t\022\037\n\017security_poli" - + "cy\030\221\206\312Q \001(\tH\000\210\001\001B\022\n\020_security_policy\"W\n!" - + "InstancesSetServiceAccountRequest\022\025\n\005ema" - + "il\030\234\227\211. \001(\tH\000\210\001\001\022\021\n\006scopes\030\237\231\222O \003(\tB\010\n\006_" - + "email\"w\n&InstancesStartWithEncryptionKey" - + "Request\022M\n\005disks\030\366\314\312- \003(\0132;.google.cloud" - + ".compute.v1.CustomerEncryptionKeyProtect" - + "edDisk\"\254\t\n\017InstantSnapshot\022\035\n\014architectu" - + "re\030\323\322\261\220\001 \001(\tH\000\210\001\001\022\"\n\022creation_timestamp\030" - + "\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\002" - + "\210\001\001\022\035\n\014disk_size_gb\030\267\232\347\226\001 \001(\003H\003\210\001\001\022\020\n\002id" - + "\030\233\032 \001(\004H\004\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022!\n\021la" - + "bel_fingerprint\030\231\360\367T \001(\tH\006\210\001\001\022H\n\006labels\030" - + "\377\277\301\356\001 \003(\01324.google.cloud.compute.v1.Inst" - + "antSnapshot.LabelsEntry\022\024\n\004name\030\213\365\315\001 \001(\t" - + "H\007\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\010\210\001\001\022W\n\017resourc" - + "e_status\030\303\372\367v \001(\01326.google.cloud.compute" - + ".v1.InstantSnapshotResourceStatusH\t\210\001\001\022\036" - + "\n\rsatisfies_pzi\030\241\335\253\345\001 \001(\010H\n\210\001\001\022\036\n\rsatisf" - + "ies_pzs\030\253\335\253\345\001 \001(\010H\013\210\001\001\022\032\n\tself_link\030\215\222\305\331" - + "\001 \001(\tH\014\210\001\001\022!\n\021self_link_with_id\030\202\254\235\025 \001(\t" - + "H\r\210\001\001\022\034\n\013source_disk\030\301\356\264\327\001 \001(\tH\016\210\001\001\022\037\n\016s" - + "ource_disk_id\030\331\315\311\330\001 \001(\tH\017\210\001\001\022\026\n\006status\030\362" - + "\237\267V \001(\tH\020\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tH\021\210\001\001\032-\n\013La" - + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" - + "\001\"j\n\014Architecture\022\032\n\026UNDEFINED_ARCHITECT" - + "URE\020\000\022 \n\030ARCHITECTURE_UNSPECIFIED\020\253\324\235\274\001\022" - + "\014\n\005ARM64\020\372\313\351\035\022\016\n\006X86_64\020\307\244\346\312\001\"`\n\006Status\022" - + "\024\n\020UNDEFINED_STATUS\020\000\022\020\n\010CREATING\020\271\275\235\331\001\022" - + "\020\n\010DELETING\020\250\247\207\374\001\022\016\n\006FAILED\020\275\220\246\331\001\022\014\n\005REA" - + "DY\020\203\303\217%B\017\n\r_architectureB\025\n\023_creation_ti" - + "mestampB\016\n\014_descriptionB\017\n\r_disk_size_gb" - + "B\005\n\003_idB\007\n\005_kindB\024\n\022_label_fingerprintB\007" - + "\n\005_nameB\t\n\007_regionB\022\n\020_resource_statusB\020" - + "\n\016_satisfies_pziB\020\n\016_satisfies_pzsB\014\n\n_s" - + "elf_linkB\024\n\022_self_link_with_idB\016\n\014_sourc" - + "e_diskB\021\n\017_source_disk_idB\t\n\007_statusB\007\n\005" - + "_zone\"\316\003\n\035InstantSnapshotAggregatedList\022" - + "\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022S\n\005items\030\300\317\367/ \003(\0132A.go" - + "ogle.cloud.compute.v1.InstantSnapshotAgg" + + "te.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_n" + + "ext_page_tokenB\014\n\n_self_linkB\n\n\010_warning" + + "\"\257\001\n\033InstanceTemplatesScopedList\022I\n\022inst" + + "ance_templates\030\217\270\245\333\001 \003(\0132).google.cloud." + + "compute.v1.InstanceTemplate\0229\n\007warning\030\234" + + "\337\226\030 \001(\0132 .google.cloud.compute.v1.Warnin" + + "gH\000\210\001\001B\n\n\010_warning\"\376\002\n\026InstanceWithNamed" + + "Ports\022\030\n\010instance\030\225\251\332\010 \001(\tH\000\210\001\001\022;\n\013named" + + "_ports\030\214\307\362\313\001 \003(\0132\".google.cloud.compute." + + "v1.NamedPort\022\026\n\006status\030\362\237\267V \001(\tH\001\210\001\001\"\334\001\n" + + "\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\026\n\016DEPROVI" + + "SIONING\020\356\223\304\314\001\022\024\n\014PROVISIONING\020\355\365\332\212\001\022\021\n\tR" + + "EPAIRING\020\225\202\225\305\001\022\016\n\007RUNNING\020\237\303\3529\022\017\n\007STAGIN" + + "G\020\233\310\306\315\001\022\017\n\007STOPPED\020\255\273\354\323\001\022\020\n\010STOPPING\020\364\320\242" + + "\247\001\022\020\n\tSUSPENDED\020\273\273\266\030\022\022\n\nSUSPENDING\020\246\324\230\365\001" + + "\022\021\n\nTERMINATED\020\243\364\233wB\013\n\t_instanceB\t\n\007_sta" + + "tus\"C\n#InstancesAddResourcePoliciesReque" + + "st\022\034\n\021resource_policies\030\341\234\314\n \003(\t\"\212\002\n$Ins" + + "tancesBulkInsertOperationMetadata\022t\n\023per" + + "_location_status\030\232\351\204P \003(\0132T.google.cloud" + + ".compute.v1.InstancesBulkInsertOperation" + + "Metadata.PerLocationStatusEntry\032l\n\026PerLo" + + "cationStatusEntry\022\013\n\003key\030\001 \001(\t\022A\n\005value\030" + + "\002 \001(\01322.google.cloud.compute.v1.BulkInse" + + "rtOperationStatus:\0028\001\"\330\001\n&InstancesGetEf" + + "fectiveFirewallsResponse\022t\n\020firewall_pol" + + "icys\030\302\312\374\303\001 \003(\0132V.google.cloud.compute.v1" + + ".InstancesGetEffectiveFirewallsResponseE" + + "ffectiveFirewallPolicy\0228\n\tfirewalls\030\363\306\350\201" + + "\001 \003(\0132!.google.cloud.compute.v1.Firewall" + + "\"\204\003\n=InstancesGetEffectiveFirewallsRespo" + + "nseEffectiveFirewallPolicy\022\034\n\014display_na" + + "me\030\350\207\221\002 \001(\tH\000\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\001\210\001\001\022=" + + "\n\005rules\030\367\221\3653 \003(\0132+.google.cloud.compute." + + "v1.FirewallPolicyRule\022\033\n\nshort_name\030\356\270\320\352" + + "\001 \001(\tH\002\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\003\210\001\001\"k\n\004Type" + + "\022\022\n\016UNDEFINED_TYPE\020\000\022\020\n\tHIERARCHY\020\225\304\252!\022\017" + + "\n\007NETWORK\020\216\314\263\305\001\022\027\n\020NETWORK_REGIONAL\020\260\342\375Z" + + "\022\023\n\013UNSPECIFIED\020\227\276\230\373\001B\017\n\r_display_nameB\007" + + "\n\005_nameB\r\n\013_short_nameB\007\n\005_type\"F\n&Insta" + + "ncesRemoveResourcePoliciesRequest\022\034\n\021res" + + "ource_policies\030\341\234\314\n \003(\t\"\225\001\n\023InstancesSco" + + "pedList\0227\n\tinstances\030\376\374\357\r \003(\0132!.google.c" + + "loud.compute.v1.Instance\0229\n\007warning\030\234\337\226\030" + + " \001(\0132 .google.cloud.compute.v1.WarningH\000" + + "\210\001\001B\n\n\010_warning\"\327\001\n\031InstancesSetLabelsRe" + + "quest\022!\n\021label_fingerprint\030\231\360\367T \001(\tH\000\210\001\001" + + "\022R\n\006labels\030\377\277\301\356\001 \003(\0132>.google.cloud.comp" + + "ute.v1.InstancesSetLabelsRequest.LabelsE" + + "ntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + + "e\030\002 \001(\t:\0028\001B\024\n\022_label_fingerprint\"q\n#Ins" + + "tancesSetMachineResourcesRequest\022J\n\022gues" + + "t_accelerators\030\357\314\207\335\001 \003(\0132*.google.cloud." + + "compute.v1.AcceleratorConfig\"O\n\036Instance" + + "sSetMachineTypeRequest\022\034\n\014machine_type\030\262" + + "\260\312l \001(\tH\000\210\001\001B\017\n\r_machine_type\"Z\n!Instanc" + + "esSetMinCpuPlatformRequest\022 \n\020min_cpu_pl" + + "atform\030\367\233\352s \001(\tH\000\210\001\001B\023\n\021_min_cpu_platfor" + + "m\"h\n\027InstancesSetNameRequest\022\035\n\014current_" + + "name\030\221\363\253\274\001 \001(\tH\000\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\001\210\001" + + "\001B\017\n\r_current_nameB\007\n\005_name\"w\n!Instances" + + "SetSecurityPolicyRequest\022\035\n\022network_inte" + + "rfaces\030\213\332\222\031 \003(\t\022\037\n\017security_policy\030\221\206\312Q " + + "\001(\tH\000\210\001\001B\022\n\020_security_policy\"W\n!Instance" + + "sSetServiceAccountRequest\022\025\n\005email\030\234\227\211. " + + "\001(\tH\000\210\001\001\022\021\n\006scopes\030\237\231\222O \003(\tB\010\n\006_email\"w\n" + + "&InstancesStartWithEncryptionKeyRequest\022" + + "M\n\005disks\030\366\314\312- \003(\0132;.google.cloud.compute" + + ".v1.CustomerEncryptionKeyProtectedDisk\"\301" + + "\t\n\017InstantSnapshot\022\035\n\014architecture\030\323\322\261\220\001" + + " \001(\tH\000\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\t" + + "H\001\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\035\n\014d" + + "isk_size_gb\030\267\232\347\226\001 \001(\003H\003\210\001\001\022\020\n\002id\030\233\032 \001(\004H" + + "\004\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022!\n\021label_fing" + + "erprint\030\231\360\367T \001(\tH\006\210\001\001\022H\n\006labels\030\377\277\301\356\001 \003(" + + "\01324.google.cloud.compute.v1.InstantSnaps" + + "hot.LabelsEntry\022\024\n\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022\026\n" + + "\006region\030\364\315\240B \001(\tH\010\210\001\001\022W\n\017resource_status" + + "\030\303\372\367v \001(\01326.google.cloud.compute.v1.Inst" + + "antSnapshotResourceStatusH\t\210\001\001\022\036\n\rsatisf" + + "ies_pzi\030\241\335\253\345\001 \001(\010H\n\210\001\001\022\036\n\rsatisfies_pzs\030" + + "\253\335\253\345\001 \001(\010H\013\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\014\210" + + "\001\001\022!\n\021self_link_with_id\030\202\254\235\025 \001(\tH\r\210\001\001\022\034\n" + + "\013source_disk\030\301\356\264\327\001 \001(\tH\016\210\001\001\022\037\n\016source_di" + + "sk_id\030\331\315\311\330\001 \001(\tH\017\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH" + + "\020\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tH\021\210\001\001\032-\n\013LabelsEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"j\n\014Arc" + + "hitecture\022\032\n\026UNDEFINED_ARCHITECTURE\020\000\022 \n" + + "\030ARCHITECTURE_UNSPECIFIED\020\253\324\235\274\001\022\014\n\005ARM64" + + "\020\372\313\351\035\022\016\n\006X86_64\020\307\244\346\312\001\"u\n\006Status\022\024\n\020UNDEF" + + "INED_STATUS\020\000\022\020\n\010CREATING\020\271\275\235\331\001\022\020\n\010DELET" + + "ING\020\250\247\207\374\001\022\016\n\006FAILED\020\275\220\246\331\001\022\014\n\005READY\020\203\303\217%\022" + + "\023\n\013UNAVAILABLE\020\260\330\245\305\001B\017\n\r_architectureB\025\n" + + "\023_creation_timestampB\016\n\014_descriptionB\017\n\r" + + "_disk_size_gbB\005\n\003_idB\007\n\005_kindB\024\n\022_label_" + + "fingerprintB\007\n\005_nameB\t\n\007_regionB\022\n\020_reso" + + "urce_statusB\020\n\016_satisfies_pziB\020\n\016_satisf" + + "ies_pzsB\014\n\n_self_linkB\024\n\022_self_link_with" + + "_idB\016\n\014_source_diskB\021\n\017_source_disk_idB\t" + + "\n\007_statusB\007\n\005_zone\"\316\003\n\035InstantSnapshotAg" + + "gregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022S\n\005items\030" + + "\300\317\367/ \003(\0132A.google.cloud.compute.v1.Insta" + + "ntSnapshotAggregatedList.ItemsEntry\022\024\n\004k" + + "ind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206" + + "& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027" + + "\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 " + + "\001(\0132 .google.cloud.compute.v1.WarningH\004\210" + + "\001\001\032a\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022B\n\005value\030\002" + + " \001(\01323.google.cloud.compute.v1.InstantSn" + + "apshotsScopedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n" + + "\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_warn" + + "ing\"\257\002\n\023InstantSnapshotList\022\020\n\002id\030\233\032 \001(\t" + + "H\000\210\001\001\022:\n\005items\030\300\317\367/ \003(\0132(.google.cloud.c" + + "ompute.v1.InstantSnapshot\022\024\n\004kind\030\224\367\310\001 \001" + + "(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001" + + "\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030" + + "\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warni" + + "ngH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_to" + + "kenB\014\n\n_self_linkB\n\n\010_warning\"[\n\035Instant" + + "SnapshotResourceStatus\022#\n\022storage_size_b" + + "ytes\030\361\215\346\270\001 \001(\003H\000\210\001\001B\025\n\023_storage_size_byt" + + "es\"\254\001\n\032InstantSnapshotsScopedList\022G\n\021ins" + + "tant_snapshots\030\321\274\227\235\001 \003(\0132(.google.cloud." + + "compute.v1.InstantSnapshot\0229\n\007warning\030\234\337" + + "\226\030 \001(\0132 .google.cloud.compute.v1.Warning" + + "H\000\210\001\001B\n\n\010_warning\"h\n\017Int64RangeMatch\022\032\n\t" + + "range_end\030\331\225\340\231\001 \001(\003H\000\210\001\001\022\033\n\013range_start\030" + + "\340\375\2421 \001(\003H\001\210\001\001B\014\n\n_range_endB\016\n\014_range_st" + + "art\"\273\020\n\014Interconnect\022\036\n\radmin_enabled\030\321\354" + + "\301\324\001 \001(\010H\000\210\001\001\022\036\n\022available_features\030\363\271\326\354\001" + + " \003(\t\022J\n\rcircuit_infos\030\257\203\315N \003(\01320.google." + + "cloud.compute.v1.InterconnectCircuitInfo" + + "\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\035\n\r" + + "customer_name\030\314\334\337\001 \001(\tH\002\210\001\001\022\034\n\013descripti" + + "on\030\374\207\326\311\001 \001(\tH\003\210\001\001\022T\n\020expected_outages\030\233\352" + + "\216~ \003(\01327.google.cloud.compute.v1.Interco" + + "nnectOutageNotification\022\"\n\021google_ip_add" + + "ress\030\242\205\245\323\001 \001(\tH\004\210\001\001\022$\n\023google_reference_" + + "id\030\325\265\212\377\001 \001(\tH\005\210\001\001\022\020\n\002id\030\233\032 \001(\004H\006\210\001\001\022$\n\030i" + + "nterconnect_attachments\030\377\322\353\312\001 \003(\t\022\"\n\021int" + + "erconnect_type\030\313\230\323\365\001 \001(\tH\007\210\001\001\022\024\n\004kind\030\224\367" + + "\310\001 \001(\tH\010\210\001\001\022!\n\021label_fingerprint\030\231\360\367T \001(" + + "\tH\t\210\001\001\022E\n\006labels\030\377\277\301\356\001 \003(\01321.google.clou" + + "d.compute.v1.Interconnect.LabelsEntry\022\032\n" + + "\tlink_type\030\337\210\276\371\001 \001(\tH\n\210\001\001\022\031\n\010location\030\265\277" + + "\276\212\001 \001(\tH\013\210\001\001\022D\n\006macsec\030\242\301\227\374\001 \001(\0132+.googl" + + "e.cloud.compute.v1.InterconnectMacsecH\014\210" + + "\001\001\022\036\n\016macsec_enabled\030\244\241\315\\ \001(\010H\r\210\001\001\022\024\n\004na" + + "me\030\213\365\315\001 \001(\tH\016\210\001\001\022!\n\021noc_contact_email\030\200\370" + + "\332\006 \001(\tH\017\210\001\001\022\"\n\022operational_status\030\377\261\360_ \001" + + "(\tH\020\210\001\001\022\037\n\017peer_ip_address\030\331\227\207c \001(\tH\021\210\001\001" + + "\022\'\n\026provisioned_link_count\030\365\322\366\303\001 \001(\005H\022\210\001" + + "\001\022 \n\017remote_location\030\216\217\327\232\001 \001(\tH\023\210\001\001\022\036\n\022r" + + "equested_features\030\356\363\367\333\001 \003(\t\022$\n\024requested" + + "_link_count\030\373\333\275\025 \001(\005H\024\210\001\001\022\036\n\rsatisfies_p" + + "zs\030\253\335\253\345\001 \001(\010H\025\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\t" + + "H\026\210\001\001\022\025\n\005state\030\221\211\2534 \001(\tH\027\210\001\001\032-\n\013LabelsEn" + + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"5\n\021A" + + "vailableFeatures\022 \n\034UNDEFINED_AVAILABLE_" + + "FEATURES\020\000\"j\n\020InterconnectType\022\037\n\033UNDEFI" + + "NED_INTERCONNECT_TYPE\020\000\022\020\n\tDEDICATED\020\317\233\234" + + "{\022\022\n\nIT_PRIVATE\020\317\214\210\240\001\022\017\n\007PARTNER\020\250\321\241\334\001\"i" + + "\n\010LinkType\022\027\n\023UNDEFINED_LINK_TYPE\020\000\022\"\n\032L" + + "INK_TYPE_ETHERNET_100G_LR\020\347\362\201\241\001\022 \n\031LINK_" + + "TYPE_ETHERNET_10G_LR\020\245\271\361p\"`\n\021Operational" + + "Status\022 \n\034UNDEFINED_OPERATIONAL_STATUS\020\000" + + "\022\020\n\tOS_ACTIVE\020\301\373\310\032\022\027\n\020OS_UNPROVISIONED\020\300" + + "\301\252r\"5\n\021RequestedFeatures\022 \n\034UNDEFINED_RE" + + "QUESTED_FEATURES\020\000\"C\n\005State\022\023\n\017UNDEFINED" + + "_STATE\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\025\n\rUNPROVISIONE" + + "D\020\333\307\327\366\001B\020\n\016_admin_enabledB\025\n\023_creation_t" + + "imestampB\020\n\016_customer_nameB\016\n\014_descripti" + + "onB\024\n\022_google_ip_addressB\026\n\024_google_refe" + + "rence_idB\005\n\003_idB\024\n\022_interconnect_typeB\007\n" + + "\005_kindB\024\n\022_label_fingerprintB\014\n\n_link_ty" + + "peB\013\n\t_locationB\t\n\007_macsecB\021\n\017_macsec_en" + + "abledB\007\n\005_nameB\024\n\022_noc_contact_emailB\025\n\023" + + "_operational_statusB\022\n\020_peer_ip_addressB" + + "\031\n\027_provisioned_link_countB\022\n\020_remote_lo" + + "cationB\027\n\025_requested_link_countB\020\n\016_sati" + + "sfies_pzsB\014\n\n_self_linkB\010\n\006_state\"\313\031\n\026In" + + "terconnectAttachment\022\036\n\radmin_enabled\030\321\354" + + "\301\324\001 \001(\010H\000\210\001\001\022\031\n\tbandwidth\030\261\201\323V \001(\tH\001\210\001\001\022" + + "!\n\026candidate_ipv6_subnets\030\232\217\332! \003(\t\022\034\n\021ca" + + "ndidate_subnets\030\372\343\264q \003(\t\022(\n\027cloud_router" + + "_ip_address\030\210\210\205\211\001 \001(\tH\002\210\001\001\022*\n\031cloud_rout" + + "er_ipv6_address\030\310\223\277\327\001 \001(\tH\003\210\001\001\022/\n\036cloud_" + + "router_ipv6_interface_id\030\215\311\310\370\001 \001(\tH\004\210\001\001\022" + + "r\n\031configuration_constraints\030\355\360\326U \001(\0132G." + + "google.cloud.compute.v1.InterconnectAtta" + + "chmentConfigurationConstraintsH\005\210\001\001\022\"\n\022c" + + "reation_timestamp\030\266\217\307\016 \001(\tH\006\210\001\001\022+\n\032custo" + + "mer_router_ip_address\030\361\332\304\236\001 \001(\tH\007\210\001\001\022-\n\034" + + "customer_router_ipv6_address\030\361\371\253\212\001 \001(\tH\010" + + "\210\001\001\0222\n!customer_router_ipv6_interface_id" + + "\030\204\206\326\265\001 \001(\tH\t\210\001\001\022!\n\021dataplane_version\030\213\255\323" + + "\020 \001(\005H\n\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\013\210\001\001" + + "\022(\n\030edge_availability_domain\030\246\225\377! \001(\tH\014\210" + + "\001\001\022\032\n\nencryption\030\203\237\334. \001(\tH\r\210\001\001\022$\n\023google" + + "_reference_id\030\325\265\212\377\001 \001(\tH\016\210\001\001\022\020\n\002id\030\233\032 \001(" + + "\004H\017\210\001\001\022\034\n\014interconnect\030\216\311\214k \001(\tH\020\210\001\001\022$\n\030" + + "ipsec_internal_addresses\030\265\362\260\302\001 \003(\t\022\024\n\004ki" + + "nd\030\224\367\310\001 \001(\tH\021\210\001\001\022!\n\021label_fingerprint\030\231\360" + + "\367T \001(\tH\022\210\001\001\022O\n\006labels\030\377\277\301\356\001 \003(\0132;.google" + + ".cloud.compute.v1.InterconnectAttachment" + + ".LabelsEntry\022\022\n\003mtu\030\256\317\006 \001(\005H\023\210\001\001\022\024\n\004name" + + "\030\213\365\315\001 \001(\tH\024\210\001\001\022\"\n\022operational_status\030\377\261\360" + + "_ \001(\tH\025\210\001\001\022\034\n\013pairing_key\030\350\360\324\321\001 \001(\tH\026\210\001\001" + + "\022\034\n\013partner_asn\030\205\305\367\320\001 \001(\003H\027\210\001\001\022`\n\020partne" + + "r_metadata\030\306\341\266\037 \001(\0132>.google.cloud.compu" + + "te.v1.InterconnectAttachmentPartnerMetad" + + "ataH\030\210\001\001\022e\n\031private_interconnect_info\030\203\354" + + "\221q \001(\0132:.google.cloud.compute.v1.Interco" + + "nnectAttachmentPrivateInfoH\031\210\001\001\022\026\n\006regio" + + "n\030\364\315\240B \001(\tH\032\210\001\001\022\037\n\016remote_service\030\274\377\362\272\001 " + + "\001(\tH\033\210\001\001\022\026\n\006router\030\311\256\356F \001(\tH\034\210\001\001\022\036\n\rsati" + + "sfies_pzs\030\253\335\253\345\001 \001(\010H\035\210\001\001\022\032\n\tself_link\030\215\222" + + "\305\331\001 \001(\tH\036\210\001\001\022\033\n\nstack_type\030\221\265\213\313\001 \001(\tH\037\210\001" + + "\001\022\025\n\005state\030\221\211\2534 \001(\tH \210\001\001\022\036\n\rsubnet_lengt" + + "h\030\210\304\267\205\001 \001(\005H!\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\"\210\001\001\022\035" + + "\n\rvlan_tag8021q\030\234\350\2279 \001(\005H#\210\001\001\032-\n\013LabelsE" + + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\355\001\n" + + "\tBandwidth\022\027\n\023UNDEFINED_BANDWIDTH\020\000\022\017\n\010B" + + "PS_100M\020\266\225\320\027\022\017\n\007BPS_10G\020\216\211\362\204\001\022\016\n\006BPS_1G\020" + + "\360\255\271\251\001\022\017\n\010BPS_200M\020\225\376\321\027\022\017\n\007BPS_20G\020\317\220\362\204\001\022" + + "\016\n\006BPS_2G\020\217\256\271\251\001\022\017\n\010BPS_300M\020\364\346\323\027\022\017\n\010BPS_" + + "400M\020\323\317\325\027\022\017\n\010BPS_500M\020\262\270\327\027\022\017\n\007BPS_50G\020\222\247" + + "\362\204\001\022\017\n\007BPS_50M\020\230\247\362\204\001\022\016\n\006BPS_5G\020\354\256\271\251\001\"\237\001\n" + + "\026EdgeAvailabilityDomain\022&\n\"UNDEFINED_EDG" + + "E_AVAILABILITY_DOMAIN\020\000\022\035\n\025AVAILABILITY_" + + "DOMAIN_1\020\332\373\326\246\001\022\035\n\025AVAILABILITY_DOMAIN_2\020" + + "\333\373\326\246\001\022\037\n\027AVAILABILITY_DOMAIN_ANY\020\265\352\367\262\001\"A" + + "\n\nEncryption\022\030\n\024UNDEFINED_ENCRYPTION\020\000\022\014" + + "\n\005IPSEC\020\252\243\251!\022\013\n\004NONE\020\270\316\222\001\"`\n\021Operational" + + "Status\022 \n\034UNDEFINED_OPERATIONAL_STATUS\020\000" + + "\022\020\n\tOS_ACTIVE\020\301\373\310\032\022\027\n\020OS_UNPROVISIONED\020\300" + + "\301\252r\"I\n\tStackType\022\030\n\024UNDEFINED_STACK_TYPE" + + "\020\000\022\020\n\tIPV4_IPV6\020\201\350\312\n\022\020\n\tIPV4_ONLY\020\246\313\325\n\"\302" + + "\001\n\005State\022\023\n\017UNDEFINED_STATE\020\000\022\016\n\006ACTIVE\020" + + "\206\346\211\226\001\022\016\n\007DEFUNCT\020\257\274\2417\022 \n\030PARTNER_REQUEST" + + "_RECEIVED\020\350\360\362\364\001\022\027\n\020PENDING_CUSTOMER\020\246\203\357O" + + "\022\027\n\017PENDING_PARTNER\020\340\373\372\270\001\022\031\n\021STATE_UNSPE" + + "CIFIED\020\311\320\274\340\001\022\025\n\rUNPROVISIONED\020\333\307\327\366\001\"W\n\004T" + + "ype\022\022\n\016UNDEFINED_TYPE\020\000\022\020\n\tDEDICATED\020\317\233\234" + + "{\022\017\n\007PARTNER\020\250\321\241\334\001\022\030\n\020PARTNER_PROVIDER\020\250" + + "\367\267\346\001B\020\n\016_admin_enabledB\014\n\n_bandwidthB\032\n\030" + + "_cloud_router_ip_addressB\034\n\032_cloud_route" + + "r_ipv6_addressB!\n\037_cloud_router_ipv6_int" + + "erface_idB\034\n\032_configuration_constraintsB" + + "\025\n\023_creation_timestampB\035\n\033_customer_rout" + + "er_ip_addressB\037\n\035_customer_router_ipv6_a" + + "ddressB$\n\"_customer_router_ipv6_interfac" + + "e_idB\024\n\022_dataplane_versionB\016\n\014_descripti" + + "onB\033\n\031_edge_availability_domainB\r\n\013_encr" + + "yptionB\026\n\024_google_reference_idB\005\n\003_idB\017\n" + + "\r_interconnectB\007\n\005_kindB\024\n\022_label_finger" + + "printB\006\n\004_mtuB\007\n\005_nameB\025\n\023_operational_s" + + "tatusB\016\n\014_pairing_keyB\016\n\014_partner_asnB\023\n" + + "\021_partner_metadataB\034\n\032_private_interconn" + + "ect_infoB\t\n\007_regionB\021\n\017_remote_serviceB\t" + + "\n\007_routerB\020\n\016_satisfies_pzsB\014\n\n_self_lin" + + "kB\r\n\013_stack_typeB\010\n\006_stateB\020\n\016_subnet_le" + + "ngthB\007\n\005_typeB\020\n\016_vlan_tag8021q\"\343\003\n$Inte" + + "rconnectAttachmentAggregatedList\022\020\n\002id\030\233" + + "\032 \001(\tH\000\210\001\001\022Z\n\005items\030\300\317\367/ \003(\0132H.google.cl" + + "oud.compute.v1.InterconnectAttachmentAgg" + "regatedList.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH" + "\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n" + "\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachable" - + "s\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .google." - + "cloud.compute.v1.WarningH\004\210\001\001\032a\n\nItemsEn" - + "try\022\013\n\003key\030\001 \001(\t\022B\n\005value\030\002 \001(\01323.google" - + ".cloud.compute.v1.InstantSnapshotsScoped" - + "List:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_t" - + "okenB\014\n\n_self_linkB\n\n\010_warning\"\257\002\n\023Insta" - + "ntSnapshotList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022:\n\005item" - + "s\030\300\317\367/ \003(\0132(.google.cloud.compute.v1.Ins" - + "tantSnapshot\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017ne" - + "xt_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link" - + "\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .go" - + "ogle.cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_i" - + "dB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_" - + "linkB\n\n\010_warning\"[\n\035InstantSnapshotResou" - + "rceStatus\022#\n\022storage_size_bytes\030\361\215\346\270\001 \001(" - + "\003H\000\210\001\001B\025\n\023_storage_size_bytes\"\254\001\n\032Instan" - + "tSnapshotsScopedList\022G\n\021instant_snapshot" - + "s\030\321\274\227\235\001 \003(\0132(.google.cloud.compute.v1.In" - + "stantSnapshot\0229\n\007warning\030\234\337\226\030 \001(\0132 .goog" - + "le.cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_war" - + "ning\"h\n\017Int64RangeMatch\022\032\n\trange_end\030\331\225\340" - + "\231\001 \001(\003H\000\210\001\001\022\033\n\013range_start\030\340\375\2421 \001(\003H\001\210\001\001" - + "B\014\n\n_range_endB\016\n\014_range_start\"\273\020\n\014Inter" - + "connect\022\036\n\radmin_enabled\030\321\354\301\324\001 \001(\010H\000\210\001\001\022" - + "\036\n\022available_features\030\363\271\326\354\001 \003(\t\022J\n\rcircu" - + "it_infos\030\257\203\315N \003(\01320.google.cloud.compute" - + ".v1.InterconnectCircuitInfo\022\"\n\022creation_" - + "timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\035\n\rcustomer_name" - + "\030\314\334\337\001 \001(\tH\002\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH" - + "\003\210\001\001\022T\n\020expected_outages\030\233\352\216~ \003(\01327.goog" - + "le.cloud.compute.v1.InterconnectOutageNo" - + "tification\022\"\n\021google_ip_address\030\242\205\245\323\001 \001(" - + "\tH\004\210\001\001\022$\n\023google_reference_id\030\325\265\212\377\001 \001(\tH" - + "\005\210\001\001\022\020\n\002id\030\233\032 \001(\004H\006\210\001\001\022$\n\030interconnect_a" - + "ttachments\030\377\322\353\312\001 \003(\t\022\"\n\021interconnect_typ" - + "e\030\313\230\323\365\001 \001(\tH\007\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\010\210\001\001\022!" - + "\n\021label_fingerprint\030\231\360\367T \001(\tH\t\210\001\001\022E\n\006lab" - + "els\030\377\277\301\356\001 \003(\01321.google.cloud.compute.v1." - + "Interconnect.LabelsEntry\022\032\n\tlink_type\030\337\210" - + "\276\371\001 \001(\tH\n\210\001\001\022\031\n\010location\030\265\277\276\212\001 \001(\tH\013\210\001\001\022" - + "D\n\006macsec\030\242\301\227\374\001 \001(\0132+.google.cloud.compu" - + "te.v1.InterconnectMacsecH\014\210\001\001\022\036\n\016macsec_" - + "enabled\030\244\241\315\\ \001(\010H\r\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\016" - + "\210\001\001\022!\n\021noc_contact_email\030\200\370\332\006 \001(\tH\017\210\001\001\022\"" - + "\n\022operational_status\030\377\261\360_ \001(\tH\020\210\001\001\022\037\n\017pe" - + "er_ip_address\030\331\227\207c \001(\tH\021\210\001\001\022\'\n\026provision" - + "ed_link_count\030\365\322\366\303\001 \001(\005H\022\210\001\001\022 \n\017remote_l" - + "ocation\030\216\217\327\232\001 \001(\tH\023\210\001\001\022\036\n\022requested_feat" - + "ures\030\356\363\367\333\001 \003(\t\022$\n\024requested_link_count\030\373" - + "\333\275\025 \001(\005H\024\210\001\001\022\036\n\rsatisfies_pzs\030\253\335\253\345\001 \001(\010H" - + "\025\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\026\210\001\001\022\025\n\005stat" - + "e\030\221\211\2534 \001(\tH\027\210\001\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"5\n\021AvailableFeatu" - + "res\022 \n\034UNDEFINED_AVAILABLE_FEATURES\020\000\"j\n" - + "\020InterconnectType\022\037\n\033UNDEFINED_INTERCONN" - + "ECT_TYPE\020\000\022\020\n\tDEDICATED\020\317\233\234{\022\022\n\nIT_PRIVA" - + "TE\020\317\214\210\240\001\022\017\n\007PARTNER\020\250\321\241\334\001\"i\n\010LinkType\022\027\n" - + "\023UNDEFINED_LINK_TYPE\020\000\022\"\n\032LINK_TYPE_ETHE" - + "RNET_100G_LR\020\347\362\201\241\001\022 \n\031LINK_TYPE_ETHERNET" - + "_10G_LR\020\245\271\361p\"`\n\021OperationalStatus\022 \n\034UND" - + "EFINED_OPERATIONAL_STATUS\020\000\022\020\n\tOS_ACTIVE" - + "\020\301\373\310\032\022\027\n\020OS_UNPROVISIONED\020\300\301\252r\"5\n\021Reques" - + "tedFeatures\022 \n\034UNDEFINED_REQUESTED_FEATU" - + "RES\020\000\"C\n\005State\022\023\n\017UNDEFINED_STATE\020\000\022\016\n\006A" - + "CTIVE\020\206\346\211\226\001\022\025\n\rUNPROVISIONED\020\333\307\327\366\001B\020\n\016_a" - + "dmin_enabledB\025\n\023_creation_timestampB\020\n\016_" - + "customer_nameB\016\n\014_descriptionB\024\n\022_google" - + "_ip_addressB\026\n\024_google_reference_idB\005\n\003_" - + "idB\024\n\022_interconnect_typeB\007\n\005_kindB\024\n\022_la" - + "bel_fingerprintB\014\n\n_link_typeB\013\n\t_locati" - + "onB\t\n\007_macsecB\021\n\017_macsec_enabledB\007\n\005_nam" - + "eB\024\n\022_noc_contact_emailB\025\n\023_operational_" - + "statusB\022\n\020_peer_ip_addressB\031\n\027_provision" - + "ed_link_countB\022\n\020_remote_locationB\027\n\025_re" - + "quested_link_countB\020\n\016_satisfies_pzsB\014\n\n" - + "_self_linkB\010\n\006_state\"\313\031\n\026InterconnectAtt" - + "achment\022\036\n\radmin_enabled\030\321\354\301\324\001 \001(\010H\000\210\001\001\022" - + "\031\n\tbandwidth\030\261\201\323V \001(\tH\001\210\001\001\022!\n\026candidate_" - + "ipv6_subnets\030\232\217\332! \003(\t\022\034\n\021candidate_subne" - + "ts\030\372\343\264q \003(\t\022(\n\027cloud_router_ip_address\030\210" - + "\210\205\211\001 \001(\tH\002\210\001\001\022*\n\031cloud_router_ipv6_addre" - + "ss\030\310\223\277\327\001 \001(\tH\003\210\001\001\022/\n\036cloud_router_ipv6_i" - + "nterface_id\030\215\311\310\370\001 \001(\tH\004\210\001\001\022r\n\031configurat" - + "ion_constraints\030\355\360\326U \001(\0132G.google.cloud." - + "compute.v1.InterconnectAttachmentConfigu" - + "rationConstraintsH\005\210\001\001\022\"\n\022creation_times" - + "tamp\030\266\217\307\016 \001(\tH\006\210\001\001\022+\n\032customer_router_ip" - + "_address\030\361\332\304\236\001 \001(\tH\007\210\001\001\022-\n\034customer_rout" - + "er_ipv6_address\030\361\371\253\212\001 \001(\tH\010\210\001\001\0222\n!custom" - + "er_router_ipv6_interface_id\030\204\206\326\265\001 \001(\tH\t\210" - + "\001\001\022!\n\021dataplane_version\030\213\255\323\020 \001(\005H\n\210\001\001\022\034\n" - + "\013description\030\374\207\326\311\001 \001(\tH\013\210\001\001\022(\n\030edge_avai" - + "lability_domain\030\246\225\377! \001(\tH\014\210\001\001\022\032\n\nencrypt" - + "ion\030\203\237\334. \001(\tH\r\210\001\001\022$\n\023google_reference_id" - + "\030\325\265\212\377\001 \001(\tH\016\210\001\001\022\020\n\002id\030\233\032 \001(\004H\017\210\001\001\022\034\n\014int" - + "erconnect\030\216\311\214k \001(\tH\020\210\001\001\022$\n\030ipsec_interna" - + "l_addresses\030\265\362\260\302\001 \003(\t\022\024\n\004kind\030\224\367\310\001 \001(\tH\021" - + "\210\001\001\022!\n\021label_fingerprint\030\231\360\367T \001(\tH\022\210\001\001\022O" - + "\n\006labels\030\377\277\301\356\001 \003(\0132;.google.cloud.comput" - + "e.v1.InterconnectAttachment.LabelsEntry\022" - + "\022\n\003mtu\030\256\317\006 \001(\005H\023\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\024\210\001" - + "\001\022\"\n\022operational_status\030\377\261\360_ \001(\tH\025\210\001\001\022\034\n" - + "\013pairing_key\030\350\360\324\321\001 \001(\tH\026\210\001\001\022\034\n\013partner_a" - + "sn\030\205\305\367\320\001 \001(\003H\027\210\001\001\022`\n\020partner_metadata\030\306\341" - + "\266\037 \001(\0132>.google.cloud.compute.v1.Interco" - + "nnectAttachmentPartnerMetadataH\030\210\001\001\022e\n\031p" - + "rivate_interconnect_info\030\203\354\221q \001(\0132:.goog" - + "le.cloud.compute.v1.InterconnectAttachme" - + "ntPrivateInfoH\031\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\032\210" - + "\001\001\022\037\n\016remote_service\030\274\377\362\272\001 \001(\tH\033\210\001\001\022\026\n\006r" - + "outer\030\311\256\356F \001(\tH\034\210\001\001\022\036\n\rsatisfies_pzs\030\253\335\253" - + "\345\001 \001(\010H\035\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\036\210\001\001\022" - + "\033\n\nstack_type\030\221\265\213\313\001 \001(\tH\037\210\001\001\022\025\n\005state\030\221\211" - + "\2534 \001(\tH \210\001\001\022\036\n\rsubnet_length\030\210\304\267\205\001 \001(\005H!" - + "\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\"\210\001\001\022\035\n\rvlan_tag802" - + "1q\030\234\350\2279 \001(\005H#\210\001\001\032-\n\013LabelsEntry\022\013\n\003key\030\001" - + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\355\001\n\tBandwidth\022\027\n" - + "\023UNDEFINED_BANDWIDTH\020\000\022\017\n\010BPS_100M\020\266\225\320\027\022" - + "\017\n\007BPS_10G\020\216\211\362\204\001\022\016\n\006BPS_1G\020\360\255\271\251\001\022\017\n\010BPS_" - + "200M\020\225\376\321\027\022\017\n\007BPS_20G\020\317\220\362\204\001\022\016\n\006BPS_2G\020\217\256\271" - + "\251\001\022\017\n\010BPS_300M\020\364\346\323\027\022\017\n\010BPS_400M\020\323\317\325\027\022\017\n\010" - + "BPS_500M\020\262\270\327\027\022\017\n\007BPS_50G\020\222\247\362\204\001\022\017\n\007BPS_50" - + "M\020\230\247\362\204\001\022\016\n\006BPS_5G\020\354\256\271\251\001\"\237\001\n\026EdgeAvailabi" - + "lityDomain\022&\n\"UNDEFINED_EDGE_AVAILABILIT" - + "Y_DOMAIN\020\000\022\035\n\025AVAILABILITY_DOMAIN_1\020\332\373\326\246" - + "\001\022\035\n\025AVAILABILITY_DOMAIN_2\020\333\373\326\246\001\022\037\n\027AVAI" - + "LABILITY_DOMAIN_ANY\020\265\352\367\262\001\"A\n\nEncryption\022" - + "\030\n\024UNDEFINED_ENCRYPTION\020\000\022\014\n\005IPSEC\020\252\243\251!\022" - + "\013\n\004NONE\020\270\316\222\001\"`\n\021OperationalStatus\022 \n\034UND" - + "EFINED_OPERATIONAL_STATUS\020\000\022\020\n\tOS_ACTIVE" - + "\020\301\373\310\032\022\027\n\020OS_UNPROVISIONED\020\300\301\252r\"I\n\tStackT" - + "ype\022\030\n\024UNDEFINED_STACK_TYPE\020\000\022\020\n\tIPV4_IP" - + "V6\020\201\350\312\n\022\020\n\tIPV4_ONLY\020\246\313\325\n\"\302\001\n\005State\022\023\n\017U" - + "NDEFINED_STATE\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\016\n\007DEFU" - + "NCT\020\257\274\2417\022 \n\030PARTNER_REQUEST_RECEIVED\020\350\360\362" - + "\364\001\022\027\n\020PENDING_CUSTOMER\020\246\203\357O\022\027\n\017PENDING_P" - + "ARTNER\020\340\373\372\270\001\022\031\n\021STATE_UNSPECIFIED\020\311\320\274\340\001\022" - + "\025\n\rUNPROVISIONED\020\333\307\327\366\001\"W\n\004Type\022\022\n\016UNDEFI" - + "NED_TYPE\020\000\022\020\n\tDEDICATED\020\317\233\234{\022\017\n\007PARTNER\020" - + "\250\321\241\334\001\022\030\n\020PARTNER_PROVIDER\020\250\367\267\346\001B\020\n\016_admi" - + "n_enabledB\014\n\n_bandwidthB\032\n\030_cloud_router" - + "_ip_addressB\034\n\032_cloud_router_ipv6_addres" - + "sB!\n\037_cloud_router_ipv6_interface_idB\034\n\032" - + "_configuration_constraintsB\025\n\023_creation_" - + "timestampB\035\n\033_customer_router_ip_address" - + "B\037\n\035_customer_router_ipv6_addressB$\n\"_cu" - + "stomer_router_ipv6_interface_idB\024\n\022_data" - + "plane_versionB\016\n\014_descriptionB\033\n\031_edge_a" - + "vailability_domainB\r\n\013_encryptionB\026\n\024_go" - + "ogle_reference_idB\005\n\003_idB\017\n\r_interconnec" - + "tB\007\n\005_kindB\024\n\022_label_fingerprintB\006\n\004_mtu" - + "B\007\n\005_nameB\025\n\023_operational_statusB\016\n\014_pai" - + "ring_keyB\016\n\014_partner_asnB\023\n\021_partner_met" - + "adataB\034\n\032_private_interconnect_infoB\t\n\007_" - + "regionB\021\n\017_remote_serviceB\t\n\007_routerB\020\n\016" - + "_satisfies_pzsB\014\n\n_self_linkB\r\n\013_stack_t" - + "ypeB\010\n\006_stateB\020\n\016_subnet_lengthB\007\n\005_type" - + "B\020\n\016_vlan_tag8021q\"\343\003\n$InterconnectAttac" - + "hmentAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022Z\n" - + "\005items\030\300\317\367/ \003(\0132H.google.cloud.compute.v" - + "1.InterconnectAttachmentAggregatedList.I" - + "temsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_" - + "page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222" - + "\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n" - + "\007warning\030\234\337\226\030 \001(\0132 .google.cloud.compute" - + ".v1.WarningH\004\210\001\001\032h\n\nItemsEntry\022\013\n\003key\030\001 " - + "\001(\t\022I\n\005value\030\002 \001(\0132:.google.cloud.comput" - + "e.v1.InterconnectAttachmentsScopedList:\002" - + "8\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014" - + "\n\n_self_linkB\n\n\010_warning\"\263\002\n.Interconnec" - + "tAttachmentConfigurationConstraints\022\030\n\007b" - + "gp_md5\030\212\350\363\261\001 \001(\tH\000\210\001\001\022w\n\023bgp_peer_asn_ra" - + "nges\030\202\273\371\342\001 \003(\0132V.google.cloud.compute.v1" - + ".InterconnectAttachmentConfigurationCons" - + "traintsBgpPeerASNRange\"b\n\006BgpMd5\022\025\n\021UNDE" - + "FINED_BGP_MD5\020\000\022\024\n\014MD5_OPTIONAL\020\201\242\340\375\001\022\023\n" - + "\014MD5_REQUIRED\020\300\342\373g\022\026\n\017MD5_UNSUPPORTED\020\324\341" - + "\273)B\n\n\010_bgp_md5\"w\n=InterconnectAttachment" - + "ConfigurationConstraintsBgpPeerASNRange\022" - + "\022\n\003max\030\344\312\006 \001(\rH\000\210\001\001\022\022\n\003min\030\322\314\006 \001(\rH\001\210\001\001B" - + "\006\n\004_maxB\006\n\004_min\"\275\002\n\032InterconnectAttachme" - + "ntList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022A\n\005items\030\300\317\367/ \003" - + "(\0132/.google.cloud.compute.v1.Interconnec" - + "tAttachment\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017nex" - + "t_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030" - + "\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .goo" - + "gle.cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_id" - + "B\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_l" - + "inkB\n\n\010_warning\"\274\001\n%InterconnectAttachme" - + "ntPartnerMetadata\022\"\n\021interconnect_name\030\234" - + "\357\306\365\001 \001(\tH\000\210\001\001\022\034\n\014partner_name\030\242\247\220M \001(\tH\001" - + "\210\001\001\022\033\n\nportal_url\030\234\316\255\200\001 \001(\tH\002\210\001\001B\024\n\022_int" - + "erconnect_nameB\017\n\r_partner_nameB\r\n\013_port" - + "al_url\"K\n!InterconnectAttachmentPrivateI" - + "nfo\022\031\n\010tag8021q\030\300\321\316\201\001 \001(\rH\000\210\001\001B\013\n\t_tag80" - + "21q\"\301\001\n!InterconnectAttachmentsScopedLis" - + "t\022U\n\030interconnect_attachments\030\377\322\353\312\001 \003(\0132" - + "/.google.cloud.compute.v1.InterconnectAt" - + "tachment\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cl" - + "oud.compute.v1.WarningH\000\210\001\001B\n\n\010_warning\"" - + "\305\001\n\027InterconnectCircuitInfo\022\"\n\022customer_" - + "demarc_id\030\223\214\334\r \001(\tH\000\210\001\001\022!\n\021google_circui" - + "t_id\030\367\215\370| \001(\tH\001\210\001\001\022!\n\020google_demarc_id\030\256" - + "\335\333\325\001 \001(\tH\002\210\001\001B\025\n\023_customer_demarc_idB\024\n\022" - + "_google_circuit_idB\023\n\021_google_demarc_id\"" - + "\225\005\n\027InterconnectDiagnostics\022P\n\narp_cache" - + "s\030\221\326\330\305\001 \003(\01328.google.cloud.compute.v1.In" - + "terconnectDiagnosticsARPEntry\022(\n\027bundle_" - + "aggregation_type\030\224\311\262\317\001 \001(\tH\000\210\001\001\022)\n\031bundl" - + "e_operational_status\030\334\227\3402 \001(\tH\001\210\001\001\022L\n\005li" - + "nks\030\271\237\2151 \003(\0132:.google.cloud.compute.v1.I" - + "nterconnectDiagnosticsLinkStatus\022\034\n\013mac_" - + "address\030\204\322\310\236\001 \001(\tH\002\210\001\001\"\212\001\n\025BundleAggrega" - + "tionType\022%\n!UNDEFINED_BUNDLE_AGGREGATION" - + "_TYPE\020\000\022#\n\034BUNDLE_AGGREGATION_TYPE_LACP\020" - + "\315\242\236\r\022%\n\036BUNDLE_AGGREGATION_TYPE_STATIC\020\331" - + "\230\225\030\"\217\001\n\027BundleOperationalStatus\022\'\n#UNDEF" - + "INED_BUNDLE_OPERATIONAL_STATUS\020\000\022&\n\036BUND" - + "LE_OPERATIONAL_STATUS_DOWN\020\205\256\264\330\001\022#\n\034BUND" - + "LE_OPERATIONAL_STATUS_UP\020\276\203\371LB\032\n\030_bundle" - + "_aggregation_typeB\034\n\032_bundle_operational" - + "_statusB\016\n\014_mac_address\"{\n\037InterconnectD" - + "iagnosticsARPEntry\022\033\n\nip_address\030\334\361\334\301\001 \001" - + "(\tH\000\210\001\001\022\034\n\013mac_address\030\204\322\310\236\001 \001(\tH\001\210\001\001B\r\n" - + "\013_ip_addressB\016\n\014_mac_address\"\372\001\n%Interco" - + "nnectDiagnosticsLinkLACPStatus\022 \n\020google" - + "_system_id\030\245\205\277+ \001(\tH\000\210\001\001\022#\n\022neighbor_sys" - + "tem_id\030\236\230\371\243\001 \001(\tH\001\210\001\001\022\025\n\005state\030\221\211\2534 \001(\tH" - + "\002\210\001\001\"=\n\005State\022\023\n\017UNDEFINED_STATE\020\000\022\016\n\006AC" - + "TIVE\020\206\346\211\226\001\022\017\n\010DETACHED\020\362\366\241gB\023\n\021_google_s" - + "ystem_idB\025\n\023_neighbor_system_idB\010\n\006_stat" - + "e\"\343\001\n\'InterconnectDiagnosticsLinkOptical" - + "Power\022\025\n\005state\030\221\211\2534 \001(\tH\000\210\001\001\022\025\n\005value\030\361\242" - + "\2625 \001(\002H\001\210\001\001\"v\n\005State\022\023\n\017UNDEFINED_STATE\020" - + "\000\022\022\n\nHIGH_ALARM\020\324\362\315\221\001\022\023\n\014HIGH_WARNING\020\337\353" - + "\257i\022\021\n\tLOW_ALARM\020\346\252\377\226\001\022\023\n\013LOW_WARNING\020\361\252\306" - + "\241\001\022\007\n\002OK\020\334\023B\010\n\006_stateB\010\n\006_value\"\361\006\n!Inte" - + "rconnectDiagnosticsLinkStatus\022P\n\narp_cac" - + "hes\030\221\326\330\305\001 \003(\01328.google.cloud.compute.v1." - + "InterconnectDiagnosticsARPEntry\022\032\n\ncircu" - + "it_id\030\261\372\257k \001(\tH\000\210\001\001\022\034\n\rgoogle_demarc\030\214\217\003" - + " \001(\tH\001\210\001\001\022\\\n\013lacp_status\030\257\304\236\254\001 \001(\0132>.goo" - + "gle.cloud.compute.v1.InterconnectDiagnos" - + "ticsLinkLACPStatusH\002\210\001\001\022U\n\006macsec\030\242\301\227\374\001 " - + "\001(\0132<.google.cloud.compute.v1.Interconne" - + "ctDiagnosticsMacsecStatusH\003\210\001\001\022\"\n\022operat" - + "ional_status\030\377\261\360_ \001(\tH\004\210\001\001\022i\n\027receiving_" - + "optical_power\030\337\255\330t \001(\0132@.google.cloud.co" - + "mpute.v1.InterconnectDiagnosticsLinkOpti" - + "calPowerH\005\210\001\001\022m\n\032transmitting_optical_po" - + "wer\030\235\272\211\333\001 \001(\0132@.google.cloud.compute.v1." - + "InterconnectDiagnosticsLinkOpticalPowerH" - + "\006\210\001\001\"\177\n\021OperationalStatus\022 \n\034UNDEFINED_O" - + "PERATIONAL_STATUS\020\000\022$\n\034LINK_OPERATIONAL_" - + "STATUS_DOWN\020\375\344\246\206\001\022\"\n\032LINK_OPERATIONAL_ST" - + "ATUS_UP\020\266\266\355\221\001B\r\n\013_circuit_idB\020\n\016_google_" - + "demarcB\016\n\014_lacp_statusB\t\n\007_macsecB\025\n\023_op" - + "erational_statusB\032\n\030_receiving_optical_p" - + "owerB\035\n\033_transmitting_optical_power\"n\n#I" - + "nterconnectDiagnosticsMacsecStatus\022\022\n\003ck" - + "n\030\206\202\006 \001(\tH\000\210\001\001\022\033\n\013operational\030\322\307\354= \001(\010H\001" - + "\210\001\001B\006\n\004_cknB\016\n\014_operational\"\251\002\n\020Intercon" - + "nectList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0227\n\005items\030\300\317\367/" - + " \003(\0132%.google.cloud.compute.v1.Interconn" - + "ect\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_t" - + "oken\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(" - + "\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.clou" - + "d.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kin" - + "dB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_" - + "warning\"\325\n\n\024InterconnectLocation\022\030\n\007addr" - + "ess\030\364\267\336\334\001 \001(\tH\000\210\001\001\022!\n\021availability_zone\030" - + "\220\320\307K \001(\tH\001\210\001\001\022\036\n\022available_features\030\363\271\326\354" - + "\001 \003(\t\022 \n\024available_link_types\030\252\326\371\362\001 \003(\t\022" - + "\024\n\004city\030\353\262\272\001 \001(\tH\002\210\001\001\022\031\n\tcontinent\030\264\333\320? " - + "\001(\tH\003\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH" - + "\004\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\005\210\001\001\022\"\n\021fa" - + "cility_provider\030\215\240\246\376\001 \001(\tH\006\210\001\001\022-\n\035facili" - + "ty_provider_facility_id\030\205\276\316) \001(\tH\007\210\001\001\022\020\n" - + "\002id\030\233\032 \001(\004H\010\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\t\210\001\001\022\024\n" - + "\004name\030\213\365\315\001 \001(\tH\n\210\001\001\022&\n\025peeringdb_facilit" - + "y_id\030\266\272\355\377\001 \001(\tH\013\210\001\001\022Q\n\014region_infos\030\372\350\356\224" - + "\001 \003(\01327.google.cloud.compute.v1.Intercon" - + "nectLocationRegionInfo\022\032\n\tself_link\030\215\222\305\331" - + "\001 \001(\tH\014\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\r\210\001\001\022\034\n\014su" - + "pports_pzs\030\356\366\205( \001(\010H\016\210\001\001\"H\n\021AvailableFea" - + "tures\022 \n\034UNDEFINED_AVAILABLE_FEATURES\020\000\022" - + "\021\n\tIF_MACSEC\020\204\374\372\274\001\"~\n\022AvailableLinkTypes" - + "\022\"\n\036UNDEFINED_AVAILABLE_LINK_TYPES\020\000\022\"\n\032" - + "LINK_TYPE_ETHERNET_100G_LR\020\347\362\201\241\001\022 \n\031LINK" - + "_TYPE_ETHERNET_10G_LR\020\245\271\361p\"\352\001\n\tContinent" - + "\022\027\n\023UNDEFINED_CONTINENT\020\000\022\016\n\006AFRICA\020\372\234\257\227" - + "\001\022\017\n\010ASIA_PAC\020\375\366\2169\022\017\n\010C_AFRICA\020\366\223\252\"\022\022\n\nC" - + "_ASIA_PAC\020\371\217\206\336\001\022\017\n\010C_EUROPE\020\236\312\305_\022\027\n\017C_NO" - + "RTH_AMERICA\020\230\233\273\203\001\022\027\n\017C_SOUTH_AMERICA\020\340\214\260" - + "\275\001\022\016\n\006EUROPE\020\242\323\312\324\001\022\025\n\rNORTH_AMERICA\020\224\331\320\325" - + "\001\022\024\n\rSOUTH_AMERICA\020\334\312\305\017\"A\n\006Status\022\024\n\020UND" - + "EFINED_STATUS\020\000\022\021\n\tAVAILABLE\020\251\265\346\322\001\022\016\n\006CL" - + "OSED\020\354\252\243\265\001B\n\n\010_addressB\024\n\022_availability_" - + "zoneB\007\n\005_cityB\014\n\n_continentB\025\n\023_creation" - + "_timestampB\016\n\014_descriptionB\024\n\022_facility_" - + "providerB \n\036_facility_provider_facility_" - + "idB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\030\n\026_peeringd" - + "b_facility_idB\014\n\n_self_linkB\t\n\007_statusB\017" - + "\n\r_supports_pzs\"\271\002\n\030InterconnectLocation" - + "List\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022?\n\005items\030\300\317\367/ \003(\013" - + "2-.google.cloud.compute.v1.InterconnectL" - + "ocation\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_pa" - + "ge_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331" - + "\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google." - + "cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005" - + "_kindB\022\n\020_next_page_tokenB\014\n\n_self_linkB" - + "\n\n\010_warning\"\272\002\n\036InterconnectLocationRegi" - + "onInfo\022 \n\017expected_rtt_ms\030\372\203\276\311\001 \001(\003H\000\210\001\001" - + "\022!\n\021location_presence\030\305\224\2640 \001(\tH\001\210\001\001\022\026\n\006r" - + "egion\030\364\315\240B \001(\tH\002\210\001\001\"\205\001\n\020LocationPresence" - + "\022\037\n\033UNDEFINED_LOCATION_PRESENCE\020\000\022\016\n\006GLO" - + "BAL\020\243\357\357\353\001\022\024\n\014LOCAL_REGION\020\350\354\265\300\001\022\021\n\tLP_GL" - + "OBAL\020\276\335\353\314\001\022\027\n\017LP_LOCAL_REGION\020\303\332\375\350\001B\022\n\020_" - + "expected_rtt_msB\024\n\022_location_presenceB\t\n" - + "\007_region\"\224\001\n\022InterconnectMacsec\022\032\n\tfail_" - + "open\030\313\225\373\375\001 \001(\010H\000\210\001\001\022T\n\017pre_shared_keys\030\362" - + "\313\265\310\001 \003(\01327.google.cloud.compute.v1.Inter" - + "connectMacsecPreSharedKeyB\014\n\n_fail_open\"" - + "v\n\030InterconnectMacsecConfig\022Z\n\017pre_share" - + "d_keys\030\362\313\265\310\001 \003(\0132=.google.cloud.compute." - + "v1.InterconnectMacsecConfigPreSharedKey\"" - + "\250\001\n$InterconnectMacsecConfigPreSharedKey" - + "\022\022\n\003cak\030\315\377\005 \001(\tH\000\210\001\001\022\022\n\003ckn\030\206\202\006 \001(\tH\001\210\001\001" - + "\022\024\n\004name\030\213\365\315\001 \001(\tH\002\210\001\001\022\032\n\nstart_time\030\212\351\356", - "\021 \001(\tH\003\210\001\001B\006\n\004_cakB\006\n\004_cknB\007\n\005_nameB\r\n\013_" - + "start_time\"j\n\036InterconnectMacsecPreShare" - + "dKey\022\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001\022\032\n\nstart_time" - + "\030\212\351\356\021 \001(\tH\001\210\001\001B\007\n\005_nameB\r\n\013_start_time\"\205" - + "\005\n\036InterconnectOutageNotification\022\034\n\021aff" - + "ected_circuits\030\225\376\336T \003(\t\022\034\n\013description\030\374" - + "\207\326\311\001 \001(\tH\000\210\001\001\022\030\n\010end_time\030\261\247\3476 \001(\003H\001\210\001\001\022" - + "\033\n\nissue_type\030\340\375\240\260\001 \001(\tH\002\210\001\001\022\024\n\004name\030\213\365\315" - + "\001 \001(\tH\003\210\001\001\022\026\n\006source\030\233\320\301T \001(\tH\004\210\001\001\022\032\n\nst" - + "art_time\030\212\351\356\021 \001(\003H\005\210\001\001\022\025\n\005state\030\221\211\2534 \001(\t" - + "H\006\210\001\001\"w\n\tIssueType\022\030\n\024UNDEFINED_ISSUE_TY" - + "PE\020\000\022\020\n\tIT_OUTAGE\020\205\341\350S\022\030\n\021IT_PARTIAL_OUT" - + "AGE\020\243\312\365+\022\r\n\006OUTAGE\020\361\245\217]\022\025\n\016PARTIAL_OUTAG" - + "E\020\217\267\217F\"C\n\006Source\022\024\n\020UNDEFINED_SOURCE\020\000\022\016" - + "\n\006GOOGLE\020\271\244\231\355\001\022\023\n\013NSRC_GOOGLE\020\342\377\272\363\001\"x\n\005S" - + "tate\022\023\n\017UNDEFINED_STATE\020\000\022\016\n\006ACTIVE\020\206\346\211\226" - + "\001\022\020\n\tCANCELLED\020\261\362\200\024\022\021\n\tCOMPLETED\020\253\214\344\223\001\022\020" - + "\n\tNS_ACTIVE\020\300\235\267x\022\023\n\013NS_CANCELED\020\323\223\307\361\001B\016\n" - + "\014_descriptionB\013\n\t_end_timeB\r\n\013_issue_typ" - + "eB\007\n\005_nameB\t\n\007_sourceB\r\n\013_start_timeB\010\n\006" - + "_state\"\313\013\n\032InterconnectRemoteLocation\022\030\n" - + "\007address\030\364\267\336\334\001 \001(\tH\000\210\001\001\022~\n$attachment_co" - + "nfiguration_constraints\030\321\350\353\233\001 \001(\0132G.goog" - + "le.cloud.compute.v1.InterconnectAttachme" - + "ntConfigurationConstraintsH\001\210\001\001\022\024\n\004city\030" - + "\353\262\272\001 \001(\tH\002\210\001\001\022[\n\013constraints\030\266\314\356\001 \001(\0132>." - + "google.cloud.compute.v1.InterconnectRemo" - + "teLocationConstraintsH\003\210\001\001\022\031\n\tcontinent\030" - + "\264\333\320? \001(\tH\004\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016" - + " \001(\tH\005\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\006\210\001\001\022" - + "\"\n\021facility_provider\030\215\240\246\376\001 \001(\tH\007\210\001\001\022-\n\035f" - + "acility_provider_facility_id\030\205\276\316) \001(\tH\010\210" - + "\001\001\022\020\n\002id\030\233\032 \001(\004H\t\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\n\210" - + "\001\001\022\024\n\004lacp\030\242\241\312\001 \001(\tH\013\210\001\001\022$\n\024max_lag_size" - + "100_gbps\030\265\377\366t \001(\005H\014\210\001\001\022$\n\023max_lag_size10" - + "_gbps\030\225\346\230\214\001 \001(\005H\r\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\016\210" - + "\001\001\022&\n\025peeringdb_facility_id\030\266\272\355\377\001 \001(\tH\017\210" - + "\001\001\022j\n\025permitted_connections\030\256\263\345\322\001 \003(\0132G." - + "google.cloud.compute.v1.InterconnectRemo" - + "teLocationPermittedConnections\022\037\n\016remote" - + "_service\030\274\377\362\272\001 \001(\tH\020\210\001\001\022\032\n\tself_link\030\215\222\305" - + "\331\001 \001(\tH\021\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\022\210\001\001\"\202\001\n\t" - + "Continent\022\027\n\023UNDEFINED_CONTINENT\020\000\022\016\n\006AF" - + "RICA\020\372\234\257\227\001\022\017\n\010ASIA_PAC\020\375\366\2169\022\016\n\006EUROPE\020\242\323" - + "\312\324\001\022\025\n\rNORTH_AMERICA\020\224\331\320\325\001\022\024\n\rSOUTH_AMER" - + "ICA\020\334\312\305\017\"K\n\004Lacp\022\022\n\016UNDEFINED_LACP\020\000\022\026\n\016" - + "LACP_SUPPORTED\020\261\212\366\241\001\022\027\n\020LACP_UNSUPPORTED" - + "\020\370\363\236a\"A\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\021\n" - + "\tAVAILABLE\020\251\265\346\322\001\022\016\n\006CLOSED\020\354\252\243\265\001B\n\n\010_add" - + "ressB\'\n%_attachment_configuration_constr" - + "aintsB\007\n\005_cityB\016\n\014_constraintsB\014\n\n_conti" - + "nentB\025\n\023_creation_timestampB\016\n\014_descript" - + "ionB\024\n\022_facility_providerB \n\036_facility_p" - + "rovider_facility_idB\005\n\003_idB\007\n\005_kindB\007\n\005_" - + "lacpB\027\n\025_max_lag_size100_gbpsB\026\n\024_max_la" - + "g_size10_gbpsB\007\n\005_nameB\030\n\026_peeringdb_fac" - + "ility_idB\021\n\017_remote_serviceB\014\n\n_self_lin" - + "kB\t\n\007_status\"\305\004\n%InterconnectRemoteLocat" - + "ionConstraints\022*\n\031port_pair_remote_locat" - + "ion\030\247\262\274\354\001 \001(\tH\000\210\001\001\022\037\n\016port_pair_vlan\030\352\362\203" - + "\344\001 \001(\tH\001\210\001\001\022t\n\023subnet_length_range\030\306\260\373W " - + "\001(\0132O.google.cloud.compute.v1.Interconne" - + "ctRemoteLocationConstraintsSubnetLengthR" - + "angeH\002\210\001\001\"\234\001\n\026PortPairRemoteLocation\022\'\n#" - + "UNDEFINED_PORT_PAIR_REMOTE_LOCATION\020\000\022)\n" - + "\"PORT_PAIR_MATCHING_REMOTE_LOCATION\020\323\213\354b" - + "\022.\n\'PORT_PAIR_UNCONSTRAINED_REMOTE_LOCAT" - + "ION\020\245\252\363\034\"q\n\014PortPairVlan\022\034\n\030UNDEFINED_PO" - + "RT_PAIR_VLAN\020\000\022\036\n\027PORT_PAIR_MATCHING_VLA" - + "N\020\276\350\254w\022#\n\034PORT_PAIR_UNCONSTRAINED_VLAN\020\254" - + "\210\307SB\034\n\032_port_pair_remote_locationB\021\n\017_po" - + "rt_pair_vlanB\026\n\024_subnet_length_range\"p\n6" - + "InterconnectRemoteLocationConstraintsSub" - + "netLengthRange\022\022\n\003max\030\344\312\006 \001(\005H\000\210\001\001\022\022\n\003mi" - + "n\030\322\314\006 \001(\005H\001\210\001\001B\006\n\004_maxB\006\n\004_min\"\305\002\n\036Inter" - + "connectRemoteLocationList\022\020\n\002id\030\233\032 \001(\tH\000" - + "\210\001\001\022E\n\005items\030\300\317\367/ \003(\01323.google.cloud.com" - + "pute.v1.InterconnectRemoteLocation\022\024\n\004ki" - + "nd\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206&" - + " \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" - + "\007warning\030\234\337\226\030 \001(\0132 .google.cloud.compute" - + ".v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_nex" - + "t_page_tokenB\014\n\n_self_linkB\n\n\010_warning\"r" - + "\n.InterconnectRemoteLocationPermittedCon" - + "nections\022&\n\025interconnect_location\030\306\330\333\352\001 " - + "\001(\tH\000\210\001\001B\030\n\026_interconnect_location\"z\n#In" - + "terconnectsGetDiagnosticsResponse\022H\n\006res" - + "ult\030\235\220\267B \001(\01320.google.cloud.compute.v1.I" - + "nterconnectDiagnosticsH\000\210\001\001B\t\n\007_result\"\233" - + "\001\n$InterconnectsGetMacsecConfigResponse\022" - + "\024\n\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022I\n\006result\030\235\220\267B \001(\013" - + "21.google.cloud.compute.v1.InterconnectM" - + "acsecConfigH\001\210\001\001B\007\n\005_etagB\t\n\007_result\"\351\001\n" - + "\034InvalidateCacheUrlMapRequest\022a\n cache_i" - + "nvalidation_rule_resource\030\255\303\223\225\001 \001(\0132..go" - + "ogle.cloud.compute.v1.CacheInvalidationR" - + "uleB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" - + "ect\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\030\n\007url_m" - + "ap\030\214\225\201\257\001 \001(\tB\003\340A\002B\r\n\013_request_id\"D\n\005Item" - + "s\022\022\n\003key\030\337\274\006 \001(\tH\000\210\001\001\022\025\n\005value\030\361\242\2625 \001(\tH" - + "\001\210\001\001B\006\n\004_keyB\010\n\006_value\"\375\003\n\007License\022 \n\017ch" - + "arges_use_fee\030\316\241\312\261\001 \001(\010H\000\210\001\001\022\"\n\022creation" - + "_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013description\030" - + "\374\207\326\311\001 \001(\tH\002\210\001\001\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n\004kind" - + "\030\224\367\310\001 \001(\tH\004\210\001\001\022\033\n\014license_code\030\253\306Y \001(\004H\005" - + "\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022[\n\025resource_re" - + "quirements\030\241\262\227f \001(\01324.google.cloud.compu" - + "te.v1.LicenseResourceRequirementsH\007\210\001\001\022\032" - + "\n\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022\034\n\014transferab" - + "le\030\305\277\211\002 \001(\010H\t\210\001\001B\022\n\020_charges_use_feeB\025\n\023" - + "_creation_timestampB\016\n\014_descriptionB\005\n\003_" - + "idB\007\n\005_kindB\017\n\r_license_codeB\007\n\005_nameB\030\n" - + "\026_resource_requirementsB\014\n\n_self_linkB\017\n" - + "\r_transferable\"\224\004\n\013LicenseCode\022\"\n\022creati" - + "on_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013descriptio" - + "n\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\020\n\002id\030\233\032 \001(\004H\002\210\001\001\022\024\n\004ki" - + "nd\030\224\367\310\001 \001(\tH\003\210\001\001\022J\n\rlicense_alias\030\322\221\342\024 \003" - + "(\01320.google.cloud.compute.v1.LicenseCode" - + "LicenseAlias\022\024\n\004name\030\213\365\315\001 \001(\tH\004\210\001\001\022\032\n\tse" - + "lf_link\030\215\222\305\331\001 \001(\tH\005\210\001\001\022\025\n\005state\030\221\211\2534 \001(\t" - + "H\006\210\001\001\022\034\n\014transferable\030\305\277\211\002 \001(\010H\007\210\001\001\"\177\n\005S" - + "tate\022\023\n\017UNDEFINED_STATE\020\000\022\020\n\010DISABLED\020\374\324" - + "\260\366\001\022\016\n\007ENABLED\020\241\256\354V\022\021\n\nRESTRICTED\020\333\350\333|\022\031" - + "\n\021STATE_UNSPECIFIED\020\311\320\274\340\001\022\021\n\nTERMINATED\020" - + "\243\364\233wB\025\n\023_creation_timestampB\016\n\014_descript" - + "ionB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\014\n\n_self_li" - + "nkB\010\n\006_stateB\017\n\r_transferable\"q\n\027License" - + "CodeLicenseAlias\022\034\n\013description\030\374\207\326\311\001 \001(" - + "\tH\000\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\001\210\001\001B\016\n\014_d" - + "escriptionB\014\n\n_self_link\"\234\001\n\031LicenseReso" - + "urceCommitment\022\026\n\006amount\030\330\240\351] \001(\003H\000\210\001\001\022!" - + "\n\021cores_per_license\030\224\310\276\017 \001(\tH\001\210\001\001\022\027\n\007lic" - + "ense\030\301\210\302O \001(\tH\002\210\001\001B\t\n\007_amountB\024\n\022_cores_" - + "per_licenseB\n\n\010_license\"\215\001\n\033LicenseResou" - + "rceRequirements\022$\n\023min_guest_cpu_count\030\244" - + "\324\364\343\001 \001(\005H\000\210\001\001\022\036\n\rmin_memory_mb\030\346\327\331\360\001 \001(\005" - + "H\001\210\001\001B\026\n\024_min_guest_cpu_countB\020\n\016_min_me" - + "mory_mb\"\211\002\n\024LicensesListResponse\022\020\n\002id\030\233" - + "\032 \001(\tH\000\210\001\001\0222\n\005items\030\300\317\367/ \003(\0132 .google.cl" - + "oud.compute.v1.License\022\037\n\017next_page_toke" - + "n\030\225\272\206& \001(\tH\001\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\002" - + "\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.c" - + "ompute.v1.WarningH\003\210\001\001B\005\n\003_idB\022\n\020_next_p" - + "age_tokenB\014\n\n_self_linkB\n\n\010_warning\"\263\002\n\033" - + "ListAcceleratorTypesRequest\022\027\n\006filter\030\370\226" - + "\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001" - + "\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_toke" - + "n\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002" - + "\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001" - + "\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_m" - + "ax_resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031" - + "\n\027_return_partial_success\"\256\002\n\024ListAddres" - + "sesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013m" - + "ax_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307" - + "L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027" - + "\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001" - + "(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 " - + "\001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_" - + "order_byB\r\n\013_page_tokenB\031\n\027_return_parti" - + "al_success\"]\n%ListAssociationsFirewallPo" - + "licyRequest\022 \n\017target_resource\030\374\355\352\336\001 \001(\t" - + "H\000\210\001\001B\022\n\020_target_resource\"\256\002\n\026ListAutosc" - + "alersRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n" - + "\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350" - + "\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001" - + "\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_part" - + "ial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 " - + "\001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_" - + "order_byB\r\n\013_page_tokenB\031\n\027_return_parti" - + "al_success\"\307\002\n-ListAvailableFeaturesRegi" - + "onSslPoliciesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\t" - + "H\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010or" - + "der_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t " - + "\001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006reg" - + "ion\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_succ" - + "ess\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_re" - + "sultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_re" - + "turn_partial_success\"\251\002\n\'ListAvailableFe" - + "aturesSslPoliciesRequest\022\027\n\006filter\030\370\226\243\240\001" - + " \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030" - + "\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311" - + "\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n" - + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t" - + "\n\007_filterB\016\n\014_max_resultsB\013\n\t_order_byB\r" - + "\n\013_page_tokenB\031\n\027_return_partial_success" - + "\"\233\002\n\031ListBackendBucketsRequest\022\027\n\006filter" - + "\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH" - + "\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_t" - + "oken\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003" - + "\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H" - + "\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_orde" - + "r_byB\r\n\013_page_tokenB\031\n\027_return_partial_s" - + "uccess\"\234\002\n\032ListBackendServicesRequest\022\027\n" - + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310" - + "\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n" - + "\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301" - + "l \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317" - + "\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013" - + "\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_pa" - + "rtial_success\"\254\002\n\024ListDiskTypesRequest\022\027" - + "\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233" - + "\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032" - + "\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226" - + "\301l \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244" - + "\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_f" - + "ilterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_p" - + "age_tokenB\031\n\027_return_partial_success\"\250\002\n" - + "\020ListDisksRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210" - + "\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order" - + "_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\t" - + "H\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return" - + "_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030" - + "\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max_results" - + "B\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_" - + "partial_success\"\346\002\n&ListErrorsInstanceGr" - + "oupManagersRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000" - + "\210\001\001\022&\n\026instance_group_manager\030\303\367\363v \001(\tB\003" - + "\340A\002\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010orde" - + "r_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(" - + "\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026retur" - + "n_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone" - + "\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max_result" - + "sB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return" - + "_partial_success\"\356\002\n,ListErrorsRegionIns" - + "tanceGroupManagersRequest\022\027\n\006filter\030\370\226\243\240" - + "\001 \001(\tH\000\210\001\001\022&\n\026instance_group_manager\030\303\367\363" - + "v \001(\tB\003\340A\002\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022" - + "\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030" - + "\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026" - + "\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial" - + "_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_m" - + "ax_resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031" - + "\n\027_return_partial_success\"\240\002\n\036ListExtern" - + "alVpnGatewaysRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\t" - + "H\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010or" - + "der_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t " - + "\001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026ret" - + "urn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_f" - + "ilterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_p" - + "age_tokenB\031\n\027_return_partial_success\"\256\002\n" - + "\033ListFirewallPoliciesRequest\022\027\n\006filter\030\370" - + "\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210" - + "\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_tok" - + "en\030\311\260\304\t \001(\tH\003\210\001\001\022\032\n\tparent_id\030\320\341\232\333\001 \001(\tH" - + "\004\210\001\001\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010" - + "H\005\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_ord" - + "er_byB\r\n\013_page_tokenB\014\n\n_parent_idB\031\n\027_r" - + "eturn_partial_success\"\226\002\n\024ListFirewallsR" - + "equest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_r" - + "esults\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(" - + "\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007pr" - + "oject\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_su" - + "ccess\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_" - + "resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_" - + "return_partial_success\"\264\002\n\032ListForwardin" - + "gRulesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033" - + "\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030" - + "\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001" - + "\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240" - + "B \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317" - + "\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013" - + "\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_pa" - + "rtial_success\"\234\002\n\032ListGlobalAddressesReq" - + "uest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_res" - + "ults\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH" - + "\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007proj" - + "ect\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_succ" - + "ess\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_re" - + "sultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_re" - + "turn_partial_success\"\242\002\n ListGlobalForwa" - + "rdingRulesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210" - + "\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order" - + "_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\t" - + "H\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return" - + "_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filt" - + "erB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page" - + "_tokenB\031\n\027_return_partial_success\"\250\002\n&Li" - + "stGlobalNetworkEndpointGroupsRequest\022\027\n\006" - + "filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213" - + "\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" - + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l" - + " \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366" - + "\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n" - + "\t_order_byB\r\n\013_page_tokenB\031\n\027_return_par" - + "tial_success\"\235\002\n\033ListGlobalOperationsReq" - + "uest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_res" - + "ults\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH" - + "\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007proj" - + "ect\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_succ" - + "ess\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_re" - + "sultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_re" - + "turn_partial_success\"\272\002\n\'ListGlobalOrgan" - + "izationOperationsRequest\022\027\n\006filter\030\370\226\243\240\001" - + " \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030" - + "\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311" - + "\260\304\t \001(\tH\003\210\001\001\022\032\n\tparent_id\030\320\341\232\333\001 \001(\tH\004\210\001\001" - + "\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\005\210\001" - + "\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_order_b" - + "yB\r\n\013_page_tokenB\014\n\n_parent_idB\031\n\027_retur" - + "n_partial_success\"\252\002\n(ListGlobalPublicDe" - + "legatedPrefixesRequest\022\027\n\006filter\030\370\226\243\240\001 \001" - + "(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010" - + "order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304" - + "\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026r" - + "eturn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007" + + "s\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .google." + + "cloud.compute.v1.WarningH\004\210\001\001\032h\n\nItemsEn" + + "try\022\013\n\003key\030\001 \001(\t\022I\n\005value\030\002 \001(\0132:.google" + + ".cloud.compute.v1.InterconnectAttachment" + + "sScopedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next" + + "_page_tokenB\014\n\n_self_linkB\n\n\010_warning\"\263\002" + + "\n.InterconnectAttachmentConfigurationCon" + + "straints\022\030\n\007bgp_md5\030\212\350\363\261\001 \001(\tH\000\210\001\001\022w\n\023bg" + + "p_peer_asn_ranges\030\202\273\371\342\001 \003(\0132V.google.clo" + + "ud.compute.v1.InterconnectAttachmentConf" + + "igurationConstraintsBgpPeerASNRange\"b\n\006B" + + "gpMd5\022\025\n\021UNDEFINED_BGP_MD5\020\000\022\024\n\014MD5_OPTI" + + "ONAL\020\201\242\340\375\001\022\023\n\014MD5_REQUIRED\020\300\342\373g\022\026\n\017MD5_U" + + "NSUPPORTED\020\324\341\273)B\n\n\010_bgp_md5\"w\n=Interconn" + + "ectAttachmentConfigurationConstraintsBgp" + + "PeerASNRange\022\022\n\003max\030\344\312\006 \001(\rH\000\210\001\001\022\022\n\003min\030" + + "\322\314\006 \001(\rH\001\210\001\001B\006\n\004_maxB\006\n\004_min\"\275\002\n\032Interco" + + "nnectAttachmentList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022A\n" + + "\005items\030\300\317\367/ \003(\0132/.google.cloud.compute.v" + + "1.InterconnectAttachment\022\024\n\004kind\030\224\367\310\001 \001(" + + "\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022" + + "\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234" + + "\337\226\030 \001(\0132 .google.cloud.compute.v1.Warnin" + + "gH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tok" + + "enB\014\n\n_self_linkB\n\n\010_warning\"\274\001\n%Interco" + + "nnectAttachmentPartnerMetadata\022\"\n\021interc" + + "onnect_name\030\234\357\306\365\001 \001(\tH\000\210\001\001\022\034\n\014partner_na" + + "me\030\242\247\220M \001(\tH\001\210\001\001\022\033\n\nportal_url\030\234\316\255\200\001 \001(\t" + + "H\002\210\001\001B\024\n\022_interconnect_nameB\017\n\r_partner_" + + "nameB\r\n\013_portal_url\"K\n!InterconnectAttac" + + "hmentPrivateInfo\022\031\n\010tag8021q\030\300\321\316\201\001 \001(\rH\000" + + "\210\001\001B\013\n\t_tag8021q\"\301\001\n!InterconnectAttachm" + + "entsScopedList\022U\n\030interconnect_attachmen" + + "ts\030\377\322\353\312\001 \003(\0132/.google.cloud.compute.v1.I" + + "nterconnectAttachment\0229\n\007warning\030\234\337\226\030 \001(" + + "\0132 .google.cloud.compute.v1.WarningH\000\210\001\001" + + "B\n\n\010_warning\"\305\001\n\027InterconnectCircuitInfo" + + "\022\"\n\022customer_demarc_id\030\223\214\334\r \001(\tH\000\210\001\001\022!\n\021" + + "google_circuit_id\030\367\215\370| \001(\tH\001\210\001\001\022!\n\020googl" + + "e_demarc_id\030\256\335\333\325\001 \001(\tH\002\210\001\001B\025\n\023_customer_" + + "demarc_idB\024\n\022_google_circuit_idB\023\n\021_goog" + + "le_demarc_id\"\225\005\n\027InterconnectDiagnostics" + + "\022P\n\narp_caches\030\221\326\330\305\001 \003(\01328.google.cloud." + + "compute.v1.InterconnectDiagnosticsARPEnt" + + "ry\022(\n\027bundle_aggregation_type\030\224\311\262\317\001 \001(\tH" + + "\000\210\001\001\022)\n\031bundle_operational_status\030\334\227\3402 \001", + "(\tH\001\210\001\001\022L\n\005links\030\271\237\2151 \003(\0132:.google.cloud" + + ".compute.v1.InterconnectDiagnosticsLinkS" + + "tatus\022\034\n\013mac_address\030\204\322\310\236\001 \001(\tH\002\210\001\001\"\212\001\n\025" + + "BundleAggregationType\022%\n!UNDEFINED_BUNDL" + + "E_AGGREGATION_TYPE\020\000\022#\n\034BUNDLE_AGGREGATI" + + "ON_TYPE_LACP\020\315\242\236\r\022%\n\036BUNDLE_AGGREGATION_" + + "TYPE_STATIC\020\331\230\225\030\"\217\001\n\027BundleOperationalSt" + + "atus\022\'\n#UNDEFINED_BUNDLE_OPERATIONAL_STA" + + "TUS\020\000\022&\n\036BUNDLE_OPERATIONAL_STATUS_DOWN\020" + + "\205\256\264\330\001\022#\n\034BUNDLE_OPERATIONAL_STATUS_UP\020\276\203" + + "\371LB\032\n\030_bundle_aggregation_typeB\034\n\032_bundl" + + "e_operational_statusB\016\n\014_mac_address\"{\n\037" + + "InterconnectDiagnosticsARPEntry\022\033\n\nip_ad" + + "dress\030\334\361\334\301\001 \001(\tH\000\210\001\001\022\034\n\013mac_address\030\204\322\310\236" + + "\001 \001(\tH\001\210\001\001B\r\n\013_ip_addressB\016\n\014_mac_addres" + + "s\"\372\001\n%InterconnectDiagnosticsLinkLACPSta" + + "tus\022 \n\020google_system_id\030\245\205\277+ \001(\tH\000\210\001\001\022#\n" + + "\022neighbor_system_id\030\236\230\371\243\001 \001(\tH\001\210\001\001\022\025\n\005st" + + "ate\030\221\211\2534 \001(\tH\002\210\001\001\"=\n\005State\022\023\n\017UNDEFINED_" + + "STATE\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\017\n\010DETACHED\020\362\366\241g" + + "B\023\n\021_google_system_idB\025\n\023_neighbor_syste" + + "m_idB\010\n\006_state\"\343\001\n\'InterconnectDiagnosti" + + "csLinkOpticalPower\022\025\n\005state\030\221\211\2534 \001(\tH\000\210\001" + + "\001\022\025\n\005value\030\361\242\2625 \001(\002H\001\210\001\001\"v\n\005State\022\023\n\017UND" + + "EFINED_STATE\020\000\022\022\n\nHIGH_ALARM\020\324\362\315\221\001\022\023\n\014HI" + + "GH_WARNING\020\337\353\257i\022\021\n\tLOW_ALARM\020\346\252\377\226\001\022\023\n\013LO" + + "W_WARNING\020\361\252\306\241\001\022\007\n\002OK\020\334\023B\010\n\006_stateB\010\n\006_v" + + "alue\"\361\006\n!InterconnectDiagnosticsLinkStat" + + "us\022P\n\narp_caches\030\221\326\330\305\001 \003(\01328.google.clou" + + "d.compute.v1.InterconnectDiagnosticsARPE" + + "ntry\022\032\n\ncircuit_id\030\261\372\257k \001(\tH\000\210\001\001\022\034\n\rgoog" + + "le_demarc\030\214\217\003 \001(\tH\001\210\001\001\022\\\n\013lacp_status\030\257\304" + + "\236\254\001 \001(\0132>.google.cloud.compute.v1.Interc" + + "onnectDiagnosticsLinkLACPStatusH\002\210\001\001\022U\n\006" + + "macsec\030\242\301\227\374\001 \001(\0132<.google.cloud.compute." + + "v1.InterconnectDiagnosticsMacsecStatusH\003" + + "\210\001\001\022\"\n\022operational_status\030\377\261\360_ \001(\tH\004\210\001\001\022" + + "i\n\027receiving_optical_power\030\337\255\330t \001(\0132@.go" + + "ogle.cloud.compute.v1.InterconnectDiagno" + + "sticsLinkOpticalPowerH\005\210\001\001\022m\n\032transmitti" + + "ng_optical_power\030\235\272\211\333\001 \001(\0132@.google.clou" + + "d.compute.v1.InterconnectDiagnosticsLink" + + "OpticalPowerH\006\210\001\001\"\177\n\021OperationalStatus\022 " + + "\n\034UNDEFINED_OPERATIONAL_STATUS\020\000\022$\n\034LINK" + + "_OPERATIONAL_STATUS_DOWN\020\375\344\246\206\001\022\"\n\032LINK_O" + + "PERATIONAL_STATUS_UP\020\266\266\355\221\001B\r\n\013_circuit_i" + + "dB\020\n\016_google_demarcB\016\n\014_lacp_statusB\t\n\007_" + + "macsecB\025\n\023_operational_statusB\032\n\030_receiv" + + "ing_optical_powerB\035\n\033_transmitting_optic" + + "al_power\"n\n#InterconnectDiagnosticsMacse" + + "cStatus\022\022\n\003ckn\030\206\202\006 \001(\tH\000\210\001\001\022\033\n\013operation" + + "al\030\322\307\354= \001(\010H\001\210\001\001B\006\n\004_cknB\016\n\014_operational" + + "\"\251\002\n\020InterconnectList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022" + + "7\n\005items\030\300\317\367/ \003(\0132%.google.cloud.compute" + + ".v1.Interconnect\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037" + + "\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_" + + "link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132" + + " .google.cloud.compute.v1.WarningH\004\210\001\001B\005" + + "\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_s" + + "elf_linkB\n\n\010_warning\"\325\n\n\024InterconnectLoc" + + "ation\022\030\n\007address\030\364\267\336\334\001 \001(\tH\000\210\001\001\022!\n\021avail" + + "ability_zone\030\220\320\307K \001(\tH\001\210\001\001\022\036\n\022available_" + + "features\030\363\271\326\354\001 \003(\t\022 \n\024available_link_typ" + + "es\030\252\326\371\362\001 \003(\t\022\024\n\004city\030\353\262\272\001 \001(\tH\002\210\001\001\022\031\n\tco" + + "ntinent\030\264\333\320? \001(\tH\003\210\001\001\022\"\n\022creation_timest" + + "amp\030\266\217\307\016 \001(\tH\004\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001" + + "(\tH\005\210\001\001\022\"\n\021facility_provider\030\215\240\246\376\001 \001(\tH\006" + + "\210\001\001\022-\n\035facility_provider_facility_id\030\205\276\316" + + ") \001(\tH\007\210\001\001\022\020\n\002id\030\233\032 \001(\004H\010\210\001\001\022\024\n\004kind\030\224\367\310" + + "\001 \001(\tH\t\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\n\210\001\001\022&\n\025peer" + + "ingdb_facility_id\030\266\272\355\377\001 \001(\tH\013\210\001\001\022Q\n\014regi" + + "on_infos\030\372\350\356\224\001 \003(\01327.google.cloud.comput" + + "e.v1.InterconnectLocationRegionInfo\022\032\n\ts" + + "elf_link\030\215\222\305\331\001 \001(\tH\014\210\001\001\022\026\n\006status\030\362\237\267V \001" + + "(\tH\r\210\001\001\022\034\n\014supports_pzs\030\356\366\205( \001(\010H\016\210\001\001\"H\n" + + "\021AvailableFeatures\022 \n\034UNDEFINED_AVAILABL" + + "E_FEATURES\020\000\022\021\n\tIF_MACSEC\020\204\374\372\274\001\"~\n\022Avail" + + "ableLinkTypes\022\"\n\036UNDEFINED_AVAILABLE_LIN" + + "K_TYPES\020\000\022\"\n\032LINK_TYPE_ETHERNET_100G_LR\020" + + "\347\362\201\241\001\022 \n\031LINK_TYPE_ETHERNET_10G_LR\020\245\271\361p\"" + + "\352\001\n\tContinent\022\027\n\023UNDEFINED_CONTINENT\020\000\022\016" + + "\n\006AFRICA\020\372\234\257\227\001\022\017\n\010ASIA_PAC\020\375\366\2169\022\017\n\010C_AFR" + + "ICA\020\366\223\252\"\022\022\n\nC_ASIA_PAC\020\371\217\206\336\001\022\017\n\010C_EUROPE" + + "\020\236\312\305_\022\027\n\017C_NORTH_AMERICA\020\230\233\273\203\001\022\027\n\017C_SOUT" + + "H_AMERICA\020\340\214\260\275\001\022\016\n\006EUROPE\020\242\323\312\324\001\022\025\n\rNORTH" + + "_AMERICA\020\224\331\320\325\001\022\024\n\rSOUTH_AMERICA\020\334\312\305\017\"A\n\006" + + "Status\022\024\n\020UNDEFINED_STATUS\020\000\022\021\n\tAVAILABL" + + "E\020\251\265\346\322\001\022\016\n\006CLOSED\020\354\252\243\265\001B\n\n\010_addressB\024\n\022_" + + "availability_zoneB\007\n\005_cityB\014\n\n_continent" + + "B\025\n\023_creation_timestampB\016\n\014_descriptionB" + + "\024\n\022_facility_providerB \n\036_facility_provi" + + "der_facility_idB\005\n\003_idB\007\n\005_kindB\007\n\005_name" + + "B\030\n\026_peeringdb_facility_idB\014\n\n_self_link" + + "B\t\n\007_statusB\017\n\r_supports_pzs\"\271\002\n\030Interco" + + "nnectLocationList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022?\n\005i" + + "tems\030\300\317\367/ \003(\0132-.google.cloud.compute.v1." + + "InterconnectLocation\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210" + + "\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\ts" + + "elf_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 " + + "\001(\0132 .google.cloud.compute.v1.WarningH\004\210" + + "\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014" + + "\n\n_self_linkB\n\n\010_warning\"\272\002\n\036Interconnec" + + "tLocationRegionInfo\022 \n\017expected_rtt_ms\030\372" + + "\203\276\311\001 \001(\003H\000\210\001\001\022!\n\021location_presence\030\305\224\2640 " + + "\001(\tH\001\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\002\210\001\001\"\205\001\n\020Loc" + + "ationPresence\022\037\n\033UNDEFINED_LOCATION_PRES" + + "ENCE\020\000\022\016\n\006GLOBAL\020\243\357\357\353\001\022\024\n\014LOCAL_REGION\020\350" + + "\354\265\300\001\022\021\n\tLP_GLOBAL\020\276\335\353\314\001\022\027\n\017LP_LOCAL_REGI" + + "ON\020\303\332\375\350\001B\022\n\020_expected_rtt_msB\024\n\022_locatio" + + "n_presenceB\t\n\007_region\"\224\001\n\022InterconnectMa" + + "csec\022\032\n\tfail_open\030\313\225\373\375\001 \001(\010H\000\210\001\001\022T\n\017pre_" + + "shared_keys\030\362\313\265\310\001 \003(\01327.google.cloud.com" + + "pute.v1.InterconnectMacsecPreSharedKeyB\014" + + "\n\n_fail_open\"v\n\030InterconnectMacsecConfig" + + "\022Z\n\017pre_shared_keys\030\362\313\265\310\001 \003(\0132=.google.c" + + "loud.compute.v1.InterconnectMacsecConfig" + + "PreSharedKey\"\250\001\n$InterconnectMacsecConfi" + + "gPreSharedKey\022\022\n\003cak\030\315\377\005 \001(\tH\000\210\001\001\022\022\n\003ckn" + + "\030\206\202\006 \001(\tH\001\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\002\210\001\001\022\032\n\ns" + + "tart_time\030\212\351\356\021 \001(\tH\003\210\001\001B\006\n\004_cakB\006\n\004_cknB" + + "\007\n\005_nameB\r\n\013_start_time\"j\n\036InterconnectM" + + "acsecPreSharedKey\022\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001\022" + + "\032\n\nstart_time\030\212\351\356\021 \001(\tH\001\210\001\001B\007\n\005_nameB\r\n\013" + + "_start_time\"\205\005\n\036InterconnectOutageNotifi" + + "cation\022\034\n\021affected_circuits\030\225\376\336T \003(\t\022\034\n\013" + + "description\030\374\207\326\311\001 \001(\tH\000\210\001\001\022\030\n\010end_time\030\261" + + "\247\3476 \001(\003H\001\210\001\001\022\033\n\nissue_type\030\340\375\240\260\001 \001(\tH\002\210\001" + + "\001\022\024\n\004name\030\213\365\315\001 \001(\tH\003\210\001\001\022\026\n\006source\030\233\320\301T \001" + + "(\tH\004\210\001\001\022\032\n\nstart_time\030\212\351\356\021 \001(\003H\005\210\001\001\022\025\n\005s" + + "tate\030\221\211\2534 \001(\tH\006\210\001\001\"w\n\tIssueType\022\030\n\024UNDEF" + + "INED_ISSUE_TYPE\020\000\022\020\n\tIT_OUTAGE\020\205\341\350S\022\030\n\021I" + + "T_PARTIAL_OUTAGE\020\243\312\365+\022\r\n\006OUTAGE\020\361\245\217]\022\025\n\016" + + "PARTIAL_OUTAGE\020\217\267\217F\"C\n\006Source\022\024\n\020UNDEFIN" + + "ED_SOURCE\020\000\022\016\n\006GOOGLE\020\271\244\231\355\001\022\023\n\013NSRC_GOOG" + + "LE\020\342\377\272\363\001\"x\n\005State\022\023\n\017UNDEFINED_STATE\020\000\022\016" + + "\n\006ACTIVE\020\206\346\211\226\001\022\020\n\tCANCELLED\020\261\362\200\024\022\021\n\tCOMP" + + "LETED\020\253\214\344\223\001\022\020\n\tNS_ACTIVE\020\300\235\267x\022\023\n\013NS_CANC" + + "ELED\020\323\223\307\361\001B\016\n\014_descriptionB\013\n\t_end_timeB" + + "\r\n\013_issue_typeB\007\n\005_nameB\t\n\007_sourceB\r\n\013_s" + + "tart_timeB\010\n\006_state\"\313\013\n\032InterconnectRemo" + + "teLocation\022\030\n\007address\030\364\267\336\334\001 \001(\tH\000\210\001\001\022~\n$" + + "attachment_configuration_constraints\030\321\350\353" + + "\233\001 \001(\0132G.google.cloud.compute.v1.Interco" + + "nnectAttachmentConfigurationConstraintsH" + + "\001\210\001\001\022\024\n\004city\030\353\262\272\001 \001(\tH\002\210\001\001\022[\n\013constraint" + + "s\030\266\314\356\001 \001(\0132>.google.cloud.compute.v1.Int" + + "erconnectRemoteLocationConstraintsH\003\210\001\001\022" + + "\031\n\tcontinent\030\264\333\320? \001(\tH\004\210\001\001\022\"\n\022creation_t" + + "imestamp\030\266\217\307\016 \001(\tH\005\210\001\001\022\034\n\013description\030\374\207" + + "\326\311\001 \001(\tH\006\210\001\001\022\"\n\021facility_provider\030\215\240\246\376\001 " + + "\001(\tH\007\210\001\001\022-\n\035facility_provider_facility_i" + + "d\030\205\276\316) \001(\tH\010\210\001\001\022\020\n\002id\030\233\032 \001(\004H\t\210\001\001\022\024\n\004kin" + + "d\030\224\367\310\001 \001(\tH\n\210\001\001\022\024\n\004lacp\030\242\241\312\001 \001(\tH\013\210\001\001\022$\n" + + "\024max_lag_size100_gbps\030\265\377\366t \001(\005H\014\210\001\001\022$\n\023m" + + "ax_lag_size10_gbps\030\225\346\230\214\001 \001(\005H\r\210\001\001\022\024\n\004nam" + + "e\030\213\365\315\001 \001(\tH\016\210\001\001\022&\n\025peeringdb_facility_id" + + "\030\266\272\355\377\001 \001(\tH\017\210\001\001\022j\n\025permitted_connections" + + "\030\256\263\345\322\001 \003(\0132G.google.cloud.compute.v1.Int" + + "erconnectRemoteLocationPermittedConnecti" + + "ons\022\037\n\016remote_service\030\274\377\362\272\001 \001(\tH\020\210\001\001\022\032\n\t" + + "self_link\030\215\222\305\331\001 \001(\tH\021\210\001\001\022\026\n\006status\030\362\237\267V " + + "\001(\tH\022\210\001\001\"\202\001\n\tContinent\022\027\n\023UNDEFINED_CONT" + + "INENT\020\000\022\016\n\006AFRICA\020\372\234\257\227\001\022\017\n\010ASIA_PAC\020\375\366\2169" + + "\022\016\n\006EUROPE\020\242\323\312\324\001\022\025\n\rNORTH_AMERICA\020\224\331\320\325\001\022" + + "\024\n\rSOUTH_AMERICA\020\334\312\305\017\"K\n\004Lacp\022\022\n\016UNDEFIN" + + "ED_LACP\020\000\022\026\n\016LACP_SUPPORTED\020\261\212\366\241\001\022\027\n\020LAC" + + "P_UNSUPPORTED\020\370\363\236a\"A\n\006Status\022\024\n\020UNDEFINE" + + "D_STATUS\020\000\022\021\n\tAVAILABLE\020\251\265\346\322\001\022\016\n\006CLOSED\020" + + "\354\252\243\265\001B\n\n\010_addressB\'\n%_attachment_configu" + + "ration_constraintsB\007\n\005_cityB\016\n\014_constrai" + + "ntsB\014\n\n_continentB\025\n\023_creation_timestamp" + + "B\016\n\014_descriptionB\024\n\022_facility_providerB " + + "\n\036_facility_provider_facility_idB\005\n\003_idB" + + "\007\n\005_kindB\007\n\005_lacpB\027\n\025_max_lag_size100_gb" + + "psB\026\n\024_max_lag_size10_gbpsB\007\n\005_nameB\030\n\026_" + + "peeringdb_facility_idB\021\n\017_remote_service" + + "B\014\n\n_self_linkB\t\n\007_status\"\305\004\n%Interconne" + + "ctRemoteLocationConstraints\022*\n\031port_pair" + + "_remote_location\030\247\262\274\354\001 \001(\tH\000\210\001\001\022\037\n\016port_" + + "pair_vlan\030\352\362\203\344\001 \001(\tH\001\210\001\001\022t\n\023subnet_lengt" + + "h_range\030\306\260\373W \001(\0132O.google.cloud.compute." + + "v1.InterconnectRemoteLocationConstraints" + + "SubnetLengthRangeH\002\210\001\001\"\234\001\n\026PortPairRemot" + + "eLocation\022\'\n#UNDEFINED_PORT_PAIR_REMOTE_" + + "LOCATION\020\000\022)\n\"PORT_PAIR_MATCHING_REMOTE_" + + "LOCATION\020\323\213\354b\022.\n\'PORT_PAIR_UNCONSTRAINED" + + "_REMOTE_LOCATION\020\245\252\363\034\"q\n\014PortPairVlan\022\034\n" + + "\030UNDEFINED_PORT_PAIR_VLAN\020\000\022\036\n\027PORT_PAIR" + + "_MATCHING_VLAN\020\276\350\254w\022#\n\034PORT_PAIR_UNCONST" + + "RAINED_VLAN\020\254\210\307SB\034\n\032_port_pair_remote_lo" + + "cationB\021\n\017_port_pair_vlanB\026\n\024_subnet_len" + + "gth_range\"p\n6InterconnectRemoteLocationC" + + "onstraintsSubnetLengthRange\022\022\n\003max\030\344\312\006 \001" + + "(\005H\000\210\001\001\022\022\n\003min\030\322\314\006 \001(\005H\001\210\001\001B\006\n\004_maxB\006\n\004_" + + "min\"\305\002\n\036InterconnectRemoteLocationList\022\020" + + "\n\002id\030\233\032 \001(\tH\000\210\001\001\022E\n\005items\030\300\317\367/ \003(\01323.goo" + + "gle.cloud.compute.v1.InterconnectRemoteL" + + "ocation\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_pa" + + "ge_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331" + + "\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google." + + "cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005" + + "_kindB\022\n\020_next_page_tokenB\014\n\n_self_linkB" + + "\n\n\010_warning\"r\n.InterconnectRemoteLocatio" + + "nPermittedConnections\022&\n\025interconnect_lo" + + "cation\030\306\330\333\352\001 \001(\tH\000\210\001\001B\030\n\026_interconnect_l" + + "ocation\"z\n#InterconnectsGetDiagnosticsRe" + + "sponse\022H\n\006result\030\235\220\267B \001(\01320.google.cloud" + + ".compute.v1.InterconnectDiagnosticsH\000\210\001\001" + + "B\t\n\007_result\"\233\001\n$InterconnectsGetMacsecCo" + + "nfigResponse\022\024\n\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022I\n\006re" + + "sult\030\235\220\267B \001(\01321.google.cloud.compute.v1." + + "InterconnectMacsecConfigH\001\210\001\001B\007\n\005_etagB\t" + + "\n\007_result\"\351\001\n\034InvalidateCacheUrlMapReque" + + "st\022a\n cache_invalidation_rule_resource\030\255" + + "\303\223\225\001 \001(\0132..google.cloud.compute.v1.Cache" + + "InvalidationRuleB\003\340A\002\022!\n\007project\030\231\226\301l \001(" + + "\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" + + "\000\210\001\001\022\030\n\007url_map\030\214\225\201\257\001 \001(\tB\003\340A\002B\r\n\013_reque" + + "st_id\"D\n\005Items\022\022\n\003key\030\337\274\006 \001(\tH\000\210\001\001\022\025\n\005va" + + "lue\030\361\242\2625 \001(\tH\001\210\001\001B\006\n\004_keyB\010\n\006_value\"\375\003\n\007" + + "License\022 \n\017charges_use_fee\030\316\241\312\261\001 \001(\010H\000\210\001" + + "\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n" + + "\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\020\n\002id\030\233\032 \001(\004" + + "H\003\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\033\n\014license_c" + + "ode\030\253\306Y \001(\004H\005\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022[" + + "\n\025resource_requirements\030\241\262\227f \001(\01324.googl" + + "e.cloud.compute.v1.LicenseResourceRequir" + + "ementsH\007\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022" + + "\034\n\014transferable\030\305\277\211\002 \001(\010H\t\210\001\001B\022\n\020_charge" + + "s_use_feeB\025\n\023_creation_timestampB\016\n\014_des" + + "criptionB\005\n\003_idB\007\n\005_kindB\017\n\r_license_cod" + + "eB\007\n\005_nameB\030\n\026_resource_requirementsB\014\n\n" + + "_self_linkB\017\n\r_transferable\"\224\004\n\013LicenseC" + + "ode\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022" + + "\034\n\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\020\n\002id\030\233\032 \001" + + "(\004H\002\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022J\n\rlicense" + + "_alias\030\322\221\342\024 \003(\01320.google.cloud.compute.v" + + "1.LicenseCodeLicenseAlias\022\024\n\004name\030\213\365\315\001 \001" + + "(\tH\004\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\005\210\001\001\022\025\n\005s" + + "tate\030\221\211\2534 \001(\tH\006\210\001\001\022\034\n\014transferable\030\305\277\211\002 " + + "\001(\010H\007\210\001\001\"\177\n\005State\022\023\n\017UNDEFINED_STATE\020\000\022\020" + + "\n\010DISABLED\020\374\324\260\366\001\022\016\n\007ENABLED\020\241\256\354V\022\021\n\nREST" + + "RICTED\020\333\350\333|\022\031\n\021STATE_UNSPECIFIED\020\311\320\274\340\001\022\021" + + "\n\nTERMINATED\020\243\364\233wB\025\n\023_creation_timestamp" + + "B\016\n\014_descriptionB\005\n\003_idB\007\n\005_kindB\007\n\005_nam" + + "eB\014\n\n_self_linkB\010\n\006_stateB\017\n\r_transferab" + + "le\"q\n\027LicenseCodeLicenseAlias\022\034\n\013descrip" + + "tion\030\374\207\326\311\001 \001(\tH\000\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001" + + "(\tH\001\210\001\001B\016\n\014_descriptionB\014\n\n_self_link\"\234\001" + + "\n\031LicenseResourceCommitment\022\026\n\006amount\030\330\240" + + "\351] \001(\003H\000\210\001\001\022!\n\021cores_per_license\030\224\310\276\017 \001(" + + "\tH\001\210\001\001\022\027\n\007license\030\301\210\302O \001(\tH\002\210\001\001B\t\n\007_amou" + + "ntB\024\n\022_cores_per_licenseB\n\n\010_license\"\215\001\n" + + "\033LicenseResourceRequirements\022$\n\023min_gues" + + "t_cpu_count\030\244\324\364\343\001 \001(\005H\000\210\001\001\022\036\n\rmin_memory" + + "_mb\030\346\327\331\360\001 \001(\005H\001\210\001\001B\026\n\024_min_guest_cpu_cou" + + "ntB\020\n\016_min_memory_mb\"\211\002\n\024LicensesListRes" + + "ponse\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0222\n\005items\030\300\317\367/ \003(" + + "\0132 .google.cloud.compute.v1.License\022\037\n\017n" + + "ext_page_token\030\225\272\206& \001(\tH\001\210\001\001\022\032\n\tself_lin" + + "k\030\215\222\305\331\001 \001(\tH\002\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .g" + + "oogle.cloud.compute.v1.WarningH\003\210\001\001B\005\n\003_" + + "idB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010" + + "_warning\"\263\002\n\033ListAcceleratorTypesRequest" + + "\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results" + + "\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001" + + "\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030" + + "\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_success\030" + + "\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007" + "_filterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013" - + "_page_tokenB\031\n\027_return_partial_success\"\231" - + "\002\n\027ListHealthChecksRequest\022\027\n\006filter\030\370\226\243" - + "\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001" - + "\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token" - + "\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022" - + "\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001" - + "B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_order_by" - + "B\r\n\013_page_tokenB\031\n\027_return_partial_succe" - + "ss\"\223\002\n\021ListImagesRequest\022\027\n\006filter\030\370\226\243\240\001" - + " \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030" - + "\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311" - + "\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n" - + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t" - + "\n\007_filterB\016\n\014_max_resultsB\013\n\t_order_byB\r" - + "\n\013_page_tokenB\031\n\027_return_partial_success" - + "\"\270\002\n ListInstanceGroupManagersRequest\022\027\n" - + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310" - + "\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n" - + "\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301" - + "l \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317" - + "\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_fi" - + "lterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_pa" - + "ge_tokenB\031\n\027_return_partial_success\"\261\002\n\031" - + "ListInstanceGroupsRequest\022\027\n\006filter\030\370\226\243\240" + + "_page_tokenB\031\n\027_return_partial_success\"\256" + + "\002\n\024ListAddressesRequest\022\027\n\006filter\030\370\226\243\240\001 " + + "\001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n" + + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260" + + "\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006" + + "region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_s" + + "uccess\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max" + + "_resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027" + + "_return_partial_success\"]\n%ListAssociati" + + "onsFirewallPolicyRequest\022 \n\017target_resou" + + "rce\030\374\355\352\336\001 \001(\tH\000\210\001\001B\022\n\020_target_resource\"\256" + + "\002\n\026ListAutoscalersRequest\022\027\n\006filter\030\370\226\243\240" + "\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022" + "\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030" + "\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'" + "\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022" + "\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max" + "_resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027" - + "_return_partial_success\"\236\002\n\034ListInstance" - + "TemplatesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001" - + "\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_" - + "by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH" - + "\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_" - + "partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filte" - + "rB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_" - + "tokenB\031\n\027_return_partial_success\"\331\003\n\"Lis" - + "tInstancesInstanceGroupsRequest\022\027\n\006filte" - + "r\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\036\n\016instance_group\030\325\324\325& " - + "\001(\tB\003\340A\002\022}\n/instance_groups_list_instanc" - + "es_request_resource\030\237\250\214\343\001 \001(\0132;.google.c" - + "loud.compute.v1.InstanceGroupsListInstan" - + "cesRequestB\003\340A\002\022\033\n\013max_results\030\233\310\213\032 \001(\rH" - + "\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_t" - + "oken\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003" - + "\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H" - + "\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n" - + "\014_max_resultsB\013\n\t_order_byB\r\n\013_page_toke" - + "nB\031\n\027_return_partial_success\"\356\003\n(ListIns" - + "tancesRegionInstanceGroupsRequest\022\027\n\006fil" - + "ter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\036\n\016instance_group\030\325\324\325" - + "& \001(\tB\003\340A\002\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022" - + "\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030" - + "\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026" - + "\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\211\001\n6region_instan" - + "ce_groups_list_instances_request_resourc" - + "e\030\324\251\200\027 \001(\0132A.google.cloud.compute.v1.Reg" - + "ionInstanceGroupsListInstancesRequestB\003\340" - + "A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004" - + "\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_order" - + "_byB\r\n\013_page_tokenB\031\n\027_return_partial_su" - + "ccess\"\254\002\n\024ListInstancesRequest\022\027\n\006filter" + + "_return_partial_success\"\307\002\n-ListAvailabl" + + "eFeaturesRegionSslPoliciesRequest\022\027\n\006fil" + + "ter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001" + + "(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npag" + + "e_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(" + + "\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return" + + "_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filt" + + "erB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page" + + "_tokenB\031\n\027_return_partial_success\"\251\002\n\'Li" + + "stAvailableFeaturesSslPoliciesRequest\022\027\n" + + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310" + + "\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n" + + "\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301" + + "l \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317" + + "\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013" + + "\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_pa" + + "rtial_success\"\233\002\n\031ListBackendBucketsRequ" + + "est\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_resu" + + "lts\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002" + + "\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007proje" + + "ct\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_succe" + + "ss\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_res" + + "ultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_ret" + + "urn_partial_success\"\234\002\n\032ListBackendServi" + + "cesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013m" + + "ax_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307" + + "L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027" + + "\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partia" + + "l_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_" + + "max_resultsB\013\n\t_order_byB\r\n\013_page_tokenB" + + "\031\n\027_return_partial_success\"\254\002\n\024ListDiskT" + + "ypesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013" + + "max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375" + + "\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022" + + "\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_parti" + + "al_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001" + + "(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_o" + + "rder_byB\r\n\013_page_tokenB\031\n\027_return_partia" + + "l_success\"\250\002\n\020ListDisksRequest\022\027\n\006filter" + "\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH" + "\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_t" + "oken\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003" + "\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H" + "\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n" + "\014_max_resultsB\013\n\t_order_byB\r\n\013_page_toke" - + "nB\031\n\027_return_partial_success\"\263\002\n\033ListIns" - + "tantSnapshotsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\t" - + "H\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010or" + + "nB\031\n\027_return_partial_success\"\323\002\n\034ListDis" + + "ksStoragePoolsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(" + + "\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010o" + + "rder_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t" + + " \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026re" + + "turn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\035\n\014s" + + "torage_pool\030\340\306\361\253\001 \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 " + + "\001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_" + + "order_byB\r\n\013_page_tokenB\031\n\027_return_parti" + + "al_success\"\346\002\n&ListErrorsInstanceGroupMa" + + "nagersRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022&" + + "\n\026instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\033" + + "\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030" + + "\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001" + + "\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_par" + + "tial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001" + + " \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t" + + "_order_byB\r\n\013_page_tokenB\031\n\027_return_part" + + "ial_success\"\356\002\n,ListErrorsRegionInstance" + + "GroupManagersRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\t" + + "H\000\210\001\001\022&\n\026instance_group_manager\030\303\367\363v \001(\t" + + "B\003\340A\002\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010or" + "der_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t " - + "\001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026ret" - + "urn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zo" - + "ne\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max_resu" - + "ltsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retu" - + "rn_partial_success\"\274\002\n\"ListInterconnectA" - + "ttachmentsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210" - + "\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order" - + "_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\t" - + "H\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region" - + "\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_success" + + "\001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006reg" + + "ion\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_succ" + + "ess\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_re" + + "sultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_re" + + "turn_partial_success\"\240\002\n\036ListExternalVpn" + + "GatewaysRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001" + + "\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_b" + + "y\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003" + + "\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_p" + + "artial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filter" + + "B\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_t" + + "okenB\031\n\027_return_partial_success\"\256\002\n\033List" + + "FirewallPoliciesRequest\022\027\n\006filter\030\370\226\243\240\001 " + + "\001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n" + + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260" + + "\304\t \001(\tH\003\210\001\001\022\032\n\tparent_id\030\320\341\232\333\001 \001(\tH\004\210\001\001\022" + + "\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\005\210\001\001" + + "B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_order_by" + + "B\r\n\013_page_tokenB\014\n\n_parent_idB\031\n\027_return" + + "_partial_success\"\226\002\n\024ListFirewallsReques" + + "t\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_result" + + "s\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001" + + "\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project" + + "\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_success" + "\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resul" + "tsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retur" - + "n_partial_success\"\242\002\n ListInterconnectLo" - + "cationsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022" - + "\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by" - + "\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210" - + "\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_pa" - + "rtial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB" - + "\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_to" - + "kenB\031\n\027_return_partial_success\"\250\002\n&ListI" - + "nterconnectRemoteLocationsRequest\022\027\n\006fil", - "ter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001" - + "(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npag" - + "e_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(" - + "\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001" - + "(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_o" - + "rder_byB\r\n\013_page_tokenB\031\n\027_return_partia" - + "l_success\"\232\002\n\030ListInterconnectsRequest\022\027" - + "\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233" - + "\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032" - + "\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226" - + "\301l \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244" - + "\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB" - + "\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_p" - + "artial_success\"\225\002\n\023ListLicensesRequest\022\027" - + "\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233" - + "\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032" - + "\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226" - + "\301l \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244" - + "\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB" - + "\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_p" - + "artial_success\"\232\002\n\030ListMachineImagesRequ" - + "est\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_resu" - + "lts\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002" - + "\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007proje" - + "ct\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_succe" - + "ss\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_res" - + "ultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_ret" - + "urn_partial_success\"\257\002\n\027ListMachineTypes" - + "Request\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_" - + "results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001" - + "(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007p" - + "roject\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_s" - + "uccess\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003" - + "\340A\002B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_order" - + "_byB\r\n\013_page_tokenB\031\n\027_return_partial_su" - + "ccess\"\360\002\n0ListManagedInstancesInstanceGr" - + "oupManagersRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000" - + "\210\001\001\022&\n\026instance_group_manager\030\303\367\363v \001(\tB\003" - + "\340A\002\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010orde" - + "r_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(" - + "\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026retur" - + "n_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone" - + "\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max_result" - + "sB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return" - + "_partial_success\"\370\002\n6ListManagedInstance" - + "sRegionInstanceGroupManagersRequest\022\027\n\006f" - + "ilter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022&\n\026instance_group_m" - + "anager\030\303\367\363v \001(\tB\003\340A\002\022\033\n\013max_results\030\233\310\213\032" - + " \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\np" - + "age_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l " - + "\001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026retu" + + "n_partial_success\"\264\002\n\032ListForwardingRule" + + "sRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max" + + "_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L " + + "\001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007" + + "project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\t" + + "B\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(" + + "\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_or" + + "der_byB\r\n\013_page_tokenB\031\n\027_return_partial" + + "_success\"\234\002\n\032ListGlobalAddressesRequest\022" + + "\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030" + + "\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022" + + "\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231" + + "\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266" + + "\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_results" + + "B\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_" + + "partial_success\"\242\002\n ListGlobalForwarding" + + "RulesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n" + + "\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350", + "\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001" + + "\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_part" + + "ial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n" + + "\014_max_resultsB\013\n\t_order_byB\r\n\013_page_toke" + + "nB\031\n\027_return_partial_success\"\250\002\n&ListGlo" + + "balNetworkEndpointGroupsRequest\022\027\n\006filte" + + "r\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\r" + + "H\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_" + + "token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB" + + "\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010" + + "H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_ord" + + "er_byB\r\n\013_page_tokenB\031\n\027_return_partial_" + + "success\"\235\002\n\033ListGlobalOperationsRequest\022" + + "\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030" + + "\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022" + + "\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231" + + "\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266" + + "\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_results" + + "B\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_" + + "partial_success\"\272\002\n\'ListGlobalOrganizati" + + "onOperationsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH" + + "\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010ord" + + "er_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001" + + "(\tH\003\210\001\001\022\032\n\tparent_id\030\320\341\232\333\001 \001(\tH\004\210\001\001\022\'\n\026r" + + "eturn_partial_success\030\266\244\317\366\001 \001(\010H\005\210\001\001B\t\n\007" + + "_filterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013" + + "_page_tokenB\014\n\n_parent_idB\031\n\027_return_par" + + "tial_success\"\252\002\n(ListGlobalPublicDelegat" + + "edPrefixesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210" + + "\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order" + + "_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\t" + + "H\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return" + + "_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filt" + + "erB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page" + + "_tokenB\031\n\027_return_partial_success\"\231\002\n\027Li" + + "stHealthChecksRequest\022\027\n\006filter\030\370\226\243\240\001 \001(" + + "\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010o" + + "rder_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t" + + " \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026re" + + "turn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_" + + "filterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_" + + "page_tokenB\031\n\027_return_partial_success\"\223\002" + + "\n\021ListImagesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH" + + "\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010ord" + + "er_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001" + + "(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026retu" + "rn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_fi" + "lterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_pa" - + "ge_tokenB\031\n\027_return_partial_success\"\267\002\n\035" - + "ListNetworkAttachmentsRequest\022\027\n\006filter\030" - + "\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001" - + "\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_to" - + "ken\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340" - + "A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_par" - + "tial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016" - + "\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_tok" - + "enB\031\n\027_return_partial_success\"\270\002\n ListNe" - + "tworkEndpointGroupsRequest\022\027\n\006filter\030\370\226\243" - + "\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001" - + "\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token" - + "\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022" - + "\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001" - + "\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_ma" - + "x_resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n" - + "\027_return_partial_success\"\341\002\n6ListNetwork" - + "EndpointsGlobalNetworkEndpointGroupsRequ" - + "est\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_resu" - + "lts\030\233\310\213\032 \001(\rH\001\210\001\001\022\'\n\026network_endpoint_gr" - + "oup\030\206\313\363\316\001 \001(\tB\003\340A\002\022\030\n\010order_by\030\350\375\307L \001(\tH" - + "\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007proj" - + "ect\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_succ" - + "ess\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_re" - + "sultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_re" - + "turn_partial_success\"\377\003\n0ListNetworkEndp" - + "ointsNetworkEndpointGroupsRequest\022\027\n\006fil" - + "ter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001" - + "(\rH\001\210\001\001\022\'\n\026network_endpoint_group\030\206\313\363\316\001 " - + "\001(\tB\003\340A\002\022\213\001\n7network_endpoint_groups_lis" - + "t_endpoints_request_resource\030\216\230\257\034 \001(\0132B." - + "google.cloud.compute.v1.NetworkEndpointG" - + "roupsListEndpointsRequestB\003\340A\002\022\030\n\010order_" - + "by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH" - + "\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_" - + "partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030\254" - + "\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max_resultsB" - + "\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_p" - + "artial_success\"\371\002\n6ListNetworkEndpointsR" - + "egionNetworkEndpointGroupsRequest\022\027\n\006fil" - + "ter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001" - + "(\rH\001\210\001\001\022\'\n\026network_endpoint_group\030\206\313\363\316\001 " - + "\001(\tB\003\340A\002\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npa" - + "ge_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001" - + "(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026retur" - + "n_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_fil" - + "terB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_pag" - + "e_tokenB\031\n\027_return_partial_success\"\244\002\n\"L" - + "istNetworkFirewallPoliciesRequest\022\027\n\006fil" - + "ter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001" + + "ge_tokenB\031\n\027_return_partial_success\"\355\002\n-" + + "ListInstanceGroupManagerResizeRequestsRe" + + "quest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022&\n\026instan" + + "ce_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\033\n\013max_re" + + "sults\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\t" + + "H\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007pro" + + "ject\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_suc" + + "cess\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A" + + "\002B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_order_b" + + "yB\r\n\013_page_tokenB\031\n\027_return_partial_succ" + + "ess\"\270\002\n ListInstanceGroupManagersRequest" + + "\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results" + + "\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001" + + "\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030" + + "\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_success\030" + + "\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007" + + "_filterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013" + + "_page_tokenB\031\n\027_return_partial_success\"\261" + + "\002\n\031ListInstanceGroupsRequest\022\027\n\006filter\030\370" + + "\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210" + + "\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_tok" + + "en\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" + + "\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210" + + "\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_" + + "max_resultsB\013\n\t_order_byB\r\n\013_page_tokenB" + + "\031\n\027_return_partial_success\"\236\002\n\034ListInsta" + + "nceTemplatesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH" + + "\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010ord" + + "er_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001" + + "(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026retu" + + "rn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_fi" + + "lterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_pa" + + "ge_tokenB\031\n\027_return_partial_success\"\331\003\n\"" + + "ListInstancesInstanceGroupsRequest\022\027\n\006fi" + + "lter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\036\n\016instance_group\030\325\324" + + "\325& \001(\tB\003\340A\002\022}\n/instance_groups_list_inst" + + "ances_request_resource\030\237\250\214\343\001 \001(\0132;.googl" + + "e.cloud.compute.v1.InstanceGroupsListIns" + + "tancesRequestB\003\340A\002\022\033\n\013max_results\030\233\310\213\032 \001" + "(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npag" + "e_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(" + "\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001" - + "(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_o" - + "rder_byB\r\n\013_page_tokenB\031\n\027_return_partia" - + "l_success\"\225\002\n\023ListNetworksRequest\022\027\n\006fil" + + "(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filter" + + "B\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_t" + + "okenB\031\n\027_return_partial_success\"\356\003\n(List" + + "InstancesRegionInstanceGroupsRequest\022\027\n\006" + + "filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\036\n\016instance_group\030" + + "\325\324\325& \001(\tB\003\340A\002\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210" + + "\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_tok" + + "en\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" + + "\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\211\001\n6region_ins" + + "tance_groups_list_instances_request_reso" + + "urce\030\324\251\200\027 \001(\0132A.google.cloud.compute.v1." + + "RegionInstanceGroupsListInstancesRequest" + + "B\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(" + + "\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_or" + + "der_byB\r\n\013_page_tokenB\031\n\027_return_partial" + + "_success\"\254\002\n\024ListInstancesRequest\022\027\n\006fil" + "ter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001" + "(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npag" + "e_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(" + "\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001" - + "(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_o" - + "rder_byB\r\n\013_page_tokenB\031\n\027_return_partia" - + "l_success\"\255\002\n\025ListNodeGroupsRequest\022\027\n\006f" - + "ilter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032" - + " \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\np" - + "age_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l " - + "\001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001" - + " \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filt" + + "(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filter" + + "B\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_t" + + "okenB\031\n\027_return_partial_success\"\263\002\n\033List" + + "InstantSnapshotsRequest\022\027\n\006filter\030\370\226\243\240\001 " + + "\001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n" + + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260" + + "\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026" + + "return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n" + + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max_r" + + "esultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_r" + + "eturn_partial_success\"\274\002\n\"ListInterconne" + + "ctAttachmentsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\t" + + "H\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010or" + + "der_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t " + + "\001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006reg" + + "ion\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_succ" + + "ess\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_re" + + "sultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_re" + + "turn_partial_success\"\242\002\n ListInterconnec" + + "tLocationsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210" + + "\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order" + + "_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\t" + + "H\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return" + + "_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filt" + "erB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page" - + "_tokenB\031\n\027_return_partial_success\"\262\002\n\030Li" - + "stNodeTemplatesRequest\022\027\n\006filter\030\370\226\243\240\001 \001" - + "(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010" - + "order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304" - + "\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006r" - + "egion\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_su" + + "_tokenB\031\n\027_return_partial_success\"\250\002\n&Li" + + "stInterconnectRemoteLocationsRequest\022\027\n\006" + + "filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213" + + "\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" + + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l" + + " \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366" + + "\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n" + + "\t_order_byB\r\n\013_page_tokenB\031\n\027_return_par" + + "tial_success\"\232\002\n\030ListInterconnectsReques" + + "t\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_result" + + "s\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001" + + "\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project" + + "\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_success" + + "\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resul" + + "tsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retur" + + "n_partial_success\"\225\002\n\023ListLicensesReques" + + "t\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_result" + + "s\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001" + + "\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project" + + "\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_success" + + "\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resul" + + "tsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retur" + + "n_partial_success\"\232\002\n\030ListMachineImagesR" + + "equest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_r" + + "esults\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(" + + "\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007pr" + + "oject\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_su" + "ccess\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_" + "resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_" - + "return_partial_success\"\254\002\n\024ListNodeTypes" - + "Request\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_" - + "results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001" + + "return_partial_success\"\257\002\n\027ListMachineTy" + + "pesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013m" + + "ax_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307" + + "L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027" + + "\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partia" + + "l_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(" + + "\tB\003\340A\002B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_or" + + "der_byB\r\n\013_page_tokenB\031\n\027_return_partial" + + "_success\"\360\002\n0ListManagedInstancesInstanc" + + "eGroupManagersRequest\022\027\n\006filter\030\370\226\243\240\001 \001(" + + "\tH\000\210\001\001\022&\n\026instance_group_manager\030\303\367\363v \001(" + + "\tB\003\340A\002\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010o" + + "rder_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t" + + " \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026re" + + "turn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004z" + + "one\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max_res" + + "ultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_ret" + + "urn_partial_success\"\370\002\n6ListManagedInsta" + + "ncesRegionInstanceGroupManagersRequest\022\027" + + "\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022&\n\026instance_grou" + + "p_manager\030\303\367\363v \001(\tB\003\340A\002\022\033\n\013max_results\030\233" + + "\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032" + + "\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226" + + "\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026r" + + "eturn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007" + + "_filterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013" + + "_page_tokenB\031\n\027_return_partial_success\"\267" + + "\002\n\035ListNetworkAttachmentsRequest\022\027\n\006filt" + + "er\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(" + + "\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage" + + "_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\t" + + "B\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_" + + "partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filte" + + "rB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_" + + "tokenB\031\n\027_return_partial_success\"\270\002\n Lis" + + "tNetworkEndpointGroupsRequest\022\027\n\006filter\030" + + "\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001" + + "\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_to" + + "ken\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340" + + "A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004" + + "\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014" + + "_max_resultsB\013\n\t_order_byB\r\n\013_page_token" + + "B\031\n\027_return_partial_success\"\341\002\n6ListNetw" + + "orkEndpointsGlobalNetworkEndpointGroupsR" + + "equest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_r" + + "esults\030\233\310\213\032 \001(\rH\001\210\001\001\022\'\n\026network_endpoint" + + "_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022\030\n\010order_by\030\350\375\307L \001" + "(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007p" + "roject\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_s" - + "uccess\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003" - + "\340A\002B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_order" - + "_byB\r\n\013_page_tokenB\031\n\027_return_partial_su" - + "ccess\"\317\002\n\032ListNodesNodeGroupsRequest\022\027\n\006" - + "filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213" - + "\032 \001(\rH\001\210\001\001\022\033\n\nnode_group\030\202\374\213\340\001 \001(\tB\003\340A\002\022" - + "\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030" - + "\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'" - + "\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022" - + "\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max" - + "_resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027" - + "_return_partial_success\"\265\002\n\033ListPacketMi" - + "rroringsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001" - + "\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_b" - + "y\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003" - + "\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364" - + "\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266" - + "\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_results" - + "B\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_" - + "partial_success\"\200\004\n ListPeeringRoutesNet" - + "worksRequest\022\031\n\tdirection\030\377\216\2005 \001(\tH\000\210\001\001\022" - + "\027\n\006filter\030\370\226\243\240\001 \001(\tH\001\210\001\001\022\033\n\013max_results\030" - + "\233\310\213\032 \001(\rH\002\210\001\001\022\027\n\007network\030\256\264\205o \001(\tB\003\340A\002\022\030" - + "\n\010order_by\030\350\375\307L \001(\tH\003\210\001\001\022\032\n\npage_token\030\311" - + "\260\304\t \001(\tH\004\210\001\001\022\034\n\014peering_name\030\252\320\200w \001(\tH\005\210" - + "\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315" - + "\240B \001(\tH\006\210\001\001\022\'\n\026return_partial_success\030\266\244" - + "\317\366\001 \001(\010H\007\210\001\001\"H\n\tDirection\022\027\n\023UNDEFINED_D" - + "IRECTION\020\000\022\020\n\010INCOMING\020\246\320\267\241\001\022\020\n\010OUTGOING" - + "\020\354\306\314\222\001B\014\n\n_directionB\t\n\007_filterB\016\n\014_max_" - + "resultsB\013\n\t_order_byB\r\n\013_page_tokenB\017\n\r_" - + "peering_nameB\t\n\007_regionB\031\n\027_return_parti" - + "al_success\"\362\002\n2ListPerInstanceConfigsIns" - + "tanceGroupManagersRequest\022\027\n\006filter\030\370\226\243\240" - + "\001 \001(\tH\000\210\001\001\022&\n\026instance_group_manager\030\303\367\363" - + "v \001(\tB\003\340A\002\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022" - + "\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030" - + "\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'" - + "\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022" - + "\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max" + + "uccess\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max" + "_resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027" - + "_return_partial_success\"\372\002\n8ListPerInsta" - + "nceConfigsRegionInstanceGroupManagersReq" - + "uest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022&\n\026instanc" - + "e_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\033\n\013max_res" - + "ults\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH" - + "\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007proj" - + "ect\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A" - + "\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210" - + "\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_order_" - + "byB\r\n\013_page_tokenB\031\n\027_return_partial_suc" - + "cess\"\270\002\n6ListPreconfiguredExpressionSets" - + "SecurityPoliciesRequest\022\027\n\006filter\030\370\226\243\240\001 " - + "\001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n" - + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260" - + "\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026" - + "return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n" - + "\007_filterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n" - + "\013_page_tokenB\031\n\027_return_partial_success\"" - + "\245\002\n#ListPublicAdvertisedPrefixesRequest\022" - + "\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030" - + "\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022" - + "\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231" - + "\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266" - + "\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_results" - + "B\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_" - + "partial_success\"\274\002\n\"ListPublicDelegatedP" - + "refixesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022" - + "\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by" - + "\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210" - + "\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315" - + "\240B \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244" - + "\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB" - + "\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_p" - + "artial_success\"\317\002\n\035ListReferrersInstance" - + "sRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\030\n\010ins" - + "tance\030\225\251\332\010 \001(\tB\003\340A\002\022\033\n\013max_results\030\233\310\213\032 " - + "\001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npa" - + "ge_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001" - + "(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 " - + "\001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filte" - + "rB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_" - + "tokenB\031\n\027_return_partial_success\"\266\002\n\034Lis" - + "tRegionAutoscalersRequest\022\027\n\006filter\030\370\226\243\240" + + "_return_partial_success\"\377\003\n0ListNetworkE" + + "ndpointsNetworkEndpointGroupsRequest\022\027\n\006" + + "filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213" + + "\032 \001(\rH\001\210\001\001\022\'\n\026network_endpoint_group\030\206\313\363" + + "\316\001 \001(\tB\003\340A\002\022\213\001\n7network_endpoint_groups_" + + "list_endpoints_request_resource\030\216\230\257\034 \001(\013" + + "2B.google.cloud.compute.v1.NetworkEndpoi" + + "ntGroupsListEndpointsRequestB\003\340A\002\022\030\n\010ord" + + "er_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001" + + "(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026retu" + + "rn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zon" + + "e\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max_resul" + + "tsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retur" + + "n_partial_success\"\371\002\n6ListNetworkEndpoin" + + "tsRegionNetworkEndpointGroupsRequest\022\027\n\006" + + "filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213" + + "\032 \001(\rH\001\210\001\001\022\'\n\026network_endpoint_group\030\206\313\363" + + "\316\001 \001(\tB\003\340A\002\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n" + + "\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301" + + "l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026re" + + "turn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_" + + "filterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_" + + "page_tokenB\031\n\027_return_partial_success\"\244\002" + + "\n\"ListNetworkFirewallPoliciesRequest\022\027\n\006" + + "filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213" + + "\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" + + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l" + + " \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366" + + "\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n" + + "\t_order_byB\r\n\013_page_tokenB\031\n\027_return_par" + + "tial_success\"\225\002\n\023ListNetworksRequest\022\027\n\006" + + "filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213" + + "\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" + + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l" + + " \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366" + + "\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n" + + "\t_order_byB\r\n\013_page_tokenB\031\n\027_return_par" + + "tial_success\"\255\002\n\025ListNodeGroupsRequest\022\027" + + "\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233" + + "\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032" + + "\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226" + + "\301l \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244" + + "\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_f" + + "ilterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_p" + + "age_tokenB\031\n\027_return_partial_success\"\262\002\n" + + "\030ListNodeTemplatesRequest\022\027\n\006filter\030\370\226\243\240" + "\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022" + "\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030" + "\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026" + "\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial" + "_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_m" + "ax_resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031" - + "\n\027_return_partial_success\"\272\002\n ListRegion" - + "BackendServicesRequest\022\027\n\006filter\030\370\226\243\240\001 \001" - + "(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010" - + "order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304" - + "\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006r" - + "egion\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_su" - + "ccess\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_" - + "resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_" - + "return_partial_success\"\266\002\n\034ListRegionCom" - + "mitmentsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001" - + "\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_b" - + "y\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003" - + "\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364" - + "\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266" - + "\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_results" - + "B\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_" - + "partial_success\"\264\002\n\032ListRegionDiskTypesR" - + "equest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_r" - + "esults\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(" - + "\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007pr" - + "oject\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003" - + "\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H" - + "\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_orde" - + "r_byB\r\n\013_page_tokenB\031\n\027_return_partial_s" - + "uccess\"\260\002\n\026ListRegionDisksRequest\022\027\n\006fil" - + "ter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001" - + "(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npag" - + "e_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(" - + "\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return" - + "_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filt" - + "erB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page" - + "_tokenB\031\n\027_return_partial_success\"\276\002\n$Li" - + "stRegionHealthCheckServicesRequest\022\027\n\006fi" - + "lter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 " - + "\001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npa" - + "ge_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001" - + "(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026retur" - + "n_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_fil" - + "terB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_pag" - + "e_tokenB\031\n\027_return_partial_success\"\267\002\n\035L" - + "istRegionHealthChecksRequest\022\027\n\006filter\030\370" + + "\n\027_return_partial_success\"\254\002\n\024ListNodeTy" + + "pesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013m" + + "ax_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307" + + "L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027" + + "\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partia" + + "l_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(" + + "\tB\003\340A\002B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_or" + + "der_byB\r\n\013_page_tokenB\031\n\027_return_partial" + + "_success\"\317\002\n\032ListNodesNodeGroupsRequest\022" + + "\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030" + + "\233\310\213\032 \001(\rH\001\210\001\001\022\033\n\nnode_group\030\202\374\213\340\001 \001(\tB\003\340" + + "A\002\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_tok" + + "en\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" + + "\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210" + + "\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_" + + "max_resultsB\013\n\t_order_byB\r\n\013_page_tokenB" + + "\031\n\027_return_partial_success\"\265\002\n\033ListPacke" + + "tMirroringsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000" + + "\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010orde" + + "r_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(" + + "\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006regio" + + "n\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_succes" + + "s\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resu" + + "ltsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retu" + + "rn_partial_success\"\200\004\n ListPeeringRoutes" + + "NetworksRequest\022\031\n\tdirection\030\377\216\2005 \001(\tH\000\210" + + "\001\001\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\001\210\001\001\022\033\n\013max_resul" + + "ts\030\233\310\213\032 \001(\rH\002\210\001\001\022\027\n\007network\030\256\264\205o \001(\tB\003\340A" + + "\002\022\030\n\010order_by\030\350\375\307L \001(\tH\003\210\001\001\022\032\n\npage_toke" + + "n\030\311\260\304\t \001(\tH\004\210\001\001\022\034\n\014peering_name\030\252\320\200w \001(\t" + + "H\005\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region" + + "\030\364\315\240B \001(\tH\006\210\001\001\022\'\n\026return_partial_success" + + "\030\266\244\317\366\001 \001(\010H\007\210\001\001\"H\n\tDirection\022\027\n\023UNDEFINE" + + "D_DIRECTION\020\000\022\020\n\010INCOMING\020\246\320\267\241\001\022\020\n\010OUTGO" + + "ING\020\354\306\314\222\001B\014\n\n_directionB\t\n\007_filterB\016\n\014_m" + + "ax_resultsB\013\n\t_order_byB\r\n\013_page_tokenB\017" + + "\n\r_peering_nameB\t\n\007_regionB\031\n\027_return_pa" + + "rtial_success\"\362\002\n2ListPerInstanceConfigs" + + "InstanceGroupManagersRequest\022\027\n\006filter\030\370" + + "\226\243\240\001 \001(\tH\000\210\001\001\022&\n\026instance_group_manager\030" + + "\303\367\363v \001(\tB\003\340A\002\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210" + + "\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_tok" + + "en\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" + + "\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210" + + "\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_" + + "max_resultsB\013\n\t_order_byB\r\n\013_page_tokenB" + + "\031\n\027_return_partial_success\"\372\002\n8ListPerIn" + + "stanceConfigsRegionInstanceGroupManagers" + + "Request\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022&\n\026inst" + + "ance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\033\n\013max_" + + "results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001" + + "(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007p" + + "roject\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB" + + "\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010" + + "H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_ord" + + "er_byB\r\n\013_page_tokenB\031\n\027_return_partial_" + + "success\"\270\002\n6ListPreconfiguredExpressionS" + + "etsSecurityPoliciesRequest\022\027\n\006filter\030\370\226\243" + + "\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001" + + "\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token" + + "\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022" + + "\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001" + + "B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_order_by" + + "B\r\n\013_page_tokenB\031\n\027_return_partial_succe" + + "ss\"\245\002\n#ListPublicAdvertisedPrefixesReque" + + "st\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_resul" + + "ts\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210" + + "\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007projec" + + "t\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_succes" + + "s\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resu" + + "ltsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retu" + + "rn_partial_success\"\274\002\n\"ListPublicDelegat" + + "edPrefixesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210" + + "\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order" + + "_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\t" + + "H\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region" + + "\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_success" + + "\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resul" + + "tsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retur" + + "n_partial_success\"\317\002\n\035ListReferrersInsta" + + "ncesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\030\n\010" + + "instance\030\225\251\332\010 \001(\tB\003\340A\002\022\033\n\013max_results\030\233\310" + + "\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n" + + "\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301" + + "l \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317" + + "\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_fi" + + "lterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_pa" + + "ge_tokenB\031\n\027_return_partial_success\"\266\002\n\034" + + "ListRegionAutoscalersRequest\022\027\n\006filter\030\370" + "\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210" + "\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_tok" + "en\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" + "\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_part" + "ial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n" + "\014_max_resultsB\013\n\t_order_byB\r\n\013_page_toke" - + "nB\031\n\027_return_partial_success\"\300\002\n&ListReg" - + "ionInstanceGroupManagersRequest\022\027\n\006filte" + + "nB\031\n\027_return_partial_success\"\272\002\n ListReg" + + "ionBackendServicesRequest\022\027\n\006filter\030\370\226\243\240" + + "\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022" + + "\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030" + + "\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026" + + "\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial" + + "_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_m" + + "ax_resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031" + + "\n\027_return_partial_success\"\266\002\n\034ListRegion" + + "CommitmentsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000" + + "\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010orde" + + "r_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(" + + "\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006regio" + + "n\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_succes" + + "s\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resu" + + "ltsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retu" + + "rn_partial_success\"\264\002\n\032ListRegionDiskTyp" + + "esRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013ma" + + "x_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L" + + " \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n" + + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(" + + "\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001" + + "(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_o" + + "rder_byB\r\n\013_page_tokenB\031\n\027_return_partia" + + "l_success\"\260\002\n\026ListRegionDisksRequest\022\027\n\006" + + "filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213" + + "\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" + + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l" + + " \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026ret" + + "urn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_f" + + "ilterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_p" + + "age_tokenB\031\n\027_return_partial_success\"\276\002\n" + + "$ListRegionHealthCheckServicesRequest\022\027\n" + + "\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310" + + "\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n" + + "\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301" + + "l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026re" + + "turn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_", + "filterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_" + + "page_tokenB\031\n\027_return_partial_success\"\267\002" + + "\n\035ListRegionHealthChecksRequest\022\027\n\006filte" + "r\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\r" + "H\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_" + "token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB" + "\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_p" + "artial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filter" + "B\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_t" - + "okenB\031\n\027_return_partial_success\"\271\002\n\037List" - + "RegionInstanceGroupsRequest\022\027\n\006filter\030\370\226" - + "\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001" - + "\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_toke" - + "n\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002" - + "\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_parti" - + "al_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014" - + "_max_resultsB\013\n\t_order_byB\r\n\013_page_token" - + "B\031\n\027_return_partial_success\"\274\002\n\"ListRegi" - + "onInstanceTemplatesRequest\022\027\n\006filter\030\370\226\243" - + "\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001" - + "\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token" - + "\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022" - + "\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partia" - + "l_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_" - + "max_resultsB\013\n\t_order_byB\r\n\013_page_tokenB" - + "\031\n\027_return_partial_success\"\273\002\n!ListRegio" - + "nInstantSnapshotsRequest\022\027\n\006filter\030\370\226\243\240\001" - + " \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030" - + "\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311" - + "\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" - + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_" - + "success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_ma" - + "x_resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n" - + "\027_return_partial_success\"\300\002\n&ListRegionN" - + "etworkEndpointGroupsRequest\022\027\n\006filter\030\370\226" + + "okenB\031\n\027_return_partial_success\"\300\002\n&List" + + "RegionInstanceGroupManagersRequest\022\027\n\006fi" + + "lter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 " + + "\001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npa" + + "ge_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001" + + "(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026retur" + + "n_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_fil" + + "terB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_pag" + + "e_tokenB\031\n\027_return_partial_success\"\271\002\n\037L" + + "istRegionInstanceGroupsRequest\022\027\n\006filter" + + "\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH" + + "\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_t" + + "oken\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003" + + "\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_pa" + + "rtial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB" + + "\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_to" + + "kenB\031\n\027_return_partial_success\"\274\002\n\"ListR" + + "egionInstanceTemplatesRequest\022\027\n\006filter\030" + + "\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001" + + "\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_to" + + "ken\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340" + + "A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_par" + + "tial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016" + + "\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_tok" + + "enB\031\n\027_return_partial_success\"\273\002\n!ListRe" + + "gionInstantSnapshotsRequest\022\027\n\006filter\030\370\226" + "\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001" + "\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_toke" + "n\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002" + "\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_parti" + "al_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014" + "_max_resultsB\013\n\t_order_byB\r\n\013_page_token" - + "B\031\n\027_return_partial_success\"\302\002\n(ListRegi" - + "onNetworkFirewallPoliciesRequest\022\027\n\006filt" - + "er\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(" - + "\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage" - + "_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\t" - + "B\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_" - + "partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filte" - + "rB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_" - + "tokenB\031\n\027_return_partial_success\"\300\002\n&Lis" - + "tRegionNotificationEndpointsRequest\022\027\n\006f" + + "B\031\n\027_return_partial_success\"\300\002\n&ListRegi" + + "onNetworkEndpointGroupsRequest\022\027\n\006filter" + + "\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH" + + "\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_t" + + "oken\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003" + + "\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_pa" + + "rtial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB" + + "\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_to" + + "kenB\031\n\027_return_partial_success\"\302\002\n(ListR" + + "egionNetworkFirewallPoliciesRequest\022\027\n\006f" + "ilter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032" + " \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\np" + "age_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l " + "\001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026retu" + "rn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_fi" + "lterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_pa" - + "ge_tokenB\031\n\027_return_partial_success\"\265\002\n\033" - + "ListRegionOperationsRequest\022\027\n\006filter\030\370\226" - + "\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001" - + "\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_toke" - + "n\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002" - + "\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_parti" - + "al_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014" - + "_max_resultsB\013\n\t_order_byB\r\n\013_page_token" - + "B\031\n\027_return_partial_success\"\273\002\n!ListRegi" - + "onSecurityPoliciesRequest\022\027\n\006filter\030\370\226\243\240" + + "ge_tokenB\031\n\027_return_partial_success\"\300\002\n&" + + "ListRegionNotificationEndpointsRequest\022\027" + + "\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233" + + "\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032" + + "\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226" + + "\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026r" + + "eturn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007" + + "_filterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013" + + "_page_tokenB\031\n\027_return_partial_success\"\265" + + "\002\n\033ListRegionOperationsRequest\022\027\n\006filter" + + "\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH" + + "\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_t" + + "oken\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003" + + "\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_pa" + + "rtial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB" + + "\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_to" + + "kenB\031\n\027_return_partial_success\"\273\002\n!ListR" + + "egionSecurityPoliciesRequest\022\027\n\006filter\030\370" + + "\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210" + + "\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_tok" + + "en\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" + + "\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_part" + + "ial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n" + + "\014_max_resultsB\013\n\t_order_byB\r\n\013_page_toke" + + "nB\031\n\027_return_partial_success\"\272\002\n ListReg" + + "ionSslCertificatesRequest\022\027\n\006filter\030\370\226\243\240" + "\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022" + "\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030" + "\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026" + "\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial" + "_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_m" + "ax_resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031" - + "\n\027_return_partial_success\"\272\002\n ListRegion" - + "SslCertificatesRequest\022\027\n\006filter\030\370\226\243\240\001 \001" - + "(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010" - + "order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304" - + "\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006r" - + "egion\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_su" - + "ccess\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_" - + "resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_" - + "return_partial_success\"\266\002\n\034ListRegionSsl" - + "PoliciesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001" + + "\n\027_return_partial_success\"\266\002\n\034ListRegion" + + "SslPoliciesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000" + + "\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010orde" + + "r_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(" + + "\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006regio" + + "n\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_succes" + + "s\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resu" + + "ltsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retu" + + "rn_partial_success\"\274\002\n\"ListRegionTargetH" + + "ttpProxiesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210" + + "\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order" + + "_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\t" + + "H\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region" + + "\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_success" + + "\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resul" + + "tsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retur" + + "n_partial_success\"\275\002\n#ListRegionTargetHt" + + "tpsProxiesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210" + + "\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order" + + "_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\t" + + "H\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region" + + "\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_success" + + "\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resul" + + "tsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retur" + + "n_partial_success\"\273\002\n!ListRegionTargetTc" + + "pProxiesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001" + "\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_b" + "y\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003" + "\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364" + "\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266" + "\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_results" + "B\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_" - + "partial_success\"\274\002\n\"ListRegionTargetHttp" - + "ProxiesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022" - + "\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by" - + "\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210" - + "\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315" - + "\240B \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244" - + "\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB" - + "\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_p" - + "artial_success\"\275\002\n#ListRegionTargetHttps" - + "ProxiesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022" + + "partial_success\"\262\002\n\030ListRegionUrlMapsReq" + + "uest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_res" + + "ults\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH" + + "\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007proj" + + "ect\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A" + + "\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210" + + "\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_order_" + + "byB\r\n\013_page_tokenB\031\n\027_return_partial_suc" + + "cess\"\260\002\n\026ListRegionZonesRequest\022\027\n\006filte" + + "r\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\r" + + "H\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_" + + "token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB" + + "\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_p" + + "artial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filter" + + "B\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_t" + + "okenB\031\n\027_return_partial_success\"\224\002\n\022List" + + "RegionsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022" + "\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by" + "\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210" - + "\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315" - + "\240B \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244" - + "\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB" - + "\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_p" - + "artial_success\"\273\002\n!ListRegionTargetTcpPr" - + "oxiesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n" - + "\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350" - + "\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001" - + "\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B" - + " \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366" - + "\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n" - + "\t_order_byB\r\n\013_page_tokenB\031\n\027_return_par" - + "tial_success\"\262\002\n\030ListRegionUrlMapsReques" - + "t\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_result" - + "s\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001" - + "\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project" - + "\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'" - + "\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B" - + "\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_order_byB" - + "\r\n\013_page_tokenB\031\n\027_return_partial_succes" - + "s\"\260\002\n\026ListRegionZonesRequest\022\027\n\006filter\030\370" - + "\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210" - + "\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_tok" - + "en\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" - + "\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_part" - + "ial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n" - + "\014_max_resultsB\013\n\t_order_byB\r\n\013_page_toke" - + "nB\031\n\027_return_partial_success\"\224\002\n\022ListReg", - "ionsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013" - + "max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375" - + "\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022" - + "\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_parti" - + "al_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014" - + "_max_resultsB\013\n\t_order_byB\r\n\013_page_token" - + "B\031\n\027_return_partial_success\"\257\002\n\027ListRese" - + "rvationsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001" - + "\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_b" - + "y\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003" - + "\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_p" - + "artial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307" - + "\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max_resultsB\013" - + "\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_pa" - + "rtial_success\"\265\002\n\033ListResourcePoliciesRe" - + "quest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_re" - + "sults\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\t" - + "H\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007pro" - + "ject\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340" - + "A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004" - + "\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_order" - + "_byB\r\n\013_page_tokenB\031\n\027_return_partial_su" - + "ccess\"\254\002\n\022ListRoutersRequest\022\027\n\006filter\030\370" - + "\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210" - + "\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_tok" - + "en\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" - + "\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_part" - + "ial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n" - + "\014_max_resultsB\013\n\t_order_byB\r\n\013_page_toke" - + "nB\031\n\027_return_partial_success\"\223\002\n\021ListRou" - + "tesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013m" - + "ax_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307" - + "L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027" - + "\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partia" - + "l_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_" - + "max_resultsB\013\n\t_order_byB\r\n\013_page_tokenB" - + "\031\n\027_return_partial_success\"\235\002\n\033ListSecur" - + "ityPoliciesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000" + + "\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_pa" + + "rtial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB" + + "\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_to" + + "kenB\031\n\027_return_partial_success\"\257\002\n\027ListR" + + "eservationsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000" + "\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010orde" + "r_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(" + "\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026retur" - + "n_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_fil" - + "terB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_pag" - + "e_tokenB\031\n\027_return_partial_success\"\267\002\n\035L" - + "istServiceAttachmentsRequest\022\027\n\006filter\030\370" - + "\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210" - + "\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_tok" - + "en\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" - + "\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_part" - + "ial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n" - + "\014_max_resultsB\013\n\t_order_byB\r\n\013_page_toke" - + "nB\031\n\027_return_partial_success\"\226\002\n\024ListSna" - + "pshotsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033" + + "n_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone" + + "\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max_result" + + "sB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return" + + "_partial_success\"\265\002\n\033ListResourcePolicie" + + "sRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max" + + "_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L " + + "\001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007" + + "project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\t" + + "B\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(" + + "\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_or" + + "der_byB\r\n\013_page_tokenB\031\n\027_return_partial" + + "_success\"\254\002\n\022ListRoutersRequest\022\027\n\006filte" + + "r\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\r" + + "H\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_" + + "token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB" + + "\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_p" + + "artial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filter" + + "B\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_t" + + "okenB\031\n\027_return_partial_success\"\223\002\n\021List" + + "RoutesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033" + "\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030" + "\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001" + "\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_par" + "tial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016" + "\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_tok" - + "enB\031\n\027_return_partial_success\"\234\002\n\032ListSs" - + "lCertificatesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\t" - + "H\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010or" - + "der_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t " - + "\001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026ret" - + "urn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_f" - + "ilterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_p" - + "age_tokenB\031\n\027_return_partial_success\"\230\002\n" - + "\026ListSslPoliciesRequest\022\027\n\006filter\030\370\226\243\240\001 " + + "enB\031\n\027_return_partial_success\"\235\002\n\033ListSe" + + "curityPoliciesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(" + + "\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010o" + + "rder_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t" + + " \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026re" + + "turn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_" + + "filterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_" + + "page_tokenB\031\n\027_return_partial_success\"\267\002" + + "\n\035ListServiceAttachmentsRequest\022\027\n\006filte" + + "r\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\r" + + "H\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_" + + "token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB" + + "\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_p" + + "artial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filter" + + "B\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_t" + + "okenB\031\n\027_return_partial_success\"\226\002\n\024List" + + "SnapshotsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001" + + "\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_" + + "by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH" + + "\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_" + + "partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filte" + + "rB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_" + + "tokenB\031\n\027_return_partial_success\"\234\002\n\032Lis" + + "tSslCertificatesRequest\022\027\n\006filter\030\370\226\243\240\001 " + "\001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n" + "\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260" + "\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026" + "return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n" + "\007_filterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n" + "\013_page_tokenB\031\n\027_return_partial_success\"" - + "\260\002\n\026ListSubnetworksRequest\022\027\n\006filter\030\370\226\243" + + "\230\002\n\026ListSslPoliciesRequest\022\027\n\006filter\030\370\226\243" + "\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001" + "\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token" + "\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022" - + "\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partia" - + "l_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_" - + "max_resultsB\013\n\t_order_byB\r\n\013_page_tokenB" - + "\031\n\027_return_partial_success\"\236\002\n\034ListTarge" - + "tGrpcProxiesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH" - + "\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010ord" - + "er_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001" - + "(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026retu" - + "rn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_fi" - + "lterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_pa" - + "ge_tokenB\031\n\027_return_partial_success\"\236\002\n\034" - + "ListTargetHttpProxiesRequest\022\027\n\006filter\030\370" - + "\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210" - + "\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_tok" - + "en\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" - + "\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210" - + "\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_order_" - + "byB\r\n\013_page_tokenB\031\n\027_return_partial_suc" - + "cess\"\237\002\n\035ListTargetHttpsProxiesRequest\022\027" + + "\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001" + + "B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_order_by" + + "B\r\n\013_page_tokenB\031\n\027_return_partial_succe" + + "ss\"\263\002\n\033ListStoragePoolTypesRequest\022\027\n\006fi" + + "lter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 " + + "\001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npa" + + "ge_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001" + + "(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 " + + "\001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filte" + + "rB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_" + + "tokenB\031\n\027_return_partial_success\"\257\002\n\027Lis" + + "tStoragePoolsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\t" + + "H\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010or" + + "der_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t " + + "\001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026ret" + + "urn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zo" + + "ne\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max_resu" + + "ltsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retu" + + "rn_partial_success\"\260\002\n\026ListSubnetworksRe" + + "quest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_re" + + "sults\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\t" + + "H\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007pro" + + "ject\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340" + + "A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004" + + "\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_order" + + "_byB\r\n\013_page_tokenB\031\n\027_return_partial_su" + + "ccess\"\236\002\n\034ListTargetGrpcProxiesRequest\022\027" + "\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233" + "\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032" + "\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226" + "\301l \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244" + "\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB" + "\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_p" - + "artial_success\"\262\002\n\032ListTargetInstancesRe" - + "quest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_re" - + "sults\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\t" - + "H\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007pro" - + "ject\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_suc" - + "cess\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A" - + "\002B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_order_b" - + "yB\r\n\013_page_tokenB\031\n\027_return_partial_succ" - + "ess\"\260\002\n\026ListTargetPoolsRequest\022\027\n\006filter" - + "\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH" - + "\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_t" - + "oken\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003" - + "\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_pa" - + "rtial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB" - + "\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_to" - + "kenB\031\n\027_return_partial_success\"\235\002\n\033ListT" - + "argetSslProxiesRequest\022\027\n\006filter\030\370\226\243\240\001 \001" - + "(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010" - + "order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304" - + "\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026r" - + "eturn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007" - + "_filterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013" - + "_page_tokenB\031\n\027_return_partial_success\"\235" - + "\002\n\033ListTargetTcpProxiesRequest\022\027\n\006filter" - + "\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH" - + "\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_t" - + "oken\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003" - + "\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H" - + "\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_orde" - + "r_byB\r\n\013_page_tokenB\031\n\027_return_partial_s" - + "uccess\"\266\002\n\034ListTargetVpnGatewaysRequest\022" - + "\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030" - + "\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022" - + "\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231" - + "\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026" - + "return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n" - + "\007_filterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n" - + "\013_page_tokenB\031\n\027_return_partial_success\"" - + "\224\002\n\022ListUrlMapsRequest\022\027\n\006filter\030\370\226\243\240\001 \001" - + "(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010" - + "order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304" - + "\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026r" - + "eturn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007" - + "_filterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013" - + "_page_tokenB\031\n\027_return_partial_success\"\242" - + "\002\n ListUsableBackendServicesRequest\022\027\n\006f" - + "ilter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032" - + " \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\np" - + "age_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l " - + "\001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001" - + " \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t" - + "_order_byB\r\n\013_page_tokenB\031\n\027_return_part" - + "ial_success\"\300\002\n&ListUsableRegionBackendS" - + "ervicesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022" - + "\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by" - + "\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210" - + "\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315" - + "\240B \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244" - + "\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB" - + "\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_p" - + "artial_success\"\236\002\n\034ListUsableSubnetworks" + + "artial_success\"\236\002\n\034ListTargetHttpProxies" + "Request\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_" + "results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001" + "(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007p" + "roject\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_s" + "uccess\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max" + "_resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027" - + "_return_partial_success\"\260\002\n\026ListVpnGatew" - + "aysRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013m" - + "ax_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307" - + "L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027" - + "\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001" - + "(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 " - + "\001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_" - + "order_byB\r\n\013_page_tokenB\031\n\027_return_parti" - + "al_success\"\257\002\n\025ListVpnTunnelsRequest\022\027\n\006" - + "filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213" - + "\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\n" - + "page_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l" - + " \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026ret" - + "urn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_f" - + "ilterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_p" - + "age_tokenB\031\n\027_return_partial_success\"\215\003\n" - + "\033ListXpnHostsProjectsRequest\022\027\n\006filter\030\370" - + "\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210" - + "\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_tok" - + "en\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" - + "\002\022n\n(projects_list_xpn_hosts_request_res" - + "ource\030\227\320\316q \001(\01324.google.cloud.compute.v1" - + ".ProjectsListXpnHostsRequestB\003\340A\002\022\'\n\026ret" - + "urn_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_f" - + "ilterB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_p" - + "age_tokenB\031\n\027_return_partial_success\"\261\002\n" - + "\031ListZoneOperationsRequest\022\027\n\006filter\030\370\226\243" + + "_return_partial_success\"\237\002\n\035ListTargetHt" + + "tpsProxiesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210" + + "\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order" + + "_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\t" + + "H\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return" + + "_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filt" + + "erB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page" + + "_tokenB\031\n\027_return_partial_success\"\262\002\n\032Li" + + "stTargetInstancesRequest\022\027\n\006filter\030\370\226\243\240\001" + + " \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030" + + "\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311" + + "\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n" + + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024" + + "\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_max_" + + "resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_" + + "return_partial_success\"\260\002\n\026ListTargetPoo" + + "lsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013ma" + + "x_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L" + + " \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n" + + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(" + + "\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001" + + "(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_o" + + "rder_byB\r\n\013_page_tokenB\031\n\027_return_partia" + + "l_success\"\235\002\n\033ListTargetSslProxiesReques" + + "t\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_result" + + "s\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001" + + "\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project" + + "\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_success" + + "\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resul" + + "tsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retur" + + "n_partial_success\"\235\002\n\033ListTargetTcpProxi" + + "esRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013ma" + + "x_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L" + + " \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n" + + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial" + + "_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_m" + + "ax_resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031" + + "\n\027_return_partial_success\"\266\002\n\034ListTarget" + + "VpnGatewaysRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000" + + "\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010orde" + + "r_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(" + + "\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006regio" + + "n\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_succes" + + "s\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resu" + + "ltsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retu" + + "rn_partial_success\"\224\002\n\022ListUrlMapsReques" + + "t\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_result" + + "s\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001" + + "\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project" + + "\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_success" + + "\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_resul" + + "tsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retur" + + "n_partial_success\"\242\002\n ListUsableBackendS" + + "ervicesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022" + + "\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by" + + "\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210" + + "\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_pa" + + "rtial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB" + + "\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_to" + + "kenB\031\n\027_return_partial_success\"\300\002\n&ListU" + + "sableRegionBackendServicesRequest\022\027\n\006fil" + + "ter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001" + + "(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npag" + + "e_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(" + + "\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return" + + "_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filt" + + "erB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page" + + "_tokenB\031\n\027_return_partial_success\"\236\002\n\034Li" + + "stUsableSubnetworksRequest\022\027\n\006filter\030\370\226\243" + "\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001" + "\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token" + "\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022" + "\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001" - + "\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\t\n\007_filterB\016\n\014_ma" - + "x_resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n" - + "\027_return_partial_success\"\222\002\n\020ListZonesRe" + + "B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_order_by" + + "B\r\n\013_page_tokenB\031\n\027_return_partial_succe" + + "ss\"\260\002\n\026ListVpnGatewaysRequest\022\027\n\006filter\030" + + "\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001" + + "\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_to" + + "ken\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340" + + "A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\'\n\026return_par" + + "tial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016" + + "\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_tok" + + "enB\031\n\027_return_partial_success\"\257\002\n\025ListVp" + + "nTunnelsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001" + + "\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_b" + + "y\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003" + + "\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364" + + "\315\240B \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266" + + "\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_results" + + "B\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_" + + "partial_success\"\215\003\n\033ListXpnHostsProjects" + + "Request\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_" + + "results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001" + + "(\tH\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007p" + + "roject\030\231\226\301l \001(\tB\003\340A\002\022n\n(projects_list_xp" + + "n_hosts_request_resource\030\227\320\316q \001(\01324.goog" + + "le.cloud.compute.v1.ProjectsListXpnHosts" + + "RequestB\003\340A\002\022\'\n\026return_partial_success\030\266" + + "\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_results" + + "B\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_" + + "partial_success\"\261\002\n\031ListZoneOperationsRe" + "quest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013max_re" + "sults\030\233\310\213\032 \001(\rH\001\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\t" + "H\002\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\003\210\001\001\022\027\n\007pro" + "ject\030\231\226\301l \001(\tB\003\340A\002\022\'\n\026return_partial_suc" - + "cess\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t\n\007_filterB\016\n\014_max_r" - + "esultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_r" - + "eturn_partial_success\"\217\001\n\tLocalDisk\022\032\n\nd" - + "isk_count\030\355\257\235W \001(\005H\000\210\001\001\022\035\n\014disk_size_gb\030" - + "\267\232\347\226\001 \001(\005H\001\210\001\001\022\031\n\tdisk_type\030\234\351\254, \001(\tH\002\210\001" - + "\001B\r\n\013_disk_countB\017\n\r_disk_size_gbB\014\n\n_di" - + "sk_type\"\\\n\020LocalizedMessage\022\027\n\006locale\030\332\234" - + "\330\364\001 \001(\tH\000\210\001\001\022\030\n\007message\030\207\200\254\307\001 \001(\tH\001\210\001\001B\t" - + "\n\007_localeB\n\n\010_message\"\322\002\n\016LocationPolicy" - + "\022M\n\tlocations\030\336\256\221\305\001 \003(\01326.google.cloud.c" - + "ompute.v1.LocationPolicy.LocationsEntry\022" - + "\035\n\014target_shape\030\363\346\273\241\001 \001(\tH\000\210\001\001\032a\n\016Locati" - + "onsEntry\022\013\n\003key\030\001 \001(\t\022>\n\005value\030\002 \001(\0132/.g" - + "oogle.cloud.compute.v1.LocationPolicyLoc" - + "ation:\0028\001\"^\n\013TargetShape\022\032\n\026UNDEFINED_TA" - + "RGET_SHAPE\020\000\022\t\n\003ANY\020\314\373\003\022\026\n\017ANY_SINGLE_ZO" - + "NE\020\320\246\221\035\022\020\n\010BALANCED\020\210\272\255\337\001B\017\n\r_target_sha" - + "pe\"\216\002\n\026LocationPolicyLocation\022W\n\013constra" - + "ints\030\266\314\356\001 \001(\0132:.google.cloud.compute.v1." - + "LocationPolicyLocationConstraintsH\000\210\001\001\022\032" - + "\n\npreference\030\333\371\362G \001(\tH\001\210\001\001\"`\n\nPreference" - + "\022\030\n\024UNDEFINED_PREFERENCE\020\000\022\014\n\005ALLOW\020\251\326\336\035" - + "\022\n\n\004DENY\020\214\354\177\022\036\n\026PREFERENCE_UNSPECIFIED\020\263" - + "\353\316\354\001B\016\n\014_constraintsB\r\n\013_preference\"M\n!L" - + "ocationPolicyLocationConstraints\022\032\n\tmax_" - + "count\030\364\374\222\211\001 \001(\005H\000\210\001\001B\014\n\n_max_count\"\251\002\n\tL" - + "ogConfig\022Q\n\013cloud_audit\030\321\302\356\304\001 \001(\01323.goog" - + "le.cloud.compute.v1.LogConfigCloudAuditO" - + "ptionsH\000\210\001\001\022J\n\007counter\030\374\253\335\310\001 \001(\01320.googl" - + "e.cloud.compute.v1.LogConfigCounterOptio" - + "nsH\001\210\001\001\022Q\n\013data_access\030\231\337\326\210\001 \001(\01323.googl" - + "e.cloud.compute.v1.LogConfigDataAccessOp" - + "tionsH\002\210\001\001B\016\n\014_cloud_auditB\n\n\010_counterB\016" - + "\n\014_data_access\"\270\002\n\032LogConfigCloudAuditOp" - + "tions\022c\n\035authorization_logging_options\030\370" - + "\233\361g \001(\01324.google.cloud.compute.v1.Author" - + "izationLoggingOptionsH\000\210\001\001\022\031\n\010log_name\030\246" - + "\365\217\300\001 \001(\tH\001\210\001\001\"k\n\007LogName\022\026\n\022UNDEFINED_LO" - + "G_NAME\020\000\022\026\n\016ADMIN_ACTIVITY\020\237\334\354\313\001\022\022\n\013DATA" - + "_ACCESS\020\231\327\302q\022\034\n\024UNSPECIFIED_LOG_NAME\020\356\355\337" - + "\303\001B \n\036_authorization_logging_optionsB\013\n\t" - + "_log_name\"\265\001\n\027LogConfigCounterOptions\022U\n" - + "\rcustom_fields\030\307\276\205w \003(\0132;.google.cloud.c" - + "ompute.v1.LogConfigCounterOptionsCustomF" - + "ield\022\025\n\005field\030\372\301\272. \001(\tH\000\210\001\001\022\027\n\006metric\030\260\353" - + "\227\376\001 \001(\tH\001\210\001\001B\010\n\006_fieldB\t\n\007_metric\"d\n\"Log" - + "ConfigCounterOptionsCustomField\022\024\n\004name\030" - + "\213\365\315\001 \001(\tH\000\210\001\001\022\025\n\005value\030\361\242\2625 \001(\tH\001\210\001\001B\007\n\005" - + "_nameB\010\n\006_value\"\235\001\n\032LogConfigDataAccessO" - + "ptions\022\031\n\010log_mode\030\276\363\216\300\001 \001(\tH\000\210\001\001\"W\n\007Log" - + "Mode\022\026\n\022UNDEFINED_LOG_MODE\020\000\022\027\n\017LOG_FAIL" - + "_CLOSED\020\222\252\361\253\001\022\033\n\024LOG_MODE_UNSPECIFIED\020\266\364" - + "\204*B\013\n\t_log_mode\"\265\t\n\014MachineImage\022\"\n\022crea" - + "tion_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013descript" - + "ion\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\034\n\013guest_flush\030\335\223\354\267\001 " - + "\001(\010H\002\210\001\001\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022P\n\023instance_p" - + "roperties\030\235\236\330f \001(\0132+.google.cloud.comput" - + "e.v1.InstancePropertiesH\004\210\001\001\022\024\n\004kind\030\224\367\310" - + "\001 \001(\tH\005\210\001\001\022]\n\034machine_image_encryption_k" - + "ey\030\377\377\347\373\001 \001(\0132..google.cloud.compute.v1.C" - + "ustomerEncryptionKeyH\006\210\001\001\022\024\n\004name\030\213\365\315\001 \001" - + "(\tH\007\210\001\001\022\036\n\rsatisfies_pzi\030\241\335\253\345\001 \001(\010H\010\210\001\001\022" - + "\036\n\rsatisfies_pzs\030\253\335\253\345\001 \001(\010H\t\210\001\001\022;\n\013saved" - + "_disks\030\276\355\300\275\001 \003(\0132\".google.cloud.compute." - + "v1.SavedDisk\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\n\210\001\001" - + "\022Y\n\033source_disk_encryption_keys\030\262\370\317\260\001 \003(" - + "\01320.google.cloud.compute.v1.SourceDiskEn" - + "cryptionKey\022 \n\017source_instance\030\271\230\375\274\001 \001(\t" - + "H\013\210\001\001\022^\n\032source_instance_properties\030\371\321\313\342" - + "\001 \001(\01321.google.cloud.compute.v1.SourceIn" - + "stancePropertiesH\014\210\001\001\022\026\n\006status\030\362\237\267V \001(\t" - + "H\r\210\001\001\022\035\n\021storage_locations\030\232\355\263\234\001 \003(\t\022#\n\023" - + "total_storage_bytes\030\354\207\204\' \001(\003H\016\210\001\001\"s\n\006Sta" - + "tus\022\024\n\020UNDEFINED_STATUS\020\000\022\020\n\010CREATING\020\271\275" - + "\235\331\001\022\020\n\010DELETING\020\250\247\207\374\001\022\017\n\007INVALID\020\327\373\355\374\001\022\014" - + "\n\005READY\020\203\303\217%\022\020\n\tUPLOADING\020\241\234\315\177B\025\n\023_creat" - + "ion_timestampB\016\n\014_descriptionB\016\n\014_guest_" - + "flushB\005\n\003_idB\026\n\024_instance_propertiesB\007\n\005" - + "_kindB\037\n\035_machine_image_encryption_keyB\007" - + "\n\005_nameB\020\n\016_satisfies_pziB\020\n\016_satisfies_" - + "pzsB\014\n\n_self_linkB\022\n\020_source_instanceB\035\n" - + "\033_source_instance_propertiesB\t\n\007_statusB" - + "\026\n\024_total_storage_bytes\"\251\002\n\020MachineImage" - + "List\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0227\n\005items\030\300\317\367/ \003(\013" - + "2%.google.cloud.compute.v1.MachineImage\022" - + "\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token" - + "\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210" - + "\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.co" - + "mpute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n" - + "\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_warn" - + "ing\"\312\006\n\013MachineType\022?\n\014accelerators\030\350\326\305\200" - + "\001 \003(\0132%.google.cloud.compute.v1.Accelera" - + "tors\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001" - + "\022G\n\ndeprecated\030\263\313\321\365\001 \001(\0132*.google.cloud." - + "compute.v1.DeprecationStatusH\001\210\001\001\022\034\n\013des" - + "cription\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\033\n\nguest_cpus\030\322\313" - + "\310\273\001 \001(\005H\003\210\001\001\022\020\n\002id\030\233\032 \001(\004H\004\210\001\001\022\036\n\016image_" - + "space_gb\030\230\362\365# \001(\005H\005\210\001\001\022\036\n\ris_shared_cpu\030" - + "\203\332\317\370\001 \001(\010H\006\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\007\210\001\001\022)\n\030" - + "maximum_persistent_disks\030\215\366\316\354\001 \001(\005H\010\210\001\001\022" - + "0\n maximum_persistent_disks_size_gb\030\247\225\310I" - + " \001(\003H\t\210\001\001\022\031\n\tmemory_mb\030\223\223\2507 \001(\005H\n\210\001\001\022\024\n\004" - + "name\030\213\365\315\001 \001(\tH\013\210\001\001\022@\n\rscratch_disks\030\361\261\240\345" - + "\001 \003(\0132%.google.cloud.compute.v1.ScratchD" - + "isks\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\014\210\001\001\022\024\n\004zone" - + "\030\254\307\344\001 \001(\tH\r\210\001\001B\025\n\023_creation_timestampB\r\n" - + "\013_deprecatedB\016\n\014_descriptionB\r\n\013_guest_c" - + "pusB\005\n\003_idB\021\n\017_image_space_gbB\020\n\016_is_sha" - + "red_cpuB\007\n\005_kindB\033\n\031_maximum_persistent_" - + "disksB#\n!_maximum_persistent_disks_size_" - + "gbB\014\n\n_memory_mbB\007\n\005_nameB\014\n\n_self_linkB" - + "\007\n\005_zone\"\302\003\n\031MachineTypeAggregatedList\022\020" - + "\n\002id\030\233\032 \001(\tH\000\210\001\001\022O\n\005items\030\300\317\367/ \003(\0132=.goo" - + "gle.cloud.compute.v1.MachineTypeAggregat" - + "edList.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022" - + "\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself" - + "_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206" - + "t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud" - + ".compute.v1.WarningH\004\210\001\001\032]\n\nItemsEntry\022\013" - + "\n\003key\030\001 \001(\t\022>\n\005value\030\002 \001(\0132/.google.clou" - + "d.compute.v1.MachineTypesScopedList:\0028\001B" - + "\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_" - + "self_linkB\n\n\010_warning\"\247\002\n\017MachineTypeLis" - + "t\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0226\n\005items\030\300\317\367/ \003(\0132$." - + "google.cloud.compute.v1.MachineType\022\024\n\004k" - + "ind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206" - + "& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229" - + "\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comput" - + "e.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_ne" - + "xt_page_tokenB\014\n\n_self_linkB\n\n\010_warning\"" - + "\237\001\n\026MachineTypesScopedList\022>\n\rmachine_ty" - + "pes\030\201\335\201& \003(\0132$.google.cloud.compute.v1.M" - + "achineType\0229\n\007warning\030\234\337\226\030 \001(\0132 .google." - + "cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_warnin" - + "g\"\316\t\n\017ManagedInstance\022\036\n\016current_action\030" - + "\274\247\215U \001(\tH\000\210\001\001\022\020\n\002id\030\233\032 \001(\004H\001\210\001\001\022\030\n\010insta" - + "nce\030\225\251\332\010 \001(\tH\002\210\001\001\022S\n\017instance_health\030\306\222\274" - + "\266\001 \003(\01326.google.cloud.compute.v1.Managed" - + "InstanceInstanceHealth\022\037\n\017instance_statu" - + "s\030\334\255\237S \001(\tH\003\210\001\001\022R\n\014last_attempt\030\244\254\250\317\001 \001(" - + "\01323.google.cloud.compute.v1.ManagedInsta" - + "nceLastAttemptH\004\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\005\210\001" - + "\001\022T\n\033preserved_state_from_config\030\342\353\205/ \001(" - + "\0132\'.google.cloud.compute.v1.PreservedSta" - + "teH\006\210\001\001\022U\n\033preserved_state_from_policy\030\322" - + "\257\276\340\001 \001(\0132\'.google.cloud.compute.v1.Prese" - + "rvedStateH\007\210\001\001\022I\n\007version\030\330\271\324\247\001 \001(\0132/.go" - + "ogle.cloud.compute.v1.ManagedInstanceVer" - + "sionH\010\210\001\001\"\205\002\n\rCurrentAction\022\034\n\030UNDEFINED" - + "_CURRENT_ACTION\020\000\022\022\n\nABANDONING\020\315\312\220\271\001\022\020\n" - + "\010CREATING\020\271\275\235\331\001\022 \n\030CREATING_WITHOUT_RETR" - + "IES\020\211\306\276\314\001\022\020\n\010DELETING\020\250\247\207\374\001\022\013\n\004NONE\020\270\316\222\001" - + "\022\022\n\nRECREATING\020\354\213\376\210\001\022\021\n\nREFRESHING\020\247\376\354M\022" - + "\022\n\nRESTARTING\020\363\356\353\230\001\022\020\n\010RESUMING\020\252\373\211\325\001\022\020\n" - + "\010STARTING\020\300\240\213\351\001\022\020\n\tVERIFYING\020\251\301\214\010\"\355\001\n\016In" - + "stanceStatus\022\035\n\031UNDEFINED_INSTANCE_STATU" - + "S\020\000\022\026\n\016DEPROVISIONING\020\356\223\304\314\001\022\024\n\014PROVISION" - + "ING\020\355\365\332\212\001\022\021\n\tREPAIRING\020\225\202\225\305\001\022\016\n\007RUNNING\020" - + "\237\303\3529\022\017\n\007STAGING\020\233\310\306\315\001\022\017\n\007STOPPED\020\255\273\354\323\001\022\020" - + "\n\010STOPPING\020\364\320\242\247\001\022\020\n\tSUSPENDED\020\273\273\266\030\022\022\n\nSU" - + "SPENDING\020\246\324\230\365\001\022\021\n\nTERMINATED\020\243\364\233wB\021\n\017_cu" - + "rrent_actionB\005\n\003_idB\013\n\t_instanceB\022\n\020_ins" - + "tance_statusB\017\n\r_last_attemptB\007\n\005_nameB\036" - + "\n\034_preserved_state_from_configB\036\n\034_prese" - + "rved_state_from_policyB\n\n\010_version\"\246\002\n\035M" - + "anagedInstanceInstanceHealth\022&\n\025detailed" - + "_health_state\030\235\320\264\363\001 \001(\tH\000\210\001\001\022\035\n\014health_c" - + "heck\030\345\252\244\223\001 \001(\tH\001\210\001\001\"\222\001\n\023DetailedHealthSt" - + "ate\022#\n\037UNDEFINED_DETAILED_HEALTH_STATE\020\000" - + "\022\020\n\010DRAINING\020\352\325\214\345\001\022\017\n\007HEALTHY\020\375\252\333\321\001\022\017\n\007T" - + "IMEOUT\020\301\262\353\343\001\022\021\n\tUNHEALTHY\020\304\271\255\334\001\022\017\n\007UNKNO" - + "WN\020\252\360\304\316\001B\030\n\026_detailed_health_stateB\017\n\r_h" - + "ealth_check\"a\n\032ManagedInstanceLastAttemp" - + "t\0228\n\006errors\030\353\336\325\226\001 \001(\0132\037.google.cloud.com" - + "pute.v1.ErrorsH\000\210\001\001B\t\n\007_errors\"q\n\026Manage" - + "dInstanceVersion\022\"\n\021instance_template\030\344\201" - + "\273\223\001 \001(\tH\000\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\001\210\001\001B\024\n\022_i" - + "nstance_templateB\007\n\005_name\"\210\001\n\010Metadata\022\033" - + "\n\013fingerprint\030\344\321\363o \001(\tH\000\210\001\001\0220\n\005items\030\300\317\367" - + "/ \003(\0132\036.google.cloud.compute.v1.Items\022\024\n" - + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001B\016\n\014_fingerprintB\007\n\005_" - + "kind\"\217\002\n\016MetadataFilter\022L\n\rfilter_labels" - + "\030\246\365\350\222\001 \003(\01321.google.cloud.compute.v1.Met" - + "adataFilterLabelMatch\022%\n\025filter_match_cr" - + "iteria\030\300\320\266r \001(\tH\000\210\001\001\"n\n\023FilterMatchCrite" - + "ria\022#\n\037UNDEFINED_FILTER_MATCH_CRITERIA\020\000" - + "\022\020\n\tMATCH_ALL\020\347\347\222V\022\020\n\tMATCH_ANY\020\262\350\222V\022\016\n\007" - + "NOT_SET\020\266\231\204NB\030\n\026_filter_match_criteria\"Z" - + "\n\030MetadataFilterLabelMatch\022\024\n\004name\030\213\365\315\001 " - + "\001(\tH\000\210\001\001\022\025\n\005value\030\361\242\2625 \001(\tH\001\210\001\001B\007\n\005_name" - + "B\010\n\006_value\"\213\002\n\022MoveAddressRequest\022\030\n\007add" - + "ress\030\364\267\336\334\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB" - + "\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G", - "\006region\022l\n®ion_addresses_move_request" - + "_resource\030\304\260\210\303\001 \001(\01323.google.cloud.compu" - + "te.v1.RegionAddressesMoveRequestB\003\340A\002\022\032\n" - + "\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id" - + "\"\275\001\n\026MoveDiskProjectRequest\022U\n\032disk_move" - + "_request_resource\030\312\302\240\225\001 \001(\0132(.google.clo" - + "ud.compute.v1.DiskMoveRequestB\003\340A\002\022!\n\007pr" - + "oject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest" - + "_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\220\001\n\031Mov" - + "eFirewallPolicyRequest\022 \n\017firewall_polic" - + "y\030\321\212\306\355\001 \001(\tB\003\340A\002\022&\n\tparent_id\030\320\341\232\333\001 \001(\tB" - + "\017\340A\002\362G\tparent_id\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" - + "\000\210\001\001B\r\n\013_request_id\"\360\001\n\030MoveGlobalAddres" - + "sRequest\022\030\n\007address\030\364\267\336\334\001 \001(\tB\003\340A\002\022l\n&gl" - + "obal_addresses_move_request_resource\030\363\361\261" - + "\220\001 \001(\01323.google.cloud.compute.v1.GlobalA" - + "ddressesMoveRequestB\003\340A\002\022!\n\007project\030\231\226\301l" - + " \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001" - + "(\tH\000\210\001\001B\r\n\013_request_id\"\311\001\n\032MoveInstanceP" - + "rojectRequest\022]\n\036instance_move_request_r" - + "esource\030\302\274\316\224\001 \001(\0132,.google.cloud.compute" - + ".v1.InstanceMoveRequestB\003\340A\002\022!\n\007project\030" - + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201" - + "\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"I\n\tNamedPort\022" - + "\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001\022\024\n\004port\030\201\261\322\001 \001(\005H\001" - + "\210\001\001B\007\n\005_nameB\007\n\005_port\"\210\001\n\tNatIpInfo\022S\n\024n" - + "at_ip_info_mappings\030\234\200\216s \003(\01322.google.cl" - + "oud.compute.v1.NatIpInfoNatIpInfoMapping" - + "\022\031\n\010nat_name\030\351\255\370\312\001 \001(\tH\000\210\001\001B\013\n\t_nat_name" - + "\"\362\001\n\031NatIpInfoNatIpInfoMapping\022\024\n\004mode\030\243" - + "\363\314\001 \001(\tH\000\210\001\001\022\026\n\006nat_ip\030\205\322\210\n \001(\tH\001\210\001\001\022\025\n\005" - + "usage\030\241\373\2315 \001(\tH\002\210\001\001\"5\n\004Mode\022\022\n\016UNDEFINED" - + "_MODE\020\000\022\n\n\004AUTO\020\257\253{\022\r\n\006MANUAL\020\306\267\3678\";\n\005Us" - + "age\022\023\n\017UNDEFINED_USAGE\020\000\022\r\n\006IN_USE\020\315\316\245\010\022" - + "\016\n\006UNUSED\020\326\363\373\253\001B\007\n\005_modeB\t\n\007_nat_ipB\010\n\006_" - + "usage\"J\n\021NatIpInfoResponse\0225\n\006result\030\235\220\267" - + "B \003(\0132\".google.cloud.compute.v1.NatIpInf" - + "o\"\355\010\n\007Network\022\033\n\013I_pv4_range\030\266\260\237\034 \001(\tH\000\210" - + "\001\001\022\'\n\027auto_create_subnetworks\030\222\310\222z \001(\010H\001" - + "\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022" - + "\034\n\013description\030\374\207\326\311\001 \001(\tH\003\210\001\001\022)\n\030enable_" - + "ula_internal_ipv6\030\230\217\210\312\001 \001(\010H\004\210\001\001\022 \n\017fire" - + "wall_policy\030\321\212\306\355\001 \001(\tH\005\210\001\001\022\035\n\rgateway_i_" - + "pv4\030\335\330\231U \001(\tH\006\210\001\001\022\020\n\002id\030\233\032 \001(\004H\007\210\001\001\022$\n\023i" - + "nternal_ipv6_range\030\247\317\246\204\001 \001(\tH\010\210\001\001\022\024\n\004kin" - + "d\030\224\367\310\001 \001(\tH\t\210\001\001\022\022\n\003mtu\030\256\317\006 \001(\005H\n\210\001\001\022\024\n\004n" - + "ame\030\213\365\315\001 \001(\tH\013\210\001\001\0229\n)network_firewall_po" - + "licy_enforcement_order\030\320\202\215\003 \001(\tH\014\210\001\001\022<\n\010" - + "peerings\030\263\252\251! \003(\0132\'.google.cloud.compute" - + ".v1.NetworkPeering\022N\n\016routing_config\030\333\251\323" - + "\371\001 \001(\0132-.google.cloud.compute.v1.Network" - + "RoutingConfigH\r\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(" - + "\tH\016\210\001\001\022!\n\021self_link_with_id\030\202\254\235\025 \001(\tH\017\210\001" - + "\001\022\027\n\013subnetworks\030\305\324\245\306\001 \003(\t\"\240\001\n%NetworkFi" - + "rewallPolicyEnforcementOrder\0227\n3UNDEFINE" - + "D_NETWORK_FIREWALL_POLICY_ENFORCEMENT_OR" - + "DER\020\000\022\035\n\026AFTER_CLASSIC_FIREWALL\020\320\374\332I\022\037\n\027" - + "BEFORE_CLASSIC_FIREWALL\020\355\355\261\241\001B\016\n\014_I_pv4_" - + "rangeB\032\n\030_auto_create_subnetworksB\025\n\023_cr" - + "eation_timestampB\016\n\014_descriptionB\033\n\031_ena" - + "ble_ula_internal_ipv6B\022\n\020_firewall_polic" - + "yB\020\n\016_gateway_i_pv4B\005\n\003_idB\026\n\024_internal_" - + "ipv6_rangeB\007\n\005_kindB\006\n\004_mtuB\007\n\005_nameB,\n*" - + "_network_firewall_policy_enforcement_ord" - + "erB\021\n\017_routing_configB\014\n\n_self_linkB\024\n\022_" - + "self_link_with_id\"\247\006\n\021NetworkAttachment\022" - + "]\n\024connection_endpoints\030\335\242\276\233\001 \003(\0132;.goog" - + "le.cloud.compute.v1.NetworkAttachmentCon" - + "nectedEndpoint\022&\n\025connection_preference\030" - + "\334\371\244\210\001 \001(\tH\000\210\001\001\022\"\n\022creation_timestamp\030\266\217\307" - + "\016 \001(\tH\001\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001" - + "\022\033\n\013fingerprint\030\344\321\363o \001(\tH\003\210\001\001\022\020\n\002id\030\233\032 \001" - + "(\004H\004\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022\024\n\004name\030\213\365" - + "\315\001 \001(\tH\006\210\001\001\022\027\n\007network\030\256\264\205o \001(\tH\007\210\001\001\022 \n\025" - + "producer_accept_lists\030\253\232\332` \003(\t\022 \n\025produc" - + "er_reject_lists\030\202\375\372\001 \003(\t\022\026\n\006region\030\364\315\240B " - + "\001(\tH\010\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\t\210\001\001\022!\n\021" - + "self_link_with_id\030\202\254\235\025 \001(\tH\n\210\001\001\022\027\n\013subne" - + "tworks\030\305\324\245\306\001 \003(\t\"|\n\024ConnectionPreference" - + "\022#\n\037UNDEFINED_CONNECTION_PREFERENCE\020\000\022\027\n" - + "\020ACCEPT_AUTOMATIC\020\224\367\360#\022\025\n\rACCEPT_MANUAL\020" - + "\335\355\361\261\001\022\017\n\007INVALID\020\327\373\355\374\001B\030\n\026_connection_pr" - + "eferenceB\025\n\023_creation_timestampB\016\n\014_desc" - + "riptionB\016\n\014_fingerprintB\005\n\003_idB\007\n\005_kindB" - + "\007\n\005_nameB\n\n\010_networkB\t\n\007_regionB\014\n\n_self" - + "_linkB\024\n\022_self_link_with_id\"\273\003\n\037NetworkA" - + "ttachmentAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001" - + "\001\022U\n\005items\030\300\317\367/ \003(\0132C.google.cloud.compu" - + "te.v1.NetworkAttachmentAggregatedList.It" - + "emsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_p" - + "age_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305" - + "\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google" - + ".cloud.compute.v1.WarningH\004\210\001\001\032c\n\nItemsE" - + "ntry\022\013\n\003key\030\001 \001(\t\022D\n\005value\030\002 \001(\01325.googl" - + "e.cloud.compute.v1.NetworkAttachmentsSco" - + "pedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_pag" - + "e_tokenB\014\n\n_self_linkB\n\n\010_warning\"\207\004\n\"Ne" - + "tworkAttachmentConnectedEndpoint\022\033\n\nip_a" - + "ddress\030\334\361\334\301\001 \001(\tH\000\210\001\001\022\035\n\014ipv6_address\030\234\263" - + "\357\242\001 \001(\tH\001\210\001\001\022\"\n\021project_id_or_num\030\250\212\345\246\001 " - + "\001(\tH\002\210\001\001\022#\n\030secondary_ip_cidr_ranges\030\224\262\360" - + "7 \003(\t\022\026\n\006status\030\362\237\267V \001(\tH\003\210\001\001\022\033\n\nsubnetw" - + "ork\030\356\247\344\222\001 \001(\tH\004\210\001\001\022&\n\025subnetwork_cidr_ra" - + "nge\030\243\333\337\266\001 \001(\tH\005\210\001\001\"\224\001\n\006Status\022\024\n\020UNDEFIN" - + "ED_STATUS\020\000\022\017\n\010ACCEPTED\020\247\237\322u\022\016\n\006CLOSED\020\354" - + "\252\243\265\001\022\027\n\017NEEDS_ATTENTION\020\274\213\242\244\001\022\016\n\007PENDING" - + "\020\367\252\360\020\022\017\n\010REJECTED\020\376\210\204S\022\031\n\022STATUS_UNSPECI" - + "FIED\020\312\314\213\024B\r\n\013_ip_addressB\017\n\r_ipv6_addres" - + "sB\024\n\022_project_id_or_numB\t\n\007_statusB\r\n\013_s" - + "ubnetworkB\030\n\026_subnetwork_cidr_range\"\263\002\n\025" - + "NetworkAttachmentList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022" - + "<\n\005items\030\300\317\367/ \003(\0132*.google.cloud.compute" - + ".v1.NetworkAttachment\022\024\n\004kind\030\224\367\310\001 \001(\tH\001" - + "\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\t" - + "self_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030" + + "cess\030\266\244\317\366\001 \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A" + + "\002B\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_order_b" + + "yB\r\n\013_page_tokenB\031\n\027_return_partial_succ" + + "ess\"\222\002\n\020ListZonesRequest\022\027\n\006filter\030\370\226\243\240\001" + + " \001(\tH\000\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\001\210\001\001\022\030" + + "\n\010order_by\030\350\375\307L \001(\tH\002\210\001\001\022\032\n\npage_token\030\311" + + "\260\304\t \001(\tH\003\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n" + + "\026return_partial_success\030\266\244\317\366\001 \001(\010H\004\210\001\001B\t" + + "\n\007_filterB\016\n\014_max_resultsB\013\n\t_order_byB\r" + + "\n\013_page_tokenB\031\n\027_return_partial_success" + + "\"\217\001\n\tLocalDisk\022\032\n\ndisk_count\030\355\257\235W \001(\005H\000\210" + + "\001\001\022\035\n\014disk_size_gb\030\267\232\347\226\001 \001(\005H\001\210\001\001\022\031\n\tdis" + + "k_type\030\234\351\254, \001(\tH\002\210\001\001B\r\n\013_disk_countB\017\n\r_" + + "disk_size_gbB\014\n\n_disk_type\"\\\n\020LocalizedM" + + "essage\022\027\n\006locale\030\332\234\330\364\001 \001(\tH\000\210\001\001\022\030\n\007messa" + + "ge\030\207\200\254\307\001 \001(\tH\001\210\001\001B\t\n\007_localeB\n\n\010_message" + + "\"\322\002\n\016LocationPolicy\022M\n\tlocations\030\336\256\221\305\001 \003" + + "(\01326.google.cloud.compute.v1.LocationPol" + + "icy.LocationsEntry\022\035\n\014target_shape\030\363\346\273\241\001" + + " \001(\tH\000\210\001\001\032a\n\016LocationsEntry\022\013\n\003key\030\001 \001(\t" + + "\022>\n\005value\030\002 \001(\0132/.google.cloud.compute.v" + + "1.LocationPolicyLocation:\0028\001\"^\n\013TargetSh" + + "ape\022\032\n\026UNDEFINED_TARGET_SHAPE\020\000\022\t\n\003ANY\020\314" + + "\373\003\022\026\n\017ANY_SINGLE_ZONE\020\320\246\221\035\022\020\n\010BALANCED\020\210" + + "\272\255\337\001B\017\n\r_target_shape\"\216\002\n\026LocationPolicy" + + "Location\022W\n\013constraints\030\266\314\356\001 \001(\0132:.googl" + + "e.cloud.compute.v1.LocationPolicyLocatio" + + "nConstraintsH\000\210\001\001\022\032\n\npreference\030\333\371\362G \001(\t" + + "H\001\210\001\001\"`\n\nPreference\022\030\n\024UNDEFINED_PREFERE" + + "NCE\020\000\022\014\n\005ALLOW\020\251\326\336\035\022\n\n\004DENY\020\214\354\177\022\036\n\026PREFE" + + "RENCE_UNSPECIFIED\020\263\353\316\354\001B\016\n\014_constraintsB" + + "\r\n\013_preference\"M\n!LocationPolicyLocation" + + "Constraints\022\032\n\tmax_count\030\364\374\222\211\001 \001(\005H\000\210\001\001B" + + "\014\n\n_max_count\"\251\002\n\tLogConfig\022Q\n\013cloud_aud" + + "it\030\321\302\356\304\001 \001(\01323.google.cloud.compute.v1.L" + + "ogConfigCloudAuditOptionsH\000\210\001\001\022J\n\007counte" + + "r\030\374\253\335\310\001 \001(\01320.google.cloud.compute.v1.Lo" + + "gConfigCounterOptionsH\001\210\001\001\022Q\n\013data_acces" + + "s\030\231\337\326\210\001 \001(\01323.google.cloud.compute.v1.Lo" + + "gConfigDataAccessOptionsH\002\210\001\001B\016\n\014_cloud_" + + "auditB\n\n\010_counterB\016\n\014_data_access\"\270\002\n\032Lo" + + "gConfigCloudAuditOptions\022c\n\035authorizatio" + + "n_logging_options\030\370\233\361g \001(\01324.google.clou" + + "d.compute.v1.AuthorizationLoggingOptions" + + "H\000\210\001\001\022\031\n\010log_name\030\246\365\217\300\001 \001(\tH\001\210\001\001\"k\n\007LogN" + + "ame\022\026\n\022UNDEFINED_LOG_NAME\020\000\022\026\n\016ADMIN_ACT" + + "IVITY\020\237\334\354\313\001\022\022\n\013DATA_ACCESS\020\231\327\302q\022\034\n\024UNSPE" + + "CIFIED_LOG_NAME\020\356\355\337\303\001B \n\036_authorization_", + "logging_optionsB\013\n\t_log_name\"\265\001\n\027LogConf" + + "igCounterOptions\022U\n\rcustom_fields\030\307\276\205w \003" + + "(\0132;.google.cloud.compute.v1.LogConfigCo" + + "unterOptionsCustomField\022\025\n\005field\030\372\301\272. \001(" + + "\tH\000\210\001\001\022\027\n\006metric\030\260\353\227\376\001 \001(\tH\001\210\001\001B\010\n\006_fiel" + + "dB\t\n\007_metric\"d\n\"LogConfigCounterOptionsC" + + "ustomField\022\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001\022\025\n\005valu" + + "e\030\361\242\2625 \001(\tH\001\210\001\001B\007\n\005_nameB\010\n\006_value\"\235\001\n\032L" + + "ogConfigDataAccessOptions\022\031\n\010log_mode\030\276\363" + + "\216\300\001 \001(\tH\000\210\001\001\"W\n\007LogMode\022\026\n\022UNDEFINED_LOG" + + "_MODE\020\000\022\027\n\017LOG_FAIL_CLOSED\020\222\252\361\253\001\022\033\n\024LOG_" + + "MODE_UNSPECIFIED\020\266\364\204*B\013\n\t_log_mode\"\265\t\n\014M" + + "achineImage\022\"\n\022creation_timestamp\030\266\217\307\016 \001" + + "(\tH\000\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\034\n" + + "\013guest_flush\030\335\223\354\267\001 \001(\010H\002\210\001\001\022\020\n\002id\030\233\032 \001(\004" + + "H\003\210\001\001\022P\n\023instance_properties\030\235\236\330f \001(\0132+." + + "google.cloud.compute.v1.InstanceProperti" + + "esH\004\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022]\n\034machine" + + "_image_encryption_key\030\377\377\347\373\001 \001(\0132..google" + + ".cloud.compute.v1.CustomerEncryptionKeyH" + + "\006\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022\036\n\rsatisfies_" + + "pzi\030\241\335\253\345\001 \001(\010H\010\210\001\001\022\036\n\rsatisfies_pzs\030\253\335\253\345" + + "\001 \001(\010H\t\210\001\001\022;\n\013saved_disks\030\276\355\300\275\001 \003(\0132\".go" + + "ogle.cloud.compute.v1.SavedDisk\022\032\n\tself_" + + "link\030\215\222\305\331\001 \001(\tH\n\210\001\001\022Y\n\033source_disk_encry" + + "ption_keys\030\262\370\317\260\001 \003(\01320.google.cloud.comp" + + "ute.v1.SourceDiskEncryptionKey\022 \n\017source" + + "_instance\030\271\230\375\274\001 \001(\tH\013\210\001\001\022^\n\032source_insta" + + "nce_properties\030\371\321\313\342\001 \001(\01321.google.cloud." + + "compute.v1.SourceInstancePropertiesH\014\210\001\001" + + "\022\026\n\006status\030\362\237\267V \001(\tH\r\210\001\001\022\035\n\021storage_loca" + + "tions\030\232\355\263\234\001 \003(\t\022#\n\023total_storage_bytes\030\354" + + "\207\204\' \001(\003H\016\210\001\001\"s\n\006Status\022\024\n\020UNDEFINED_STAT" + + "US\020\000\022\020\n\010CREATING\020\271\275\235\331\001\022\020\n\010DELETING\020\250\247\207\374\001" + + "\022\017\n\007INVALID\020\327\373\355\374\001\022\014\n\005READY\020\203\303\217%\022\020\n\tUPLOA" + + "DING\020\241\234\315\177B\025\n\023_creation_timestampB\016\n\014_des" + + "criptionB\016\n\014_guest_flushB\005\n\003_idB\026\n\024_inst" + + "ance_propertiesB\007\n\005_kindB\037\n\035_machine_ima" + + "ge_encryption_keyB\007\n\005_nameB\020\n\016_satisfies" + + "_pziB\020\n\016_satisfies_pzsB\014\n\n_self_linkB\022\n\020" + + "_source_instanceB\035\n\033_source_instance_pro" + + "pertiesB\t\n\007_statusB\026\n\024_total_storage_byt" + + "es\"\251\002\n\020MachineImageList\022\020\n\002id\030\233\032 \001(\tH\000\210\001" + + "\001\0227\n\005items\030\300\317\367/ \003(\0132%.google.cloud.compu" + + "te.v1.MachineImage\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001" + + "\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tsel" + + "f_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(" + + "\0132 .google.cloud.compute.v1.WarningH\004\210\001\001" + + "B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n" + + "_self_linkB\n\n\010_warning\"\312\006\n\013MachineType\022?" + + "\n\014accelerators\030\350\326\305\200\001 \003(\0132%.google.cloud." + + "compute.v1.Accelerators\022\"\n\022creation_time" + + "stamp\030\266\217\307\016 \001(\tH\000\210\001\001\022G\n\ndeprecated\030\263\313\321\365\001 " + + "\001(\0132*.google.cloud.compute.v1.Deprecatio" + + "nStatusH\001\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\002\210" + + "\001\001\022\033\n\nguest_cpus\030\322\313\310\273\001 \001(\005H\003\210\001\001\022\020\n\002id\030\233\032" + + " \001(\004H\004\210\001\001\022\036\n\016image_space_gb\030\230\362\365# \001(\005H\005\210\001" + + "\001\022\036\n\ris_shared_cpu\030\203\332\317\370\001 \001(\010H\006\210\001\001\022\024\n\004kin" + + "d\030\224\367\310\001 \001(\tH\007\210\001\001\022)\n\030maximum_persistent_di" + + "sks\030\215\366\316\354\001 \001(\005H\010\210\001\001\0220\n maximum_persistent" + + "_disks_size_gb\030\247\225\310I \001(\003H\t\210\001\001\022\031\n\tmemory_m" + + "b\030\223\223\2507 \001(\005H\n\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\013\210\001\001\022@\n" + + "\rscratch_disks\030\361\261\240\345\001 \003(\0132%.google.cloud." + + "compute.v1.ScratchDisks\022\032\n\tself_link\030\215\222\305" + + "\331\001 \001(\tH\014\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tH\r\210\001\001B\025\n\023_cr" + + "eation_timestampB\r\n\013_deprecatedB\016\n\014_desc" + + "riptionB\r\n\013_guest_cpusB\005\n\003_idB\021\n\017_image_" + + "space_gbB\020\n\016_is_shared_cpuB\007\n\005_kindB\033\n\031_" + + "maximum_persistent_disksB#\n!_maximum_per" + + "sistent_disks_size_gbB\014\n\n_memory_mbB\007\n\005_" + + "nameB\014\n\n_self_linkB\007\n\005_zone\"\302\003\n\031MachineT" + + "ypeAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022O\n\005i" + + "tems\030\300\317\367/ \003(\0132=.google.cloud.compute.v1." + + "MachineTypeAggregatedList.ItemsEntry\022\024\n\004" + + "kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272" + + "\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022" + + "\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030" + " \001(\0132 .google.cloud.compute.v1.WarningH\004" - + "\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB" - + "\014\n\n_self_linkB\n\n\010_warning\"\262\001\n\034NetworkAtt" - + "achmentsScopedList\022K\n\023network_attachment" - + "s\030\237\336\326\370\001 \003(\0132*.google.cloud.compute.v1.Ne" - + "tworkAttachment\0229\n\007warning\030\234\337\226\030 \001(\0132 .go" - + "ogle.cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_w" - + "arning\"\304\003\n\032NetworkEdgeSecurityService\022\"\n" - + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013des" - + "cription\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\033\n\013fingerprint\030\344" - + "\321\363o \001(\tH\002\210\001\001\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n\004kind\030\224" - + "\367\310\001 \001(\tH\004\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022\026\n\006re" - + "gion\030\364\315\240B \001(\tH\006\210\001\001\022\037\n\017security_policy\030\221\206" - + "\312Q \001(\tH\007\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022" - + "!\n\021self_link_with_id\030\202\254\235\025 \001(\tH\t\210\001\001B\025\n\023_c" - + "reation_timestampB\016\n\014_descriptionB\016\n\014_fi" - + "ngerprintB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\t\n\007_r" - + "egionB\022\n\020_security_policyB\014\n\n_self_linkB" - + "\024\n\022_self_link_with_id\"\216\004\n(NetworkEdgeSec" - + "urityServiceAggregatedList\022\024\n\004etag\030\225\322\276\001 " - + "\001(\tH\000\210\001\001\022\020\n\002id\030\233\032 \001(\tH\001\210\001\001\022^\n\005items\030\300\317\367/" - + " \003(\0132L.google.cloud.compute.v1.NetworkEd" - + "geSecurityServiceAggregatedList.ItemsEnt" - + "ry\022\024\n\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n\017next_page_to" - + "ken\030\225\272\206& \001(\tH\003\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\t" - + "H\004\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warnin" + + "\210\001\001\032]\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022>\n\005value\030" + + "\002 \001(\0132/.google.cloud.compute.v1.MachineT" + + "ypesScopedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_n" + + "ext_page_tokenB\014\n\n_self_linkB\n\n\010_warning" + + "\"\247\002\n\017MachineTypeList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0226" + + "\n\005items\030\300\317\367/ \003(\0132$.google.cloud.compute." + + "v1.MachineType\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017" + + "next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_li" + + "nk\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 ." + + "google.cloud.compute.v1.WarningH\004\210\001\001B\005\n\003" + + "_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_sel" + + "f_linkB\n\n\010_warning\"\237\001\n\026MachineTypesScope" + + "dList\022>\n\rmachine_types\030\201\335\201& \003(\0132$.google" + + ".cloud.compute.v1.MachineType\0229\n\007warning" + + "\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warn" + + "ingH\000\210\001\001B\n\n\010_warning\"\316\t\n\017ManagedInstance" + + "\022\036\n\016current_action\030\274\247\215U \001(\tH\000\210\001\001\022\020\n\002id\030\233" + + "\032 \001(\004H\001\210\001\001\022\030\n\010instance\030\225\251\332\010 \001(\tH\002\210\001\001\022S\n\017" + + "instance_health\030\306\222\274\266\001 \003(\01326.google.cloud" + + ".compute.v1.ManagedInstanceInstanceHealt" + + "h\022\037\n\017instance_status\030\334\255\237S \001(\tH\003\210\001\001\022R\n\014la" + + "st_attempt\030\244\254\250\317\001 \001(\01323.google.cloud.comp" + + "ute.v1.ManagedInstanceLastAttemptH\004\210\001\001\022\024" + + "\n\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022T\n\033preserved_state_" + + "from_config\030\342\353\205/ \001(\0132\'.google.cloud.comp" + + "ute.v1.PreservedStateH\006\210\001\001\022U\n\033preserved_" + + "state_from_policy\030\322\257\276\340\001 \001(\0132\'.google.clo" + + "ud.compute.v1.PreservedStateH\007\210\001\001\022I\n\007ver" + + "sion\030\330\271\324\247\001 \001(\0132/.google.cloud.compute.v1" + + ".ManagedInstanceVersionH\010\210\001\001\"\205\002\n\rCurrent" + + "Action\022\034\n\030UNDEFINED_CURRENT_ACTION\020\000\022\022\n\n" + + "ABANDONING\020\315\312\220\271\001\022\020\n\010CREATING\020\271\275\235\331\001\022 \n\030CR" + + "EATING_WITHOUT_RETRIES\020\211\306\276\314\001\022\020\n\010DELETING" + + "\020\250\247\207\374\001\022\013\n\004NONE\020\270\316\222\001\022\022\n\nRECREATING\020\354\213\376\210\001\022" + + "\021\n\nREFRESHING\020\247\376\354M\022\022\n\nRESTARTING\020\363\356\353\230\001\022\020" + + "\n\010RESUMING\020\252\373\211\325\001\022\020\n\010STARTING\020\300\240\213\351\001\022\020\n\tVE" + + "RIFYING\020\251\301\214\010\"\355\001\n\016InstanceStatus\022\035\n\031UNDEF" + + "INED_INSTANCE_STATUS\020\000\022\026\n\016DEPROVISIONING" + + "\020\356\223\304\314\001\022\024\n\014PROVISIONING\020\355\365\332\212\001\022\021\n\tREPAIRIN" + + "G\020\225\202\225\305\001\022\016\n\007RUNNING\020\237\303\3529\022\017\n\007STAGING\020\233\310\306\315\001" + + "\022\017\n\007STOPPED\020\255\273\354\323\001\022\020\n\010STOPPING\020\364\320\242\247\001\022\020\n\tS" + + "USPENDED\020\273\273\266\030\022\022\n\nSUSPENDING\020\246\324\230\365\001\022\021\n\nTER" + + "MINATED\020\243\364\233wB\021\n\017_current_actionB\005\n\003_idB\013" + + "\n\t_instanceB\022\n\020_instance_statusB\017\n\r_last" + + "_attemptB\007\n\005_nameB\036\n\034_preserved_state_fr" + + "om_configB\036\n\034_preserved_state_from_polic" + + "yB\n\n\010_version\"\246\002\n\035ManagedInstanceInstanc" + + "eHealth\022&\n\025detailed_health_state\030\235\320\264\363\001 \001" + + "(\tH\000\210\001\001\022\035\n\014health_check\030\345\252\244\223\001 \001(\tH\001\210\001\001\"\222" + + "\001\n\023DetailedHealthState\022#\n\037UNDEFINED_DETA" + + "ILED_HEALTH_STATE\020\000\022\020\n\010DRAINING\020\352\325\214\345\001\022\017\n" + + "\007HEALTHY\020\375\252\333\321\001\022\017\n\007TIMEOUT\020\301\262\353\343\001\022\021\n\tUNHEA" + + "LTHY\020\304\271\255\334\001\022\017\n\007UNKNOWN\020\252\360\304\316\001B\030\n\026_detailed" + + "_health_stateB\017\n\r_health_check\"a\n\032Manage" + + "dInstanceLastAttempt\0228\n\006errors\030\353\336\325\226\001 \001(\013" + + "2\037.google.cloud.compute.v1.ErrorsH\000\210\001\001B\t" + + "\n\007_errors\"q\n\026ManagedInstanceVersion\022\"\n\021i" + + "nstance_template\030\344\201\273\223\001 \001(\tH\000\210\001\001\022\024\n\004name\030" + + "\213\365\315\001 \001(\tH\001\210\001\001B\024\n\022_instance_templateB\007\n\005_" + + "name\"\210\001\n\010Metadata\022\033\n\013fingerprint\030\344\321\363o \001(" + + "\tH\000\210\001\001\0220\n\005items\030\300\317\367/ \003(\0132\036.google.cloud." + + "compute.v1.Items\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001B\016" + + "\n\014_fingerprintB\007\n\005_kind\"\217\002\n\016MetadataFilt" + + "er\022L\n\rfilter_labels\030\246\365\350\222\001 \003(\01321.google.c" + + "loud.compute.v1.MetadataFilterLabelMatch" + + "\022%\n\025filter_match_criteria\030\300\320\266r \001(\tH\000\210\001\001\"" + + "n\n\023FilterMatchCriteria\022#\n\037UNDEFINED_FILT" + + "ER_MATCH_CRITERIA\020\000\022\020\n\tMATCH_ALL\020\347\347\222V\022\020\n" + + "\tMATCH_ANY\020\262\350\222V\022\016\n\007NOT_SET\020\266\231\204NB\030\n\026_filt" + + "er_match_criteria\"Z\n\030MetadataFilterLabel" + + "Match\022\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001\022\025\n\005value\030\361\242\262" + + "5 \001(\tH\001\210\001\001B\007\n\005_nameB\010\n\006_value\"\213\002\n\022MoveAd" + + "dressRequest\022\030\n\007address\030\364\267\336\334\001 \001(\tB\003\340A\002\022!" + + "\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006reg" + + "ion\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022l\n®ion_add" + + "resses_move_request_resource\030\304\260\210\303\001 \001(\01323" + + ".google.cloud.compute.v1.RegionAddresses" + + "MoveRequestB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" + + "\000\210\001\001B\r\n\013_request_id\"\275\001\n\026MoveDiskProjectR" + + "equest\022U\n\032disk_move_request_resource\030\312\302\240" + + "\225\001 \001(\0132(.google.cloud.compute.v1.DiskMov" + + "eRequestB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" + + "\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013" + + "_request_id\"\220\001\n\031MoveFirewallPolicyReques" + + "t\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022&\n\tp" + + "arent_id\030\320\341\232\333\001 \001(\tB\017\340A\002\362G\tparent_id\022\032\n\nr" + + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\360" + + "\001\n\030MoveGlobalAddressRequest\022\030\n\007address\030\364" + + "\267\336\334\001 \001(\tB\003\340A\002\022l\n&global_addresses_move_r" + + "equest_resource\030\363\361\261\220\001 \001(\01323.google.cloud" + + ".compute.v1.GlobalAddressesMoveRequestB\003" + + "\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032" + + "\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_i" + + "d\"\311\001\n\032MoveInstanceProjectRequest\022]\n\036inst" + + "ance_move_request_resource\030\302\274\316\224\001 \001(\0132,.g" + + "oogle.cloud.compute.v1.InstanceMoveReque" + + "stB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proje" + + "ct\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_reque" + + "st_id\"I\n\tNamedPort\022\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001" + + "\022\024\n\004port\030\201\261\322\001 \001(\005H\001\210\001\001B\007\n\005_nameB\007\n\005_port" + + "\"\210\001\n\tNatIpInfo\022S\n\024nat_ip_info_mappings\030\234" + + "\200\216s \003(\01322.google.cloud.compute.v1.NatIpI" + + "nfoNatIpInfoMapping\022\031\n\010nat_name\030\351\255\370\312\001 \001(" + + "\tH\000\210\001\001B\013\n\t_nat_name\"\362\001\n\031NatIpInfoNatIpIn" + + "foMapping\022\024\n\004mode\030\243\363\314\001 \001(\tH\000\210\001\001\022\026\n\006nat_i" + + "p\030\205\322\210\n \001(\tH\001\210\001\001\022\025\n\005usage\030\241\373\2315 \001(\tH\002\210\001\001\"5" + + "\n\004Mode\022\022\n\016UNDEFINED_MODE\020\000\022\n\n\004AUTO\020\257\253{\022\r" + + "\n\006MANUAL\020\306\267\3678\";\n\005Usage\022\023\n\017UNDEFINED_USAG" + + "E\020\000\022\r\n\006IN_USE\020\315\316\245\010\022\016\n\006UNUSED\020\326\363\373\253\001B\007\n\005_m" + + "odeB\t\n\007_nat_ipB\010\n\006_usage\"J\n\021NatIpInfoRes" + + "ponse\0225\n\006result\030\235\220\267B \003(\0132\".google.cloud." + + "compute.v1.NatIpInfo\"\355\010\n\007Network\022\033\n\013I_pv" + + "4_range\030\266\260\237\034 \001(\tH\000\210\001\001\022\'\n\027auto_create_sub" + + "networks\030\222\310\222z \001(\010H\001\210\001\001\022\"\n\022creation_times" + + "tamp\030\266\217\307\016 \001(\tH\002\210\001\001\022\034\n\013description\030\374\207\326\311\001 " + + "\001(\tH\003\210\001\001\022)\n\030enable_ula_internal_ipv6\030\230\217\210" + + "\312\001 \001(\010H\004\210\001\001\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\t" + + "H\005\210\001\001\022\035\n\rgateway_i_pv4\030\335\330\231U \001(\tH\006\210\001\001\022\020\n\002" + + "id\030\233\032 \001(\004H\007\210\001\001\022$\n\023internal_ipv6_range\030\247\317" + + "\246\204\001 \001(\tH\010\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\t\210\001\001\022\022\n\003mt" + + "u\030\256\317\006 \001(\005H\n\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\013\210\001\001\0229\n)" + + "network_firewall_policy_enforcement_orde" + + "r\030\320\202\215\003 \001(\tH\014\210\001\001\022<\n\010peerings\030\263\252\251! \003(\0132\'.g" + + "oogle.cloud.compute.v1.NetworkPeering\022N\n" + + "\016routing_config\030\333\251\323\371\001 \001(\0132-.google.cloud" + + ".compute.v1.NetworkRoutingConfigH\r\210\001\001\022\032\n" + + "\tself_link\030\215\222\305\331\001 \001(\tH\016\210\001\001\022!\n\021self_link_w" + + "ith_id\030\202\254\235\025 \001(\tH\017\210\001\001\022\027\n\013subnetworks\030\305\324\245\306" + + "\001 \003(\t\"\240\001\n%NetworkFirewallPolicyEnforceme" + + "ntOrder\0227\n3UNDEFINED_NETWORK_FIREWALL_PO" + + "LICY_ENFORCEMENT_ORDER\020\000\022\035\n\026AFTER_CLASSI" + + "C_FIREWALL\020\320\374\332I\022\037\n\027BEFORE_CLASSIC_FIREWA" + + "LL\020\355\355\261\241\001B\016\n\014_I_pv4_rangeB\032\n\030_auto_create" + + "_subnetworksB\025\n\023_creation_timestampB\016\n\014_" + + "descriptionB\033\n\031_enable_ula_internal_ipv6" + + "B\022\n\020_firewall_policyB\020\n\016_gateway_i_pv4B\005" + + "\n\003_idB\026\n\024_internal_ipv6_rangeB\007\n\005_kindB\006" + + "\n\004_mtuB\007\n\005_nameB,\n*_network_firewall_pol" + + "icy_enforcement_orderB\021\n\017_routing_config" + + "B\014\n\n_self_linkB\024\n\022_self_link_with_id\"\247\006\n" + + "\021NetworkAttachment\022]\n\024connection_endpoin" + + "ts\030\335\242\276\233\001 \003(\0132;.google.cloud.compute.v1.N" + + "etworkAttachmentConnectedEndpoint\022&\n\025con" + + "nection_preference\030\334\371\244\210\001 \001(\tH\000\210\001\001\022\"\n\022cre" + + "ation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013descrip" + + "tion\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\033\n\013fingerprint\030\344\321\363o " + + "\001(\tH\003\210\001\001\022\020\n\002id\030\233\032 \001(\004H\004\210\001\001\022\024\n\004kind\030\224\367\310\001 " + + "\001(\tH\005\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022\027\n\007networ" + + "k\030\256\264\205o \001(\tH\007\210\001\001\022 \n\025producer_accept_lists" + + "\030\253\232\332` \003(\t\022 \n\025producer_reject_lists\030\202\375\372\001 " + + "\003(\t\022\026\n\006region\030\364\315\240B \001(\tH\010\210\001\001\022\032\n\tself_link" + + "\030\215\222\305\331\001 \001(\tH\t\210\001\001\022!\n\021self_link_with_id\030\202\254\235" + + "\025 \001(\tH\n\210\001\001\022\027\n\013subnetworks\030\305\324\245\306\001 \003(\t\"|\n\024C" + + "onnectionPreference\022#\n\037UNDEFINED_CONNECT" + + "ION_PREFERENCE\020\000\022\027\n\020ACCEPT_AUTOMATIC\020\224\367\360" + + "#\022\025\n\rACCEPT_MANUAL\020\335\355\361\261\001\022\017\n\007INVALID\020\327\373\355\374" + + "\001B\030\n\026_connection_preferenceB\025\n\023_creation" + + "_timestampB\016\n\014_descriptionB\016\n\014_fingerpri" + + "ntB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\n\n\010_networkB" + + "\t\n\007_regionB\014\n\n_self_linkB\024\n\022_self_link_w" + + "ith_id\"\273\003\n\037NetworkAttachmentAggregatedLi" + + "st\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022U\n\005items\030\300\317\367/ \003(\0132C" + + ".google.cloud.compute.v1.NetworkAttachme" + + "ntAggregatedList.ItemsEntry\022\024\n\004kind\030\224\367\310\001" + + " \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210" + + "\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warnin" + "g\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.War" - + "ningH\005\210\001\001\032l\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022M\n\005" - + "value\030\002 \001(\0132>.google.cloud.compute.v1.Ne" - + "tworkEdgeSecurityServicesScopedList:\0028\001B" - + "\007\n\005_etagB\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_t" - + "okenB\014\n\n_self_linkB\n\n\010_warning\"\316\001\n%Netwo" - + "rkEdgeSecurityServicesScopedList\022^\n\036netw" - + "ork_edge_security_services\030\254\313\370\020 \003(\01323.go" - + "ogle.cloud.compute.v1.NetworkEdgeSecurit" - + "yService\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cl" - + "oud.compute.v1.WarningH\000\210\001\001B\n\n\010_warning\"" - + "\251\002\n\017NetworkEndpoint\022Q\n\013annotations\030\244\366\2655 " - + "\003(\01329.google.cloud.compute.v1.NetworkEnd" - + "point.AnnotationsEntry\022\024\n\004fqdn\030\225\245\300\001 \001(\tH" - + "\000\210\001\001\022\030\n\010instance\030\225\251\332\010 \001(\tH\001\210\001\001\022\033\n\nip_add" - + "ress\030\334\361\334\301\001 \001(\tH\002\210\001\001\022\024\n\004port\030\201\261\322\001 \001(\005H\003\210\001" - + "\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" - + "lue\030\002 \001(\t:\0028\001B\007\n\005_fqdnB\013\n\t_instanceB\r\n\013_" - + "ip_addressB\007\n\005_port\"\357\n\n\024NetworkEndpointG" - + "roup\022V\n\013annotations\030\244\366\2655 \003(\0132>.google.cl" - + "oud.compute.v1.NetworkEndpointGroup.Anno" - + "tationsEntry\022S\n\napp_engine\030\240\214\300\242\001 \001(\01326.g" - + "oogle.cloud.compute.v1.NetworkEndpointGr" - + "oupAppEngineH\000\210\001\001\022[\n\016cloud_function\030\242\345\363\367" - + "\001 \001(\0132:.google.cloud.compute.v1.NetworkE" - + "ndpointGroupCloudFunctionH\001\210\001\001\022P\n\tcloud_" - + "run\030\201\313\3724 \001(\01325.google.cloud.compute.v1.N" - + "etworkEndpointGroupCloudRunH\002\210\001\001\022\"\n\022crea" - + "tion_timestamp\030\266\217\307\016 \001(\tH\003\210\001\001\022\035\n\014default_" - + "port\030\277\367\360\311\001 \001(\005H\004\210\001\001\022\034\n\013description\030\374\207\326\311\001" - + " \001(\tH\005\210\001\001\022\020\n\002id\030\233\032 \001(\004H\006\210\001\001\022\024\n\004kind\030\224\367\310\001" - + " \001(\tH\007\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022\027\n\007netwo" - + "rk\030\256\264\205o \001(\tH\t\210\001\001\022%\n\025network_endpoint_typ" - + "e\030\323\306\2648 \001(\tH\n\210\001\001\022N\n\010psc_data\030\311\333\246\" \001(\01324.g" - + "oogle.cloud.compute.v1.NetworkEndpointGr" - + "oupPscDataH\013\210\001\001\022#\n\022psc_target_service\030\346\302" - + "\252\200\001 \001(\tH\014\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\r\210\001\001\022\032\n\t" - + "self_link\030\215\222\305\331\001 \001(\tH\016\210\001\001\022\024\n\004size\030\201\300\327\001 \001(" - + "\005H\017\210\001\001\022\033\n\nsubnetwork\030\356\247\344\222\001 \001(\tH\020\210\001\001\022\024\n\004z" - + "one\030\254\307\344\001 \001(\tH\021\210\001\001\0322\n\020AnnotationsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\360\001\n\023Networ" - + "kEndpointType\022#\n\037UNDEFINED_NETWORK_ENDPO" - + "INT_TYPE\020\000\022\021\n\tGCE_VM_IP\020\331\355\320\277\001\022\026\n\016GCE_VM_" - + "IP_PORT\020\247\344\245\357\001\022\032\n\022INTERNET_FQDN_PORT\020\355\320\333\300" - + "\001\022\030\n\020INTERNET_IP_PORT\020\233\333\345\343\001\022\037\n\027NON_GCP_P" - + "RIVATE_IP_PORT\020\340\223\267\240\001\022\036\n\027PRIVATE_SERVICE_" - + "CONNECT\020\304\364\371\026\022\022\n\nSERVERLESS\020\334\306\375\200\001B\r\n\013_app" - + "_engineB\021\n\017_cloud_functionB\014\n\n_cloud_run" - + "B\025\n\023_creation_timestampB\017\n\r_default_port" - + "B\016\n\014_descriptionB\005\n\003_idB\007\n\005_kindB\007\n\005_nam" - + "eB\n\n\010_networkB\030\n\026_network_endpoint_typeB" - + "\013\n\t_psc_dataB\025\n\023_psc_target_serviceB\t\n\007_" - + "regionB\014\n\n_self_linkB\007\n\005_sizeB\r\n\013_subnet" - + "workB\007\n\005_zone\"\335\003\n\"NetworkEndpointGroupAg" - + "gregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022X\n\005items\030" - + "\300\317\367/ \003(\0132F.google.cloud.compute.v1.Netwo" - + "rkEndpointGroupAggregatedList.ItemsEntry" + + "ningH\004\210\001\001\032c\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022D\n\005" + + "value\030\002 \001(\01325.google.cloud.compute.v1.Ne" + + "tworkAttachmentsScopedList:\0028\001B\005\n\003_idB\007\n" + + "\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_link" + + "B\n\n\010_warning\"\207\004\n\"NetworkAttachmentConnec" + + "tedEndpoint\022\033\n\nip_address\030\334\361\334\301\001 \001(\tH\000\210\001\001" + + "\022\035\n\014ipv6_address\030\234\263\357\242\001 \001(\tH\001\210\001\001\022\"\n\021proje" + + "ct_id_or_num\030\250\212\345\246\001 \001(\tH\002\210\001\001\022#\n\030secondary" + + "_ip_cidr_ranges\030\224\262\3607 \003(\t\022\026\n\006status\030\362\237\267V " + + "\001(\tH\003\210\001\001\022\033\n\nsubnetwork\030\356\247\344\222\001 \001(\tH\004\210\001\001\022&\n" + + "\025subnetwork_cidr_range\030\243\333\337\266\001 \001(\tH\005\210\001\001\"\224\001" + + "\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\017\n\010ACCEPT" + + "ED\020\247\237\322u\022\016\n\006CLOSED\020\354\252\243\265\001\022\027\n\017NEEDS_ATTENTI" + + "ON\020\274\213\242\244\001\022\016\n\007PENDING\020\367\252\360\020\022\017\n\010REJECTED\020\376\210\204" + + "S\022\031\n\022STATUS_UNSPECIFIED\020\312\314\213\024B\r\n\013_ip_addr" + + "essB\017\n\r_ipv6_addressB\024\n\022_project_id_or_n" + + "umB\t\n\007_statusB\r\n\013_subnetworkB\030\n\026_subnetw" + + "ork_cidr_range\"\263\002\n\025NetworkAttachmentList" + + "\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022<\n\005items\030\300\317\367/ \003(\0132*.g" + + "oogle.cloud.compute.v1.NetworkAttachment" + "\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_toke" + "n\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003" - + "\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warning\030" - + "\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warni" - + "ngH\004\210\001\001\032f\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022G\n\005va" - + "lue\030\002 \001(\01328.google.cloud.compute.v1.Netw" - + "orkEndpointGroupsScopedList:\0028\001B\005\n\003_idB\007" - + "\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_lin" - + "kB\n\n\010_warning\"\222\001\n\035NetworkEndpointGroupAp" - + "pEngine\022\030\n\007service\030\265\215\217\262\001 \001(\tH\000\210\001\001\022\030\n\010url" - + "_mask\030\274\217\2441 \001(\tH\001\210\001\001\022\030\n\007version\030\330\271\324\247\001 \001(\t" - + "H\002\210\001\001B\n\n\010_serviceB\013\n\t_url_maskB\n\n\010_versi" - + "on\"r\n!NetworkEndpointGroupCloudFunction\022" - + "\031\n\010function\030\330\347\275\222\001 \001(\tH\000\210\001\001\022\030\n\010url_mask\030\274" - + "\217\2441 \001(\tH\001\210\001\001B\013\n\t_functionB\013\n\t_url_mask\"\207" - + "\001\n\034NetworkEndpointGroupCloudRun\022\030\n\007servi" - + "ce\030\265\215\217\262\001 \001(\tH\000\210\001\001\022\022\n\003tag\030\232\377\006 \001(\tH\001\210\001\001\022\030\n" - + "\010url_mask\030\274\217\2441 \001(\tH\002\210\001\001B\n\n\010_serviceB\006\n\004_" - + "tagB\013\n\t_url_mask\"\271\002\n\030NetworkEndpointGrou" - + "pList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022?\n\005items\030\300\317\367/ \003(" - + "\0132-.google.cloud.compute.v1.NetworkEndpo" - + "intGroup\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_p" - + "age_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305" - + "\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google" - + ".cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n" - + "\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_link" - + "B\n\n\010_warning\"\213\003\n\033NetworkEndpointGroupPsc" - + "Data\022%\n\024consumer_psc_address\030\254\255\353\327\001 \001(\tH\000" - + "\210\001\001\022\"\n\021psc_connection_id\030\335\245\243\213\001 \001(\004H\001\210\001\001\022" - + "%\n\025psc_connection_status\030\264\311\347W \001(\tH\002\210\001\001\"\260" - + "\001\n\023PscConnectionStatus\022#\n\037UNDEFINED_PSC_" - + "CONNECTION_STATUS\020\000\022\017\n\010ACCEPTED\020\247\237\322u\022\016\n\006" - + "CLOSED\020\354\252\243\265\001\022\027\n\017NEEDS_ATTENTION\020\274\213\242\244\001\022\016\n" - + "\007PENDING\020\367\252\360\020\022\017\n\010REJECTED\020\376\210\204S\022\031\n\022STATUS" - + "_UNSPECIFIED\020\312\314\213\024B\027\n\025_consumer_psc_addre" - + "ssB\024\n\022_psc_connection_idB\030\n\026_psc_connect" - + "ion_status\"u\n+NetworkEndpointGroupsAttac" - + "hEndpointsRequest\022F\n\021network_endpoints\030\255" - + "\221\272G \003(\0132(.google.cloud.compute.v1.Networ" - + "kEndpoint\"u\n+NetworkEndpointGroupsDetach" - + "EndpointsRequest\022F\n\021network_endpoints\030\255\221" - + "\272G \003(\0132(.google.cloud.compute.v1.Network" - + "Endpoint\"\244\001\n)NetworkEndpointGroupsListEn" - + "dpointsRequest\022\036\n\rhealth_status\030\265\326\272\265\001 \001(" - + "\tH\000\210\001\001\"E\n\014HealthStatus\022\033\n\027UNDEFINED_HEAL" - + "TH_STATUS\020\000\022\013\n\004SHOW\020\375\245\233\001\022\013\n\004SKIP\020\377\272\233\001B\020\n" - + "\016_health_status\"\253\002\n)NetworkEndpointGroup" - + "sListNetworkEndpoints\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022" - + "J\n\005items\030\300\317\367/ \003(\01328.google.cloud.compute" - + ".v1.NetworkEndpointWithHealthStatus\022\024\n\004k" - + "ind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206" - + "& \001(\tH\002\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google." - + "cloud.compute.v1.WarningH\003\210\001\001B\005\n\003_idB\007\n\005" - + "_kindB\022\n\020_next_page_tokenB\n\n\010_warning\"\273\001" - + "\n\037NetworkEndpointGroupsScopedList\022Q\n\027net" - + "work_endpoint_groups\030\255\227\377\r \003(\0132-.google.c" - + "loud.compute.v1.NetworkEndpointGroup\0229\n\007" - + "warning\030\234\337\226\030 \001(\0132 .google.cloud.compute." - + "v1.WarningH\000\210\001\001B\n\n\010_warning\"\317\001\n\037NetworkE" - + "ndpointWithHealthStatus\022K\n\007healths\030\227\223\255{ " - + "\003(\01327.google.cloud.compute.v1.HealthStat" - + "usForNetworkEndpoint\022J\n\020network_endpoint" - + "\030\206\221\212\033 \001(\0132(.google.cloud.compute.v1.Netw" - + "orkEndpointH\000\210\001\001B\023\n\021_network_endpoint\"\201\t" - + "\n\020NetworkInterface\022@\n\016access_configs\030\226\273\372" - + "4 \003(\0132%.google.cloud.compute.v1.AccessCo" - + "nfig\022A\n\017alias_ip_ranges\030\277\203\334N \003(\0132%.googl" - + "e.cloud.compute.v1.AliasIpRange\022\033\n\013finge" - + "rprint\030\344\321\363o \001(\tH\000\210\001\001\022+\n\033internal_ipv6_pr" - + "efix_length\030\235\203\231a \001(\005H\001\210\001\001\022F\n\023ipv6_access" - + "_configs\030\356\345\304\346\001 \003(\0132%.google.cloud.comput" - + "e.v1.AccessConfig\022!\n\020ipv6_access_type\030\335\365" - + "\321\360\001 \001(\tH\002\210\001\001\022\035\n\014ipv6_address\030\234\263\357\242\001 \001(\tH\003" - + "\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\024\n\004name\030\213\365\315\001 \001" - + "(\tH\005\210\001\001\022\027\n\007network\030\256\264\205o \001(\tH\006\210\001\001\022\"\n\022netw" - + "ork_attachment\030\324\227\217k \001(\tH\007\210\001\001\022\033\n\013network_" - + "i_p\030\211\261\345b \001(\tH\010\210\001\001\022\030\n\010nic_type\030\221\306\302\034 \001(\tH\t" - + "\210\001\001\022\034\n\013queue_count\030\341\370\227\360\001 \001(\005H\n\210\001\001\022\033\n\nsta" - + "ck_type\030\221\265\213\313\001 \001(\tH\013\210\001\001\022\033\n\nsubnetwork\030\356\247\344" - + "\222\001 \001(\tH\014\210\001\001\"y\n\016Ipv6AccessType\022\036\n\032UNDEFIN" - + "ED_IPV6_ACCESS_TYPE\020\000\022\017\n\010EXTERNAL\020\313\247\375\020\022\020" - + "\n\010INTERNAL\020\275\355\226\205\001\022$\n\034UNSPECIFIED_IPV6_ACC" - + "ESS_TYPE\020\245\366\244\225\001\"`\n\007NicType\022\026\n\022UNDEFINED_N" - + "IC_TYPE\020\000\022\014\n\005GVNIC\020\231\225\303 \022\033\n\024UNSPECIFIED_N" - + "IC_TYPE\020\331\276\222 \022\022\n\nVIRTIO_NET\020\331\266\313\327\001\"i\n\tStac" - + "kType\022\030\n\024UNDEFINED_STACK_TYPE\020\000\022\020\n\tIPV4_" - + "IPV6\020\201\350\312\n\022\020\n\tIPV4_ONLY\020\246\313\325\n\022\036\n\026UNSPECIFI" - + "ED_STACK_TYPE\020\331\321\221\216\001B\016\n\014_fingerprintB\036\n\034_" - + "internal_ipv6_prefix_lengthB\023\n\021_ipv6_acc" - + "ess_typeB\017\n\r_ipv6_addressB\007\n\005_kindB\007\n\005_n" - + "ameB\n\n\010_networkB\025\n\023_network_attachmentB\016" - + "\n\014_network_i_pB\013\n\t_nic_typeB\016\n\014_queue_co" - + "untB\r\n\013_stack_typeB\r\n\013_subnetwork\"\237\002\n\013Ne" - + "tworkList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0222\n\005items\030\300\317\367" - + "/ \003(\0132 .google.cloud.compute.v1.Network\022" - + "\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token" - + "\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210" - + "\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.co" - + "mpute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n" - + "\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_warn" - + "ing\"\272\006\n\016NetworkPeering\022\"\n\022auto_create_ro" - + "utes\030\335\342\262\033 \001(\010H\000\210\001\001\022&\n\026exchange_subnet_ro" - + "utes\030\320\312\306\014 \001(\010H\001\210\001\001\022$\n\024export_custom_rout" - + "es\030\215\245\337\034 \001(\010H\002\210\001\001\0223\n#export_subnet_routes" - + "_with_public_ip\030\342\352\331. \001(\010H\003\210\001\001\022$\n\024import_" - + "custom_routes\030\276\361\263^ \001(\010H\004\210\001\001\0223\n#import_su" - + "bnet_routes_with_public_ip\030\221\216\360\006 \001(\010H\005\210\001\001" - + "\022\024\n\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022\027\n\007network\030\256\264\205o \001" - + "(\tH\007\210\001\001\022\030\n\010peer_mtu\030\321\216\227! \001(\005H\010\210\001\001\022\033\n\nsta" - + "ck_type\030\221\265\213\313\001 \001(\tH\t\210\001\001\022\025\n\005state\030\221\211\2534 \001(\t" - + "H\n\210\001\001\022\035\n\rstate_details\030\224\371\310- \001(\tH\013\210\001\001\"I\n\t" - + "StackType\022\030\n\024UNDEFINED_STACK_TYPE\020\000\022\020\n\tI" - + "PV4_IPV6\020\201\350\312\n\022\020\n\tIPV4_ONLY\020\246\313\325\n\">\n\005State" - + "\022\023\n\017UNDEFINED_STATE\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\020\n" - + "\010INACTIVE\020\353\230\371\200\001B\025\n\023_auto_create_routesB\031" - + "\n\027_exchange_subnet_routesB\027\n\025_export_cus" - + "tom_routesB&\n$_export_subnet_routes_with" - + "_public_ipB\027\n\025_import_custom_routesB&\n$_" - + "import_subnet_routes_with_public_ipB\007\n\005_" - + "nameB\n\n\010_networkB\013\n\t_peer_mtuB\r\n\013_stack_" - + "typeB\010\n\006_stateB\020\n\016_state_details\"\316\001\n\030Net" - + "workPerformanceConfig\022+\n\033total_egress_ba" - + "ndwidth_tier\030\377\237\205> \001(\tH\000\210\001\001\"e\n\030TotalEgres" - + "sBandwidthTier\022)\n%UNDEFINED_TOTAL_EGRESS" - + "_BANDWIDTH_TIER\020\000\022\016\n\007DEFAULT\020\241\304\3756\022\016\n\006TIE" - + "R_1\020\224\312\361\233\001B\036\n\034_total_egress_bandwidth_tie" - + "r\"\222\001\n\024NetworkRoutingConfig\022\035\n\014routing_mo" - + "de\030\374\272\310\342\001 \001(\tH\000\210\001\001\"J\n\013RoutingMode\022\032\n\026UNDE" - + "FINED_ROUTING_MODE\020\000\022\016\n\006GLOBAL\020\243\357\357\353\001\022\017\n\010" - + "REGIONAL\020\237\354\200,B\017\n\r_routing_mode\"\204\002\n\031Netwo" - + "rksAddPeeringRequest\022\"\n\022auto_create_rout" - + "es\030\335\342\262\033 \001(\010H\000\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\001\210\001\001\022I" - + "\n\017network_peering\030\257\214\354\234\001 \001(\0132\'.google.clo" - + "ud.compute.v1.NetworkPeeringH\002\210\001\001\022\035\n\014pee" - + "r_network\030\321\340\333\356\001 \001(\tH\003\210\001\001B\025\n\023_auto_create" - + "_routesB\007\n\005_nameB\022\n\020_network_peeringB\017\n\r" - + "_peer_network\"\326\001\n%NetworksGetEffectiveFi" - + "rewallsResponse\022s\n\020firewall_policys\030\302\312\374\303" - + "\001 \003(\0132U.google.cloud.compute.v1.Networks" - + "GetEffectiveFirewallsResponseEffectiveFi" - + "rewallPolicy\0228\n\tfirewalls\030\363\306\350\201\001 \003(\0132!.go" - + "ogle.cloud.compute.v1.Firewall\"\352\002\n.google." + + "cloud.compute.v1.NetworkEdgeSecurityServ" + + "icesScopedList:\0028\001B\007\n\005_etagB\005\n\003_idB\007\n\005_k" + + "indB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n\n" + + "\010_warning\"\316\001\n%NetworkEdgeSecurityService" + + "sScopedList\022^\n\036network_edge_security_ser" + + "vices\030\254\313\370\020 \003(\01323.google.cloud.compute.v1" + + ".NetworkEdgeSecurityService\0229\n\007warning\030\234" + + "\337\226\030 \001(\0132 .google.cloud.compute.v1.Warnin" + + "gH\000\210\001\001B\n\n\010_warning\"\251\002\n\017NetworkEndpoint\022Q" + + "\n\013annotations\030\244\366\2655 \003(\01329.google.cloud.co" + + "mpute.v1.NetworkEndpoint.AnnotationsEntr" + + "y\022\024\n\004fqdn\030\225\245\300\001 \001(\tH\000\210\001\001\022\030\n\010instance\030\225\251\332\010" + + " \001(\tH\001\210\001\001\022\033\n\nip_address\030\334\361\334\301\001 \001(\tH\002\210\001\001\022\024" + + "\n\004port\030\201\261\322\001 \001(\005H\003\210\001\001\0322\n\020AnnotationsEntry" + + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\007\n\005_fqd" + + "nB\013\n\t_instanceB\r\n\013_ip_addressB\007\n\005_port\"\357" + + "\n\n\024NetworkEndpointGroup\022V\n\013annotations\030\244" + + "\366\2655 \003(\0132>.google.cloud.compute.v1.Networ" + + "kEndpointGroup.AnnotationsEntry\022S\n\napp_e" + + "ngine\030\240\214\300\242\001 \001(\01326.google.cloud.compute.v" + + "1.NetworkEndpointGroupAppEngineH\000\210\001\001\022[\n\016" + + "cloud_function\030\242\345\363\367\001 \001(\0132:.google.cloud." + + "compute.v1.NetworkEndpointGroupCloudFunc" + + "tionH\001\210\001\001\022P\n\tcloud_run\030\201\313\3724 \001(\01325.google" + + ".cloud.compute.v1.NetworkEndpointGroupCl" + + "oudRunH\002\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001" + + "(\tH\003\210\001\001\022\035\n\014default_port\030\277\367\360\311\001 \001(\005H\004\210\001\001\022\034" + + "\n\013description\030\374\207\326\311\001 \001(\tH\005\210\001\001\022\020\n\002id\030\233\032 \001(" + + "\004H\006\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\007\210\001\001\022\024\n\004name\030\213\365\315" + + "\001 \001(\tH\010\210\001\001\022\027\n\007network\030\256\264\205o \001(\tH\t\210\001\001\022%\n\025n" + + "etwork_endpoint_type\030\323\306\2648 \001(\tH\n\210\001\001\022N\n\010ps" + + "c_data\030\311\333\246\" \001(\01324.google.cloud.compute.v" + + "1.NetworkEndpointGroupPscDataH\013\210\001\001\022#\n\022ps" + + "c_target_service\030\346\302\252\200\001 \001(\tH\014\210\001\001\022\026\n\006regio" + + "n\030\364\315\240B \001(\tH\r\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\016" + + "\210\001\001\022\024\n\004size\030\201\300\327\001 \001(\005H\017\210\001\001\022\033\n\nsubnetwork\030" + + "\356\247\344\222\001 \001(\tH\020\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tH\021\210\001\001\0322\n\020" + + "AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\t:\0028\001\"\360\001\n\023NetworkEndpointType\022#\n\037UNDE" + + "FINED_NETWORK_ENDPOINT_TYPE\020\000\022\021\n\tGCE_VM_" + + "IP\020\331\355\320\277\001\022\026\n\016GCE_VM_IP_PORT\020\247\344\245\357\001\022\032\n\022INTE" + + "RNET_FQDN_PORT\020\355\320\333\300\001\022\030\n\020INTERNET_IP_PORT" + + "\020\233\333\345\343\001\022\037\n\027NON_GCP_PRIVATE_IP_PORT\020\340\223\267\240\001\022" + + "\036\n\027PRIVATE_SERVICE_CONNECT\020\304\364\371\026\022\022\n\nSERVE" + + "RLESS\020\334\306\375\200\001B\r\n\013_app_engineB\021\n\017_cloud_fun" + + "ctionB\014\n\n_cloud_runB\025\n\023_creation_timesta" + + "mpB\017\n\r_default_portB\016\n\014_descriptionB\005\n\003_" + + "idB\007\n\005_kindB\007\n\005_nameB\n\n\010_networkB\030\n\026_net" + + "work_endpoint_typeB\013\n\t_psc_dataB\025\n\023_psc_" + + "target_serviceB\t\n\007_regionB\014\n\n_self_linkB" + + "\007\n\005_sizeB\r\n\013_subnetworkB\007\n\005_zone\"\335\003\n\"Net" + + "workEndpointGroupAggregatedList\022\020\n\002id\030\233\032" + + " \001(\tH\000\210\001\001\022X\n\005items\030\300\317\367/ \003(\0132F.google.clo" + + "ud.compute.v1.NetworkEndpointGroupAggreg" + + "atedList.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001" + "\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tse" - + "lf_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001" - + "(\0132 .google.cloud.compute.v1.WarningH\004\210\001" - + "\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n" - + "\n_self_linkB\n\n\010_warning\"\252\001\n\032NodeGroupMai" - + "ntenanceWindow\022H\n\024maintenance_duration\030\300" - + "\242\275\372\001 \001(\0132!.google.cloud.compute.v1.Durat" - + "ionH\000\210\001\001\022\032\n\nstart_time\030\212\351\356\021 \001(\tH\001\210\001\001B\027\n\025" - + "_maintenance_durationB\r\n\013_start_time\"\242\010\n" - + "\rNodeGroupNode\022D\n\014accelerators\030\350\326\305\200\001 \003(\013" - + "2*.google.cloud.compute.v1.AcceleratorCo" - + "nfig\022U\n\022consumed_resources\030\216\365\301\237\001 \001(\01320.g" - + "oogle.cloud.compute.v1.InstanceConsumpti" - + "onInfoH\000\210\001\001\022#\n\023cpu_overcommit_type\030\327\216\220v " - + "\001(\tH\001\210\001\001\0224\n\005disks\030\366\314\312- \003(\0132\".google.clou" - + "d.compute.v1.LocalDisk\022V\n\031instance_consu" - + "mption_data\030\270\320\262( \003(\01320.google.cloud.comp" - + "ute.v1.InstanceConsumptionData\022\024\n\tinstan" - + "ces\030\376\374\357\r \003(\t\022\024\n\004name\030\213\365\315\001 \001(\tH\002\210\001\001\022\032\n\tno" - + "de_type\030\327\226\220\336\001 \001(\tH\003\210\001\001\022\036\n\rsatisfies_pzs\030" - + "\253\335\253\345\001 \001(\010H\004\210\001\001\022F\n\016server_binding\030\211\243\242c \001(" - + "\0132&.google.cloud.compute.v1.ServerBindin" - + "gH\005\210\001\001\022\032\n\tserver_id\030\227\257\355\241\001 \001(\tH\006\210\001\001\022\026\n\006st" - + "atus\030\362\237\267V \001(\tH\007\210\001\001\022Q\n\017total_resources\030\352\235" - + "\271. \001(\01320.google.cloud.compute.v1.Instanc" - + "eConsumptionInfoH\010\210\001\001\"|\n\021CpuOvercommitTy" - + "pe\022!\n\035UNDEFINED_CPU_OVERCOMMIT_TYPE\020\000\022\'\n" - + "\037CPU_OVERCOMMIT_TYPE_UNSPECIFIED\020\217\364\242\370\001\022\016" - + "\n\007ENABLED\020\241\256\354V\022\013\n\004NONE\020\270\316\222\001\"t\n\006Status\022\024\n" - + "\020UNDEFINED_STATUS\020\000\022\020\n\010CREATING\020\271\275\235\331\001\022\020\n" - + "\010DELETING\020\250\247\207\374\001\022\017\n\007INVALID\020\327\373\355\374\001\022\014\n\005READ" - + "Y\020\203\303\217%\022\021\n\tREPAIRING\020\225\202\225\305\001B\025\n\023_consumed_r" - + "esourcesB\026\n\024_cpu_overcommit_typeB\007\n\005_nam" - + "eB\014\n\n_node_typeB\020\n\016_satisfies_pzsB\021\n\017_se" - + "rver_bindingB\014\n\n_server_idB\t\n\007_statusB\022\n" - + "\020_total_resources\"\\\n\031NodeGroupsAddNodesR" - + "equest\022%\n\025additional_node_count\030\252\317\257@ \001(\005" - + "H\000\210\001\001B\030\n\026_additional_node_count\"0\n\034NodeG" - + "roupsDeleteNodesRequest\022\020\n\005nodes\030\261\245\2102 \003(" - + "\t\"\255\002\n\023NodeGroupsListNodes\022\020\n\002id\030\233\032 \001(\tH\000" - + "\210\001\001\0228\n\005items\030\300\317\367/ \003(\0132&.google.cloud.com" - + "pute.v1.NodeGroupNode\022\024\n\004kind\030\224\367\310\001 \001(\tH\001" - + "\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\t" - + "self_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030" - + " \001(\0132 .google.cloud.compute.v1.WarningH\004" - + "\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB" - + "\014\n\n_self_linkB\n\n\010_warning\"\231\001\n\024NodeGroups" - + "ScopedList\022:\n\013node_groups\030\261\205\363\" \003(\0132\".goo" - + "gle.cloud.compute.v1.NodeGroup\0229\n\007warnin" + + "lf_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237" + + "\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.clo" + + "ud.compute.v1.WarningH\004\210\001\001\032f\n\nItemsEntry" + + "\022\013\n\003key\030\001 \001(\t\022G\n\005value\030\002 \001(\01328.google.cl" + + "oud.compute.v1.NetworkEndpointGroupsScop" + + "edList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page" + + "_tokenB\014\n\n_self_linkB\n\n\010_warning\"\222\001\n\035Net" + + "workEndpointGroupAppEngine\022\030\n\007service\030\265\215" + + "\217\262\001 \001(\tH\000\210\001\001\022\030\n\010url_mask\030\274\217\2441 \001(\tH\001\210\001\001\022\030" + + "\n\007version\030\330\271\324\247\001 \001(\tH\002\210\001\001B\n\n\010_serviceB\013\n\t" + + "_url_maskB\n\n\010_version\"r\n!NetworkEndpoint" + + "GroupCloudFunction\022\031\n\010function\030\330\347\275\222\001 \001(\t" + + "H\000\210\001\001\022\030\n\010url_mask\030\274\217\2441 \001(\tH\001\210\001\001B\013\n\t_func" + + "tionB\013\n\t_url_mask\"\207\001\n\034NetworkEndpointGro" + + "upCloudRun\022\030\n\007service\030\265\215\217\262\001 \001(\tH\000\210\001\001\022\022\n\003" + + "tag\030\232\377\006 \001(\tH\001\210\001\001\022\030\n\010url_mask\030\274\217\2441 \001(\tH\002\210" + + "\001\001B\n\n\010_serviceB\006\n\004_tagB\013\n\t_url_mask\"\271\002\n\030" + + "NetworkEndpointGroupList\022\020\n\002id\030\233\032 \001(\tH\000\210" + + "\001\001\022?\n\005items\030\300\317\367/ \003(\0132-.google.cloud.comp" + + "ute.v1.NetworkEndpointGroup\022\024\n\004kind\030\224\367\310\001" + + " \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210" + + "\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warnin" + "g\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.War" - + "ningH\000\210\001\001B\n\n\010_warning\"T\n NodeGroupsSetNo" - + "deTemplateRequest\022\036\n\rnode_template\030\227\344\213\232\001" - + " \001(\tH\000\210\001\001B\020\n\016_node_template\"=\n)NodeGroup" - + "sSimulateMaintenanceEventRequest\022\020\n\005node" - + "s\030\261\245\2102 \003(\t\"\251\t\n\014NodeTemplate\022D\n\014accelerat" - + "ors\030\350\326\305\200\001 \003(\0132*.google.cloud.compute.v1." - + "AcceleratorConfig\022#\n\023cpu_overcommit_type" - + "\030\327\216\220v \001(\tH\000\210\001\001\022\"\n\022creation_timestamp\030\266\217\307" - + "\016 \001(\tH\001\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001" - + "\0224\n\005disks\030\366\314\312- \003(\0132\".google.cloud.comput" - + "e.v1.LocalDisk\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n\004kind" - + "\030\224\367\310\001 \001(\tH\004\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022_\n\024" - + "node_affinity_labels\030\271\255\323\241\001 \003(\0132=.google." - + "cloud.compute.v1.NodeTemplate.NodeAffini" - + "tyLabelsEntry\022\032\n\tnode_type\030\327\226\220\336\001 \001(\tH\006\210\001" - + "\001\022`\n\025node_type_flexibility\030\261\350\251\226\001 \001(\01328.g" - + "oogle.cloud.compute.v1.NodeTemplateNodeT" - + "ypeFlexibilityH\007\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\010" - + "\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\t\210\001\001\022F\n\016serve" - + "r_binding\030\211\243\242c \001(\0132&.google.cloud.comput" - + "e.v1.ServerBindingH\n\210\001\001\022\026\n\006status\030\362\237\267V \001" - + "(\tH\013\210\001\001\022\037\n\016status_message\030\272\311\351\215\001 \001(\tH\014\210\001\001" - + "\0329\n\027NodeAffinityLabelsEntry\022\013\n\003key\030\001 \001(\t" - + "\022\r\n\005value\030\002 \001(\t:\0028\001\"|\n\021CpuOvercommitType" - + "\022!\n\035UNDEFINED_CPU_OVERCOMMIT_TYPE\020\000\022\'\n\037C" - + "PU_OVERCOMMIT_TYPE_UNSPECIFIED\020\217\364\242\370\001\022\016\n\007" - + "ENABLED\020\241\256\354V\022\013\n\004NONE\020\270\316\222\001\"a\n\006Status\022\024\n\020U" - + "NDEFINED_STATUS\020\000\022\020\n\010CREATING\020\271\275\235\331\001\022\020\n\010D" - + "ELETING\020\250\247\207\374\001\022\017\n\007INVALID\020\327\373\355\374\001\022\014\n\005READY\020" - + "\203\303\217%B\026\n\024_cpu_overcommit_typeB\025\n\023_creatio" - + "n_timestampB\016\n\014_descriptionB\005\n\003_idB\007\n\005_k" - + "indB\007\n\005_nameB\014\n\n_node_typeB\030\n\026_node_type" - + "_flexibilityB\t\n\007_regionB\014\n\n_self_linkB\021\n" - + "\017_server_bindingB\t\n\007_statusB\021\n\017_status_m" - + "essage\"\305\003\n\032NodeTemplateAggregatedList\022\020\n" - + "\002id\030\233\032 \001(\tH\000\210\001\001\022P\n\005items\030\300\317\367/ \003(\0132>.goog" - + "le.cloud.compute.v1.NodeTemplateAggregat" - + "edList.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022" - + "\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself" - + "_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206" - + "t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud" - + ".compute.v1.WarningH\004\210\001\001\032^\n\nItemsEntry\022\013" - + "\n\003key\030\001 \001(\t\022?\n\005value\030\002 \001(\01320.google.clou" - + "d.compute.v1.NodeTemplatesScopedList:\0028\001" + + "ningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_" + + "tokenB\014\n\n_self_linkB\n\n\010_warning\"\213\003\n\033Netw" + + "orkEndpointGroupPscData\022%\n\024consumer_psc_" + + "address\030\254\255\353\327\001 \001(\tH\000\210\001\001\022\"\n\021psc_connection" + + "_id\030\335\245\243\213\001 \001(\004H\001\210\001\001\022%\n\025psc_connection_sta" + + "tus\030\264\311\347W \001(\tH\002\210\001\001\"\260\001\n\023PscConnectionStatu" + + "s\022#\n\037UNDEFINED_PSC_CONNECTION_STATUS\020\000\022\017" + + "\n\010ACCEPTED\020\247\237\322u\022\016\n\006CLOSED\020\354\252\243\265\001\022\027\n\017NEEDS" + + "_ATTENTION\020\274\213\242\244\001\022\016\n\007PENDING\020\367\252\360\020\022\017\n\010REJE" + + "CTED\020\376\210\204S\022\031\n\022STATUS_UNSPECIFIED\020\312\314\213\024B\027\n\025" + + "_consumer_psc_addressB\024\n\022_psc_connection" + + "_idB\030\n\026_psc_connection_status\"u\n+Network" + + "EndpointGroupsAttachEndpointsRequest\022F\n\021" + + "network_endpoints\030\255\221\272G \003(\0132(.google.clou" + + "d.compute.v1.NetworkEndpoint\"u\n+NetworkE" + + "ndpointGroupsDetachEndpointsRequest\022F\n\021n" + + "etwork_endpoints\030\255\221\272G \003(\0132(.google.cloud" + + ".compute.v1.NetworkEndpoint\"\244\001\n)NetworkE" + + "ndpointGroupsListEndpointsRequest\022\036\n\rhea" + + "lth_status\030\265\326\272\265\001 \001(\tH\000\210\001\001\"E\n\014HealthStatu" + + "s\022\033\n\027UNDEFINED_HEALTH_STATUS\020\000\022\013\n\004SHOW\020\375" + + "\245\233\001\022\013\n\004SKIP\020\377\272\233\001B\020\n\016_health_status\"\253\002\n)N" + + "etworkEndpointGroupsListNetworkEndpoints" + + "\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022J\n\005items\030\300\317\367/ \003(\01328.g" + + "oogle.cloud.compute.v1.NetworkEndpointWi", + "thHealthStatus\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017" + + "next_page_token\030\225\272\206& \001(\tH\002\210\001\001\0229\n\007warning" + + "\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warn" + + "ingH\003\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_t" + + "okenB\n\n\010_warning\"\273\001\n\037NetworkEndpointGrou" + + "psScopedList\022Q\n\027network_endpoint_groups\030" + + "\255\227\377\r \003(\0132-.google.cloud.compute.v1.Netwo" + + "rkEndpointGroup\0229\n\007warning\030\234\337\226\030 \001(\0132 .go" + + "ogle.cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_w" + + "arning\"\317\001\n\037NetworkEndpointWithHealthStat" + + "us\022K\n\007healths\030\227\223\255{ \003(\01327.google.cloud.co" + + "mpute.v1.HealthStatusForNetworkEndpoint\022" + + "J\n\020network_endpoint\030\206\221\212\033 \001(\0132(.google.cl" + + "oud.compute.v1.NetworkEndpointH\000\210\001\001B\023\n\021_" + + "network_endpoint\"\201\t\n\020NetworkInterface\022@\n" + + "\016access_configs\030\226\273\3724 \003(\0132%.google.cloud." + + "compute.v1.AccessConfig\022A\n\017alias_ip_rang" + + "es\030\277\203\334N \003(\0132%.google.cloud.compute.v1.Al" + + "iasIpRange\022\033\n\013fingerprint\030\344\321\363o \001(\tH\000\210\001\001\022" + + "+\n\033internal_ipv6_prefix_length\030\235\203\231a \001(\005H" + + "\001\210\001\001\022F\n\023ipv6_access_configs\030\356\345\304\346\001 \003(\0132%." + + "google.cloud.compute.v1.AccessConfig\022!\n\020" + + "ipv6_access_type\030\335\365\321\360\001 \001(\tH\002\210\001\001\022\035\n\014ipv6_" + + "address\030\234\263\357\242\001 \001(\tH\003\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH" + + "\004\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022\027\n\007network\030\256\264" + + "\205o \001(\tH\006\210\001\001\022\"\n\022network_attachment\030\324\227\217k \001" + + "(\tH\007\210\001\001\022\033\n\013network_i_p\030\211\261\345b \001(\tH\010\210\001\001\022\030\n\010" + + "nic_type\030\221\306\302\034 \001(\tH\t\210\001\001\022\034\n\013queue_count\030\341\370" + + "\227\360\001 \001(\005H\n\210\001\001\022\033\n\nstack_type\030\221\265\213\313\001 \001(\tH\013\210\001" + + "\001\022\033\n\nsubnetwork\030\356\247\344\222\001 \001(\tH\014\210\001\001\"y\n\016Ipv6Ac" + + "cessType\022\036\n\032UNDEFINED_IPV6_ACCESS_TYPE\020\000" + + "\022\017\n\010EXTERNAL\020\313\247\375\020\022\020\n\010INTERNAL\020\275\355\226\205\001\022$\n\034U" + + "NSPECIFIED_IPV6_ACCESS_TYPE\020\245\366\244\225\001\"`\n\007Nic" + + "Type\022\026\n\022UNDEFINED_NIC_TYPE\020\000\022\014\n\005GVNIC\020\231\225" + + "\303 \022\033\n\024UNSPECIFIED_NIC_TYPE\020\331\276\222 \022\022\n\nVIRTI" + + "O_NET\020\331\266\313\327\001\"i\n\tStackType\022\030\n\024UNDEFINED_ST" + + "ACK_TYPE\020\000\022\020\n\tIPV4_IPV6\020\201\350\312\n\022\020\n\tIPV4_ONL" + + "Y\020\246\313\325\n\022\036\n\026UNSPECIFIED_STACK_TYPE\020\331\321\221\216\001B\016" + + "\n\014_fingerprintB\036\n\034_internal_ipv6_prefix_" + + "lengthB\023\n\021_ipv6_access_typeB\017\n\r_ipv6_add" + + "ressB\007\n\005_kindB\007\n\005_nameB\n\n\010_networkB\025\n\023_n" + + "etwork_attachmentB\016\n\014_network_i_pB\013\n\t_ni" + + "c_typeB\016\n\014_queue_countB\r\n\013_stack_typeB\r\n" + + "\013_subnetwork\"\237\002\n\013NetworkList\022\020\n\002id\030\233\032 \001(" + + "\tH\000\210\001\001\0222\n\005items\030\300\317\367/ \003(\0132 .google.cloud." + + "compute.v1.Network\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001" + + "\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tsel" + + "f_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(" + + "\0132 .google.cloud.compute.v1.WarningH\004\210\001\001" + "B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n" - + "_self_linkB\n\n\010_warning\"\251\002\n\020NodeTemplateL" - + "ist\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0227\n\005items\030\300\317\367/ \003(\0132" - + "%.google.cloud.compute.v1.NodeTemplate\022\024" + + "_self_linkB\n\n\010_warning\"\272\006\n\016NetworkPeerin" + + "g\022\"\n\022auto_create_routes\030\335\342\262\033 \001(\010H\000\210\001\001\022&\n" + + "\026exchange_subnet_routes\030\320\312\306\014 \001(\010H\001\210\001\001\022$\n" + + "\024export_custom_routes\030\215\245\337\034 \001(\010H\002\210\001\001\0223\n#e" + + "xport_subnet_routes_with_public_ip\030\342\352\331. " + + "\001(\010H\003\210\001\001\022$\n\024import_custom_routes\030\276\361\263^ \001(" + + "\010H\004\210\001\001\0223\n#import_subnet_routes_with_publ" + + "ic_ip\030\221\216\360\006 \001(\010H\005\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\006\210\001" + + "\001\022\027\n\007network\030\256\264\205o \001(\tH\007\210\001\001\022\030\n\010peer_mtu\030\321" + + "\216\227! \001(\005H\010\210\001\001\022\033\n\nstack_type\030\221\265\213\313\001 \001(\tH\t\210\001" + + "\001\022\025\n\005state\030\221\211\2534 \001(\tH\n\210\001\001\022\035\n\rstate_detail" + + "s\030\224\371\310- \001(\tH\013\210\001\001\"I\n\tStackType\022\030\n\024UNDEFINE" + + "D_STACK_TYPE\020\000\022\020\n\tIPV4_IPV6\020\201\350\312\n\022\020\n\tIPV4" + + "_ONLY\020\246\313\325\n\">\n\005State\022\023\n\017UNDEFINED_STATE\020\000" + + "\022\016\n\006ACTIVE\020\206\346\211\226\001\022\020\n\010INACTIVE\020\353\230\371\200\001B\025\n\023_a" + + "uto_create_routesB\031\n\027_exchange_subnet_ro" + + "utesB\027\n\025_export_custom_routesB&\n$_export" + + "_subnet_routes_with_public_ipB\027\n\025_import" + + "_custom_routesB&\n$_import_subnet_routes_" + + "with_public_ipB\007\n\005_nameB\n\n\010_networkB\013\n\t_" + + "peer_mtuB\r\n\013_stack_typeB\010\n\006_stateB\020\n\016_st" + + "ate_details\"\316\001\n\030NetworkPerformanceConfig" + + "\022+\n\033total_egress_bandwidth_tier\030\377\237\205> \001(\t" + + "H\000\210\001\001\"e\n\030TotalEgressBandwidthTier\022)\n%UND" + + "EFINED_TOTAL_EGRESS_BANDWIDTH_TIER\020\000\022\016\n\007" + + "DEFAULT\020\241\304\3756\022\016\n\006TIER_1\020\224\312\361\233\001B\036\n\034_total_e" + + "gress_bandwidth_tier\"\222\001\n\024NetworkRoutingC" + + "onfig\022\035\n\014routing_mode\030\374\272\310\342\001 \001(\tH\000\210\001\001\"J\n\013" + + "RoutingMode\022\032\n\026UNDEFINED_ROUTING_MODE\020\000\022" + + "\016\n\006GLOBAL\020\243\357\357\353\001\022\017\n\010REGIONAL\020\237\354\200,B\017\n\r_rou" + + "ting_mode\"\204\002\n\031NetworksAddPeeringRequest\022" + + "\"\n\022auto_create_routes\030\335\342\262\033 \001(\010H\000\210\001\001\022\024\n\004n" + + "ame\030\213\365\315\001 \001(\tH\001\210\001\001\022I\n\017network_peering\030\257\214\354" + + "\234\001 \001(\0132\'.google.cloud.compute.v1.Network" + + "PeeringH\002\210\001\001\022\035\n\014peer_network\030\321\340\333\356\001 \001(\tH\003" + + "\210\001\001B\025\n\023_auto_create_routesB\007\n\005_nameB\022\n\020_" + + "network_peeringB\017\n\r_peer_network\"\326\001\n%Net" + + "worksGetEffectiveFirewallsResponse\022s\n\020fi" + + "rewall_policys\030\302\312\374\303\001 \003(\0132U.google.cloud." + + "compute.v1.NetworksGetEffectiveFirewalls" + + "ResponseEffectiveFirewallPolicy\0228\n\tfirew" + + "alls\030\363\306\350\201\001 \003(\0132!.google.cloud.compute.v1" + + ".Firewall\"\352\002\n \001(\tH" - + "\001\210\001\001\022\035\n\014payload_name\030\234\265\234\217\001 \001(\tH\002\210\001\001\022C\n\017r" - + "esend_interval\030\311\270\210\344\001 \001(\0132!.google.cloud." - + "compute.v1.DurationH\003\210\001\001\022\"\n\022retry_durati" - + "on_sec\030\335\316\2247 \001(\rH\004\210\001\001B\014\n\n_authorityB\013\n\t_e" - + "ndpointB\017\n\r_payload_nameB\022\n\020_resend_inte" - + "rvalB\025\n\023_retry_duration_sec\"\271\002\n\030Notifica" - + "tionEndpointList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022?\n\005it" - + "ems\030\300\317\367/ \003(\0132-.google.cloud.compute.v1.N" - + "otificationEndpoint\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001" - + "\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tse" - + "lf_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001" - + "(\0132 .google.cloud.compute.v1.WarningH\004\210\001" - + "\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n" - + "\n_self_linkB\n\n\010_warning\"\275\014\n\tOperation\022$\n" - + "\023client_operation_id\030\347\215\336\215\001 \001(\tH\000\210\001\001\022\"\n\022c" - + "reation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013descr" - + "iption\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\030\n\010end_time\030\261\247\3476 \001" - + "(\tH\003\210\001\001\0225\n\005error\030\210\244\223. \001(\0132\036.google.cloud" - + ".compute.v1.ErrorH\004\210\001\001\022\'\n\022http_error_mes" - + "sage\030\331\372\310` \001(\tB\003\350G\004H\005\210\001\001\022,\n\026http_error_st" - + "atus_code\030\354\204\370\224\001 \001(\005B\003\350G\003H\006\210\001\001\022\020\n\002id\030\233\032 \001" - + "(\004H\007\210\001\001\022\034\n\013insert_time\030\223\251\350\316\001 \001(\tH\010\210\001\001\022w\n" - + "(instances_bulk_insert_operation_metadat" - + "a\030\301\206\301* \001(\0132=.google.cloud.compute.v1.Ins" - + "tancesBulkInsertOperationMetadataH\t\210\001\001\022\024" - + "\n\004kind\030\224\367\310\001 \001(\tH\n\210\001\001\022\031\n\004name\030\213\365\315\001 \001(\tB\003\350" - + "G\001H\013\210\001\001\022\"\n\022operation_group_id\030\263\355\223\023 \001(\tH\014" - + "\210\001\001\022\036\n\016operation_type\030\222\366\332T \001(\tH\r\210\001\001\022\030\n\010p" - + "rogress\030\255\204\323\" \001(\005H\016\210\001\001\022\026\n\006region\030\364\315\240B \001(\t" - + "H\017\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\020\210\001\001\022\205\001\n/se" - + "t_common_instance_metadata_operation_met" - + "adata\030\344\255\352\351\001 \001(\0132C.google.cloud.compute.v" - + "1.SetCommonInstanceMetadataOperationMeta" - + "dataH\021\210\001\001\022\032\n\nstart_time\030\212\351\356\021 \001(\tH\022\210\001\001\022F\n" - + "\006status\030\362\237\267V \001(\0162).google.cloud.compute." - + "v1.Operation.StatusB\003\350G\002H\023\210\001\001\022\037\n\016status_" - + "message\030\272\311\351\215\001 \001(\tH\024\210\001\001\022\031\n\ttarget_id\030\211\225\215{" - + " \001(\004H\025\210\001\001\022\033\n\013target_link\030\350\223\361\035 \001(\tH\026\210\001\001\022\024" - + "\n\004user\030\313\327\333\001 \001(\tH\027\210\001\001\0227\n\010warnings\030\327\210\301\355\001 \003" - + "(\0132!.google.cloud.compute.v1.Warnings\022\024\n" - + "\004zone\030\254\307\344\001 \001(\tH\030\210\001\001\"K\n\006Status\022\024\n\020UNDEFIN" - + "ED_STATUS\020\000\022\013\n\004DONE\020\202\267\200\001\022\016\n\007PENDING\020\367\252\360\020" - + "\022\016\n\007RUNNING\020\237\303\3529B\026\n\024_client_operation_id" - + "B\025\n\023_creation_timestampB\016\n\014_descriptionB" - + "\013\n\t_end_timeB\010\n\006_errorB\025\n\023_http_error_me" - + "ssageB\031\n\027_http_error_status_codeB\005\n\003_idB" - + "\016\n\014_insert_timeB+\n)_instances_bulk_inser" - + "t_operation_metadataB\007\n\005_kindB\007\n\005_nameB\025" - + "\n\023_operation_group_idB\021\n\017_operation_type" - + "B\013\n\t_progressB\t\n\007_regionB\014\n\n_self_linkB2" - + "\n0_set_common_instance_metadata_operatio" - + "n_metadataB\r\n\013_start_timeB\t\n\007_statusB\021\n\017" - + "_status_messageB\014\n\n_target_idB\016\n\014_target" - + "_linkB\007\n\005_userB\007\n\005_zone\"\274\003\n\027OperationAgg" - + "regatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022M\n\005items\030\300" - + "\317\367/ \003(\0132;.google.cloud.compute.v1.Operat" - + "ionAggregatedList.ItemsEntry\022\024\n\004kind\030\224\367\310" - + "\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002" - + "\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unrea" - + "chables\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .g" - + "oogle.cloud.compute.v1.WarningH\004\210\001\001\032[\n\nI" - + "temsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-." - + "google.cloud.compute.v1.OperationsScoped" - + "List:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_t" - + "okenB\014\n\n_self_linkB\n\n\010_warning\"\243\002\n\rOpera" - + "tionList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0224\n\005items\030\300\317\367/" - + " \003(\0132\".google.cloud.compute.v1.Operation" - + "\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_toke" - + "n\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003" - + "\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.c" - + "ompute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022" - + "\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_war" - + "ning\"\230\001\n\024OperationsScopedList\0229\n\noperati" - + "ons\030\354\257\377\001 \003(\0132\".google.cloud.compute.v1.O" - + "peration\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cl" - + "oud.compute.v1.WarningH\000\210\001\001B\n\n\010_warning\"" - + "\332\006\n\020OutlierDetection\022E\n\022base_ejection_ti" - + "me\030\207\327\317& \001(\0132!.google.cloud.compute.v1.Du" - + "rationH\000\210\001\001\022#\n\022consecutive_errors\030\240\263\320\270\001 " - + "\001(\005H\001\210\001\001\022,\n\033consecutive_gateway_failure\030" - + "\372\267\212\307\001 \001(\005H\002\210\001\001\022,\n\034enforcing_consecutive_" - + "errors\030\300\323\320e \001(\005H\003\210\001\001\0226\n%enforcing_consec" - + "utive_gateway_failure\030\332\337\212\274\001 \001(\005H\004\210\001\001\022&\n\026" - + "enforcing_success_rate\030\274\357\337\\ \001(\005H\005\210\001\001\022;\n\010" - + "interval\030\305\311\377\017 \001(\0132!.google.cloud.compute" - + ".v1.DurationH\006\210\001\001\022$\n\024max_ejection_percen" - + "t\030\230\246\345\010 \001(\005H\007\210\001\001\022+\n\032success_rate_minimum_" - + "hosts\030\367\241\332\372\001 \001(\005H\010\210\001\001\022,\n\033success_rate_req" - + "uest_volume\030\315\353\230\206\001 \001(\005H\t\210\001\001\022)\n\031success_ra" - + "te_stdev_factor\030\235\203\251S \001(\005H\n\210\001\001B\025\n\023_base_e" - + "jection_timeB\025\n\023_consecutive_errorsB\036\n\034_" - + "consecutive_gateway_failureB\037\n\035_enforcin" - + "g_consecutive_errorsB(\n&_enforcing_conse" - + "cutive_gateway_failureB\031\n\027_enforcing_suc" - + "cess_rateB\013\n\t_intervalB\027\n\025_max_ejection_" - + "percentB\035\n\033_success_rate_minimum_hostsB\036" - + "\n\034_success_rate_request_volumeB\034\n\032_succe" - + "ss_rate_stdev_factor\"\306\003\n\017PacketIntervals" - + "\022\026\n\006avg_ms\030\263\334\324a \001(\003H\000\210\001\001\022\030\n\010duration\030\224\233\221" - + "J \001(\tH\001\210\001\001\022\027\n\006max_ms\030\341\304\274\374\001 \001(\003H\002\210\001\001\022\027\n\006m" - + "in_ms\030\263\245\355\377\001 \001(\003H\003\210\001\001\022\035\n\rnum_intervals\030\325\325" - + "\354X \001(\003H\004\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\005\210\001\001\"g\n\010Dur" - + "ation\022\026\n\022UNDEFINED_DURATION\020\000\022\034\n\024DURATIO" - + "N_UNSPECIFIED\020\354\371\243\374\001\022\013\n\004HOUR\020\344\333\207\001\022\t\n\003MAX\020" - + "\304\322\004\022\r\n\006MINUTE\020\224\264\272<\"h\n\004Type\022\022\n\016UNDEFINED_" - + "TYPE\020\000\022\020\n\010LOOPBACK\020\213\223\353\251\001\022\016\n\007RECEIVE\020\303\375\267Z" - + "\022\020\n\010TRANSMIT\020\260\205\373\327\001\022\030\n\020TYPE_UNSPECIFIED\020\222" - + "\373\333\320\001B\t\n\007_avg_msB\013\n\t_durationB\t\n\007_max_msB" - + "\t\n\007_min_msB\020\n\016_num_intervalsB\007\n\005_type\"\272\006" - + "\n\017PacketMirroring\022Z\n\rcollector_ilb\030\355\211\266\313\001" - + " \001(\0132:.google.cloud.compute.v1.PacketMir" - + "roringForwardingRuleInfoH\000\210\001\001\022\"\n\022creatio" - + "n_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013description" - + "\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\027\n\006enable\030\203\313\324\224\001 \001(\tH\003\210\001\001" - + "\022G\n\006filter\030\370\226\243\240\001 \001(\0132..google.cloud.comp" - + "ute.v1.PacketMirroringFilterH\004\210\001\001\022\020\n\002id\030" - + "\233\032 \001(\004H\005\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\006\210\001\001\022`\n\022mir" - + "rored_resources\030\304\237\302; \001(\0132<.google.cloud." - + "compute.v1.PacketMirroringMirroredResour" - + "ceInfoH\007\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022L\n\007net" - + "work\030\256\264\205o \001(\01323.google.cloud.compute.v1." - + "PacketMirroringNetworkInfoH\t\210\001\001\022\031\n\010prior" - + "ity\030\244\363\241\324\001 \001(\rH\n\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\013\210" - + "\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\014\210\001\001\"9\n\006Enable" - + "\022\024\n\020UNDEFINED_ENABLE\020\000\022\014\n\005FALSE\020\203\302\344\037\022\013\n\004" - + "TRUE\020\216\333\235\001B\020\n\016_collector_ilbB\025\n\023_creation" - + "_timestampB\016\n\014_descriptionB\t\n\007_enableB\t\n" - + "\007_filterB\005\n\003_idB\007\n\005_kindB\025\n\023_mirrored_re" - + "sourcesB\007\n\005_nameB\n\n\010_networkB\013\n\t_priorit" - + "yB\t\n\007_regionB\014\n\n_self_link\"\316\003\n\035PacketMir" - + "roringAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022S" - + "\n\005items\030\300\317\367/ \003(\0132A.google.cloud.compute." - + "v1.PacketMirroringAggregatedList.ItemsEn" - + "try\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_t" - + "oken\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(" - + "\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warni" - + "ng\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Wa" - + "rningH\004\210\001\001\032a\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022B\n" - + "\005value\030\002 \001(\01323.google.cloud.compute.v1.P" - + "acketMirroringsScopedList:\0028\001B\005\n\003_idB\007\n\005" - + "_kindB\022\n\020_next_page_tokenB\014\n\n_self_linkB" - + "\n\n\010_warning\"\306\001\n\025PacketMirroringFilter\022\030\n" - + "\rI_p_protocols\030\326\331\376. \003(\t\022\027\n\013cidr_ranges\030\201" - + "\224\323\350\001 \003(\t\022\031\n\tdirection\030\377\216\2005 \001(\tH\000\210\001\001\"Q\n\tD" - + "irection\022\027\n\023UNDEFINED_DIRECTION\020\000\022\n\n\004BOT" - + "H\020\201\347|\022\016\n\006EGRESS\020\365\366\264\316\001\022\017\n\007INGRESS\020\225\375\276\366\001B\014" - + "\n\n_direction\"q\n!PacketMirroringForwardin" - + "gRuleInfo\022\036\n\rcanonical_url\030\244\377\243\364\001 \001(\tH\000\210\001" - + "\001\022\022\n\003url\030\357\212\007 \001(\tH\001\210\001\001B\020\n\016_canonical_urlB" - + "\006\n\004_url\"\257\002\n\023PacketMirroringList\022\020\n\002id\030\233\032" - + " \001(\tH\000\210\001\001\022:\n\005items\030\300\317\367/ \003(\0132(.google.clo" - + "ud.compute.v1.PacketMirroring\022\024\n\004kind\030\224\367" + + "ng\"\252\001\n\032NodeGroupMaintenanceWindow\022H\n\024mai" + + "ntenance_duration\030\300\242\275\372\001 \001(\0132!.google.clo" + + "ud.compute.v1.DurationH\000\210\001\001\022\032\n\nstart_tim" + + "e\030\212\351\356\021 \001(\tH\001\210\001\001B\027\n\025_maintenance_duration" + + "B\r\n\013_start_time\"\217\t\n\rNodeGroupNode\022D\n\014acc" + + "elerators\030\350\326\305\200\001 \003(\0132*.google.cloud.compu" + + "te.v1.AcceleratorConfig\022U\n\022consumed_reso" + + "urces\030\216\365\301\237\001 \001(\01320.google.cloud.compute.v" + + "1.InstanceConsumptionInfoH\000\210\001\001\022#\n\023cpu_ov" + + "ercommit_type\030\327\216\220v \001(\tH\001\210\001\001\0224\n\005disks\030\366\314\312" + + "- \003(\0132\".google.cloud.compute.v1.LocalDis" + + "k\022V\n\031instance_consumption_data\030\270\320\262( \003(\0132" + + "0.google.cloud.compute.v1.InstanceConsum" + + "ptionData\022\024\n\tinstances\030\376\374\357\r \003(\t\022\024\n\004name\030" + + "\213\365\315\001 \001(\tH\002\210\001\001\022\032\n\tnode_type\030\327\226\220\336\001 \001(\tH\003\210\001" + + "\001\022\036\n\rsatisfies_pzs\030\253\335\253\345\001 \001(\010H\004\210\001\001\022F\n\016ser" + + "ver_binding\030\211\243\242c \001(\0132&.google.cloud.comp" + + "ute.v1.ServerBindingH\005\210\001\001\022\032\n\tserver_id\030\227" + + "\257\355\241\001 \001(\tH\006\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\007\210\001\001\022Q\n" + + "\017total_resources\030\352\235\271. \001(\01320.google.cloud" + + ".compute.v1.InstanceConsumptionInfoH\010\210\001\001" + + "\022R\n\024upcoming_maintenance\030\360\240\264l \001(\0132,.goog" + + "le.cloud.compute.v1.UpcomingMaintenanceH" + + "\t\210\001\001\"|\n\021CpuOvercommitType\022!\n\035UNDEFINED_C" + + "PU_OVERCOMMIT_TYPE\020\000\022\'\n\037CPU_OVERCOMMIT_T" + + "YPE_UNSPECIFIED\020\217\364\242\370\001\022\016\n\007ENABLED\020\241\256\354V\022\013\n" + + "\004NONE\020\270\316\222\001\"t\n\006Status\022\024\n\020UNDEFINED_STATUS" + + "\020\000\022\020\n\010CREATING\020\271\275\235\331\001\022\020\n\010DELETING\020\250\247\207\374\001\022\017" + + "\n\007INVALID\020\327\373\355\374\001\022\014\n\005READY\020\203\303\217%\022\021\n\tREPAIRI" + + "NG\020\225\202\225\305\001B\025\n\023_consumed_resourcesB\026\n\024_cpu_" + + "overcommit_typeB\007\n\005_nameB\014\n\n_node_typeB\020" + + "\n\016_satisfies_pzsB\021\n\017_server_bindingB\014\n\n_" + + "server_idB\t\n\007_statusB\022\n\020_total_resources" + + "B\027\n\025_upcoming_maintenance\"\\\n\031NodeGroupsA" + + "ddNodesRequest\022%\n\025additional_node_count\030" + + "\252\317\257@ \001(\005H\000\210\001\001B\030\n\026_additional_node_count\"" + + "0\n\034NodeGroupsDeleteNodesRequest\022\020\n\005nodes" + + "\030\261\245\2102 \003(\t\"\255\002\n\023NodeGroupsListNodes\022\020\n\002id\030" + + "\233\032 \001(\tH\000\210\001\001\0228\n\005items\030\300\317\367/ \003(\0132&.google.c" + + "loud.compute.v1.NodeGroupNode\022\024\n\004kind\030\224\367" + "\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH" + "\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warn" + "ing\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.W" + "arningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_pag" - + "e_tokenB\014\n\n_self_linkB\n\n\010_warning\"\367\001\n#Pa" - + "cketMirroringMirroredResourceInfo\022^\n\tins" - + "tances\030\376\374\357\r \003(\0132H.google.cloud.compute.v" - + "1.PacketMirroringMirroredResourceInfoIns" - + "tanceInfo\022_\n\013subnetworks\030\305\324\245\306\001 \003(\0132F.goo" - + "gle.cloud.compute.v1.PacketMirroringMirr" - + "oredResourceInfoSubnetInfo\022\017\n\004tags\030\231\350\330\001 " - + "\003(\t\"\177\n/PacketMirroringMirroredResourceIn" - + "foInstanceInfo\022\036\n\rcanonical_url\030\244\377\243\364\001 \001(" - + "\tH\000\210\001\001\022\022\n\003url\030\357\212\007 \001(\tH\001\210\001\001B\020\n\016_canonical" - + "_urlB\006\n\004_url\"}\n-PacketMirroringMirroredR" - + "esourceInfoSubnetInfo\022\036\n\rcanonical_url\030\244" - + "\377\243\364\001 \001(\tH\000\210\001\001\022\022\n\003url\030\357\212\007 \001(\tH\001\210\001\001B\020\n\016_ca" - + "nonical_urlB\006\n\004_url\"j\n\032PacketMirroringNe" - + "tworkInfo\022\036\n\rcanonical_url\030\244\377\243\364\001 \001(\tH\000\210\001" - + "\001\022\022\n\003url\030\357\212\007 \001(\tH\001\210\001\001B\020\n\016_canonical_urlB" - + "\006\n\004_url\"\253\001\n\032PacketMirroringsScopedList\022F" - + "\n\021packet_mirrorings\030\247\372\334I \003(\0132(.google.cl" - + "oud.compute.v1.PacketMirroring\0229\n\007warnin" + + "e_tokenB\014\n\n_self_linkB\n\n\010_warning\"b\n#Nod" + + "eGroupsPerformMaintenanceRequest\022\020\n\005node" + + "s\030\261\245\2102 \003(\t\022\032\n\nstart_time\030\212\351\356\021 \001(\tH\000\210\001\001B\r" + + "\n\013_start_time\"\231\001\n\024NodeGroupsScopedList\022:" + + "\n\013node_groups\030\261\205\363\" \003(\0132\".google.cloud.co" + + "mpute.v1.NodeGroup\0229\n\007warning\030\234\337\226\030 \001(\0132 " + + ".google.cloud.compute.v1.WarningH\000\210\001\001B\n\n" + + "\010_warning\"T\n NodeGroupsSetNodeTemplateRe" + + "quest\022\036\n\rnode_template\030\227\344\213\232\001 \001(\tH\000\210\001\001B\020\n" + + "\016_node_template\"=\n)NodeGroupsSimulateMai" + + "ntenanceEventRequest\022\020\n\005nodes\030\261\245\2102 \003(\t\"\251" + + "\t\n\014NodeTemplate\022D\n\014accelerators\030\350\326\305\200\001 \003(" + + "\0132*.google.cloud.compute.v1.AcceleratorC" + + "onfig\022#\n\023cpu_overcommit_type\030\327\216\220v \001(\tH\000\210" + + "\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034" + + "\n\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\0224\n\005disks\030\366\314" + + "\312- \003(\0132\".google.cloud.compute.v1.LocalDi" + + "sk\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\004\210" + + "\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022_\n\024node_affinit" + + "y_labels\030\271\255\323\241\001 \003(\0132=.google.cloud.comput" + + "e.v1.NodeTemplate.NodeAffinityLabelsEntr" + + "y\022\032\n\tnode_type\030\327\226\220\336\001 \001(\tH\006\210\001\001\022`\n\025node_ty" + + "pe_flexibility\030\261\350\251\226\001 \001(\01328.google.cloud." + + "compute.v1.NodeTemplateNodeTypeFlexibili" + + "tyH\007\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\010\210\001\001\022\032\n\tself_" + + "link\030\215\222\305\331\001 \001(\tH\t\210\001\001\022F\n\016server_binding\030\211\243" + + "\242c \001(\0132&.google.cloud.compute.v1.ServerB" + + "indingH\n\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\013\210\001\001\022\037\n\016s" + + "tatus_message\030\272\311\351\215\001 \001(\tH\014\210\001\001\0329\n\027NodeAffi" + + "nityLabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + + "\001(\t:\0028\001\"|\n\021CpuOvercommitType\022!\n\035UNDEFINE" + + "D_CPU_OVERCOMMIT_TYPE\020\000\022\'\n\037CPU_OVERCOMMI" + + "T_TYPE_UNSPECIFIED\020\217\364\242\370\001\022\016\n\007ENABLED\020\241\256\354V" + + "\022\013\n\004NONE\020\270\316\222\001\"a\n\006Status\022\024\n\020UNDEFINED_STA" + + "TUS\020\000\022\020\n\010CREATING\020\271\275\235\331\001\022\020\n\010DELETING\020\250\247\207\374" + + "\001\022\017\n\007INVALID\020\327\373\355\374\001\022\014\n\005READY\020\203\303\217%B\026\n\024_cpu" + + "_overcommit_typeB\025\n\023_creation_timestampB" + + "\016\n\014_descriptionB\005\n\003_idB\007\n\005_kindB\007\n\005_name" + + "B\014\n\n_node_typeB\030\n\026_node_type_flexibility" + + "B\t\n\007_regionB\014\n\n_self_linkB\021\n\017_server_bin" + + "dingB\t\n\007_statusB\021\n\017_status_message\"\305\003\n\032N" + + "odeTemplateAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000" + + "\210\001\001\022P\n\005items\030\300\317\367/ \003(\0132>.google.cloud.com" + + "pute.v1.NodeTemplateAggregatedList.Items" + + "Entry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page" + + "_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 " + + "\001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007war" + + "ning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1." + + "WarningH\004\210\001\001\032^\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022" + + "?\n\005value\030\002 \001(\01320.google.cloud.compute.v1" + + ".NodeTemplatesScopedList:\0028\001B\005\n\003_idB\007\n\005_" + + "kindB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n" + + "\n\010_warning\"\251\002\n\020NodeTemplateList\022\020\n\002id\030\233\032" + + " \001(\tH\000\210\001\001\0227\n\005items\030\300\317\367/ \003(\0132%.google.clo" + + "ud.compute.v1.NodeTemplate\022\024\n\004kind\030\224\367\310\001 " + + "\001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001" + + "\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning" + + "\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warn" + + "ingH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_t" + + "okenB\014\n\n_self_linkB\n\n\010_warning\"\216\001\n\037NodeT" + + "emplateNodeTypeFlexibility\022\024\n\004cpus\030\313\347\272\001 " + + "\001(\tH\000\210\001\001\022\032\n\tlocal_ssd\030\260\276\274\301\001 \001(\tH\001\210\001\001\022\027\n\006" + + "memory\030\201\372\212\376\001 \001(\tH\002\210\001\001B\007\n\005_cpusB\014\n\n_local" + + "_ssdB\t\n\007_memory\"\243\001\n\027NodeTemplatesScopedL" + + "ist\022A\n\016node_templates\030\274\242\355\250\001 \003(\0132%.google" + + ".cloud.compute.v1.NodeTemplate\0229\n\007warnin" + "g\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.War" - + "ningH\000\210\001\001B\n\n\010_warning\"\371\001\n\026PatchAutoscale" - + "rRequest\022\033\n\nautoscaler\030\327\375\322\366\001 \001(\tH\000\210\001\001\022H\n" - + "\023autoscaler_resource\030\366\360\377b \001(\0132#.google.c" - + "loud.compute.v1.AutoscalerB\003\340A\002\022!\n\007proje" - + "ct\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id" - + "\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004z" - + "oneB\r\n\013_autoscalerB\r\n\013_request_id\"\333\001\n\031Pa" - + "tchBackendBucketRequest\022\036\n\016backend_bucke" - + "t\030\365\343\335+ \001(\tB\003\340A\002\022P\n\027backend_bucket_resour" - + "ce\030\230\316\307\265\001 \001(\0132&.google.cloud.compute.v1.B" - + "ackendBucketB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340" - + "A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001" - + "B\r\n\013_request_id\"\340\001\n\032PatchBackendServiceR" - + "equest\022 \n\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002" - + "\022R\n\030backend_service_resource\030\243\201\337\245\001 \001(\0132\'" - + ".google.cloud.compute.v1.BackendServiceB" - + "\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022" - + "\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_" - + "id\"\275\001\n\032PatchFirewallPolicyRequest\022 \n\017fir" - + "ewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022R\n\030firewall_" - + "policy_resource\030\274\266\207\354\001 \001(\0132\'.google.cloud" - + ".compute.v1.FirewallPolicyB\003\340A\002\022\032\n\nreque" - + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\305\001\n\024P" - + "atchFirewallRequest\022\031\n\010firewall\030\200\372\325\363\001 \001(" - + "\tB\003\340A\002\022D\n\021firewall_resource\030\355\260\340\023 \001(\0132!.g" - + "oogle.cloud.compute.v1.FirewallB\003\340A\002\022!\n\007" - + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreque" - + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\201\002\n\032P" - + "atchForwardingRuleRequest\022 \n\017forwarding_" - + "rule\030\376\245\335\200\001 \001(\tB\003\340A\002\022R\n\030forwarding_rule_r" - + "esource\030\257\300\320\217\001 \001(\0132\'.google.cloud.compute" - + ".v1.ForwardingRuleB\003\340A\002\022!\n\007project\030\231\226\301l " - + "\001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340" - + "A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B" - + "\r\n\013_request_id\"\346\001\n PatchGlobalForwarding" - + "RuleRequest\022 \n\017forwarding_rule\030\376\245\335\200\001 \001(\t" - + "B\003\340A\002\022R\n\030forwarding_rule_resource\030\257\300\320\217\001 " - + "\001(\0132\'.google.cloud.compute.v1.Forwarding" - + "RuleB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pro" - + "ject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_req" - + "uest_id\"\203\002\n(PatchGlobalPublicDelegatedPr" - + "efixeRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" - + "project\022\'\n\027public_delegated_prefix\030\350\334\261a " - + "\001(\tB\003\340A\002\022`\n public_delegated_prefix_reso" - + "urce\030\205\370\330\026 \001(\0132..google.cloud.compute.v1." - + "PublicDelegatedPrefixB\003\340A\002\022\032\n\nrequest_id" - + "\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\323\001\n\027PatchH" - + "ealthCheckRequest\022\035\n\014health_check\030\345\252\244\223\001 " - + "\001(\tB\003\340A\002\022K\n\025health_check_resource\030\250\303\244` \001" - + "(\0132$.google.cloud.compute.v1.HealthCheck" + + "ningH\000\210\001\001B\n\n\010_warning\"\240\004\n\010NodeType\022\035\n\014cp" + + "u_platform\030\252\352\321\303\001 \001(\tH\000\210\001\001\022\"\n\022creation_ti" + + "mestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022G\n\ndeprecated\030\263\313\321\365" + + "\001 \001(\0132*.google.cloud.compute.v1.Deprecat" + + "ionStatusH\002\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH" + + "\003\210\001\001\022\033\n\nguest_cpus\030\322\313\310\273\001 \001(\005H\004\210\001\001\022\020\n\002id\030" + + "\233\032 \001(\004H\005\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\006\210\001\001\022\035\n\014loc" + + "al_ssd_gb\030\312\210\377\234\001 \001(\005H\007\210\001\001\022\031\n\tmemory_mb\030\223\223" + + "\2507 \001(\005H\010\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\t\210\001\001\022\032\n\tsel" + + "f_link\030\215\222\305\331\001 \001(\tH\n\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tH\013" + + "\210\001\001B\017\n\r_cpu_platformB\025\n\023_creation_timest" + + "ampB\r\n\013_deprecatedB\016\n\014_descriptionB\r\n\013_g" + + "uest_cpusB\005\n\003_idB\007\n\005_kindB\017\n\r_local_ssd_" + + "gbB\014\n\n_memory_mbB\007\n\005_nameB\014\n\n_self_linkB" + + "\007\n\005_zone\"\271\003\n\026NodeTypeAggregatedList\022\020\n\002i" + + "d\030\233\032 \001(\tH\000\210\001\001\022L\n\005items\030\300\317\367/ \003(\0132:.google" + + ".cloud.compute.v1.NodeTypeAggregatedList" + + ".ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017nex" + + "t_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030" + + "\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\022" + + "9\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.compu" + + "te.v1.WarningH\004\210\001\001\032Z\n\nItemsEntry\022\013\n\003key\030" + + "\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.cloud.comp" + + "ute.v1.NodeTypesScopedList:\0028\001B\005\n\003_idB\007\n" + + "\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_link" + + "B\n\n\010_warning\"\241\002\n\014NodeTypeList\022\020\n\002id\030\233\032 \001" + + "(\tH\000\210\001\001\0223\n\005items\030\300\317\367/ \003(\0132!.google.cloud" + + ".compute.v1.NodeType\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210" + + "\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\ts" + + "elf_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 " + + "\001(\0132 .google.cloud.compute.v1.WarningH\004\210" + + "\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014" + + "\n\n_self_linkB\n\n\010_warning\"\227\001\n\023NodeTypesSc" + + "opedList\0229\n\nnode_types\030\374\277\365\345\001 \003(\0132!.googl" + + "e.cloud.compute.v1.NodeType\0229\n\007warning\030\234" + + "\337\226\030 \001(\0132 .google.cloud.compute.v1.Warnin" + + "gH\000\210\001\001B\n\n\010_warning\"\220\003\n\024NotificationEndpo" + + "int\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022" + + "\034\n\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022Y\n\rgrpc_se" + + "ttings\030\244\306\300\331\001 \001(\01329.google.cloud.compute." + + "v1.NotificationEndpointGrpcSettingsH\002\210\001\001" + + "\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\004\210\001\001" + + "\022\024\n\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022\026\n\006region\030\364\315\240B \001(" + + "\tH\006\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\007\210\001\001B\025\n\023_c" + + "reation_timestampB\016\n\014_descriptionB\020\n\016_gr" + + "pc_settingsB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\t\n\007" + + "_regionB\014\n\n_self_link\"\267\002\n NotificationEn" + + "dpointGrpcSettings\022\032\n\tauthority\030\303\216\320\277\001 \001(" + + "\tH\000\210\001\001\022\030\n\010endpoint\030\225\273\234> \001(\tH\001\210\001\001\022\035\n\014payl" + + "oad_name\030\234\265\234\217\001 \001(\tH\002\210\001\001\022C\n\017resend_interv" + + "al\030\311\270\210\344\001 \001(\0132!.google.cloud.compute.v1.D" + + "urationH\003\210\001\001\022\"\n\022retry_duration_sec\030\335\316\2247 " + + "\001(\rH\004\210\001\001B\014\n\n_authorityB\013\n\t_endpointB\017\n\r_" + + "payload_nameB\022\n\020_resend_intervalB\025\n\023_ret" + + "ry_duration_sec\"\271\002\n\030NotificationEndpoint" + + "List\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022?\n\005items\030\300\317\367/ \003(\013" + + "2-.google.cloud.compute.v1.NotificationE" + + "ndpoint\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_pa" + + "ge_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331" + + "\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google." + + "cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005" + + "_kindB\022\n\020_next_page_tokenB\014\n\n_self_linkB" + + "\n\n\010_warning\"\275\014\n\tOperation\022$\n\023client_oper" + + "ation_id\030\347\215\336\215\001 \001(\tH\000\210\001\001\022\"\n\022creation_time" + + "stamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013description\030\374\207\326\311\001" + + " \001(\tH\002\210\001\001\022\030\n\010end_time\030\261\247\3476 \001(\tH\003\210\001\001\0225\n\005e" + + "rror\030\210\244\223. \001(\0132\036.google.cloud.compute.v1." + + "ErrorH\004\210\001\001\022\'\n\022http_error_message\030\331\372\310` \001(" + + "\tB\003\350G\004H\005\210\001\001\022,\n\026http_error_status_code\030\354\204" + + "\370\224\001 \001(\005B\003\350G\003H\006\210\001\001\022\020\n\002id\030\233\032 \001(\004H\007\210\001\001\022\034\n\013i" + + "nsert_time\030\223\251\350\316\001 \001(\tH\010\210\001\001\022w\n(instances_b" + + "ulk_insert_operation_metadata\030\301\206\301* \001(\0132=" + + ".google.cloud.compute.v1.InstancesBulkIn" + + "sertOperationMetadataH\t\210\001\001\022\024\n\004kind\030\224\367\310\001 " + + "\001(\tH\n\210\001\001\022\031\n\004name\030\213\365\315\001 \001(\tB\003\350G\001H\013\210\001\001\022\"\n\022o" + + "peration_group_id\030\263\355\223\023 \001(\tH\014\210\001\001\022\036\n\016opera" + + "tion_type\030\222\366\332T \001(\tH\r\210\001\001\022\030\n\010progress\030\255\204\323\"" + + " \001(\005H\016\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\017\210\001\001\022\032\n\tsel" + + "f_link\030\215\222\305\331\001 \001(\tH\020\210\001\001\022\205\001\n/set_common_ins" + + "tance_metadata_operation_metadata\030\344\255\352\351\001 " + + "\001(\0132C.google.cloud.compute.v1.SetCommonI" + + "nstanceMetadataOperationMetadataH\021\210\001\001\022\032\n" + + "\nstart_time\030\212\351\356\021 \001(\tH\022\210\001\001\022F\n\006status\030\362\237\267V" + + " \001(\0162).google.cloud.compute.v1.Operation" + + ".StatusB\003\350G\002H\023\210\001\001\022\037\n\016status_message\030\272\311\351\215" + + "\001 \001(\tH\024\210\001\001\022\031\n\ttarget_id\030\211\225\215{ \001(\004H\025\210\001\001\022\033\n" + + "\013target_link\030\350\223\361\035 \001(\tH\026\210\001\001\022\024\n\004user\030\313\327\333\001 " + + "\001(\tH\027\210\001\001\0227\n\010warnings\030\327\210\301\355\001 \003(\0132!.google." + + "cloud.compute.v1.Warnings\022\024\n\004zone\030\254\307\344\001 \001" + + "(\tH\030\210\001\001\"K\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022" + + "\013\n\004DONE\020\202\267\200\001\022\016\n\007PENDING\020\367\252\360\020\022\016\n\007RUNNING\020" + + "\237\303\3529B\026\n\024_client_operation_idB\025\n\023_creatio" + + "n_timestampB\016\n\014_descriptionB\013\n\t_end_time" + + "B\010\n\006_errorB\025\n\023_http_error_messageB\031\n\027_ht" + + "tp_error_status_codeB\005\n\003_idB\016\n\014_insert_t" + + "imeB+\n)_instances_bulk_insert_operation_" + + "metadataB\007\n\005_kindB\007\n\005_nameB\025\n\023_operation" + + "_group_idB\021\n\017_operation_typeB\013\n\t_progres" + + "sB\t\n\007_regionB\014\n\n_self_linkB2\n0_set_commo" + + "n_instance_metadata_operation_metadataB\r" + + "\n\013_start_timeB\t\n\007_statusB\021\n\017_status_mess" + + "ageB\014\n\n_target_idB\016\n\014_target_linkB\007\n\005_us" + + "erB\007\n\005_zone\"\274\003\n\027OperationAggregatedList\022" + + "\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022M\n\005items\030\300\317\367/ \003(\0132;.go" + + "ogle.cloud.compute.v1.OperationAggregate" + + "dList.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037" + + "\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_" + + "link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t" + + " \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud." + + "compute.v1.WarningH\004\210\001\001\032[\n\nItemsEntry\022\013\n" + + "\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.google.cloud" + + ".compute.v1.OperationsScopedList:\0028\001B\005\n\003" + + "_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_sel" + + "f_linkB\n\n\010_warning\"\243\002\n\rOperationList\022\020\n\002" + + "id\030\233\032 \001(\tH\000\210\001\001\0224\n\005items\030\300\317\367/ \003(\0132\".googl" + + "e.cloud.compute.v1.Operation\022\024\n\004kind\030\224\367\310" + + "\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002" + + "\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warni" + + "ng\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Wa" + + "rningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page" + + "_tokenB\014\n\n_self_linkB\n\n\010_warning\"\230\001\n\024Ope" + + "rationsScopedList\0229\n\noperations\030\354\257\377\001 \003(\013" + + "2\".google.cloud.compute.v1.Operation\0229\n\007" + + "warning\030\234\337\226\030 \001(\0132 .google.cloud.compute." + + "v1.WarningH\000\210\001\001B\n\n\010_warning\"\332\006\n\020OutlierD" + + "etection\022E\n\022base_ejection_time\030\207\327\317& \001(\0132", + "!.google.cloud.compute.v1.DurationH\000\210\001\001\022" + + "#\n\022consecutive_errors\030\240\263\320\270\001 \001(\005H\001\210\001\001\022,\n\033" + + "consecutive_gateway_failure\030\372\267\212\307\001 \001(\005H\002\210" + + "\001\001\022,\n\034enforcing_consecutive_errors\030\300\323\320e " + + "\001(\005H\003\210\001\001\0226\n%enforcing_consecutive_gatewa" + + "y_failure\030\332\337\212\274\001 \001(\005H\004\210\001\001\022&\n\026enforcing_su" + + "ccess_rate\030\274\357\337\\ \001(\005H\005\210\001\001\022;\n\010interval\030\305\311\377" + + "\017 \001(\0132!.google.cloud.compute.v1.Duration" + + "H\006\210\001\001\022$\n\024max_ejection_percent\030\230\246\345\010 \001(\005H\007" + + "\210\001\001\022+\n\032success_rate_minimum_hosts\030\367\241\332\372\001 " + + "\001(\005H\010\210\001\001\022,\n\033success_rate_request_volume\030" + + "\315\353\230\206\001 \001(\005H\t\210\001\001\022)\n\031success_rate_stdev_fac" + + "tor\030\235\203\251S \001(\005H\n\210\001\001B\025\n\023_base_ejection_time" + + "B\025\n\023_consecutive_errorsB\036\n\034_consecutive_" + + "gateway_failureB\037\n\035_enforcing_consecutiv" + + "e_errorsB(\n&_enforcing_consecutive_gatew" + + "ay_failureB\031\n\027_enforcing_success_rateB\013\n" + + "\t_intervalB\027\n\025_max_ejection_percentB\035\n\033_" + + "success_rate_minimum_hostsB\036\n\034_success_r" + + "ate_request_volumeB\034\n\032_success_rate_stde" + + "v_factor\"\306\003\n\017PacketIntervals\022\026\n\006avg_ms\030\263" + + "\334\324a \001(\003H\000\210\001\001\022\030\n\010duration\030\224\233\221J \001(\tH\001\210\001\001\022\027" + + "\n\006max_ms\030\341\304\274\374\001 \001(\003H\002\210\001\001\022\027\n\006min_ms\030\263\245\355\377\001 " + + "\001(\003H\003\210\001\001\022\035\n\rnum_intervals\030\325\325\354X \001(\003H\004\210\001\001\022" + + "\024\n\004type\030\272\236\332\001 \001(\tH\005\210\001\001\"g\n\010Duration\022\026\n\022UND" + + "EFINED_DURATION\020\000\022\034\n\024DURATION_UNSPECIFIE" + + "D\020\354\371\243\374\001\022\013\n\004HOUR\020\344\333\207\001\022\t\n\003MAX\020\304\322\004\022\r\n\006MINUT" + + "E\020\224\264\272<\"h\n\004Type\022\022\n\016UNDEFINED_TYPE\020\000\022\020\n\010LO" + + "OPBACK\020\213\223\353\251\001\022\016\n\007RECEIVE\020\303\375\267Z\022\020\n\010TRANSMIT" + + "\020\260\205\373\327\001\022\030\n\020TYPE_UNSPECIFIED\020\222\373\333\320\001B\t\n\007_avg" + + "_msB\013\n\t_durationB\t\n\007_max_msB\t\n\007_min_msB\020" + + "\n\016_num_intervalsB\007\n\005_type\"\272\006\n\017PacketMirr" + + "oring\022Z\n\rcollector_ilb\030\355\211\266\313\001 \001(\0132:.googl" + + "e.cloud.compute.v1.PacketMirroringForwar" + + "dingRuleInfoH\000\210\001\001\022\"\n\022creation_timestamp\030" + + "\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\002" + + "\210\001\001\022\027\n\006enable\030\203\313\324\224\001 \001(\tH\003\210\001\001\022G\n\006filter\030\370" + + "\226\243\240\001 \001(\0132..google.cloud.compute.v1.Packe" + + "tMirroringFilterH\004\210\001\001\022\020\n\002id\030\233\032 \001(\004H\005\210\001\001\022" + + "\024\n\004kind\030\224\367\310\001 \001(\tH\006\210\001\001\022`\n\022mirrored_resour" + + "ces\030\304\237\302; \001(\0132<.google.cloud.compute.v1.P" + + "acketMirroringMirroredResourceInfoH\007\210\001\001\022" + + "\024\n\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022L\n\007network\030\256\264\205o \001(" + + "\01323.google.cloud.compute.v1.PacketMirror" + + "ingNetworkInfoH\t\210\001\001\022\031\n\010priority\030\244\363\241\324\001 \001(" + + "\rH\n\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\013\210\001\001\022\032\n\tself_l" + + "ink\030\215\222\305\331\001 \001(\tH\014\210\001\001\"9\n\006Enable\022\024\n\020UNDEFINE" + + "D_ENABLE\020\000\022\014\n\005FALSE\020\203\302\344\037\022\013\n\004TRUE\020\216\333\235\001B\020\n" + + "\016_collector_ilbB\025\n\023_creation_timestampB\016" + + "\n\014_descriptionB\t\n\007_enableB\t\n\007_filterB\005\n\003" + + "_idB\007\n\005_kindB\025\n\023_mirrored_resourcesB\007\n\005_" + + "nameB\n\n\010_networkB\013\n\t_priorityB\t\n\007_region" + + "B\014\n\n_self_link\"\316\003\n\035PacketMirroringAggreg" + + "atedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022S\n\005items\030\300\317\367/" + + " \003(\0132A.google.cloud.compute.v1.PacketMir" + + "roringAggregatedList.ItemsEntry\022\024\n\004kind\030" + + "\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(" + + "\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014un" + + "reachables\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132" + + " .google.cloud.compute.v1.WarningH\004\210\001\001\032a" + + "\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022B\n\005value\030\002 \001(\013" + + "23.google.cloud.compute.v1.PacketMirrori" + + "ngsScopedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_ne" + + "xt_page_tokenB\014\n\n_self_linkB\n\n\010_warning\"" + + "\306\001\n\025PacketMirroringFilter\022\030\n\rI_p_protoco" + + "ls\030\326\331\376. \003(\t\022\027\n\013cidr_ranges\030\201\224\323\350\001 \003(\t\022\031\n\t" + + "direction\030\377\216\2005 \001(\tH\000\210\001\001\"Q\n\tDirection\022\027\n\023" + + "UNDEFINED_DIRECTION\020\000\022\n\n\004BOTH\020\201\347|\022\016\n\006EGR" + + "ESS\020\365\366\264\316\001\022\017\n\007INGRESS\020\225\375\276\366\001B\014\n\n_direction" + + "\"q\n!PacketMirroringForwardingRuleInfo\022\036\n" + + "\rcanonical_url\030\244\377\243\364\001 \001(\tH\000\210\001\001\022\022\n\003url\030\357\212\007" + + " \001(\tH\001\210\001\001B\020\n\016_canonical_urlB\006\n\004_url\"\257\002\n\023" + + "PacketMirroringList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022:\n" + + "\005items\030\300\317\367/ \003(\0132(.google.cloud.compute.v" + + "1.PacketMirroring\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022" + + "\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself" + + "_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\013" + + "2 .google.cloud.compute.v1.WarningH\004\210\001\001B" + + "\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_" + + "self_linkB\n\n\010_warning\"\367\001\n#PacketMirrorin" + + "gMirroredResourceInfo\022^\n\tinstances\030\376\374\357\r " + + "\003(\0132H.google.cloud.compute.v1.PacketMirr" + + "oringMirroredResourceInfoInstanceInfo\022_\n" + + "\013subnetworks\030\305\324\245\306\001 \003(\0132F.google.cloud.co" + + "mpute.v1.PacketMirroringMirroredResource" + + "InfoSubnetInfo\022\017\n\004tags\030\231\350\330\001 \003(\t\"\177\n/Packe" + + "tMirroringMirroredResourceInfoInstanceIn" + + "fo\022\036\n\rcanonical_url\030\244\377\243\364\001 \001(\tH\000\210\001\001\022\022\n\003ur" + + "l\030\357\212\007 \001(\tH\001\210\001\001B\020\n\016_canonical_urlB\006\n\004_url" + + "\"}\n-PacketMirroringMirroredResourceInfoS" + + "ubnetInfo\022\036\n\rcanonical_url\030\244\377\243\364\001 \001(\tH\000\210\001" + + "\001\022\022\n\003url\030\357\212\007 \001(\tH\001\210\001\001B\020\n\016_canonical_urlB" + + "\006\n\004_url\"j\n\032PacketMirroringNetworkInfo\022\036\n" + + "\rcanonical_url\030\244\377\243\364\001 \001(\tH\000\210\001\001\022\022\n\003url\030\357\212\007" + + " \001(\tH\001\210\001\001B\020\n\016_canonical_urlB\006\n\004_url\"\253\001\n\032" + + "PacketMirroringsScopedList\022F\n\021packet_mir" + + "rorings\030\247\372\334I \003(\0132(.google.cloud.compute." + + "v1.PacketMirroring\0229\n\007warning\030\234\337\226\030 \001(\0132 " + + ".google.cloud.compute.v1.WarningH\000\210\001\001B\n\n" + + "\010_warning\"\371\001\n\026PatchAutoscalerRequest\022\033\n\n" + + "autoscaler\030\327\375\322\366\001 \001(\tH\000\210\001\001\022H\n\023autoscaler_" + + "resource\030\366\360\377b \001(\0132#.google.cloud.compute" + + ".v1.AutoscalerB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB" + + "\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210" + + "\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_auto" + + "scalerB\r\n\013_request_id\"\333\001\n\031PatchBackendBu" + + "cketRequest\022\036\n\016backend_bucket\030\365\343\335+ \001(\tB\003" + + "\340A\002\022P\n\027backend_bucket_resource\030\230\316\307\265\001 \001(\013" + + "2&.google.cloud.compute.v1.BackendBucket" + "B\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project" + "\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request" - + "_id\"\271\001\n\021PatchImageRequest\022\025\n\005image\030\333\322\352/ " - + "\001(\tB\003\340A\002\022?\n\016image_resource\030\362\304\376\260\001 \001(\0132\036.g" - + "oogle.cloud.compute.v1.ImageB\003\340A\002\022!\n\007pro" - + "ject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_" - + "id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\225\002\n Patc" - + "hInstanceGroupManagerRequest\022&\n\026instance" - + "_group_manager\030\303\367\363v \001(\tB\003\340A\002\022^\n\037instance" - + "_group_manager_resource\030\212\212\276| \001(\0132-.googl" - + "e.cloud.compute.v1.InstanceGroupManagerB" - + "\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022" - + "\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001", - " \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\240\002\n\"Patc" - + "hInterconnectAttachmentRequest\022(\n\027interc" - + "onnect_attachment\030\364\212\367\222\001 \001(\tB\003\340A\002\022a\n inte" - + "rconnect_attachment_resource\030\371\244\240e \001(\0132/." - + "google.cloud.compute.v1.InterconnectAtta" - + "chmentB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007p" + + "_id\"\340\001\n\032PatchBackendServiceRequest\022 \n\017ba" + + "ckend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022R\n\030backend_" + + "service_resource\030\243\201\337\245\001 \001(\0132\'.google.clou" + + "d.compute.v1.BackendServiceB\003\340A\002\022!\n\007proj" + + "ect\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_i" + + "d\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\275\001\n\032Patch" + + "FirewallPolicyRequest\022 \n\017firewall_policy" + + "\030\321\212\306\355\001 \001(\tB\003\340A\002\022R\n\030firewall_policy_resou" + + "rce\030\274\266\207\354\001 \001(\0132\'.google.cloud.compute.v1." + + "FirewallPolicyB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001" + + "(\tH\000\210\001\001B\r\n\013_request_id\"\305\001\n\024PatchFirewall" + + "Request\022\031\n\010firewall\030\200\372\325\363\001 \001(\tB\003\340A\002\022D\n\021fi" + + "rewall_resource\030\355\260\340\023 \001(\0132!.google.cloud." + + "compute.v1.FirewallB\003\340A\002\022!\n\007project\030\231\226\301l" + + " \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001" + + "(\tH\000\210\001\001B\r\n\013_request_id\"\201\002\n\032PatchForwardi" + + "ngRuleRequest\022 \n\017forwarding_rule\030\376\245\335\200\001 \001" + + "(\tB\003\340A\002\022R\n\030forwarding_rule_resource\030\257\300\320\217" + + "\001 \001(\0132\'.google.cloud.compute.v1.Forwardi" + + "ngRuleB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007p" + "roject\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022" + "\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_" - + "id\"\325\001\n\030PatchInterconnectRequest\022\034\n\014inter" - + "connect\030\216\311\214k \001(\tB\003\340A\002\022M\n\025interconnect_re" - + "source\030\237\241\314\275\001 \001(\0132%.google.cloud.compute." - + "v1.InterconnectB\003\340A\002\022!\n\007project\030\231\226\301l \001(\t" - + "B\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000" - + "\210\001\001B\r\n\013_request_id\"\213\002\n\035PatchNetworkAttac" - + "hmentRequest\022\"\n\022network_attachment\030\324\227\217k " - + "\001(\tB\003\340A\002\022W\n\033network_attachment_resource\030" - + "\231\360\314d \001(\0132*.google.cloud.compute.v1.Netwo" - + "rkAttachmentB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340" - + "A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006r" - + "egion\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_re" - + "quest_id\"\203\003\n&PatchNetworkEdgeSecuritySer" - + "viceRequest\022-\n\035network_edge_security_ser" - + "vice\030\247\237\357J \001(\tB\003\340A\002\022l\n&network_edge_secur" - + "ity_service_resource\030\246\243\333\343\001 \001(\01323.google." - + "cloud.compute.v1.NetworkEdgeSecurityServ" - + "iceB\003\340A\002\022\025\n\005paths\030\356\301\3402 \001(\tH\000\210\001\001\022!\n\007proje" - + "ct\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240" - + "B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001" - + "(\tH\001\210\001\001\022\034\n\013update_mask\030\242\271\272\356\001 \001(\tH\002\210\001\001B\010\n" - + "\006_pathsB\r\n\013_request_idB\016\n\014_update_mask\"\347" - + "\001\n!PatchNetworkFirewallPolicyRequest\022 \n\017" - + "firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022R\n\030firewa" - + "ll_policy_resource\030\274\266\207\354\001 \001(\0132\'.google.cl" - + "oud.compute.v1.FirewallPolicyB\003\340A\002\022!\n\007pr" - + "oject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest" - + "_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\300\001\n\023Pat" - + "chNetworkRequest\022\027\n\007network\030\256\264\205o \001(\tB\003\340A" - + "\002\022B\n\020network_resource\030\377\335\234: \001(\0132 .google." - + "cloud.compute.v1.NetworkB\003\340A\002\022!\n\007project" - + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313" - + "\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\351\001\n\025PatchNod" - + "eGroupRequest\022\033\n\nnode_group\030\202\374\213\340\001 \001(\tB\003\340" - + "A\002\022H\n\023node_group_resource\030\253\263\372\360\001 \001(\0132\".go" - + "ogle.cloud.compute.v1.NodeGroupB\003\340A\002\022!\n\007" - + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreque" - + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A" - + "\002\362G\004zoneB\r\n\013_request_id\"\204\002\n\033PatchPacketM" - + "irroringRequest\022 \n\020packet_mirroring\030\314\271\321\n" - + " \001(\tB\003\340A\002\022T\n\031packet_mirroring_resource\030\241" - + "\374\250\353\001 \001(\0132(.google.cloud.compute.v1.Packe" - + "tMirroringB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002" - + "\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006reg" - + "ion\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_requ" - + "est_id\"\344\002\n2PatchPerInstanceConfigsInstan" - + "ceGroupManagerRequest\022&\n\026instance_group_" - + "manager\030\303\367\363v \001(\tB\003\340A\002\022\232\001\n?instance_group" - + "_managers_patch_per_instance_configs_req" - + "_resource\030\377\233\210\252\001 \001(\0132H.google.cloud.compu" - + "te.v1.InstanceGroupManagersPatchPerInsta" - + "nceConfigsReqB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r" - + "\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001" - + "\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_reque" - + "st_id\"\357\002\n8PatchPerInstanceConfigsRegionI" - + "nstanceGroupManagerRequest\022&\n\026instance_g" - + "roup_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n\007project\030\231\226" - + "\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\t" - + "B\014\340A\002\362G\006region\022\233\001\n@region_instance_group" - + "_manager_patch_instance_config_req_resou" - + "rce\030\312\315\241^ \001(\0132I.google.cloud.compute.v1.R" - + "egionInstanceGroupManagerPatchInstanceCo" - + "nfigReqB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001" - + "B\r\n\013_request_id\"\201\002\n#PatchPublicAdvertise" - + "dPrefixeRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002" - + "\362G\007project\022(\n\030public_advertised_prefix\030\236" - + "\367\3110 \001(\tB\003\340A\002\022b\n!public_advertised_prefix" - + "_resource\030\217\327\262o \001(\0132/.google.cloud.comput" - + "e.v1.PublicAdvertisedPrefixB\003\340A\002\022\032\n\nrequ" - + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\236\002\n\"" - + "PatchPublicDelegatedPrefixeRequest\022!\n\007pr" - + "oject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\'\n\027public_" - + "delegated_prefix\030\350\334\261a \001(\tB\003\340A\002\022`\n public" - + "_delegated_prefix_resource\030\205\370\330\026 \001(\0132..go" - + "ogle.cloud.compute.v1.PublicDelegatedPre" - + "fixB\003\340A\002\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006regio" - + "n\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_reques" - + "t_id\"\203\002\n\034PatchRegionAutoscalerRequest\022\033\n" - + "\nautoscaler\030\327\375\322\366\001 \001(\tH\000\210\001\001\022H\n\023autoscaler" - + "_resource\030\366\360\377b \001(\0132#.google.cloud.comput" - + "e.v1.AutoscalerB\003\340A\002\022!\n\007project\030\231\226\301l \001(\t" - + "B\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362" - + "G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001B\r\n\013" - + "_autoscalerB\r\n\013_request_id\"\207\002\n PatchRegi" - + "onBackendServiceRequest\022 \n\017backend_servi" - + "ce\030\212\300\256\222\001 \001(\tB\003\340A\002\022R\n\030backend_service_res" - + "ource\030\243\201\337\245\001 \001(\0132\'.google.cloud.compute.v" - + "1.BackendServiceB\003\340A\002\022!\n\007project\030\231\226\301l \001(" - + "\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002" - + "\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n" - + "\013_request_id\"\372\001\n\035PatchRegionHealthCheckR" - + "equest\022\035\n\014health_check\030\345\252\244\223\001 \001(\tB\003\340A\002\022K\n" - + "\025health_check_resource\030\250\303\244` \001(\0132$.google" - + ".cloud.compute.v1.HealthCheckB\003\340A\002\022!\n\007pr" - + "oject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030" - + "\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331" - + "\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\231\002\n$PatchRegio" - + "nHealthCheckServiceRequest\022%\n\024health_che" - + "ck_service\030\333\233\335\302\001 \001(\tB\003\340A\002\022[\n\035health_chec" - + "k_service_resource\030\362\233\320\343\001 \001(\0132+.google.cl" - + "oud.compute.v1.HealthCheckServiceB\003\340A\002\022!" + + "id\"\346\001\n PatchGlobalForwardingRuleRequest\022" + + " \n\017forwarding_rule\030\376\245\335\200\001 \001(\tB\003\340A\002\022R\n\030for" + + "warding_rule_resource\030\257\300\320\217\001 \001(\0132\'.google" + + ".cloud.compute.v1.ForwardingRuleB\003\340A\002\022!\n" + + "\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequ" + + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\203\002\n(" + + "PatchGlobalPublicDelegatedPrefixeRequest" + + "\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\'\n\027p" + + "ublic_delegated_prefix\030\350\334\261a \001(\tB\003\340A\002\022`\n " + + "public_delegated_prefix_resource\030\205\370\330\026 \001(" + + "\0132..google.cloud.compute.v1.PublicDelega" + + "tedPrefixB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" + + "\001\001B\r\n\013_request_id\"\323\001\n\027PatchHealthCheckRe" + + "quest\022\035\n\014health_check\030\345\252\244\223\001 \001(\tB\003\340A\002\022K\n\025" + + "health_check_resource\030\250\303\244` \001(\0132$.google." + + "cloud.compute.v1.HealthCheckB\003\340A\002\022!\n\007pro" + + "ject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_" + + "id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\271\001\n\021Patc" + + "hImageRequest\022\025\n\005image\030\333\322\352/ \001(\tB\003\340A\002\022?\n\016" + + "image_resource\030\362\304\376\260\001 \001(\0132\036.google.cloud." + + "compute.v1.ImageB\003\340A\002\022!\n\007project\030\231\226\301l \001(" + + "\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" + + "\000\210\001\001B\r\n\013_request_id\"\225\002\n PatchInstanceGro" + + "upManagerRequest\022&\n\026instance_group_manag" + + "er\030\303\367\363v \001(\tB\003\340A\002\022^\n\037instance_group_manag" + + "er_resource\030\212\212\276| \001(\0132-.google.cloud.comp" + + "ute.v1.InstanceGroupManagerB\003\340A\002\022!\n\007proj" + + "ect\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_i" + + "d\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004" + + "zoneB\r\n\013_request_id\"\216\002\n\033PatchInstanceSet" + + "tingRequest\022V\n\032instance_settings_resourc" + + "e\030\200\247\316\212\001 \001(\0132).google.cloud.compute.v1.In" + + "stanceSettingsB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB" + + "\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" + + "\001\001\022\034\n\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001\022\033\n\004zone" + + "\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_idB\016\n\014" + + "_update_mask\"\240\002\n\"PatchInterconnectAttach" + + "mentRequest\022(\n\027interconnect_attachment\030\364" + + "\212\367\222\001 \001(\tB\003\340A\002\022a\n interconnect_attachment" + + "_resource\030\371\244\240e \001(\0132/.google.cloud.comput" + + "e.v1.InterconnectAttachmentB\003\340A\002\022!\n\007proj" + + "ect\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315" + + "\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 " + + "\001(\tH\000\210\001\001B\r\n\013_request_id\"\325\001\n\030PatchInterco" + + "nnectRequest\022\034\n\014interconnect\030\216\311\214k \001(\tB\003\340" + + "A\002\022M\n\025interconnect_resource\030\237\241\314\275\001 \001(\0132%." + + "google.cloud.compute.v1.InterconnectB\003\340A" + + "\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\n" + + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"" + + "\213\002\n\035PatchNetworkAttachmentRequest\022\"\n\022net" + + "work_attachment\030\324\227\217k \001(\tB\003\340A\002\022W\n\033network" + + "_attachment_resource\030\231\360\314d \001(\0132*.google.c" + + "loud.compute.v1.NetworkAttachmentB\003\340A\002\022!" + "\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006reg" + "ion\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id" - + "\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\237\002\n&PatchR" - + "egionInstanceGroupManagerRequest\022&\n\026inst" - + "ance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022^\n\037inst" - + "ance_group_manager_resource\030\212\212\276| \001(\0132-.g" - + "oogle.cloud.compute.v1.InstanceGroupMana" - + "gerB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" - + "ect\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" - + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"" - + "\216\002\n\'PatchRegionNetworkFirewallPolicyRequ" - + "est\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022R\n" - + "\030firewall_policy_resource\030\274\266\207\354\001 \001(\0132\'.go" - + "ogle.cloud.compute.v1.FirewallPolicyB\003\340A" + + "\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\203\003\n&PatchN" + + "etworkEdgeSecurityServiceRequest\022-\n\035netw" + + "ork_edge_security_service\030\247\237\357J \001(\tB\003\340A\002\022" + + "l\n&network_edge_security_service_resourc" + + "e\030\246\243\333\343\001 \001(\01323.google.cloud.compute.v1.Ne" + + "tworkEdgeSecurityServiceB\003\340A\002\022\025\n\005paths\030\356" + + "\301\3402 \001(\tH\000\210\001\001\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" + + "project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region" + + "\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\034\n\013update_m" + + "ask\030\242\271\272\356\001 \001(\tH\002\210\001\001B\010\n\006_pathsB\r\n\013_request" + + "_idB\016\n\014_update_mask\"\347\001\n!PatchNetworkFire" + + "wallPolicyRequest\022 \n\017firewall_policy\030\321\212\306" + + "\355\001 \001(\tB\003\340A\002\022R\n\030firewall_policy_resource\030" + + "\274\266\207\354\001 \001(\0132\'.google.cloud.compute.v1.Fire" + + "wallPolicyB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002" + + "\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r" + + "\n\013_request_id\"\300\001\n\023PatchNetworkRequest\022\027\n" + + "\007network\030\256\264\205o \001(\tB\003\340A\002\022B\n\020network_resour" + + "ce\030\377\335\234: \001(\0132 .google.cloud.compute.v1.Ne" + + "tworkB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" + + "oject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_re" + + "quest_id\"\351\001\n\025PatchNodeGroupRequest\022\033\n\nno" + + "de_group\030\202\374\213\340\001 \001(\tB\003\340A\002\022H\n\023node_group_re" + + "source\030\253\263\372\360\001 \001(\0132\".google.cloud.compute." + + "v1.NodeGroupB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340" + + "A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001" + + "\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_reques" + + "t_id\"\204\002\n\033PatchPacketMirroringRequest\022 \n\020" + + "packet_mirroring\030\314\271\321\n \001(\tB\003\340A\002\022T\n\031packet" + + "_mirroring_resource\030\241\374\250\353\001 \001(\0132(.google.c" + + "loud.compute.v1.PacketMirroringB\003\340A\002\022!\n\007" + + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006regio" + + "n\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313" + + "\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\344\002\n2PatchPer" + + "InstanceConfigsInstanceGroupManagerReque" + + "st\022&\n\026instance_group_manager\030\303\367\363v \001(\tB\003\340" + + "A\002\022\232\001\n?instance_group_managers_patch_per" + + "_instance_configs_req_resource\030\377\233\210\252\001 \001(\013" + + "2H.google.cloud.compute.v1.InstanceGroup" + + "ManagersPatchPerInstanceConfigsReqB\003\340A\002\022" + + "!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nre" + + "quest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB" + + "\n\340A\002\362G\004zoneB\r\n\013_request_id\"\357\002\n8PatchPerI" + + "nstanceConfigsRegionInstanceGroupManager" + + "Request\022&\n\026instance_group_manager\030\303\367\363v \001" + + "(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proje" + + "ct\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\233\001\n@" + + "region_instance_group_manager_patch_inst" + + "ance_config_req_resource\030\312\315\241^ \001(\0132I.goog" + + "le.cloud.compute.v1.RegionInstanceGroupM" + + "anagerPatchInstanceConfigReqB\003\340A\002\022\032\n\nreq" + + "uest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\201\002\n" + + "#PatchPublicAdvertisedPrefixeRequest\022!\n\007" + + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022(\n\030publi" + + "c_advertised_prefix\030\236\367\3110 \001(\tB\003\340A\002\022b\n!pub" + + "lic_advertised_prefix_resource\030\217\327\262o \001(\0132" + + "/.google.cloud.compute.v1.PublicAdvertis" + + "edPrefixB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001" + + "\001B\r\n\013_request_id\"\236\002\n\"PatchPublicDelegate" + + "dPrefixeRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002" + + "\362G\007project\022\'\n\027public_delegated_prefix\030\350\334" + + "\261a \001(\tB\003\340A\002\022`\n public_delegated_prefix_r" + + "esource\030\205\370\330\026 \001(\0132..google.cloud.compute." + + "v1.PublicDelegatedPrefixB\003\340A\002\022\037\n\006region\030" + + "\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331" + + "\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\203\002\n\034PatchRegio" + + "nAutoscalerRequest\022\033\n\nautoscaler\030\327\375\322\366\001 \001" + + "(\tH\000\210\001\001\022H\n\023autoscaler_resource\030\366\360\377b \001(\0132" + + "#.google.cloud.compute.v1.AutoscalerB\003\340A" + "\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006" + "region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest" - + "_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\263\002\n Pat" - + "chRegionSecurityPolicyRequest\022!\n\007project" + + "_id\030\313\201\331\021 \001(\tH\001\210\001\001B\r\n\013_autoscalerB\r\n\013_req" + + "uest_id\"\207\002\n PatchRegionBackendServiceReq" + + "uest\022 \n\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022R" + + "\n\030backend_service_resource\030\243\201\337\245\001 \001(\0132\'.g" + + "oogle.cloud.compute.v1.BackendServiceB\003\340" + + "A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n" + + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nreques" + + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\372\001\n\035Pa" + + "tchRegionHealthCheckRequest\022\035\n\014health_ch" + + "eck\030\345\252\244\223\001 \001(\tB\003\340A\002\022K\n\025health_check_resou" + + "rce\030\250\303\244` \001(\0132$.google.cloud.compute.v1.H" + + "ealthCheckB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002" + + "\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006reg" + + "ion\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_requ" + + "est_id\"\231\002\n$PatchRegionHealthCheckService" + + "Request\022%\n\024health_check_service\030\333\233\335\302\001 \001(" + + "\tB\003\340A\002\022[\n\035health_check_service_resource\030" + + "\362\233\320\343\001 \001(\0132+.google.cloud.compute.v1.Heal" + + "thCheckServiceB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB" + + "\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G" + + "\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_" + + "request_id\"\237\002\n&PatchRegionInstanceGroupM" + + "anagerRequest\022&\n\026instance_group_manager\030" + + "\303\367\363v \001(\tB\003\340A\002\022^\n\037instance_group_manager_" + + "resource\030\212\212\276| \001(\0132-.google.cloud.compute" + + ".v1.InstanceGroupManagerB\003\340A\002\022!\n\007project" + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B " + "\001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\t" - + "H\000\210\001\001\022\037\n\017security_policy\030\221\206\312Q \001(\tB\003\340A\002\022Q" - + "\n\030security_policy_resource\030\374\252\211g \001(\0132\'.go" - + "ogle.cloud.compute.v1.SecurityPolicyB\003\340A" - + "\002\022\034\n\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001B\r\n\013_requ" - + "est_idB\016\n\014_update_mask\"\363\001\n\033PatchRegionSs" - + "lPolicyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362" - + "G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006regi" - + "on\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\nssl_po" - + "licy\030\305\375\340\214\001 \001(\tB\003\340A\002\022H\n\023ssl_policy_resour" - + "ce\030\310\210\212\203\001 \001(\0132\".google.cloud.compute.v1.S" - + "slPolicyB\003\340A\002B\r\n\013_request_id\"\220\002\n\"PatchRe" - + "gionTargetHttpsProxyRequest\022!\n\007project\030\231" - + "\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(" - + "\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000" - + "\210\001\001\022\"\n\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002\022" - + "W\n\033target_https_proxy_resource\030\201\255\344\316\001 \001(\013" - + "2).google.cloud.compute.v1.TargetHttpsPr" - + "oxyB\003\340A\002B\r\n\013_request_id\"\346\001\n\030PatchRegionU" - + "rlMapRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" - + "project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region" - + "\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\030\n\007url_map\030" - + "\214\225\201\257\001 \001(\tB\003\340A\002\022A\n\020url_map_resource\030\341\220\267P " - + "\001(\0132\037.google.cloud.compute.v1.UrlMapB\003\340A" - + "\002B\r\n\013_request_id\"\255\002\n\032PatchResourcePolicy" - + "Request\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proje" - + "ct\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nr" - + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\037\n\017resource_poli" - + "cy\030\203\245\367K \001(\tB\003\340A\002\022Q\n\030resource_policy_reso" - + "urce\030\312\214\321$ \001(\0132\'.google.cloud.compute.v1." - + "ResourcePolicyB\003\340A\002\022\034\n\013update_mask\030\242\271\272\356\001" - + " \001(\tH\001\210\001\001B\r\n\013_request_idB\016\n\014_update_mask" - + "\"\335\001\n\022PatchRouterRequest\022!\n\007project\030\231\226\301l " - + "\001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340" - + "A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022" - + "\026\n\006router\030\311\256\356F \001(\tB\003\340A\002\022@\n\017router_resour" - + "ce\030\304\200\202J \001(\0132\037.google.cloud.compute.v1.Ro" - + "uterB\003\340A\002B\r\n\013_request_id\"\361\001\n\036PatchRuleFi" - + "rewallPolicyRequest\022 \n\017firewall_policy\030\321" - + "\212\306\355\001 \001(\tB\003\340A\002\022Z\n\035firewall_policy_rule_re" - + "source\030\203\337\272w \001(\0132+.google.cloud.compute.v" - + "1.FirewallPolicyRuleB\003\340A\002\022\031\n\010priority\030\244\363" - + "\241\324\001 \001(\005H\000\210\001\001\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001" - + "B\013\n\t_priorityB\r\n\013_request_id\"\233\002\n%PatchRu" - + "leNetworkFirewallPolicyRequest\022 \n\017firewa" - + "ll_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022Z\n\035firewall_pol" - + "icy_rule_resource\030\203\337\272w \001(\0132+.google.clou" - + "d.compute.v1.FirewallPolicyRuleB\003\340A\002\022\031\n\010" - + "priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022!\n\007project\030\231\226\301l " - + "\001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(" - + "\tH\001\210\001\001B\013\n\t_priorityB\r\n\013_request_id\"\302\002\n+P" - + "atchRuleRegionNetworkFirewallPolicyReque" - + "st\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022Z\n\035" - + "firewall_policy_rule_resource\030\203\337\272w \001(\0132+" - + ".google.cloud.compute.v1.FirewallPolicyR" - + "uleB\003\340A\002\022\031\n\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022!\n\007p" + + "H\000\210\001\001B\r\n\013_request_id\"\216\002\n\'PatchRegionNetw" + + "orkFirewallPolicyRequest\022 \n\017firewall_pol" + + "icy\030\321\212\306\355\001 \001(\tB\003\340A\002\022R\n\030firewall_policy_re" + + "source\030\274\266\207\354\001 \001(\0132\'.google.cloud.compute." + + "v1.FirewallPolicyB\003\340A\002\022!\n\007project\030\231\226\301l \001" + + "(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A" + + "\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r" + + "\n\013_request_id\"\263\002\n PatchRegionSecurityPol" + + "icyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" + + "oject\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032" + + "\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\037\n\017security_p" + + "olicy\030\221\206\312Q \001(\tB\003\340A\002\022Q\n\030security_policy_r" + + "esource\030\374\252\211g \001(\0132\'.google.cloud.compute." + + "v1.SecurityPolicyB\003\340A\002\022\034\n\013update_mask\030\242\271" + + "\272\356\001 \001(\tH\001\210\001\001B\r\n\013_request_idB\016\n\014_update_m" + + "ask\"\363\001\n\033PatchRegionSslPolicyRequest\022!\n\007p" + "roject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region" + "\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201" - + "\331\021 \001(\tH\001\210\001\001B\013\n\t_priorityB\r\n\013_request_id\"" - + "\357\002\n$PatchRuleRegionSecurityPolicyRequest" - + "\022\031\n\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022!\n\007project\030\231" - + "\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(" - + "\tB\014\340A\002\362G\006region\022\037\n\017security_policy\030\221\206\312Q " - + "\001(\tB\003\340A\002\022[\n\035security_policy_rule_resourc" - + "e\030\303\272\202\300\001 \001(\0132+.google.cloud.compute.v1.Se" - + "curityPolicyRuleB\003\340A\002\022\034\n\013update_mask\030\242\271\272" - + "\356\001 \001(\tH\001\210\001\001\022\035\n\rvalidate_only\030\265\372\337s \001(\010H\002\210" - + "\001\001B\013\n\t_priorityB\016\n\014_update_maskB\020\n\016_vali" - + "date_only\"\310\002\n\036PatchRuleSecurityPolicyReq" - + "uest\022\031\n\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022!\n\007proje" - + "ct\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\017security_p" - + "olicy\030\221\206\312Q \001(\tB\003\340A\002\022[\n\035security_policy_r" - + "ule_resource\030\303\272\202\300\001 \001(\0132+.google.cloud.co" - + "mpute.v1.SecurityPolicyRuleB\003\340A\002\022\034\n\013upda" - + "te_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001\022\035\n\rvalidate_only\030" - + "\265\372\337s \001(\010H\002\210\001\001B\013\n\t_priorityB\016\n\014_update_ma" - + "skB\020\n\016_validate_only\"\214\002\n\032PatchSecurityPo" - + "licyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007p" - + "roject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\037\n\017se" - + "curity_policy\030\221\206\312Q \001(\tB\003\340A\002\022Q\n\030security_" - + "policy_resource\030\374\252\211g \001(\0132\'.google.cloud." - + "compute.v1.SecurityPolicyB\003\340A\002\022\034\n\013update" - + "_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001B\r\n\013_request_idB\016\n\014_" - + "update_mask\"\215\002\n\035PatchServiceAttachmentRe" - + "quest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project" - + "\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nreq" - + "uest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022#\n\022service_attachm" - + "ent\030\355\251\320\241\001 \001(\tB\003\340A\002\022X\n\033service_attachment" - + "_resource\030\240\266\304\341\001 \001(\0132*.google.cloud.compu" - + "te.v1.ServiceAttachmentB\003\340A\002B\r\n\013_request" - + "_id\"\361\001\n\033PatchSnapshotSettingRequest\022!\n\007p" - + "roject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreques" - + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001\022V\n\032snapshot_settings_" - + "resource\030\357\215\306\252\001 \001(\0132).google.cloud.comput" - + "e.v1.SnapshotSettingsB\003\340A\002\022\034\n\013update_mas" - + "k\030\242\271\272\356\001 \001(\tH\001\210\001\001B\r\n\013_request_idB\016\n\014_upda" - + "te_mask\"\314\001\n\025PatchSslPolicyRequest\022!\n\007pro" - + "ject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_" - + "id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\nssl_policy\030\305\375\340\214\001 \001(\t" - + "B\003\340A\002\022H\n\023ssl_policy_resource\030\310\210\212\203\001 \001(\0132\"" - + ".google.cloud.compute.v1.SslPolicyB\003\340A\002B" - + "\r\n\013_request_id\"\260\002\n\026PatchSubnetworkReques" - + "t\022&\n\025drain_timeout_seconds\030\332\332\310\252\001 \001(\005H\000\210\001" - + "\001\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006" - + "region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest" - + "_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n\nsubnetwork\030\356\247\344\222\001 \001(" - + "\tB\003\340A\002\022H\n\023subnetwork_resource\030\277\332\221\024 \001(\0132#" - + ".google.cloud.compute.v1.SubnetworkB\003\340A\002" - + "B\030\n\026_drain_timeout_secondsB\r\n\013_request_i" - + "d\"\345\001\n\033PatchTargetGrpcProxyRequest\022!\n\007pro" - + "ject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_" - + "id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n\021target_grpc_proxy\030\373\264" - + "\262\002 \001(\tB\003\340A\002\022U\n\032target_grpc_proxy_resourc" - + "e\030\322\352\353\234\001 \001(\0132(.google.cloud.compute.v1.Ta" - + "rgetGrpcProxyB\003\340A\002B\r\n\013_request_id\"\344\001\n\033Pa" - + "tchTargetHttpProxyRequest\022!\n\007project\030\231\226\301" - + "l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 " - + "\001(\tH\000\210\001\001\022!\n\021target_http_proxy\030\345\276\322b \001(\tB\003" - + "\340A\002\022T\n\032target_http_proxy_resource\030\250\257\343\013 \001" - + "(\0132(.google.cloud.compute.v1.TargetHttpP" - + "roxyB\003\340A\002B\r\n\013_request_id\"\351\001\n\034PatchTarget" - + "HttpsProxyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340" - + "A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001" - + "\022\"\n\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002\022W\n\033" - + "target_https_proxy_resource\030\201\255\344\316\001 \001(\0132)." - + "google.cloud.compute.v1.TargetHttpsProxy" - + "B\003\340A\002B\r\n\013_request_id\"\277\001\n\022PatchUrlMapRequ" - + "est\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032" - + "\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\030\n\007url_map\030\214\225" - + "\201\257\001 \001(\tB\003\340A\002\022A\n\020url_map_resource\030\341\220\267P \001(" - + "\0132\037.google.cloud.compute.v1.UrlMapB\003\340A\002B" - + "\r\n\013_request_id\"\277\004\n\013PathMatcher\022O\n\024defaul" - + "t_route_action\030\252\264\327\264\001 \001(\0132(.google.cloud." - + "compute.v1.HttpRouteActionH\000\210\001\001\022 \n\017defau" - + "lt_service\030\267\345\305\260\001 \001(\tH\001\210\001\001\022R\n\024default_url" - + "_redirect\030\352\253\266\253\001 \001(\0132+.google.cloud.compu" - + "te.v1.HttpRedirectActionH\002\210\001\001\022\034\n\013descrip" - + "tion\030\374\207\326\311\001 \001(\tH\003\210\001\001\022I\n\rheader_action\030\250\240\270" - + "\234\001 \001(\0132).google.cloud.compute.v1.HttpHea" - + "derActionH\004\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\005\210\001\001\0228\n\n" - + "path_rules\030\335\300\3461 \003(\0132!.google.cloud.compu" - + "te.v1.PathRule\022?\n\013route_rules\030\201\207\267\263\001 \003(\0132" - + "&.google.cloud.compute.v1.HttpRouteRuleB" - + "\027\n\025_default_route_actionB\022\n\020_default_ser" - + "viceB\027\n\025_default_url_redirectB\016\n\014_descri" - + "ptionB\020\n\016_header_actionB\007\n\005_name\"\371\001\n\010Pat" - + "hRule\022\020\n\005paths\030\356\301\3402 \003(\t\022G\n\014route_action\030" - + "\354\251\271\312\001 \001(\0132(.google.cloud.compute.v1.Http" - + "RouteActionH\000\210\001\001\022\030\n\007service\030\265\215\217\262\001 \001(\tH\001\210" - + "\001\001\022J\n\014url_redirect\030\254\241\230\301\001 \001(\0132+.google.cl" - + "oud.compute.v1.HttpRedirectActionH\002\210\001\001B\017" - + "\n\r_route_actionB\n\n\010_serviceB\017\n\r_url_redi" - + "rect\"\363\002\n\021PerInstanceConfig\022\033\n\013fingerprin" - + "t\030\344\321\363o \001(\tH\000\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\001\210\001\001\022H\n" - + "\017preserved_state\030\252\342\240\001 \001(\0132\'.google.cloud" - + ".compute.v1.PreservedStateH\002\210\001\001\022\026\n\006statu" - + "s\030\362\237\267V \001(\tH\003\210\001\001\"\220\001\n\006Status\022\024\n\020UNDEFINED_" - + "STATUS\020\000\022\020\n\010APPLYING\020\264\313\354\247\001\022\020\n\010DELETING\020\250" - + "\247\207\374\001\022\020\n\tEFFECTIVE\020\207\363\270t\022\013\n\004NONE\020\270\316\222\001\022\021\n\tU" - + "NAPPLIED\020\244\207\341\346\001\022\032\n\022UNAPPLIED_DELETION\020\211\264\332" - + "\225\001B\016\n\014_fingerprintB\007\n\005_nameB\022\n\020_preserve" - + "d_stateB\t\n\007_status\"\250\001\n!PerformMaintenanc" - + "eInstanceRequest\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340" - + "A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n" - + "\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001" - + "(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\241\002\n\006Policy" - + "\022?\n\raudit_configs\030\215\272\270\234\001 \003(\0132$.google.clo" - + "ud.compute.v1.AuditConfig\0226\n\010bindings\030\216\305" - + "\244\300\001 \003(\0132 .google.cloud.compute.v1.Bindin" - + "g\022\024\n\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\032\n\tiam_owned\030\273\260\354" - + "\326\001 \001(\010H\001\210\001\001\022/\n\005rules\030\367\221\3653 \003(\0132\035.google.c" - + "loud.compute.v1.Rule\022\030\n\007version\030\330\271\324\247\001 \001(" - + "\005H\002\210\001\001B\007\n\005_etagB\014\n\n_iam_ownedB\n\n\010_versio" - + "n\"]\n\023PreconfiguredWafSet\022F\n\017expression_s" - + "ets\030\230\253\203\342\001 \003(\0132).google.cloud.compute.v1." - + "WafExpressionSet\"\276\005\n\016PreservedState\022D\n\005d" - + "isks\030\366\314\312- \003(\01322.google.cloud.compute.v1." - + "PreservedState.DisksEntry\022S\n\rexternal_i_" - + "ps\030\215\323\200\376\001 \003(\01328.google.cloud.compute.v1.P" - + "reservedState.ExternalIPsEntry\022R\n\rintern" - + "al_i_ps\030\333\233\357f \003(\01328.google.cloud.compute." - + "v1.PreservedState.InternalIPsEntry\022J\n\010me" - + "tadata\030\257\366\265) \003(\01325.google.cloud.compute.v" - + "1.PreservedState.MetadataEntry\032b\n\nDisksE" - + "ntry\022\013\n\003key\030\001 \001(\t\022C\n\005value\030\002 \001(\01324.googl" - + "e.cloud.compute.v1.PreservedStatePreserv" - + "edDisk:\0028\001\032m\n\020ExternalIPsEntry\022\013\n\003key\030\001 " - + "\001(\t\022H\n\005value\030\002 \001(\01329.google.cloud.comput" - + "e.v1.PreservedStatePreservedNetworkIp:\0028" - + "\001\032m\n\020InternalIPsEntry\022\013\n\003key\030\001 \001(\t\022H\n\005va" - + "lue\030\002 \001(\01329.google.cloud.compute.v1.Pres" - + "ervedStatePreservedNetworkIp:\0028\001\032/\n\rMeta" - + "dataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" - + "\001\"\254\002\n\033PreservedStatePreservedDisk\022\034\n\013aut" - + "o_delete\030\273\344\316\335\001 \001(\tH\000\210\001\001\022\024\n\004mode\030\243\363\314\001 \001(\t" - + "H\001\210\001\001\022\026\n\006source\030\233\320\301T \001(\tH\002\210\001\001\"\\\n\nAutoDel" - + "ete\022\031\n\025UNDEFINED_AUTO_DELETE\020\000\022\014\n\005NEVER\020" - + "\354\244\257#\022%\n\036ON_PERMANENT_INSTANCE_DELETION\020\347" - + "\340\322-\"?\n\004Mode\022\022\n\016UNDEFINED_MODE\020\000\022\020\n\tREAD_" - + "ONLY\020\265\231\354+\022\021\n\nREAD_WRITE\020\326\227\344RB\016\n\014_auto_de" - + "leteB\007\n\005_modeB\t\n\007_source\"\236\002\n PreservedSt" - + "atePreservedNetworkIp\022\034\n\013auto_delete\030\273\344\316" - + "\335\001 \001(\tH\000\210\001\001\022_\n\nip_address\030\334\361\334\301\001 \001(\0132B.go" - + "ogle.cloud.compute.v1.PreservedStatePres" - + "ervedNetworkIpIpAddressH\001\210\001\001\"\\\n\nAutoDele" - + "te\022\031\n\025UNDEFINED_AUTO_DELETE\020\000\022\014\n\005NEVER\020\354" - + "\244\257#\022%\n\036ON_PERMANENT_INSTANCE_DELETION\020\347\340" - + "\322-B\016\n\014_auto_deleteB\r\n\013_ip_address\"v\n)Pre" - + "servedStatePreservedNetworkIpIpAddress\022\030" - + "\n\007address\030\364\267\336\334\001 \001(\tH\000\210\001\001\022\027\n\007literal\030\257\301\200W" - + " \001(\tH\001\210\001\001B\n\n\010_addressB\n\n\010_literal\"\241\001\n\024Pr" - + "eviewRouterRequest\022\027\n\007project\030\231\226\301l \001(\tB\003" - + "\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\026\n\006router\030\311\256" - + "\356F \001(\tB\003\340A\002\022@\n\017router_resource\030\304\200\202J \001(\0132" - + "\037.google.cloud.compute.v1.RouterB\003\340A\002\"\352\n" - + "\n\007Project\022 \n\020cloud_armor_tier\030\254\232\216\002 \001(\tH\000" - + "\210\001\001\022K\n\030common_instance_metadata\030\305\374\313X \001(\013" - + "2!.google.cloud.compute.v1.MetadataH\001\210\001\001" - + "\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022%\n\024" - + "default_network_tier\030\221\305\371\340\001 \001(\tH\003\210\001\001\022(\n\027d" - + "efault_service_account\030\245\371\267\216\001 \001(\tH\004\210\001\001\022\034\n" - + "\013description\030\374\207\326\311\001 \001(\tH\005\210\001\001\022\034\n\020enabled_f" - + "eatures\030\373\306\322\337\001 \003(\t\022\020\n\002id\030\233\032 \001(\004H\006\210\001\001\022\024\n\004k" - + "ind\030\224\367\310\001 \001(\tH\007\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022" - + "1\n\006quotas\030\373\241\342; \003(\0132\036.google.cloud.comput" - + "e.v1.Quota\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\t\210\001\001\022T" - + "\n\025usage_export_location\030\302\262\334\245\001 \001(\0132,.goog" - + "le.cloud.compute.v1.UsageExportLocationH" - + "\n\210\001\001\022\036\n\016vm_dns_setting\030\262\247\210\034 \001(\tH\013\210\001\001\022\"\n\022" - + "xpn_project_status\030\301\315\365l \001(\tH\014\210\001\001\"~\n\016Clou" - + "dArmorTier\022\036\n\032UNDEFINED_CLOUD_ARMOR_TIER" - + "\020\000\022\033\n\024CA_ENTERPRISE_ANNUAL\020\334\365\356h\022\033\n\023CA_EN" - + "TERPRISE_PAYGO\020\323\245\241\330\001\022\022\n\013CA_STANDARD\020\376\202\243\006" - + "\"\236\001\n\022DefaultNetworkTier\022\"\n\036UNDEFINED_DEF" - + "AULT_NETWORK_TIER\020\000\022\026\n\016FIXED_STANDARD\020\310\236" - + "\205\224\001\022\017\n\007PREMIUM\020\267\264\301\276\001\022\020\n\010STANDARD\020\275\235\214\347\001\022)" - + "\n!STANDARD_OVERRIDES_FIXED_STANDARD\020\302\207\221\336" - + "\001\"\222\001\n\014VmDnsSetting\022\034\n\030UNDEFINED_VM_DNS_S" - + "ETTING\020\000\022\026\n\016GLOBAL_DEFAULT\020\205\333\332\244\001\022!\n\032UNSP" - + "ECIFIED_VM_DNS_SETTING\020\232\273\202\021\022\025\n\rZONAL_DEF" - + "AULT\020\206\375\331\257\001\022\022\n\nZONAL_ONLY\020\347\272\303\370\001\"i\n\020XpnPro" - + "jectStatus\022 \n\034UNDEFINED_XPN_PROJECT_STAT" - + "US\020\000\022\013\n\004HOST\020\250\333\207\001\022&\n\036UNSPECIFIED_XPN_PRO" - + "JECT_STATUS\020\251\372\247\242\001B\023\n\021_cloud_armor_tierB\033" - + "\n\031_common_instance_metadataB\025\n\023_creation" - + "_timestampB\027\n\025_default_network_tierB\032\n\030_" - + "default_service_accountB\016\n\014_descriptionB" - + "\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\014\n\n_self_linkB\030" - + "\n\026_usage_export_locationB\021\n\017_vm_dns_sett" - + "ingB\025\n\023_xpn_project_status\"z\n!ProjectsDi" - + "sableXpnResourceRequest\022D\n\014xpn_resource\030" - + "\267\223\315? \001(\0132&.google.cloud.compute.v1.XpnRe" - + "sourceIdH\000\210\001\001B\017\n\r_xpn_resource\"y\n Projec" - + "tsEnableXpnResourceRequest\022D\n\014xpn_resour" - + "ce\030\267\223\315? \001(\0132&.google.cloud.compute.v1.Xp" - + "nResourceIdH\000\210\001\001B\017\n\r_xpn_resource\"\253\001\n\027Pr" - + "ojectsGetXpnResources\022\024\n\004kind\030\224\367\310\001 \001(\tH\000" - + "\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\001\210\001\001\022<\n\t" - + "resources\030\245\374\262N \003(\0132&.google.cloud.comput" - + "e.v1.XpnResourceIdB\007\n\005_kindB\022\n\020_next_pag" - + "e_token\"L\n\033ProjectsListXpnHostsRequest\022\034" - + "\n\014organization\030\263\332\2232 \001(\tH\000\210\001\001B\017\n\r_organiz" - + "ation\"\331\001\n ProjectsSetCloudArmorTierReque" - + "st\022 \n\020cloud_armor_tier\030\254\232\216\002 \001(\tH\000\210\001\001\"~\n\016" + + "\331\021 \001(\tH\000\210\001\001\022\033\n\nssl_policy\030\305\375\340\214\001 \001(\tB\003\340A\002" + + "\022H\n\023ssl_policy_resource\030\310\210\212\203\001 \001(\0132\".goog" + + "le.cloud.compute.v1.SslPolicyB\003\340A\002B\r\n\013_r" + + "equest_id\"\220\002\n\"PatchRegionTargetHttpsProx" + + "yRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" + + "ect\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\"\n\022target_https" + + "_proxy\030\354\260\372\030 \001(\tB\003\340A\002\022W\n\033target_https_pro" + + "xy_resource\030\201\255\344\316\001 \001(\0132).google.cloud.com" + + "pute.v1.TargetHttpsProxyB\003\340A\002B\r\n\013_reques" + + "t_id\"\346\001\n\030PatchRegionUrlMapRequest\022!\n\007pro" + + "ject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364" + + "\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021" + + " \001(\tH\000\210\001\001\022\030\n\007url_map\030\214\225\201\257\001 \001(\tB\003\340A\002\022A\n\020u" + + "rl_map_resource\030\341\220\267P \001(\0132\037.google.cloud." + + "compute.v1.UrlMapB\003\340A\002B\r\n\013_request_id\"\255\002" + + "\n\032PatchResourcePolicyRequest\022!\n\007project\030" + + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001" + + "(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" + + "\000\210\001\001\022\037\n\017resource_policy\030\203\245\367K \001(\tB\003\340A\002\022Q\n" + + "\030resource_policy_resource\030\312\214\321$ \001(\0132\'.goo" + + "gle.cloud.compute.v1.ResourcePolicyB\003\340A\002" + + "\022\034\n\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001B\r\n\013_reque" + + "st_idB\016\n\014_update_mask\"\335\001\n\022PatchRouterReq" + + "uest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022" + + "\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequ" + + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\026\n\006router\030\311\256\356F \001(\tB" + + "\003\340A\002\022@\n\017router_resource\030\304\200\202J \001(\0132\037.googl" + + "e.cloud.compute.v1.RouterB\003\340A\002B\r\n\013_reque" + + "st_id\"\361\001\n\036PatchRuleFirewallPolicyRequest" + + "\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022Z\n\035fi" + + "rewall_policy_rule_resource\030\203\337\272w \001(\0132+.g" + + "oogle.cloud.compute.v1.FirewallPolicyRul" + + "eB\003\340A\002\022\031\n\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022\032\n\nreq" + + "uest_id\030\313\201\331\021 \001(\tH\001\210\001\001B\013\n\t_priorityB\r\n\013_r" + + "equest_id\"\233\002\n%PatchRuleNetworkFirewallPo" + + "licyRequest\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\t" + + "B\003\340A\002\022Z\n\035firewall_policy_rule_resource\030\203" + + "\337\272w \001(\0132+.google.cloud.compute.v1.Firewa" + + "llPolicyRuleB\003\340A\002\022\031\n\010priority\030\244\363\241\324\001 \001(\005H" + + "\000\210\001\001\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022" + + "\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001B\013\n\t_priority" + + "B\r\n\013_request_id\"\302\002\n+PatchRuleRegionNetwo" + + "rkFirewallPolicyRequest\022 \n\017firewall_poli" + + "cy\030\321\212\306\355\001 \001(\tB\003\340A\002\022Z\n\035firewall_policy_rul" + + "e_resource\030\203\337\272w \001(\0132+.google.cloud.compu" + + "te.v1.FirewallPolicyRuleB\003\340A\002\022\031\n\010priorit" + + "y\030\244\363\241\324\001 \001(\005H\000\210\001\001\022!\n\007project\030\231\226\301l \001(\tB\r\340A" + + "\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006re" + + "gion\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001B\013\n\t_pri" + + "orityB\r\n\013_request_id\"\357\002\n$PatchRuleRegion" + + "SecurityPolicyRequest\022\031\n\010priority\030\244\363\241\324\001 " + + "\001(\005H\000\210\001\001\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" + + "ect\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\037\n\017" + + "security_policy\030\221\206\312Q \001(\tB\003\340A\002\022[\n\035securit" + + "y_policy_rule_resource\030\303\272\202\300\001 \001(\0132+.googl" + + "e.cloud.compute.v1.SecurityPolicyRuleB\003\340" + + "A\002\022\034\n\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001\022\035\n\rvali" + + "date_only\030\265\372\337s \001(\010H\002\210\001\001B\013\n\t_priorityB\016\n\014" + + "_update_maskB\020\n\016_validate_only\"\310\002\n\036Patch" + + "RuleSecurityPolicyRequest\022\031\n\010priority\030\244\363" + + "\241\324\001 \001(\005H\000\210\001\001\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" + + "project\022\037\n\017security_policy\030\221\206\312Q \001(\tB\003\340A\002" + + "\022[\n\035security_policy_rule_resource\030\303\272\202\300\001 " + + "\001(\0132+.google.cloud.compute.v1.SecurityPo" + + "licyRuleB\003\340A\002\022\034\n\013update_mask\030\242\271\272\356\001 \001(\tH\001" + + "\210\001\001\022\035\n\rvalidate_only\030\265\372\337s \001(\010H\002\210\001\001B\013\n\t_p" + + "riorityB\016\n\014_update_maskB\020\n\016_validate_onl" + + "y\"\214\002\n\032PatchSecurityPolicyRequest\022!\n\007proj" + + "ect\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_i" + + "d\030\313\201\331\021 \001(\tH\000\210\001\001\022\037\n\017security_policy\030\221\206\312Q " + + "\001(\tB\003\340A\002\022Q\n\030security_policy_resource\030\374\252\211" + + "g \001(\0132\'.google.cloud.compute.v1.Security" + + "PolicyB\003\340A\002\022\034\n\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001" + + "\001B\r\n\013_request_idB\016\n\014_update_mask\"\215\002\n\035Pat" + + "chServiceAttachmentRequest\022!\n\007project\030\231\226" + + "\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\t" + + "B\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" + + "\001\001\022#\n\022service_attachment\030\355\251\320\241\001 \001(\tB\003\340A\002\022" + + "X\n\033service_attachment_resource\030\240\266\304\341\001 \001(\013" + + "2*.google.cloud.compute.v1.ServiceAttach" + + "mentB\003\340A\002B\r\n\013_request_id\"\361\001\n\033PatchSnapsh" + + "otSettingRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A" + + "\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022" + + "V\n\032snapshot_settings_resource\030\357\215\306\252\001 \001(\0132" + + ").google.cloud.compute.v1.SnapshotSettin" + + "gsB\003\340A\002\022\034\n\013update_mask\030\242\271\272\356\001 \001(\tH\001\210\001\001B\r\n" + + "\013_request_idB\016\n\014_update_mask\"\314\001\n\025PatchSs" + + "lPolicyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362" + + "G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n" + + "\nssl_policy\030\305\375\340\214\001 \001(\tB\003\340A\002\022H\n\023ssl_policy" + + "_resource\030\310\210\212\203\001 \001(\0132\".google.cloud.compu" + + "te.v1.SslPolicyB\003\340A\002B\r\n\013_request_id\"\260\002\n\026" + + "PatchSubnetworkRequest\022&\n\025drain_timeout_" + + "seconds\030\332\332\310\252\001 \001(\005H\000\210\001\001\022!\n\007project\030\231\226\301l \001", + "(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A" + + "\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033" + + "\n\nsubnetwork\030\356\247\344\222\001 \001(\tB\003\340A\002\022H\n\023subnetwor" + + "k_resource\030\277\332\221\024 \001(\0132#.google.cloud.compu" + + "te.v1.SubnetworkB\003\340A\002B\030\n\026_drain_timeout_" + + "secondsB\r\n\013_request_id\"\345\001\n\033PatchTargetGr" + + "pcProxyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362" + + "G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n" + + "\021target_grpc_proxy\030\373\264\262\002 \001(\tB\003\340A\002\022U\n\032targ" + + "et_grpc_proxy_resource\030\322\352\353\234\001 \001(\0132(.googl" + + "e.cloud.compute.v1.TargetGrpcProxyB\003\340A\002B" + + "\r\n\013_request_id\"\344\001\n\033PatchTargetHttpProxyR" + + "equest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" + + "t\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n\021target_" + + "http_proxy\030\345\276\322b \001(\tB\003\340A\002\022T\n\032target_http_" + + "proxy_resource\030\250\257\343\013 \001(\0132(.google.cloud.c" + + "ompute.v1.TargetHttpProxyB\003\340A\002B\r\n\013_reque" + + "st_id\"\351\001\n\034PatchTargetHttpsProxyRequest\022!" + + "\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreq" + + "uest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\"\n\022target_https_pr" + + "oxy\030\354\260\372\030 \001(\tB\003\340A\002\022W\n\033target_https_proxy_" + + "resource\030\201\255\344\316\001 \001(\0132).google.cloud.comput" + + "e.v1.TargetHttpsProxyB\003\340A\002B\r\n\013_request_i" + + "d\"\277\001\n\022PatchUrlMapRequest\022!\n\007project\030\231\226\301l" + + " \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001" + + "(\tH\000\210\001\001\022\030\n\007url_map\030\214\225\201\257\001 \001(\tB\003\340A\002\022A\n\020url" + + "_map_resource\030\341\220\267P \001(\0132\037.google.cloud.co" + + "mpute.v1.UrlMapB\003\340A\002B\r\n\013_request_id\"\277\004\n\013" + + "PathMatcher\022O\n\024default_route_action\030\252\264\327\264" + + "\001 \001(\0132(.google.cloud.compute.v1.HttpRout" + + "eActionH\000\210\001\001\022 \n\017default_service\030\267\345\305\260\001 \001(" + + "\tH\001\210\001\001\022R\n\024default_url_redirect\030\352\253\266\253\001 \001(\013" + + "2+.google.cloud.compute.v1.HttpRedirectA" + + "ctionH\002\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\003\210\001\001" + + "\022I\n\rheader_action\030\250\240\270\234\001 \001(\0132).google.clo" + + "ud.compute.v1.HttpHeaderActionH\004\210\001\001\022\024\n\004n" + + "ame\030\213\365\315\001 \001(\tH\005\210\001\001\0228\n\npath_rules\030\335\300\3461 \003(\013" + + "2!.google.cloud.compute.v1.PathRule\022?\n\013r" + + "oute_rules\030\201\207\267\263\001 \003(\0132&.google.cloud.comp" + + "ute.v1.HttpRouteRuleB\027\n\025_default_route_a" + + "ctionB\022\n\020_default_serviceB\027\n\025_default_ur" + + "l_redirectB\016\n\014_descriptionB\020\n\016_header_ac" + + "tionB\007\n\005_name\"\371\001\n\010PathRule\022\020\n\005paths\030\356\301\3402" + + " \003(\t\022G\n\014route_action\030\354\251\271\312\001 \001(\0132(.google." + + "cloud.compute.v1.HttpRouteActionH\000\210\001\001\022\030\n" + + "\007service\030\265\215\217\262\001 \001(\tH\001\210\001\001\022J\n\014url_redirect\030" + + "\254\241\230\301\001 \001(\0132+.google.cloud.compute.v1.Http" + + "RedirectActionH\002\210\001\001B\017\n\r_route_actionB\n\n\010" + + "_serviceB\017\n\r_url_redirect\"\363\002\n\021PerInstanc" + + "eConfig\022\033\n\013fingerprint\030\344\321\363o \001(\tH\000\210\001\001\022\024\n\004" + + "name\030\213\365\315\001 \001(\tH\001\210\001\001\022H\n\017preserved_state\030\252\342" + + "\240\001 \001(\0132\'.google.cloud.compute.v1.Preserv" + + "edStateH\002\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\003\210\001\001\"\220\001\n" + + "\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\020\n\010APPLYIN" + + "G\020\264\313\354\247\001\022\020\n\010DELETING\020\250\247\207\374\001\022\020\n\tEFFECTIVE\020\207" + + "\363\270t\022\013\n\004NONE\020\270\316\222\001\022\021\n\tUNAPPLIED\020\244\207\341\346\001\022\032\n\022U" + + "NAPPLIED_DELETION\020\211\264\332\225\001B\016\n\014_fingerprintB" + + "\007\n\005_nameB\022\n\020_preserved_stateB\t\n\007_status\"" + + "\250\001\n!PerformMaintenanceInstanceRequest\022\030\n" + + "\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l " + + "\001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(" + + "\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_" + + "request_id\"\254\002\n\"PerformMaintenanceNodeGro" + + "upRequest\022\033\n\nnode_group\030\202\374\213\340\001 \001(\tB\003\340A\002\022~" + + "\n0node_groups_perform_maintenance_reques" + + "t_resource\030\326\270\256X \001(\0132<.google.cloud.compu" + + "te.v1.NodeGroupsPerformMaintenanceReques" + + "tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" + + "t\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307" + + "\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\241\002\n\006Po" + + "licy\022?\n\raudit_configs\030\215\272\270\234\001 \003(\0132$.google" + + ".cloud.compute.v1.AuditConfig\0226\n\010binding" + + "s\030\216\305\244\300\001 \003(\0132 .google.cloud.compute.v1.Bi" + + "nding\022\024\n\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\032\n\tiam_owned" + + "\030\273\260\354\326\001 \001(\010H\001\210\001\001\022/\n\005rules\030\367\221\3653 \003(\0132\035.goog" + + "le.cloud.compute.v1.Rule\022\030\n\007version\030\330\271\324\247" + + "\001 \001(\005H\002\210\001\001B\007\n\005_etagB\014\n\n_iam_ownedB\n\n\010_ve" + + "rsion\"]\n\023PreconfiguredWafSet\022F\n\017expressi" + + "on_sets\030\230\253\203\342\001 \003(\0132).google.cloud.compute" + + ".v1.WafExpressionSet\"\276\005\n\016PreservedState\022" + + "D\n\005disks\030\366\314\312- \003(\01322.google.cloud.compute" + + ".v1.PreservedState.DisksEntry\022S\n\rexterna" + + "l_i_ps\030\215\323\200\376\001 \003(\01328.google.cloud.compute." + + "v1.PreservedState.ExternalIPsEntry\022R\n\rin" + + "ternal_i_ps\030\333\233\357f \003(\01328.google.cloud.comp" + + "ute.v1.PreservedState.InternalIPsEntry\022J" + + "\n\010metadata\030\257\366\265) \003(\01325.google.cloud.compu" + + "te.v1.PreservedState.MetadataEntry\032b\n\nDi" + + "sksEntry\022\013\n\003key\030\001 \001(\t\022C\n\005value\030\002 \001(\01324.g" + + "oogle.cloud.compute.v1.PreservedStatePre" + + "servedDisk:\0028\001\032m\n\020ExternalIPsEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022H\n\005value\030\002 \001(\01329.google.cloud.co" + + "mpute.v1.PreservedStatePreservedNetworkI" + + "p:\0028\001\032m\n\020InternalIPsEntry\022\013\n\003key\030\001 \001(\t\022H" + + "\n\005value\030\002 \001(\01329.google.cloud.compute.v1." + + "PreservedStatePreservedNetworkIp:\0028\001\032/\n\r" + + "MetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + + "\t:\0028\001\"\254\002\n\033PreservedStatePreservedDisk\022\034\n" + + "\013auto_delete\030\273\344\316\335\001 \001(\tH\000\210\001\001\022\024\n\004mode\030\243\363\314\001" + + " \001(\tH\001\210\001\001\022\026\n\006source\030\233\320\301T \001(\tH\002\210\001\001\"\\\n\nAut" + + "oDelete\022\031\n\025UNDEFINED_AUTO_DELETE\020\000\022\014\n\005NE" + + "VER\020\354\244\257#\022%\n\036ON_PERMANENT_INSTANCE_DELETI" + + "ON\020\347\340\322-\"?\n\004Mode\022\022\n\016UNDEFINED_MODE\020\000\022\020\n\tR" + + "EAD_ONLY\020\265\231\354+\022\021\n\nREAD_WRITE\020\326\227\344RB\016\n\014_aut" + + "o_deleteB\007\n\005_modeB\t\n\007_source\"\236\002\n Preserv" + + "edStatePreservedNetworkIp\022\034\n\013auto_delete" + + "\030\273\344\316\335\001 \001(\tH\000\210\001\001\022_\n\nip_address\030\334\361\334\301\001 \001(\0132" + + "B.google.cloud.compute.v1.PreservedState" + + "PreservedNetworkIpIpAddressH\001\210\001\001\"\\\n\nAuto" + + "Delete\022\031\n\025UNDEFINED_AUTO_DELETE\020\000\022\014\n\005NEV" + + "ER\020\354\244\257#\022%\n\036ON_PERMANENT_INSTANCE_DELETIO" + + "N\020\347\340\322-B\016\n\014_auto_deleteB\r\n\013_ip_address\"v\n" + + ")PreservedStatePreservedNetworkIpIpAddre" + + "ss\022\030\n\007address\030\364\267\336\334\001 \001(\tH\000\210\001\001\022\027\n\007literal\030" + + "\257\301\200W \001(\tH\001\210\001\001B\n\n\010_addressB\n\n\010_literal\"\241\001" + + "\n\024PreviewRouterRequest\022\027\n\007project\030\231\226\301l \001" + + "(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\026\n\006route" + + "r\030\311\256\356F \001(\tB\003\340A\002\022@\n\017router_resource\030\304\200\202J " + + "\001(\0132\037.google.cloud.compute.v1.RouterB\003\340A" + + "\002\"\352\n\n\007Project\022 \n\020cloud_armor_tier\030\254\232\216\002 \001" + + "(\tH\000\210\001\001\022K\n\030common_instance_metadata\030\305\374\313X" + + " \001(\0132!.google.cloud.compute.v1.MetadataH" + + "\001\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001" + + "\022%\n\024default_network_tier\030\221\305\371\340\001 \001(\tH\003\210\001\001\022" + + "(\n\027default_service_account\030\245\371\267\216\001 \001(\tH\004\210\001" + + "\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\005\210\001\001\022\034\n\020enabl" + + "ed_features\030\373\306\322\337\001 \003(\t\022\020\n\002id\030\233\032 \001(\004H\006\210\001\001\022" + + "\024\n\004kind\030\224\367\310\001 \001(\tH\007\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\010" + + "\210\001\001\0221\n\006quotas\030\373\241\342; \003(\0132\036.google.cloud.co" + + "mpute.v1.Quota\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\t\210" + + "\001\001\022T\n\025usage_export_location\030\302\262\334\245\001 \001(\0132,." + + "google.cloud.compute.v1.UsageExportLocat" + + "ionH\n\210\001\001\022\036\n\016vm_dns_setting\030\262\247\210\034 \001(\tH\013\210\001\001" + + "\022\"\n\022xpn_project_status\030\301\315\365l \001(\tH\014\210\001\001\"~\n\016" + "CloudArmorTier\022\036\n\032UNDEFINED_CLOUD_ARMOR_" + "TIER\020\000\022\033\n\024CA_ENTERPRISE_ANNUAL\020\334\365\356h\022\033\n\023C" + "A_ENTERPRISE_PAYGO\020\323\245\241\330\001\022\022\n\013CA_STANDARD\020" - + "\376\202\243\006B\023\n\021_cloud_armor_tier\"\350\001\n$ProjectsSe" - + "tDefaultNetworkTierRequest\022\035\n\014network_ti" - + "er\030\323\272\333\366\001 \001(\tH\000\210\001\001\"\217\001\n\013NetworkTier\022\032\n\026UND" - + "EFINED_NETWORK_TIER\020\000\022\026\n\016FIXED_STANDARD\020" - + "\310\236\205\224\001\022\017\n\007PREMIUM\020\267\264\301\276\001\022\020\n\010STANDARD\020\275\235\214\347\001", - "\022)\n!STANDARD_OVERRIDES_FIXED_STANDARD\020\302\207" - + "\221\336\001B\017\n\r_network_tier\"\226\t\n\026PublicAdvertise" - + "dPrefix\022!\n\021byoip_api_version\030\223\263\311M \001(\tH\000\210" - + "\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034" - + "\n\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022#\n\023dns_veri" - + "fication_ip\030\265\225\366r \001(\tH\003\210\001\001\022\033\n\013fingerprint" - + "\030\344\321\363o \001(\tH\004\210\001\001\022\020\n\002id\030\233\032 \001(\004H\005\210\001\001\022\035\n\rip_c" - + "idr_range\030\312\315\344. \001(\tH\006\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\t" - + "H\007\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022\032\n\tpdp_scope" - + "\030\321\312\376\371\001 \001(\tH\t\210\001\001\022j\n\030public_delegated_pref" - + "ixs\030\213\276\205\313\001 \003(\0132D.google.cloud.compute.v1." - + "PublicAdvertisedPrefixPublicDelegatedPre" - + "fix\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\n\210\001\001\022\036\n\rshare" - + "d_secret\030\312\247\217\266\001 \001(\tH\013\210\001\001\022\026\n\006status\030\362\237\267V \001" - + "(\tH\014\210\001\001\"D\n\017ByoipApiVersion\022\037\n\033UNDEFINED_" - + "BYOIP_API_VERSION\020\000\022\007\n\002V1\020\233\025\022\007\n\002V2\020\234\025\"a\n" - + "\010PdpScope\022\027\n\023UNDEFINED_PDP_SCOPE\020\000\022\016\n\006GL" - + "OBAL\020\243\357\357\353\001\022\033\n\023GLOBAL_AND_REGIONAL\020\303\265\324\227\001\022" - + "\017\n\010REGIONAL\020\237\354\200,\"\251\002\n\006Status\022\024\n\020UNDEFINED" - + "_STATUS\020\000\022\034\n\025ANNOUNCED_TO_INTERNET\020\301\376\350T\022" - + "\017\n\007INITIAL\020\244\306\263\367\001\022%\n\035PREFIX_CONFIGURATION" - + "_COMPLETE\020\317\225\247\345\001\022(\n PREFIX_CONFIGURATION_" - + "IN_PROGRESS\020\261\365\300\264\001\022\"\n\032PREFIX_REMOVAL_IN_P" - + "ROGRESS\020\347\365\314\207\001\022\026\n\016PTR_CONFIGURED\020\317\260\355\364\001\022\030\n" - + "\021READY_TO_ANNOUNCE\020\361\261\351\036\022!\n\031REVERSE_DNS_L" - + "OOKUP_FAILED\020\257\273\203\215\001\022\020\n\tVALIDATED\020\356\263\310\037B\024\n\022" - + "_byoip_api_versionB\025\n\023_creation_timestam" - + "pB\016\n\014_descriptionB\026\n\024_dns_verification_i" - + "pB\016\n\014_fingerprintB\005\n\003_idB\020\n\016_ip_cidr_ran" - + "geB\007\n\005_kindB\007\n\005_nameB\014\n\n_pdp_scopeB\014\n\n_s" - + "elf_linkB\020\n\016_shared_secretB\t\n\007_status\"\275\002" - + "\n\032PublicAdvertisedPrefixList\022\020\n\002id\030\233\032 \001(" - + "\tH\000\210\001\001\022A\n\005items\030\300\317\367/ \003(\0132/.google.cloud." - + "compute.v1.PublicAdvertisedPrefix\022\024\n\004kin" - + "d\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& " - + "\001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007" - + "warning\030\234\337\226\030 \001(\0132 .google.cloud.compute." - + "v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next" - + "_page_tokenB\014\n\n_self_linkB\n\n\010_warning\"\336\001" - + "\n+PublicAdvertisedPrefixPublicDelegatedP" - + "refix\022\030\n\010ip_range\030\245\340\227E \001(\tH\000\210\001\001\022\024\n\004name\030" - + "\213\365\315\001 \001(\tH\001\210\001\001\022\027\n\007project\030\231\226\301l \001(\tH\002\210\001\001\022\026" - + "\n\006region\030\364\315\240B \001(\tH\003\210\001\001\022\026\n\006status\030\362\237\267V \001(" - + "\tH\004\210\001\001B\013\n\t_ip_rangeB\007\n\005_nameB\n\n\010_project" - + "B\t\n\007_regionB\t\n\007_status\"\261\007\n\025PublicDelegat" - + "edPrefix\022!\n\021byoip_api_version\030\223\263\311M \001(\tH\000" - + "\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022" - + "\034\n\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\033\n\013fingerp" - + "rint\030\344\321\363o \001(\tH\003\210\001\001\022\020\n\002id\030\233\032 \001(\004H\004\210\001\001\022\035\n\r" - + "ip_cidr_range\030\312\315\344. \001(\tH\005\210\001\001\022\"\n\021is_live_m" - + "igration\030\360\237\207\364\001 \001(\010H\006\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\t" - + "H\007\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022\035\n\rparent_pr" - + "efix\030\307\347\241\007 \001(\tH\t\210\001\001\022o\n\034public_delegated_s" - + "ub_prefixs\030\214\376\213Z \003(\0132F.google.cloud.compu" - + "te.v1.PublicDelegatedPrefixPublicDelegat" - + "edSubPrefix\022\026\n\006region\030\364\315\240B \001(\tH\n\210\001\001\022\032\n\ts" - + "elf_link\030\215\222\305\331\001 \001(\tH\013\210\001\001\022\026\n\006status\030\362\237\267V \001" - + "(\tH\014\210\001\001\"D\n\017ByoipApiVersion\022\037\n\033UNDEFINED_" - + "BYOIP_API_VERSION\020\000\022\007\n\002V1\020\233\025\022\007\n\002V2\020\234\025\"\256\001" - + "\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\021\n\tANNOUN" - + "CED\020\373\221\214\256\001\022\033\n\023ANNOUNCED_TO_GOOGLE\020\271\264\363\330\001\022\034" - + "\n\025ANNOUNCED_TO_INTERNET\020\301\376\350T\022\020\n\010DELETING" - + "\020\250\247\207\374\001\022\024\n\014INITIALIZING\020\315\330\230\222\001\022\030\n\021READY_TO" - + "_ANNOUNCE\020\361\261\351\036B\024\n\022_byoip_api_versionB\025\n\023" - + "_creation_timestampB\016\n\014_descriptionB\016\n\014_" - + "fingerprintB\005\n\003_idB\020\n\016_ip_cidr_rangeB\024\n\022" - + "_is_live_migrationB\007\n\005_kindB\007\n\005_nameB\020\n\016" - + "_parent_prefixB\t\n\007_regionB\014\n\n_self_linkB" - + "\t\n\007_status\"\341\003\n#PublicDelegatedPrefixAggr" - + "egatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022Y\n\005items\030\300\317" - + "\367/ \003(\0132G.google.cloud.compute.v1.PublicD" - + "elegatedPrefixAggregatedList.ItemsEntry\022" - + "\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token" - + "\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210" - + "\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warning\030\234" - + "\337\226\030 \001(\0132 .google.cloud.compute.v1.Warnin" - + "gH\004\210\001\001\032h\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022I\n\005val" - + "ue\030\002 \001(\0132:.google.cloud.compute.v1.Publi" - + "cDelegatedPrefixesScopedList:\0028\001B\005\n\003_idB" - + "\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_li" - + "nkB\n\n\010_warning\"\273\002\n\031PublicDelegatedPrefix" - + "List\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022@\n\005items\030\300\317\367/ \003(\013" - + "2..google.cloud.compute.v1.PublicDelegat" - + "edPrefix\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_p" - + "age_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305" - + "\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google" - + ".cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n" - + "\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_link" - + "B\n\n\010_warning\"\233\003\n-PublicDelegatedPrefixPu" - + "blicDelegatedSubPrefix\022\"\n\021delegatee_proj" - + "ect\030\332\212\351\305\001 \001(\tH\000\210\001\001\022\034\n\013description\030\374\207\326\311\001 " - + "\001(\tH\001\210\001\001\022\035\n\rip_cidr_range\030\312\315\344. \001(\tH\002\210\001\001\022" - + "\033\n\nis_address\030\337\213\222\250\001 \001(\010H\003\210\001\001\022\024\n\004name\030\213\365\315" - + "\001 \001(\tH\004\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\005\210\001\001\022\026\n\006st" - + "atus\030\362\237\267V \001(\tH\006\210\001\001\"@\n\006Status\022\024\n\020UNDEFINE" - + "D_STATUS\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\020\n\010INACTIVE\020\353" - + "\230\371\200\001B\024\n\022_delegatee_projectB\016\n\014_descripti" - + "onB\020\n\016_ip_cidr_rangeB\r\n\013_is_addressB\007\n\005_" - + "nameB\t\n\007_regionB\t\n\007_status\"\301\001\n!PublicDel" - + "egatedPrefixesScopedList\022U\n\031public_deleg" - + "ated_prefixes\030\226\202\252\226\001 \003(\0132..google.cloud.c" - + "ompute.v1.PublicDelegatedPrefix\0229\n\007warni" - + "ng\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Wa" - + "rningH\000\210\001\001B\n\n\010_warning\"\230\'\n\005Quota\022\025\n\005limi" - + "t\030\273\227\2151 \001(\001H\000\210\001\001\022\027\n\006metric\030\260\353\227\376\001 \001(\tH\001\210\001\001" - + "\022\025\n\005owner\030\263\345\3172 \001(\tH\002\210\001\001\022\025\n\005usage\030\241\373\2315 \001(" - + "\001H\003\210\001\001\"\207&\n\006Metric\022\024\n\020UNDEFINED_METRIC\020\000\022" - + "\016\n\007A2_CPUS\020\271\376\206I\022\026\n\017AFFINITY_GROUPS\020\313\251\3223\022" - + "\023\n\013AUTOSCALERS\020\334\340\332\340\001\022\026\n\017BACKEND_BUCKETS\020" - + "\336\211\320A\022\030\n\020BACKEND_SERVICES\020\311\303\310\200\001\022\020\n\010C2D_CP" - + "US\020\365\377\250\362\001\022\017\n\007C2_CPUS\020\273\353\270\227\001\022\017\n\007C3_CPUS\020\332\234\214" - + "\245\001\022\023\n\013COMMITMENTS\020\336\327\300\331\001\022\030\n\021COMMITTED_A2_" - + "CPUS\020\326\242\245\034\022\032\n\022COMMITTED_C2D_CPUS\020\370\342\323\206\001\022\030\n" - + "\021COMMITTED_C2_CPUS\020\330\217\327j\022\030\n\021COMMITTED_C3_" - + "CPUS\020\367\300\252x\022\026\n\016COMMITTED_CPUS\020\316\255\266\213\001\022\031\n\021COM" - + "MITTED_E2_CPUS\020\332\374\210\271\001\022\032\n\022COMMITTED_LICENS" - + "ES\020\325\313\302\252\001\022$\n\034COMMITTED_LOCAL_SSD_TOTAL_GB" - + "\020\210\354\206\223\001\022\027\n\021COMMITTED_M3_CPUS\020\201\342#\022\'\n\037COMMI" - + "TTED_MEMORY_OPTIMIZED_CPUS\020\336\334\231\351\001\022\031\n\022COMM" - + "ITTED_N2A_CPUS\020\260\252\215\023\022\031\n\022COMMITTED_N2D_CPU" - + "S\020\215\276\207<\022\031\n\021COMMITTED_N2_CPUS\020\243\247\351\231\001\022\'\n\037COM" - + "MITTED_NVIDIA_A100_80GB_GPUS\020\245\237\264\335\001\022\"\n\032CO" - + "MMITTED_NVIDIA_A100_GPUS\020\225\375\230\263\001\022!\n\032COMMIT" - + "TED_NVIDIA_H100_GPUS\020\234\217\225\"\022 \n\031COMMITTED_N" - + "VIDIA_K80_GPUS\020\244\266\353\001\022\037\n\030COMMITTED_NVIDIA_" - + "L4_GPUS\020\375\323\221\t\022!\n\032COMMITTED_NVIDIA_P100_GP" - + "US\020\244\377\2423\022 \n\030COMMITTED_NVIDIA_P4_GPUS\020\201\256\365\245" - + "\001\022\037\n\030COMMITTED_NVIDIA_T4_GPUS\020\205\210\331B\022 \n\032CO" - + "MMITTED_NVIDIA_V100_GPUS\020\252\263\r\022\032\n\022COMMITTE" - + "D_T2A_CPUS\020\352\304\251\215\001\022\032\n\022COMMITTED_T2D_CPUS\020\307" - + "\330\243\266\001\022\030\n\021COMMITTED_Z3_CPUS\020\316\346\347}\022\n\n\004CPUS\020\313" - + "\327~\022\030\n\020CPUS_ALL_REGIONS\020\255\221\306\340\001\022\026\n\016DISKS_TO" - + "TAL_GB\020\237\227\311\250\001\022\017\n\007E2_CPUS\020\275\330\352\345\001\022(\n!EXTERNA" - + "L_MANAGED_FORWARDING_RULES\020\311\277\363G\022,\n$EXTER" - + "NAL_NETWORK_LB_FORWARDING_RULES\020\231\255\275\262\001\022)\n" - + "\"EXTERNAL_PROTOCOL_FORWARDING_RULES\020\350\270\242\036" - + "\022\035\n\025EXTERNAL_VPN_GATEWAYS\020\256\273\365\201\001\022\021\n\tFIREW" - + "ALLS\020\323\346\310\262\001\022\030\n\020FORWARDING_RULES\020\225\202\250\316\001\022/\n(" - + "GLOBAL_EXTERNAL_MANAGED_BACKEND_SERVICES" - + "\020\341\255\274N\0220\n(GLOBAL_EXTERNAL_MANAGED_FORWARD" - + "ING_RULES\020\255\354\233\234\001\0221\n)GLOBAL_EXTERNAL_PROXY" - + "_LB_BACKEND_SERVICES\020\251\331\355\276\001\022 \n\031GLOBAL_INT" - + "ERNAL_ADDRESSES\020\234\305\260\024\022/\n(GLOBAL_INTERNAL_" - + "MANAGED_BACKEND_SERVICES\020\257\220\256z\0229\n1GLOBAL_" - + "INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVIC" - + "ES\020\324\336\241\232\001\022\027\n\020GPUS_ALL_REGIONS\020\251\200\344\022\022\025\n\rHEA" - + "LTH_CHECKS\020\256\257\374\211\001\022\r\n\006IMAGES\020\370\354\265\007\022\020\n\tINSTA" - + "NCES\020\336\234\320>\022\027\n\017INSTANCE_GROUPS\020\276\311\333\251\001\022\036\n\027IN" - + "STANCE_GROUP_MANAGERS\020\260\242\3050\022\031\n\022INSTANCE_T" - + "EMPLATES\020\357\267\355k\022\025\n\rINTERCONNECTS\020\205\213\376\305\001\022*\n#" - + "INTERCONNECT_ATTACHMENTS_PER_REGION\020\326\326\243L" - + "\022+\n#INTERCONNECT_ATTACHMENTS_TOTAL_MBPS\020" - + "\363\272\331\312\001\022\037\n\027INTERCONNECT_TOTAL_GBPS\020\252\361\207\210\001\022\031" - + "\n\022INTERNAL_ADDRESSES\020\200\351\256^\0221\n*INTERNAL_TR" - + "AFFIC_DIRECTOR_FORWARDING_RULES\020\204\351\205\177\022\031\n\022" - + "IN_PLACE_SNAPSHOTS\020\235\235\226H\022\030\n\020IN_USE_ADDRES" - + "SES\020\220\342\337\277\001\022\036\n\027IN_USE_BACKUP_SCHEDULES\020\221\222\321" - + "\017\022!\n\031IN_USE_SNAPSHOT_SCHEDULES\020\223\314\254\334\001\022\032\n\022" - + "LOCAL_SSD_TOTAL_GB\020\305\230\343\235\001\022\016\n\007M1_CPUS\020\246\333\336\021" - + "\022\016\n\007M2_CPUS\020\305\214\262\037\022\016\n\007M3_CPUS\020\344\275\205-\022\026\n\016MACH" - + "INE_IMAGES\020\220\363\221\325\001\022\017\n\010N2A_CPUS\020\255\307\342~\022\020\n\010N2D" - + "_CPUS\020\212\333\334\247\001\022\017\n\007N2_CPUS\020\206\203\313\306\001\022\020\n\010NETWORKS" - + "\020\205\270\277\347\001\022\032\n\023NETWORK_ATTACHMENTS\020\337\375\207G\022\036\n\027NE" - + "TWORK_ENDPOINT_GROUPS\020\215\267\3320\022 \n\031NETWORK_FI" - + "REWALL_POLICIES\020\276\333\2330\022*\n#NET_LB_SECURITY_" - + "POLICIES_PER_REGION\020\255\375\244K\022/\n\'NET_LB_SECUR" - + "ITY_POLICY_RULES_PER_REGION\020\263\210\346\251\001\0229\n1NET" - + "_LB_SECURITY_POLICY_RULE_ATTRIBUTES_PER_" - + "REGION\020\360\350\264\224\001\022\022\n\013NODE_GROUPS\020\261\375\336\013\022\026\n\016NODE" - + "_TEMPLATES\020\234\262\271\342\001\022\035\n\025NVIDIA_A100_80GB_GPU" - + "S\020\310\350\307\210\001\022\030\n\020NVIDIA_A100_GPUS\020\222\200\337\360\001\022\026\n\017NVI" - + "DIA_K80_GPUS\020\207\354\222N\022\026\n\016NVIDIA_L4_GPUS\020\272\315\310\352" - + "\001\022\027\n\020NVIDIA_P100_GPUS\020\241\202\351p\022\033\n\024NVIDIA_P10" - + "0_VWS_GPUS\020\216\335\203f\022\026\n\016NVIDIA_P4_GPUS\020\276\247\254\207\001\022" - + "\032\n\022NVIDIA_P4_VWS_GPUS\020\253\325\364\373\001\022\025\n\016NVIDIA_T4" - + "_GPUS\020\302\201\220$\022\032\n\022NVIDIA_T4_VWS_GPUS\020\257\353\277\230\001\022\027" - + "\n\020NVIDIA_V100_GPUS\020\247\266\323=\022\030\n\021PACKET_MIRROR" - + "INGS\020\247\352\266\007\022(\n!PD_EXTREME_TOTAL_PROVISIONE" - + "D_IOPS\020\355\326\227!\022\027\n\020PREEMPTIBLE_CPUS\020\311\215\343w\022\037\n\030" - + "PREEMPTIBLE_LOCAL_SSD_GB\020\210\223\257|\022(\n!PREEMPT" - + "IBLE_NVIDIA_A100_80GB_GPUS\020\212\352\271H\022#\n\034PREEM" - + "PTIBLE_NVIDIA_A100_GPUS\020\220\234\351 \022$\n\034PREEMPTI" - + "BLE_NVIDIA_H100_GPUS\020\227\256\345\217\001\022#\n\033PREEMPTIBL" - + "E_NVIDIA_K80_GPUS\020\311\340\345\262\001\022!\n\032PREEMPTIBLE_N" - + "VIDIA_L4_GPUS\020\270\270\360/\022$\n\034PREEMPTIBLE_NVIDIA" - + "_P100_GPUS\020\237\236\363\240\001\022(\n PREEMPTIBLE_NVIDIA_P" - + "100_VWS_GPUS\020\214\233\301\225\001\022\"\n\032PREEMPTIBLE_NVIDIA" - + "_P4_GPUS\020\274\222\324\314\001\022%\n\036PREEMPTIBLE_NVIDIA_P4_" - + "VWS_GPUS\020\251\342\320x\022!\n\032PREEMPTIBLE_NVIDIA_T4_G" - + "PUS\020\300\354\267i\022%\n\036PREEMPTIBLE_NVIDIA_T4_VWS_GP" - + "US\020\255\370\233\025\022#\n\034PREEMPTIBLE_NVIDIA_V100_GPUS\020" - + "\245\322\335m\022%\n\036PREEMPTIBLE_TPU_LITE_DEVICE_V5\020\373" - + "\221\214S\022\'\n PREEMPTIBLE_TPU_LITE_PODSLICE_V5\020" - + "\304\221\3055\022#\n\033PREEMPTIBLE_TPU_PODSLICE_V4\020\214\374\364\312" - + "\001\022=\n6PSC_ILB_CONSUMER_FORWARDING_RULES_P" - + "ER_PRODUCER_NETWORK\020\203\223\235n\022\'\n PSC_INTERNAL" - + "_LB_FORWARDING_RULES\020\373\242\313P\022\"\n\032PUBLIC_ADVE" - + "RTISED_PREFIXES\020\314\241\342\340\001\022!\n\031PUBLIC_DELEGATE" - + "D_PREFIXES\020\266\222\363\375\001\022\033\n\024REGIONAL_AUTOSCALERS" - + "\020\274\234\200\016\0221\n*REGIONAL_EXTERNAL_MANAGED_BACKE" - + "ND_SERVICES\020\335\354\202\002\0225\n-REGIONAL_EXTERNAL_NE" - + "TWORK_LB_BACKEND_SERVICES\020\355\352\245\303\001\022\'\n REGIO" - + "NAL_INSTANCE_GROUP_MANAGERS\020\220\276\363\021\022,\n%REGI" - + "ONAL_INTERNAL_LB_BACKEND_SERVICES\020\220\356\345A\0221" - + "\n*REGIONAL_INTERNAL_MANAGED_BACKEND_SERV" - + "ICES\020\253\317\364-\022\023\n\014RESERVATIONS\020\247\274\310\017\022\030\n\021RESOUR" - + "CE_POLICIES\020\341\234\204(\022\017\n\007ROUTERS\020\252\274\213\353\001\022\016\n\006ROU" - + "TES\020\312\226\272\203\001\022\030\n\021SECURITY_POLICIES\020\357\246\257Z\022#\n\034S" - + "ECURITY_POLICIES_PER_REGION\020\306\246\340v\0221\n)SECU" - + "RITY_POLICY_ADVANCED_RULES_PER_REGION\020\255\347" - + "\245\261\001\022#\n\033SECURITY_POLICY_CEVAL_RULES\020\311\247\300\340\001" - + "\022\034\n\025SECURITY_POLICY_RULES\020\251\324\207a\022\'\n SECURI" - + "TY_POLICY_RULES_PER_REGION\020\314\310\251<\022\033\n\023SERVI" - + "CE_ATTACHMENTS\020\346\261\353\340\001\022\021\n\tSNAPSHOTS\020\217\346\337\243\001\022" - + "\023\n\014SSD_TOTAL_GB\020\321\257\217M\022\030\n\020SSL_CERTIFICATES" - + "\020\257\202\266\264\001\022\027\n\020STATIC_ADDRESSES\020\361\255\322,\022\036\n\026STATI" + + "\376\202\243\006\"\236\001\n\022DefaultNetworkTier\022\"\n\036UNDEFINED" + + "_DEFAULT_NETWORK_TIER\020\000\022\026\n\016FIXED_STANDAR" + + "D\020\310\236\205\224\001\022\017\n\007PREMIUM\020\267\264\301\276\001\022\020\n\010STANDARD\020\275\235\214" + + "\347\001\022)\n!STANDARD_OVERRIDES_FIXED_STANDARD\020" + + "\302\207\221\336\001\"\222\001\n\014VmDnsSetting\022\034\n\030UNDEFINED_VM_D" + + "NS_SETTING\020\000\022\026\n\016GLOBAL_DEFAULT\020\205\333\332\244\001\022!\n\032" + + "UNSPECIFIED_VM_DNS_SETTING\020\232\273\202\021\022\025\n\rZONAL" + + "_DEFAULT\020\206\375\331\257\001\022\022\n\nZONAL_ONLY\020\347\272\303\370\001\"i\n\020Xp" + + "nProjectStatus\022 \n\034UNDEFINED_XPN_PROJECT_" + + "STATUS\020\000\022\013\n\004HOST\020\250\333\207\001\022&\n\036UNSPECIFIED_XPN" + + "_PROJECT_STATUS\020\251\372\247\242\001B\023\n\021_cloud_armor_ti" + + "erB\033\n\031_common_instance_metadataB\025\n\023_crea" + + "tion_timestampB\027\n\025_default_network_tierB" + + "\032\n\030_default_service_accountB\016\n\014_descript" + + "ionB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\014\n\n_self_li" + + "nkB\030\n\026_usage_export_locationB\021\n\017_vm_dns_" + + "settingB\025\n\023_xpn_project_status\"z\n!Projec" + + "tsDisableXpnResourceRequest\022D\n\014xpn_resou" + + "rce\030\267\223\315? \001(\0132&.google.cloud.compute.v1.X" + + "pnResourceIdH\000\210\001\001B\017\n\r_xpn_resource\"y\n Pr" + + "ojectsEnableXpnResourceRequest\022D\n\014xpn_re" + + "source\030\267\223\315? \001(\0132&.google.cloud.compute.v" + + "1.XpnResourceIdH\000\210\001\001B\017\n\r_xpn_resource\"\253\001" + + "\n\027ProjectsGetXpnResources\022\024\n\004kind\030\224\367\310\001 \001" + + "(\tH\000\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\001\210\001\001" + + "\022<\n\tresources\030\245\374\262N \003(\0132&.google.cloud.co" + + "mpute.v1.XpnResourceIdB\007\n\005_kindB\022\n\020_next" + + "_page_token\"L\n\033ProjectsListXpnHostsReque" + + "st\022\034\n\014organization\030\263\332\2232 \001(\tH\000\210\001\001B\017\n\r_org" + + "anization\"\331\001\n ProjectsSetCloudArmorTierR" + + "equest\022 \n\020cloud_armor_tier\030\254\232\216\002 \001(\tH\000\210\001\001" + + "\"~\n\016CloudArmorTier\022\036\n\032UNDEFINED_CLOUD_AR" + + "MOR_TIER\020\000\022\033\n\024CA_ENTERPRISE_ANNUAL\020\334\365\356h\022" + + "\033\n\023CA_ENTERPRISE_PAYGO\020\323\245\241\330\001\022\022\n\013CA_STAND" + + "ARD\020\376\202\243\006B\023\n\021_cloud_armor_tier\"\350\001\n$Projec" + + "tsSetDefaultNetworkTierRequest\022\035\n\014networ" + + "k_tier\030\323\272\333\366\001 \001(\tH\000\210\001\001\"\217\001\n\013NetworkTier\022\032\n" + + "\026UNDEFINED_NETWORK_TIER\020\000\022\026\n\016FIXED_STAND" + + "ARD\020\310\236\205\224\001\022\017\n\007PREMIUM\020\267\264\301\276\001\022\020\n\010STANDARD\020\275" + + "\235\214\347\001\022)\n!STANDARD_OVERRIDES_FIXED_STANDAR" + + "D\020\302\207\221\336\001B\017\n\r_network_tier\"\226\t\n\026PublicAdver" + + "tisedPrefix\022!\n\021byoip_api_version\030\223\263\311M \001(" + + "\tH\000\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210" + + "\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022#\n\023dns_" + + "verification_ip\030\265\225\366r \001(\tH\003\210\001\001\022\033\n\013fingerp" + + "rint\030\344\321\363o \001(\tH\004\210\001\001\022\020\n\002id\030\233\032 \001(\004H\005\210\001\001\022\035\n\r" + + "ip_cidr_range\030\312\315\344. \001(\tH\006\210\001\001\022\024\n\004kind\030\224\367\310\001" + + " \001(\tH\007\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022\032\n\tpdp_s" + + "cope\030\321\312\376\371\001 \001(\tH\t\210\001\001\022j\n\030public_delegated_" + + "prefixs\030\213\276\205\313\001 \003(\0132D.google.cloud.compute" + + ".v1.PublicAdvertisedPrefixPublicDelegate" + + "dPrefix\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\n\210\001\001\022\036\n\rs" + + "hared_secret\030\312\247\217\266\001 \001(\tH\013\210\001\001\022\026\n\006status\030\362\237" + + "\267V \001(\tH\014\210\001\001\"D\n\017ByoipApiVersion\022\037\n\033UNDEFI" + + "NED_BYOIP_API_VERSION\020\000\022\007\n\002V1\020\233\025\022\007\n\002V2\020\234" + + "\025\"a\n\010PdpScope\022\027\n\023UNDEFINED_PDP_SCOPE\020\000\022\016" + + "\n\006GLOBAL\020\243\357\357\353\001\022\033\n\023GLOBAL_AND_REGIONAL\020\303\265" + + "\324\227\001\022\017\n\010REGIONAL\020\237\354\200,\"\251\002\n\006Status\022\024\n\020UNDEF" + + "INED_STATUS\020\000\022\034\n\025ANNOUNCED_TO_INTERNET\020\301" + + "\376\350T\022\017\n\007INITIAL\020\244\306\263\367\001\022%\n\035PREFIX_CONFIGURA" + + "TION_COMPLETE\020\317\225\247\345\001\022(\n PREFIX_CONFIGURAT" + + "ION_IN_PROGRESS\020\261\365\300\264\001\022\"\n\032PREFIX_REMOVAL_" + + "IN_PROGRESS\020\347\365\314\207\001\022\026\n\016PTR_CONFIGURED\020\317\260\355\364" + + "\001\022\030\n\021READY_TO_ANNOUNCE\020\361\261\351\036\022!\n\031REVERSE_D" + + "NS_LOOKUP_FAILED\020\257\273\203\215\001\022\020\n\tVALIDATED\020\356\263\310\037" + + "B\024\n\022_byoip_api_versionB\025\n\023_creation_time" + + "stampB\016\n\014_descriptionB\026\n\024_dns_verificati" + + "on_ipB\016\n\014_fingerprintB\005\n\003_idB\020\n\016_ip_cidr" + + "_rangeB\007\n\005_kindB\007\n\005_nameB\014\n\n_pdp_scopeB\014" + + "\n\n_self_linkB\020\n\016_shared_secretB\t\n\007_statu" + + "s\"\275\002\n\032PublicAdvertisedPrefixList\022\020\n\002id\030\233" + + "\032 \001(\tH\000\210\001\001\022A\n\005items\030\300\317\367/ \003(\0132/.google.cl" + + "oud.compute.v1.PublicAdvertisedPrefix\022\024\n" + + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225" + + "\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001" + + "\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comp" + + "ute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_" + + "next_page_tokenB\014\n\n_self_linkB\n\n\010_warnin" + + "g\"\336\001\n+PublicAdvertisedPrefixPublicDelega" + + "tedPrefix\022\030\n\010ip_range\030\245\340\227E \001(\tH\000\210\001\001\022\024\n\004n" + + "ame\030\213\365\315\001 \001(\tH\001\210\001\001\022\027\n\007project\030\231\226\301l \001(\tH\002\210" + + "\001\001\022\026\n\006region\030\364\315\240B \001(\tH\003\210\001\001\022\026\n\006status\030\362\237\267" + + "V \001(\tH\004\210\001\001B\013\n\t_ip_rangeB\007\n\005_nameB\n\n\010_pro" + + "jectB\t\n\007_regionB\t\n\007_status\"\370\010\n\025PublicDel" + + "egatedPrefix\022)\n\031allocatable_prefix_lengt" + + "h\030\266\266\251\022 \001(\005H\000\210\001\001\022!\n\021byoip_api_version\030\223\263\311" + + "M \001(\tH\001\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(" + + "\tH\002\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\003\210\001\001\022\033\n\013" + + "fingerprint\030\344\321\363o \001(\tH\004\210\001\001\022\020\n\002id\030\233\032 \001(\004H\005" + + "\210\001\001\022\035\n\rip_cidr_range\030\312\315\344. \001(\tH\006\210\001\001\022\"\n\021is" + + "_live_migration\030\360\237\207\364\001 \001(\010H\007\210\001\001\022\024\n\004kind\030\224" + + "\367\310\001 \001(\tH\010\210\001\001\022\024\n\004mode\030\243\363\314\001 \001(\tH\t\210\001\001\022\024\n\004na" + + "me\030\213\365\315\001 \001(\tH\n\210\001\001\022\035\n\rparent_prefix\030\307\347\241\007 \001" + + "(\tH\013\210\001\001\022o\n\034public_delegated_sub_prefixs\030" + + "\214\376\213Z \003(\0132F.google.cloud.compute.v1.Publi" + + "cDelegatedPrefixPublicDelegatedSubPrefix" + + "\022\026\n\006region\030\364\315\240B \001(\tH\014\210\001\001\022\032\n\tself_link\030\215\222" + + "\305\331\001 \001(\tH\r\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\016\210\001\001\"D\n\017" + + "ByoipApiVersion\022\037\n\033UNDEFINED_BYOIP_API_V" + + "ERSION\020\000\022\007\n\002V1\020\233\025\022\007\n\002V2\020\234\025\"]\n\004Mode\022\022\n\016UN" + + "DEFINED_MODE\020\000\022\021\n\nDELEGATION\020\250\262\372}\022.\n&EXT" + + "ERNAL_IPV6_FORWARDING_RULE_CREATION\020\304\341\215\276" + + "\001\"\256\001\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\021\n\tAN" + + "NOUNCED\020\373\221\214\256\001\022\033\n\023ANNOUNCED_TO_GOOGLE\020\271\264\363" + + "\330\001\022\034\n\025ANNOUNCED_TO_INTERNET\020\301\376\350T\022\020\n\010DELE" + + "TING\020\250\247\207\374\001\022\024\n\014INITIALIZING\020\315\330\230\222\001\022\030\n\021READ" + + "Y_TO_ANNOUNCE\020\361\261\351\036B\034\n\032_allocatable_prefi" + + "x_lengthB\024\n\022_byoip_api_versionB\025\n\023_creat" + + "ion_timestampB\016\n\014_descriptionB\016\n\014_finger" + + "printB\005\n\003_idB\020\n\016_ip_cidr_rangeB\024\n\022_is_li" + + "ve_migrationB\007\n\005_kindB\007\n\005_modeB\007\n\005_nameB" + + "\020\n\016_parent_prefixB\t\n\007_regionB\014\n\n_self_li" + + "nkB\t\n\007_status\"\341\003\n#PublicDelegatedPrefixA" + + "ggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022Y\n\005items" + + "\030\300\317\367/ \003(\0132G.google.cloud.compute.v1.Publ" + + "icDelegatedPrefixAggregatedList.ItemsEnt" + + "ry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_to" + + "ken\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\t" + + "H\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warnin" + + "g\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.War" + + "ningH\004\210\001\001\032h\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022I\n\005" + + "value\030\002 \001(\0132:.google.cloud.compute.v1.Pu" + + "blicDelegatedPrefixesScopedList:\0028\001B\005\n\003_" + + "idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self" + + "_linkB\n\n\010_warning\"\273\002\n\031PublicDelegatedPre" + + "fixList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022@\n\005items\030\300\317\367/ " + + "\003(\0132..google.cloud.compute.v1.PublicDele" + + "gatedPrefix\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017nex" + + "t_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030" + + "\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .goo" + + "gle.cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_id" + + "B\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_l" + + "inkB\n\n\010_warning\"\342\004\n-PublicDelegatedPrefi" + + "xPublicDelegatedSubPrefix\022)\n\031allocatable" + + "_prefix_length\030\266\266\251\022 \001(\005H\000\210\001\001\022\"\n\021delegate" + + "e_project\030\332\212\351\305\001 \001(\tH\001\210\001\001\022\034\n\013description\030" + + "\374\207\326\311\001 \001(\tH\002\210\001\001\022\035\n\rip_cidr_range\030\312\315\344. \001(\t" + + "H\003\210\001\001\022\033\n\nis_address\030\337\213\222\250\001 \001(\010H\004\210\001\001\022\024\n\004mo" + + "de\030\243\363\314\001 \001(\tH\005\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022\026" + + "\n\006region\030\364\315\240B \001(\tH\007\210\001\001\022\026\n\006status\030\362\237\267V \001(" + + "\tH\010\210\001\001\"]\n\004Mode\022\022\n\016UNDEFINED_MODE\020\000\022\021\n\nDE" + + "LEGATION\020\250\262\372}\022.\n&EXTERNAL_IPV6_FORWARDIN" + + "G_RULE_CREATION\020\304\341\215\276\001\"@\n\006Status\022\024\n\020UNDEF" + + "INED_STATUS\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\020\n\010INACTIV" + + "E\020\353\230\371\200\001B\034\n\032_allocatable_prefix_lengthB\024\n" + + "\022_delegatee_projectB\016\n\014_descriptionB\020\n\016_" + + "ip_cidr_rangeB\r\n\013_is_addressB\007\n\005_modeB\007\n" + + "\005_nameB\t\n\007_regionB\t\n\007_status\"\301\001\n!PublicD" + + "elegatedPrefixesScopedList\022U\n\031public_del" + + "egated_prefixes\030\226\202\252\226\001 \003(\0132..google.cloud" + + ".compute.v1.PublicDelegatedPrefix\0229\n\007war" + + "ning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1." + + "WarningH\000\210\001\001B\n\n\010_warning\"\266(\n\005Quota\022\025\n\005li" + + "mit\030\273\227\2151 \001(\001H\000\210\001\001\022\027\n\006metric\030\260\353\227\376\001 \001(\tH\001\210" + + "\001\001\022\025\n\005owner\030\263\345\3172 \001(\tH\002\210\001\001\022\025\n\005usage\030\241\373\2315 " + + "\001(\001H\003\210\001\001\"\245\'\n\006Metric\022\024\n\020UNDEFINED_METRIC\020" + + "\000\022\016\n\007A2_CPUS\020\271\376\206I\022\026\n\017AFFINITY_GROUPS\020\313\251\322" + + "3\022\023\n\013AUTOSCALERS\020\334\340\332\340\001\022\026\n\017BACKEND_BUCKET" + + "S\020\336\211\320A\022\030\n\020BACKEND_SERVICES\020\311\303\310\200\001\022\020\n\010C2D_" + + "CPUS\020\365\377\250\362\001\022\017\n\007C2_CPUS\020\273\353\270\227\001\022\017\n\007C3_CPUS\020\332" + + "\234\214\245\001\022\023\n\013COMMITMENTS\020\336\327\300\331\001\022\030\n\021COMMITTED_A" + + "2_CPUS\020\326\242\245\034\022\032\n\022COMMITTED_C2D_CPUS\020\370\342\323\206\001\022" + + "\030\n\021COMMITTED_C2_CPUS\020\330\217\327j\022\030\n\021COMMITTED_C" + + "3_CPUS\020\367\300\252x\022\026\n\016COMMITTED_CPUS\020\316\255\266\213\001\022\031\n\021C" + + "OMMITTED_E2_CPUS\020\332\374\210\271\001\022\032\n\022COMMITTED_LICE" + + "NSES\020\325\313\302\252\001\022$\n\034COMMITTED_LOCAL_SSD_TOTAL_" + + "GB\020\210\354\206\223\001\022\027\n\021COMMITTED_M3_CPUS\020\201\342#\022\'\n\037COM" + + "MITTED_MEMORY_OPTIMIZED_CPUS\020\336\334\231\351\001\022\031\n\022CO" + + "MMITTED_N2A_CPUS\020\260\252\215\023\022\031\n\022COMMITTED_N2D_C" + + "PUS\020\215\276\207<\022\031\n\021COMMITTED_N2_CPUS\020\243\247\351\231\001\022\'\n\037C" + + "OMMITTED_NVIDIA_A100_80GB_GPUS\020\245\237\264\335\001\022\"\n\032" + + "COMMITTED_NVIDIA_A100_GPUS\020\225\375\230\263\001\022!\n\032COMM" + + "ITTED_NVIDIA_H100_GPUS\020\234\217\225\"\022 \n\031COMMITTED" + + "_NVIDIA_K80_GPUS\020\244\266\353\001\022\037\n\030COMMITTED_NVIDI" + + "A_L4_GPUS\020\375\323\221\t\022!\n\032COMMITTED_NVIDIA_P100_" + + "GPUS\020\244\377\2423\022 \n\030COMMITTED_NVIDIA_P4_GPUS\020\201\256" + + "\365\245\001\022\037\n\030COMMITTED_NVIDIA_T4_GPUS\020\205\210\331B\022 \n\032" + + "COMMITTED_NVIDIA_V100_GPUS\020\252\263\r\022\032\n\022COMMIT" + + "TED_T2A_CPUS\020\352\304\251\215\001\022\032\n\022COMMITTED_T2D_CPUS" + + "\020\307\330\243\266\001\022\030\n\021COMMITTED_Z3_CPUS\020\316\346\347}\022\n\n\004CPUS" + + "\020\313\327~\022\030\n\020CPUS_ALL_REGIONS\020\255\221\306\340\001\022\026\n\016DISKS_" + + "TOTAL_GB\020\237\227\311\250\001\022\017\n\007E2_CPUS\020\275\330\352\345\001\022(\n!EXTER" + + "NAL_MANAGED_FORWARDING_RULES\020\311\277\363G\022,\n$EXT" + + "ERNAL_NETWORK_LB_FORWARDING_RULES\020\231\255\275\262\001\022" + + ")\n\"EXTERNAL_PROTOCOL_FORWARDING_RULES\020\350\270" + + "\242\036\022\035\n\025EXTERNAL_VPN_GATEWAYS\020\256\273\365\201\001\022\021\n\tFIR" + + "EWALLS\020\323\346\310\262\001\022\030\n\020FORWARDING_RULES\020\225\202\250\316\001\022/" + + "\n(GLOBAL_EXTERNAL_MANAGED_BACKEND_SERVIC" + + "ES\020\341\255\274N\0220\n(GLOBAL_EXTERNAL_MANAGED_FORWA" + + "RDING_RULES\020\255\354\233\234\001\0221\n)GLOBAL_EXTERNAL_PRO" + + "XY_LB_BACKEND_SERVICES\020\251\331\355\276\001\022 \n\031GLOBAL_I" + + "NTERNAL_ADDRESSES\020\234\305\260\024\022/\n(GLOBAL_INTERNA" + + "L_MANAGED_BACKEND_SERVICES\020\257\220\256z\0229\n1GLOBA" + + "L_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERV" + + "ICES\020\324\336\241\232\001\022\027\n\020GPUS_ALL_REGIONS\020\251\200\344\022\022\024\n\014H" + + "DB_TOTAL_GB\020\257\302\241\230\001\022\026\n\016HDB_TOTAL_IOPS\020\375\351\327\223" + + "\001\022\033\n\024HDB_TOTAL_THROUGHPUT\020\376\314\200\n\022\025\n\rHEALTH" + + "_CHECKS\020\256\257\374\211\001\022\r\n\006IMAGES\020\370\354\265\007\022\020\n\tINSTANCE" + + "S\020\336\234\320>\022\027\n\017INSTANCE_GROUPS\020\276\311\333\251\001\022\036\n\027INSTA" + + "NCE_GROUP_MANAGERS\020\260\242\3050\022\031\n\022INSTANCE_TEMP" + + "LATES\020\357\267\355k\022\025\n\rINTERCONNECTS\020\205\213\376\305\001\022*\n#INT" + + "ERCONNECT_ATTACHMENTS_PER_REGION\020\326\326\243L\022+\n" + + "#INTERCONNECT_ATTACHMENTS_TOTAL_MBPS\020\363\272\331" + + "\312\001\022\037\n\027INTERCONNECT_TOTAL_GBPS\020\252\361\207\210\001\022\031\n\022I" + + "NTERNAL_ADDRESSES\020\200\351\256^\0221\n*INTERNAL_TRAFF" + + "IC_DIRECTOR_FORWARDING_RULES\020\204\351\205\177\022\031\n\022IN_" + + "PLACE_SNAPSHOTS\020\235\235\226H\022\030\n\020IN_USE_ADDRESSES" + + "\020\220\342\337\277\001\022\036\n\027IN_USE_BACKUP_SCHEDULES\020\221\222\321\017\022!" + + "\n\031IN_USE_SNAPSHOT_SCHEDULES\020\223\314\254\334\001\022\032\n\022LOC" + + "AL_SSD_TOTAL_GB\020\305\230\343\235\001\022\016\n\007M1_CPUS\020\246\333\336\021\022\016\n" + + "\007M2_CPUS\020\305\214\262\037\022\016\n\007M3_CPUS\020\344\275\205-\022\026\n\016MACHINE" + + "_IMAGES\020\220\363\221\325\001\022\017\n\010N2A_CPUS\020\255\307\342~\022\020\n\010N2D_CP" + + "US\020\212\333\334\247\001\022\017\n\007N2_CPUS\020\206\203\313\306\001\022\020\n\010NETWORKS\020\205\270" + + "\277\347\001\022\032\n\023NETWORK_ATTACHMENTS\020\337\375\207G\022\036\n\027NETWO" + + "RK_ENDPOINT_GROUPS\020\215\267\3320\022 \n\031NETWORK_FIREW" + + "ALL_POLICIES\020\276\333\2330\022*\n#NET_LB_SECURITY_POL" + + "ICIES_PER_REGION\020\255\375\244K\022/\n\'NET_LB_SECURITY" + + "_POLICY_RULES_PER_REGION\020\263\210\346\251\001\0229\n1NET_LB" + + "_SECURITY_POLICY_RULE_ATTRIBUTES_PER_REG" + + "ION\020\360\350\264\224\001\022\022\n\013NODE_GROUPS\020\261\375\336\013\022\026\n\016NODE_TE" + + "MPLATES\020\234\262\271\342\001\022\035\n\025NVIDIA_A100_80GB_GPUS\020\310" + + "\350\307\210\001\022\030\n\020NVIDIA_A100_GPUS\020\222\200\337\360\001\022\026\n\017NVIDIA" + + "_K80_GPUS\020\207\354\222N\022\026\n\016NVIDIA_L4_GPUS\020\272\315\310\352\001\022\027" + + "\n\020NVIDIA_P100_GPUS\020\241\202\351p\022\033\n\024NVIDIA_P100_V" + + "WS_GPUS\020\216\335\203f\022\026\n\016NVIDIA_P4_GPUS\020\276\247\254\207\001\022\032\n\022" + + "NVIDIA_P4_VWS_GPUS\020\253\325\364\373\001\022\025\n\016NVIDIA_T4_GP" + + "US\020\302\201\220$\022\032\n\022NVIDIA_T4_VWS_GPUS\020\257\353\277\230\001\022\027\n\020N" + + "VIDIA_V100_GPUS\020\247\266\323=\022\030\n\021PACKET_MIRRORING" + + "S\020\247\352\266\007\022(\n!PD_EXTREME_TOTAL_PROVISIONED_I" + + "OPS\020\355\326\227!\022\027\n\020PREEMPTIBLE_CPUS\020\311\215\343w\022\037\n\030PRE" + + "EMPTIBLE_LOCAL_SSD_GB\020\210\223\257|\022(\n!PREEMPTIBL" + + "E_NVIDIA_A100_80GB_GPUS\020\212\352\271H\022#\n\034PREEMPTI" + + "BLE_NVIDIA_A100_GPUS\020\220\234\351 \022$\n\034PREEMPTIBLE" + + "_NVIDIA_H100_GPUS\020\227\256\345\217\001\022#\n\033PREEMPTIBLE_N" + + "VIDIA_K80_GPUS\020\311\340\345\262\001\022!\n\032PREEMPTIBLE_NVID" + + "IA_L4_GPUS\020\270\270\360/\022$\n\034PREEMPTIBLE_NVIDIA_P1" + + "00_GPUS\020\237\236\363\240\001\022(\n PREEMPTIBLE_NVIDIA_P100" + + "_VWS_GPUS\020\214\233\301\225\001\022\"\n\032PREEMPTIBLE_NVIDIA_P4" + + "_GPUS\020\274\222\324\314\001\022%\n\036PREEMPTIBLE_NVIDIA_P4_VWS" + + "_GPUS\020\251\342\320x\022!\n\032PREEMPTIBLE_NVIDIA_T4_GPUS" + + "\020\300\354\267i\022%\n\036PREEMPTIBLE_NVIDIA_T4_VWS_GPUS\020" + + "\255\370\233\025\022#\n\034PREEMPTIBLE_NVIDIA_V100_GPUS\020\245\322\335" + + "m\022%\n\036PREEMPTIBLE_TPU_LITE_DEVICE_V5\020\373\221\214S" + + "\022\'\n PREEMPTIBLE_TPU_LITE_PODSLICE_V5\020\304\221\305" + + "5\022#\n\033PREEMPTIBLE_TPU_PODSLICE_V4\020\214\374\364\312\001\022=" + + "\n6PSC_ILB_CONSUMER_FORWARDING_RULES_PER_" + + "PRODUCER_NETWORK\020\203\223\235n\022\'\n PSC_INTERNAL_LB" + + "_FORWARDING_RULES\020\373\242\313P\022\"\n\032PUBLIC_ADVERTI" + + "SED_PREFIXES\020\314\241\342\340\001\022!\n\031PUBLIC_DELEGATED_P" + + "REFIXES\020\266\222\363\375\001\022\033\n\024REGIONAL_AUTOSCALERS\020\274\234" + + "\200\016\0221\n*REGIONAL_EXTERNAL_MANAGED_BACKEND_" + + "SERVICES\020\335\354\202\002\0225\n-REGIONAL_EXTERNAL_NETWO" + + "RK_LB_BACKEND_SERVICES\020\355\352\245\303\001\022\'\n REGIONAL" + + "_INSTANCE_GROUP_MANAGERS\020\220\276\363\021\022,\n%REGIONA" + + "L_INTERNAL_LB_BACKEND_SERVICES\020\220\356\345A\0221\n*R" + + "EGIONAL_INTERNAL_MANAGED_BACKEND_SERVICE" + + "S\020\253\317\364-\022;\n3REGIONAL_INTERNAL_TRAFFIC_DIRE" + + "CTOR_BACKEND_SERVICES\020\330\366\261\346\001\022\023\n\014RESERVATI" + + "ONS\020\247\274\310\017\022\030\n\021RESOURCE_POLICIES\020\341\234\204(\022\017\n\007RO" + + "UTERS\020\252\274\213\353\001\022\016\n\006ROUTES\020\312\226\272\203\001\022\030\n\021SECURITY_" + + "POLICIES\020\357\246\257Z\022#\n\034SECURITY_POLICIES_PER_R" + + "EGION\020\306\246\340v\0221\n)SECURITY_POLICY_ADVANCED_R" + + "ULES_PER_REGION\020\255\347\245\261\001\022#\n\033SECURITY_POLICY", + "_CEVAL_RULES\020\311\247\300\340\001\022\034\n\025SECURITY_POLICY_RU" + + "LES\020\251\324\207a\022\'\n SECURITY_POLICY_RULES_PER_RE" + + "GION\020\314\310\251<\022\033\n\023SERVICE_ATTACHMENTS\020\346\261\353\340\001\022\021" + + "\n\tSNAPSHOTS\020\217\346\337\243\001\022\023\n\014SSD_TOTAL_GB\020\321\257\217M\022\030" + + "\n\020SSL_CERTIFICATES\020\257\202\266\264\001\022\024\n\014SSL_POLICIES" + + "\020\303\364\300\371\001\022\027\n\020STATIC_ADDRESSES\020\361\255\322,\022\036\n\026STATI" + "C_BYOIP_ADDRESSES\020\361\212\302\203\001\022+\n#STATIC_EXTERN" + "AL_IPV6_ADDRESS_RANGES\020\226\341\235\341\001\022\023\n\013SUBNETWO" + "RKS\020\245\374\363\310\001\022\020\n\010T2A_CPUS\020\347\341\376\370\001\022\017\n\010T2D_CPUS\020" @@ -13690,46 +14056,77 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "OGRESS\020\207\250\335\337\001\022!\n\032ROLLOUT_STATUS_UNSPECIFI" + "ED\020\270\327\347\014B\017\n\r_future_limitB\010\n\006_limitB\r\n\013_l" + "imit_nameB\016\n\014_metric_nameB\021\n\017_rollout_st" - + "atus\"\314\001\n\007RawDisk\022\037\n\016container_type\030\270\310\202\230\001" - + " \001(\tH\000\210\001\001\022\036\n\rsha1_checksum\030\275\224\370\225\001 \001(\tH\001\210\001" - + "\001\022\026\n\006source\030\233\320\301T \001(\tH\002\210\001\001\"8\n\rContainerTy" - + "pe\022\034\n\030UNDEFINED_CONTAINER_TYPE\020\000\022\t\n\003TAR\020" - + "\205\207\005B\021\n\017_container_typeB\020\n\016_sha1_checksum" - + "B\t\n\007_source\"\327\002\n,RecreateInstancesInstanc" - + "eGroupManagerRequest\022&\n\026instance_group_m" - + "anager\030\303\367\363v \001(\tB\003\340A\002\022\223\001\n;instance_group_" - + "managers_recreate_instances_request_reso" - + "urce\030\200\302\232\n \001(\0132F.google.cloud.compute.v1." - + "InstanceGroupManagersRecreateInstancesRe" - + "questB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" - + "oject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zon" - + "e\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\333\002" - + "\n2RecreateInstancesRegionInstanceGroupMa" - + "nagerRequest\022&\n\026instance_group_manager\030\303" - + "\367\363v \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" - + "project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region" - + "\022\215\001\n8region_instance_group_managers_recr" - + "eate_request_resource\030\224\374\304Q \001(\0132C.google." - + "cloud.compute.v1.RegionInstanceGroupMana" - + "gersRecreateRequestB\003\340A\002\022\032\n\nrequest_id\030\313" - + "\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\250\001\n\tReferenc" - + "e\022\024\n\004kind\030\224\367\310\001 \001(\tH\000\210\001\001\022\036\n\016reference_typ" - + "e\030\256\277\203v \001(\tH\001\210\001\001\022\031\n\010referrer\030\237\370\271\247\001 \001(\tH\002\210" - + "\001\001\022\026\n\006target\030\221\343\371[ \001(\tH\003\210\001\001B\007\n\005_kindB\021\n\017_" - + "reference_typeB\013\n\t_referrerB\t\n\007_target\"\227" - + "\004\n\006Region\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\t" - + "H\000\210\001\001\022G\n\ndeprecated\030\263\313\321\365\001 \001(\0132*.google.c" - + "loud.compute.v1.DeprecationStatusH\001\210\001\001\022\034" - + "\n\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\020\n\002id\030\233\032 \001(" - + "\004H\003\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\024\n\004name\030\213\365\315" - + "\001 \001(\tH\005\210\001\001\0221\n\006quotas\030\373\241\342; \003(\0132\036.google.c" - + "loud.compute.v1.Quota\022\032\n\tself_link\030\215\222\305\331\001" - + " \001(\tH\006\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\007\210\001\001\022\034\n\014sup" - + "ports_pzs\030\356\366\205( \001(\010H\010\210\001\001\022\020\n\005zones\030\307\244\2557 \003(" - + "\t\"4\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\013\n\004DOW" - + "N\020\242\271\200\001\022\007\n\002UP\020\233\025B\025\n\023_creation_timestampB\r" - + "\n\013_deprecatedB\016\n\014_descriptionB\005\n\003_idB\007\n\005" - + "_kindB\007\n\005_nameB\014\n\n_self_linkB\t\n\007_statusB" + + "atus\"\350\010\n\022QuotaStatusWarning\022\024\n\004code\030\355\333\272\001" + + " \001(\tH\000\210\001\001\022.\n\004data\030\252\337\273\001 \003(\0132\035.google.clou" + + "d.compute.v1.Data\022\030\n\007message\030\207\200\254\307\001 \001(\tH\001" + + "\210\001\001\"\334\007\n\004Code\022\022\n\016UNDEFINED_CODE\020\000\022\025\n\016CLEA" + + "NUP_FAILED\020\330\214\326G\022 \n\030DEPRECATED_RESOURCE_U" + + "SED\020\302\337\353\272\001\022\034\n\024DEPRECATED_TYPE_USED\020\226\244\236\245\001\022" + + "(\n DISK_SIZE_LARGER_THAN_IMAGE_SIZE\020\227\201\225\260" + + "\001\022\036\n\026EXPERIMENTAL_TYPE_USED\020\213\216\301\327\001\022\033\n\024EXT" + + "ERNAL_API_WARNING\020\303\277\332S\022\035\n\025FIELD_VALUE_OV" + + "ERRIDEN\020\257\266\231\235\001\022#\n\033INJECTED_KERNELS_DEPREC" + + "ATED\020\213\331\202\307\001\0224\n,INVALID_HEALTH_CHECK_FOR_D" + + "YNAMIC_WIEGHTED_LB\020\316\233\274\277\001\022 \n\030LARGE_DEPLOY" + + "MENT_WARNING\020\246\347\310\345\001\022!\n\032LIST_OVERHEAD_QUOT" + + "A_EXCEED\020\305\260\332\026\022\037\n\027MISSING_TYPE_DEPENDENCY" + + "\020\367\370\242\244\001\022%\n\035NEXT_HOP_ADDRESS_NOT_ASSIGNED\020" + + "\207\245\372\232\001\022\"\n\032NEXT_HOP_CANNOT_IP_FORWARD\020\347\352\347\266" + + "\001\022.\n\'NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTER" + + "FACE\020\222\350\374E\022#\n\033NEXT_HOP_INSTANCE_NOT_FOUND" + + "\020\316\314\257\335\001\022\'\n NEXT_HOP_INSTANCE_NOT_ON_NETWO" + + "RK\020\302\350\235t\022\034\n\024NEXT_HOP_NOT_RUNNING\020\261\317\360\306\001\022\031\n" + + "\022NOT_CRITICAL_ERROR\020\324\250\2672\022\031\n\022NO_RESULTS_O" + + "N_PAGE\020\210\246\251\016\022\026\n\017PARTIAL_SUCCESS\020\205\256\207\023\022\035\n\026R" + + "EQUIRED_TOS_AGREEMENT\020\203\316\344\001\0221\n)RESOURCE_I" + + "N_USE_BY_OTHER_RESOURCE_WARNING\020\301\364\355\354\001\022\033\n" + + "\024RESOURCE_NOT_DELETED\020\274\267\262P\022!\n\031SCHEMA_VAL" + + "IDATION_IGNORED\020\312\324\237\203\001\022(\n!SINGLE_INSTANCE" + + "_PROPERTY_TEMPLATE\020\321\211\370\177\022\035\n\025UNDECLARED_PR" + + "OPERTIES\020\237\206\233\272\001\022\022\n\013UNREACHABLE\020\264\275\255\006B\007\n\005_c" + + "odeB\n\n\010_message\"\314\001\n\007RawDisk\022\037\n\016container" + + "_type\030\270\310\202\230\001 \001(\tH\000\210\001\001\022\036\n\rsha1_checksum\030\275\224" + + "\370\225\001 \001(\tH\001\210\001\001\022\026\n\006source\030\233\320\301T \001(\tH\002\210\001\001\"8\n\r" + + "ContainerType\022\034\n\030UNDEFINED_CONTAINER_TYP" + + "E\020\000\022\t\n\003TAR\020\205\207\005B\021\n\017_container_typeB\020\n\016_sh" + + "a1_checksumB\t\n\007_source\"\327\002\n,RecreateInsta" + + "ncesInstanceGroupManagerRequest\022&\n\026insta" + + "nce_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\223\001\n;inst" + + "ance_group_managers_recreate_instances_r" + + "equest_resource\030\200\302\232\n \001(\0132F.google.cloud." + + "compute.v1.InstanceGroupManagersRecreate" + + "InstancesRequestB\003\340A\002\022!\n\007project\030\231\226\301l \001(" + + "\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" + + "\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_re" + + "quest_id\"\333\002\n2RecreateInstancesRegionInst" + + "anceGroupManagerRequest\022&\n\026instance_grou" + + "p_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l " + + "\001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340" + + "A\002\362G\006region\022\215\001\n8region_instance_group_ma" + + "nagers_recreate_request_resource\030\224\374\304Q \001(" + + "\0132C.google.cloud.compute.v1.RegionInstan" + + "ceGroupManagersRecreateRequestB\003\340A\002\022\032\n\nr" + + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\250" + + "\001\n\tReference\022\024\n\004kind\030\224\367\310\001 \001(\tH\000\210\001\001\022\036\n\016re" + + "ference_type\030\256\277\203v \001(\tH\001\210\001\001\022\031\n\010referrer\030\237" + + "\370\271\247\001 \001(\tH\002\210\001\001\022\026\n\006target\030\221\343\371[ \001(\tH\003\210\001\001B\007\n" + + "\005_kindB\021\n\017_reference_typeB\013\n\t_referrerB\t" + + "\n\007_target\"\204\005\n\006Region\022\"\n\022creation_timesta" + + "mp\030\266\217\307\016 \001(\tH\000\210\001\001\022G\n\ndeprecated\030\263\313\321\365\001 \001(\013" + + "2*.google.cloud.compute.v1.DeprecationSt" + + "atusH\001\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022" + + "\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022" + + "\024\n\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022R\n\024quota_status_wa" + + "rning\030\366\211\272\220\001 \001(\0132+.google.cloud.compute.v" + + "1.QuotaStatusWarningH\006\210\001\001\0221\n\006quotas\030\373\241\342;" + + " \003(\0132\036.google.cloud.compute.v1.Quota\022\032\n\t" + + "self_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\022\026\n\006status\030\362\237\267V " + + "\001(\tH\010\210\001\001\022\034\n\014supports_pzs\030\356\366\205( \001(\010H\t\210\001\001\022\020" + + "\n\005zones\030\307\244\2557 \003(\t\"4\n\006Status\022\024\n\020UNDEFINED_" + + "STATUS\020\000\022\013\n\004DOWN\020\242\271\200\001\022\007\n\002UP\020\233\025B\025\n\023_creat" + + "ion_timestampB\r\n\013_deprecatedB\016\n\014_descrip" + + "tionB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\027\n\025_quota_" + + "status_warningB\014\n\n_self_linkB\t\n\007_statusB" + "\017\n\r_supports_pzs\"\210\001\n\032RegionAddressesMove" + "Request\022\034\n\013description\030\374\207\326\311\001 \001(\tH\000\210\001\001\022$\n" + "\023destination_address\030\303\261\236\261\001 \001(\tH\001\210\001\001B\016\n\014_" @@ -13848,8 +14245,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ndB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010" + "_warning\"{\n1RegionNetworkEndpointGroupsA" + "ttachEndpointsRequest\022F\n\021network_endpoin" - + "ts\030\255\221\272G \003(\0132(.google.cloud.compute.v1.Ne", - "tworkEndpoint\"{\n1RegionNetworkEndpointGr" + + "ts\030\255\221\272G \003(\0132(.google.cloud.compute.v1.Ne" + + "tworkEndpoint\"{\n1RegionNetworkEndpointGr" + "oupsDetachEndpointsRequest\022F\n\021network_en" + "dpoints\030\255\221\272G \003(\0132(.google.cloud.compute." + "v1.NetworkEndpoint\"\201\002\n:RegionNetworkFire" @@ -14027,8 +14424,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030\300\317\367/ \003(\0132$.google.cloud.compute.v1.Rese" + "rvation\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_pa" + "ge_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331" - + "\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google." - + "cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005" + + "\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.", + "cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005" + "_kindB\022\n\020_next_page_tokenB\014\n\n_self_linkB" + "\n\n\010_warning\"V\n\031ReservationsResizeRequest" + "\022\"\n\022specific_sku_count\030\240\351\317\006 \001(\003H\000\210\001\001B\025\n\023" @@ -14248,8 +14645,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ROPPED\020\240\347\317\354\001\022\020\n\010INACTIVE\020\353\230\371\200\001\022\016\n\007PENDIN" + "G\020\367\252\360\020\"`\n\tRouteType\022\030\n\024UNDEFINED_ROUTE_T" + "YPE\020\000\022\t\n\003BGP\020\253\201\004\022\016\n\006STATIC\020\356\204\203\223\001\022\016\n\006SUBN" - + "ET\020\335\356\274\223\001\022\016\n\007TRANSIT\020\263\203\306YB\025\n\023_creation_ti", - "mestampB\016\n\014_descriptionB\r\n\013_dest_rangeB\005" + + "ET\020\335\356\274\223\001\022\016\n\007TRANSIT\020\263\203\306YB\025\n\023_creation_ti" + + "mestampB\016\n\014_descriptionB\r\n\013_dest_rangeB\005" + "\n\003_idB\007\n\005_kindB\007\n\005_nameB\n\n\010_networkB\023\n\021_" + "next_hop_gatewayB\017\n\r_next_hop_hubB\017\n\r_ne" + "xt_hop_ilbB\024\n\022_next_hop_instanceB\016\n\014_nex" @@ -14301,3829 +14698,4061 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\001 \001(\t\0229\n\005value\030\002 \001(\0132*.google.cloud.comp" + "ute.v1.RoutersScopedList:\0028\001B\005\n\003_idB\007\n\005_" + "kindB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n" - + "\n\010_warning\"\240\003\n\tRouterBgp\022\037\n\016advertise_mo" + + "\n\010_warning\"\330\003\n\tRouterBgp\022\037\n\016advertise_mo" + "de\030\273\225\353\224\001 \001(\tH\000\210\001\001\022\034\n\021advertised_groups\030\266" + "\336\205\n \003(\t\022Q\n\024advertised_ip_ranges\030\314\330\363\020 \003(\013" + "20.google.cloud.compute.v1.RouterAdverti" - + "sedIpRange\022\022\n\003asn\030\374\364\005 \001(\rH\001\210\001\001\022#\n\022keepal" - + "ive_interval\030\274\345\374\203\001 \001(\rH\002\210\001\001\"M\n\rAdvertise" - + "Mode\022\034\n\030UNDEFINED_ADVERTISE_MODE\020\000\022\016\n\006CU" - + "STOM\020\361\376\245\271\001\022\016\n\007DEFAULT\020\241\304\3756\"G\n\020Advertised" - + "Groups\022\037\n\033UNDEFINED_ADVERTISED_GROUPS\020\000\022" - + "\022\n\013ALL_SUBNETS\020\330\217\335\001B\021\n\017_advertise_modeB\006" - + "\n\004_asnB\025\n\023_keepalive_interval\"\266\013\n\rRouter" - + "BgpPeer\022\037\n\016advertise_mode\030\273\225\353\224\001 \001(\tH\000\210\001\001" - + "\022\034\n\021advertised_groups\030\266\336\205\n \003(\t\022Q\n\024advert" - + "ised_ip_ranges\030\314\330\363\020 \003(\01320.google.cloud.c" - + "ompute.v1.RouterAdvertisedIpRange\022)\n\031adv" - + "ertised_route_priority\030\274\234\366X \001(\rH\001\210\001\001\022=\n\003" - + "bfd\030\240\371\005 \001(\0132).google.cloud.compute.v1.Ro" - + "uterBgpPeerBfdH\002\210\001\001\022`\n\030custom_learned_ip" - + "_ranges\030\304\210\304\345\001 \003(\0132:.google.cloud.compute" - + ".v1.RouterBgpPeerCustomLearnedIpRange\022.\n" - + "\035custom_learned_route_priority\030\304\342\306\235\001 \001(\005" - + "H\003\210\001\001\022\027\n\006enable\030\203\313\324\224\001 \001(\tH\004\210\001\001\022\033\n\013enable" - + "_ipv6\030\243\366\303V \001(\010H\005\210\001\001\022\037\n\016interface_name\030\321\303" - + "\344\320\001 \001(\tH\006\210\001\001\022\033\n\nip_address\030\334\361\334\301\001 \001(\tH\007\210\001" - + "\001\022$\n\024ipv6_nexthop_address\030\323\205\253\r \001(\tH\010\210\001\001\022" - + "\037\n\017management_type\030\266\203\352R \001(\tH\t\210\001\001\022,\n\033md5_" - + "authentication_key_name\030\221\275\203\206\001 \001(\tH\n\210\001\001\022\024" - + "\n\004name\030\213\365\315\001 \001(\tH\013\210\001\001\022\030\n\010peer_asn\030\237\264\226! \001(" - + "\rH\014\210\001\001\022\037\n\017peer_ip_address\030\331\227\207c \001(\tH\r\210\001\001\022" - + "*\n\031peer_ipv6_nexthop_address\030\220\373\255\352\001 \001(\tH\016" - + "\210\001\001\022*\n\031router_appliance_instance\030\235\307\247\337\001 \001" - + "(\tH\017\210\001\001\"M\n\rAdvertiseMode\022\034\n\030UNDEFINED_AD" - + "VERTISE_MODE\020\000\022\016\n\006CUSTOM\020\361\376\245\271\001\022\016\n\007DEFAUL" - + "T\020\241\304\3756\"G\n\020AdvertisedGroups\022\037\n\033UNDEFINED_" - + "ADVERTISED_GROUPS\020\000\022\022\n\013ALL_SUBNETS\020\330\217\335\001\"" - + "9\n\006Enable\022\024\n\020UNDEFINED_ENABLE\020\000\022\014\n\005FALSE" - + "\020\203\302\344\037\022\013\n\004TRUE\020\216\333\235\001\"g\n\016ManagementType\022\035\n\031" - + "UNDEFINED_MANAGEMENT_TYPE\020\000\022\035\n\025MANAGED_B" - + "Y_ATTACHMENT\020\313\322\352\332\001\022\027\n\017MANAGED_BY_USER\020\363\213" - + "\246\227\001B\021\n\017_advertise_modeB\034\n\032_advertised_ro" - + "ute_priorityB\006\n\004_bfdB \n\036_custom_learned_" - + "route_priorityB\t\n\007_enableB\016\n\014_enable_ipv" + + "sedIpRange\022\022\n\003asn\030\374\364\005 \001(\rH\001\210\001\001\022!\n\020identi" + + "fier_range\030\247\314\225\357\001 \001(\tH\002\210\001\001\022#\n\022keepalive_i" + + "nterval\030\274\345\374\203\001 \001(\rH\003\210\001\001\"M\n\rAdvertiseMode\022" + + "\034\n\030UNDEFINED_ADVERTISE_MODE\020\000\022\016\n\006CUSTOM\020" + + "\361\376\245\271\001\022\016\n\007DEFAULT\020\241\304\3756\"G\n\020AdvertisedGroup" + + "s\022\037\n\033UNDEFINED_ADVERTISED_GROUPS\020\000\022\022\n\013AL" + + "L_SUBNETS\020\330\217\335\001B\021\n\017_advertise_modeB\006\n\004_as" + + "nB\023\n\021_identifier_rangeB\025\n\023_keepalive_int" + + "erval\"\245\r\n\rRouterBgpPeer\022\037\n\016advertise_mod" + + "e\030\273\225\353\224\001 \001(\tH\000\210\001\001\022\034\n\021advertised_groups\030\266\336" + + "\205\n \003(\t\022Q\n\024advertised_ip_ranges\030\314\330\363\020 \003(\0132" + + "0.google.cloud.compute.v1.RouterAdvertis" + + "edIpRange\022)\n\031advertised_route_priority\030\274" + + "\234\366X \001(\rH\001\210\001\001\022=\n\003bfd\030\240\371\005 \001(\0132).google.clo" + + "ud.compute.v1.RouterBgpPeerBfdH\002\210\001\001\022`\n\030c" + + "ustom_learned_ip_ranges\030\304\210\304\345\001 \003(\0132:.goog" + + "le.cloud.compute.v1.RouterBgpPeerCustomL" + + "earnedIpRange\022.\n\035custom_learned_route_pr" + + "iority\030\304\342\306\235\001 \001(\005H\003\210\001\001\022\027\n\006enable\030\203\313\324\224\001 \001(" + + "\tH\004\210\001\001\022\033\n\013enable_ipv4\030\241\366\303V \001(\010H\005\210\001\001\022\033\n\013e" + + "nable_ipv6\030\243\366\303V \001(\010H\006\210\001\001\022\032\n\017export_polic" + + "ies\030\373\362\367? \003(\t\022\033\n\017import_policies\030\252\361\217\327\001 \003(" + + "\t\022\037\n\016interface_name\030\321\303\344\320\001 \001(\tH\007\210\001\001\022\033\n\nip" + + "_address\030\334\361\334\301\001 \001(\tH\010\210\001\001\022$\n\024ipv4_nexthop_" + + "address\030\321\215\334\002 \001(\tH\t\210\001\001\022$\n\024ipv6_nexthop_ad" + + "dress\030\323\205\253\r \001(\tH\n\210\001\001\022\037\n\017management_type\030\266" + + "\203\352R \001(\tH\013\210\001\001\022,\n\033md5_authentication_key_n" + + "ame\030\221\275\203\206\001 \001(\tH\014\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\r\210\001\001" + + "\022\030\n\010peer_asn\030\237\264\226! \001(\rH\016\210\001\001\022\037\n\017peer_ip_ad" + + "dress\030\331\227\207c \001(\tH\017\210\001\001\022*\n\031peer_ipv4_nexthop" + + "_address\030\216\203\337\337\001 \001(\tH\020\210\001\001\022*\n\031peer_ipv6_nex" + + "thop_address\030\220\373\255\352\001 \001(\tH\021\210\001\001\022*\n\031router_ap" + + "pliance_instance\030\235\307\247\337\001 \001(\tH\022\210\001\001\"M\n\rAdver" + + "tiseMode\022\034\n\030UNDEFINED_ADVERTISE_MODE\020\000\022\016" + + "\n\006CUSTOM\020\361\376\245\271\001\022\016\n\007DEFAULT\020\241\304\3756\"G\n\020Advert" + + "isedGroups\022\037\n\033UNDEFINED_ADVERTISED_GROUP" + + "S\020\000\022\022\n\013ALL_SUBNETS\020\330\217\335\001\"9\n\006Enable\022\024\n\020UND" + + "EFINED_ENABLE\020\000\022\014\n\005FALSE\020\203\302\344\037\022\013\n\004TRUE\020\216\333" + + "\235\001\"g\n\016ManagementType\022\035\n\031UNDEFINED_MANAGE" + + "MENT_TYPE\020\000\022\035\n\025MANAGED_BY_ATTACHMENT\020\313\322\352" + + "\332\001\022\027\n\017MANAGED_BY_USER\020\363\213\246\227\001B\021\n\017_advertis" + + "e_modeB\034\n\032_advertised_route_priorityB\006\n\004" + + "_bfdB \n\036_custom_learned_route_priorityB\t" + + "\n\007_enableB\016\n\014_enable_ipv4B\016\n\014_enable_ipv" + "6B\021\n\017_interface_nameB\r\n\013_ip_addressB\027\n\025_" - + "ipv6_nexthop_addressB\022\n\020_management_type" - + "B\036\n\034_md5_authentication_key_nameB\007\n\005_nam" - + "eB\013\n\t_peer_asnB\022\n\020_peer_ip_addressB\034\n\032_p" - + "eer_ipv6_nexthop_addressB\034\n\032_router_appl" - + "iance_instance\"\206\003\n\020RouterBgpPeerBfd\022$\n\024m" - + "in_receive_interval\030\356\271\224Y \001(\rH\000\210\001\001\022&\n\025min" - + "_transmit_interval\030\307\321\302\371\001 \001(\rH\001\210\001\001\022\032\n\nmul" - + "tiplier\030\301\373\235[ \001(\rH\002\210\001\001\022+\n\033session_initial" - + "ization_mode\030\271\215\3032 \001(\tH\003\210\001\001\"y\n\031SessionIni" - + "tializationMode\022)\n%UNDEFINED_SESSION_INI" - + "TIALIZATION_MODE\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\020\n\010DI" - + "SABLED\020\374\324\260\366\001\022\017\n\007PASSIVE\020\207\366\327\334\001B\027\n\025_min_re" - + "ceive_intervalB\030\n\026_min_transmit_interval" - + "B\r\n\013_multiplierB\036\n\034_session_initializati" - + "on_mode\"D\n!RouterBgpPeerCustomLearnedIpR" - + "ange\022\025\n\005range\030\275\362\3203 \001(\tH\000\210\001\001B\010\n\006_range\"\250\004" - + "\n\017RouterInterface\022\030\n\010ip_range\030\245\340\227E \001(\tH\000" - + "\210\001\001\022/\n\036linked_interconnect_attachment\030\316\352" - + "\367\356\001 \001(\tH\001\210\001\001\022\"\n\021linked_vpn_tunnel\030\371\277\376\247\001 " - + "\001(\tH\002\210\001\001\022\037\n\017management_type\030\266\203\352R \001(\tH\003\210\001" - + "\001\022\024\n\004name\030\213\365\315\001 \001(\tH\004\210\001\001\022\"\n\022private_ip_ad" - + "dress\030\230\322\2130 \001(\tH\005\210\001\001\022$\n\023redundant_interfa" - + "ce\030\347\350\274\371\001 \001(\tH\006\210\001\001\022\033\n\nsubnetwork\030\356\247\344\222\001 \001(" - + "\tH\007\210\001\001\"g\n\016ManagementType\022\035\n\031UNDEFINED_MA" - + "NAGEMENT_TYPE\020\000\022\035\n\025MANAGED_BY_ATTACHMENT" - + "\020\313\322\352\332\001\022\027\n\017MANAGED_BY_USER\020\363\213\246\227\001B\013\n\t_ip_r" - + "angeB!\n\037_linked_interconnect_attachmentB" - + "\024\n\022_linked_vpn_tunnelB\022\n\020_management_typ" - + "eB\007\n\005_nameB\025\n\023_private_ip_addressB\026\n\024_re" - + "dundant_interfaceB\r\n\013_subnetwork\"\235\002\n\nRou" - + "terList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0221\n\005items\030\300\317\367/ " - + "\003(\0132\037.google.cloud.compute.v1.Router\022\024\n\004" - + "kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272" - + "\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022" - + "9\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.compu" - + "te.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_n" - + "ext_page_tokenB\014\n\n_self_linkB\n\n\010_warning" - + "\"W\n\032RouterMd5AuthenticationKey\022\022\n\003key\030\337\274" - + "\006 \001(\tH\000\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\001\210\001\001B\006\n\004_key" - + "B\007\n\005_name\"\353\016\n\tRouterNat\022\"\n\021auto_network_" - + "tier\030\343\273\321\200\001 \001(\tH\000\210\001\001\022\031\n\rdrain_nat_ips\030\307\301\256" - + "\360\001 \003(\t\022/\n\036enable_dynamic_port_allocation" - + "\030\242\231\335\375\001 \001(\010H\001\210\001\001\0223\n#enable_endpoint_indep" - + "endent_mapping\030\233\211\333{ \001(\010H\002\210\001\001\022\032\n\016endpoint" - + "_types\030\317\252\326\357\001 \003(\t\022%\n\025icmp_idle_timeout_se" - + "c\030\312\320\336\001 \001(\005H\003\210\001\001\022H\n\nlog_config\030\235\321\301\247\001 \001(\0132" - + "+.google.cloud.compute.v1.RouterNatLogCo" - + "nfigH\004\210\001\001\022 \n\020max_ports_per_vm\030\341\311\236w \001(\005H\005" - + "\210\001\001\022 \n\020min_ports_per_vm\030\263\255\344X \001(\005H\006\210\001\001\022\024\n" - + "\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022\'\n\026nat_ip_allocate_o" - + "ption\030\375\270\364\314\001 \001(\tH\010\210\001\001\022\022\n\007nat_ips\030\216\360\2138 \003(\t" - + "\0228\n\005rules\030\367\221\3653 \003(\0132&.google.cloud.comput" - + "e.v1.RouterNatRule\0222\n\"source_subnetwork_" - + "ip_ranges_to_nat\030\333\357\241x \001(\tH\t\210\001\001\022J\n\013subnet" - + "works\030\305\324\245\306\001 \003(\01321.google.cloud.compute.v" - + "1.RouterNatSubnetworkToNat\0220\n tcp_establ" - + "ished_idle_timeout_sec\030\355\353\260j \001(\005H\n\210\001\001\022*\n\031" - + "tcp_time_wait_timeout_sec\030\375\273\363\364\001 \001(\005H\013\210\001\001" - + "\022/\n\037tcp_transitory_idle_timeout_sec\030\246\373\341a" - + " \001(\005H\014\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\r\210\001\001\022$\n\024udp_i" - + "dle_timeout_sec\030\306\262\372\036 \001(\005H\016\210\001\001\"\230\001\n\017AutoNe" - + "tworkTier\022\037\n\033UNDEFINED_AUTO_NETWORK_TIER" - + "\020\000\022\026\n\016FIXED_STANDARD\020\310\236\205\224\001\022\017\n\007PREMIUM\020\267\264" - + "\301\276\001\022\020\n\010STANDARD\020\275\235\214\347\001\022)\n!STANDARD_OVERRI" - + "DES_FIXED_STANDARD\020\302\207\221\336\001\"\210\001\n\rEndpointTyp" - + "es\022\034\n\030UNDEFINED_ENDPOINT_TYPES\020\000\022&\n\036ENDP" - + "OINT_TYPE_MANAGED_PROXY_LB\020\202\272\266\321\001\022\030\n\021ENDP" - + "OINT_TYPE_SWG\020\310\316\375K\022\027\n\020ENDPOINT_TYPE_VM\020\262" - + "\352\234\033\"a\n\023NatIpAllocateOption\022$\n UNDEFINED_" - + "NAT_IP_ALLOCATE_OPTION\020\000\022\020\n\tAUTO_ONLY\020\274\340" - + "\370V\022\022\n\013MANUAL_ONLY\020\205\301\311|\"\302\001\n\035SourceSubnetw" - + "orkIpRangesToNat\0220\n,UNDEFINED_SOURCE_SUB" - + "NETWORK_IP_RANGES_TO_NAT\020\000\022$\n\035ALL_SUBNET" - + "WORKS_ALL_IP_RANGES\020\330\223\350U\022,\n%ALL_SUBNETWO" - + "RKS_ALL_PRIMARY_IP_RANGES\020\273\303\276X\022\033\n\023LIST_O" - + "F_SUBNETWORKS\020\376\242\344\366\001\":\n\004Type\022\022\n\016UNDEFINED" - + "_TYPE\020\000\022\017\n\007PRIVATE\020\343\342\262\300\001\022\r\n\006PUBLIC\020\351\314\302jB" - + "\024\n\022_auto_network_tierB!\n\037_enable_dynamic" - + "_port_allocationB&\n$_enable_endpoint_ind" - + "ependent_mappingB\030\n\026_icmp_idle_timeout_s" - + "ecB\r\n\013_log_configB\023\n\021_max_ports_per_vmB\023" - + "\n\021_min_ports_per_vmB\007\n\005_nameB\031\n\027_nat_ip_" - + "allocate_optionB%\n#_source_subnetwork_ip" - + "_ranges_to_natB#\n!_tcp_established_idle_" - + "timeout_secB\034\n\032_tcp_time_wait_timeout_se" - + "cB\"\n _tcp_transitory_idle_timeout_secB\007\n" - + "\005_typeB\027\n\025_udp_idle_timeout_sec\"\267\001\n\022Rout" - + "erNatLogConfig\022\027\n\006enable\030\203\313\324\224\001 \001(\010H\000\210\001\001\022" - + "\027\n\006filter\030\370\226\243\240\001 \001(\tH\001\210\001\001\"Y\n\006Filter\022\024\n\020UN" - + "DEFINED_FILTER\020\000\022\t\n\003ALL\020\201\373\003\022\023\n\013ERRORS_ON" - + "LY\020\200\260\317\222\001\022\031\n\021TRANSLATIONS_ONLY\020\351\303\252\252\001B\t\n\007_" - + "enableB\t\n\007_filter\"\335\001\n\rRouterNatRule\022D\n\006a" - + "ction\030\266\374\275Y \001(\0132,.google.cloud.compute.v1" - + ".RouterNatRuleActionH\000\210\001\001\022\034\n\013description" - + "\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\025\n\005match\030\305\263\2671 \001(\tH\002\210\001\001\022\034" - + "\n\013rule_number\030\354\333\232\377\001 \001(\rH\003\210\001\001B\t\n\007_actionB" - + "\016\n\014_descriptionB\010\n\006_matchB\016\n\014_rule_numbe" - + "r\"\242\001\n\023RouterNatRuleAction\022 \n\025source_nat_" - + "active_ips\030\365\273\250d \003(\t\022#\n\030source_nat_active" - + "_ranges\030\355\320\356Z \003(\t\022 \n\024source_nat_drain_ips" - + "\030\243\305\301\242\001 \003(\t\022\"\n\027source_nat_drain_ranges\030\377\371" - + "\267( \003(\t\"\226\002\n\030RouterNatSubnetworkToNat\022\024\n\004n" - + "ame\030\213\365\315\001 \001(\tH\000\210\001\001\022#\n\030secondary_ip_range_" - + "names\030\331\301\204~ \003(\t\022#\n\027source_ip_ranges_to_na" - + "t\030\362\312\224\271\001 \003(\t\"\220\001\n\023SourceIpRangesToNat\022%\n!U" - + "NDEFINED_SOURCE_IP_RANGES_TO_NAT\020\000\022\024\n\rAL" - + "L_IP_RANGES\020\260\257\375\020\022\"\n\033LIST_OF_SECONDARY_IP" - + "_RANGES\020\234\264\330[\022\030\n\020PRIMARY_IP_RANGE\020\302\223\326\215\001B\007" - + "\n\005_name\"\306\002\n\014RouterStatus\0227\n\013best_routes\030" - + "\205\254\337\274\001 \003(\0132\036.google.cloud.compute.v1.Rout" - + "e\022A\n\026best_routes_for_router\030\371\373\3668 \003(\0132\036.g" - + "oogle.cloud.compute.v1.Route\022N\n\017bgp_peer" - + "_status\030\373\327\225h \003(\01322.google.cloud.compute." - + "v1.RouterStatusBgpPeerStatus\022E\n\nnat_stat" - + "us\030\320\231\213\036 \003(\0132..google.cloud.compute.v1.Ro" - + "uterStatusNatStatus\022\027\n\007network\030\256\264\205o \001(\tH" - + "\000\210\001\001B\n\n\010_network\"\334\010\n\031RouterStatusBgpPeer" - + "Status\022=\n\021advertised_routes\030\254\331\374\236\001 \003(\0132\036." - + "google.cloud.compute.v1.Route\022?\n\nbfd_sta" - + "tus\030\361\270\323\274\001 \001(\0132\".google.cloud.compute.v1." - + "BfdStatusH\000\210\001\001\022\033\n\013enable_ipv6\030\243\366\303V \001(\010H\001" - + "\210\001\001\022\033\n\nip_address\030\334\361\334\301\001 \001(\tH\002\210\001\001\022$\n\024ipv6" - + "_nexthop_address\030\323\205\253\r \001(\tH\003\210\001\001\022\"\n\021linked" - + "_vpn_tunnel\030\371\277\376\247\001 \001(\tH\004\210\001\001\022!\n\020md5_auth_e" - + "nabled\030\313\221\220\327\001 \001(\010H\005\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\006" - + "\210\001\001\022\"\n\022num_learned_routes\030\377\325\313@ \001(\rH\007\210\001\001\022" - + "\037\n\017peer_ip_address\030\331\227\207c \001(\tH\010\210\001\001\022*\n\031peer" - + "_ipv6_nexthop_address\030\220\373\255\352\001 \001(\tH\t\210\001\001\022*\n\031" - + "router_appliance_instance\030\235\307\247\337\001 \001(\tH\n\210\001\001" - + "\022\025\n\005state\030\221\211\2534 \001(\tH\013\210\001\001\022\026\n\006status\030\362\237\267V \001" - + "(\tH\014\210\001\001\022\036\n\rstatus_reason\030\261\226\265\243\001 \001(\tH\r\210\001\001\022" - + "\026\n\006uptime\030\350\267\236p \001(\tH\016\210\001\001\022\036\n\016uptime_second" - + "s\030\250\312\3701 \001(\tH\017\210\001\001\"E\n\006Status\022\024\n\020UNDEFINED_S" - + "TATUS\020\000\022\013\n\004DOWN\020\242\271\200\001\022\017\n\007UNKNOWN\020\252\360\304\316\001\022\007\n" - + "\002UP\020\233\025\"p\n\014StatusReason\022\033\n\027UNDEFINED_STAT" - + "US_REASON\020\000\022 \n\031MD5_AUTH_INTERNAL_PROBLEM" - + "\020\263\221\375B\022!\n\031STATUS_REASON_UNSPECIFIED\020\211\216\204\274\001" - + "B\r\n\013_bfd_statusB\016\n\014_enable_ipv6B\r\n\013_ip_a" - + "ddressB\027\n\025_ipv6_nexthop_addressB\024\n\022_link" - + "ed_vpn_tunnelB\023\n\021_md5_auth_enabledB\007\n\005_n" - + "ameB\025\n\023_num_learned_routesB\022\n\020_peer_ip_a" - + "ddressB\034\n\032_peer_ipv6_nexthop_addressB\034\n\032" - + "_router_appliance_instanceB\010\n\006_stateB\t\n\007" - + "_statusB\020\n\016_status_reasonB\t\n\007_uptimeB\021\n\017" - + "_uptime_seconds\"\367\003\n\025RouterStatusNatStatu" - + "s\022\"\n\026auto_allocated_nat_ips\030\206\264\310\363\001 \003(\t\022(\n" - + "\034drain_auto_allocated_nat_ips\030\255\220\267\223\001 \003(\t\022" - + "(\n\034drain_user_allocated_nat_ips\030\311\216\310\221\001 \003(" - + "\t\022)\n\030min_extra_nat_ips_needed\030\342\351\265\256\001 \001(\005H" - + "\000\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\001\210\001\001\0223\n\"num_vm_end" - + "points_with_nat_mappings\030\354\266\250\364\001 \001(\005H\002\210\001\001\022" - + "S\n\013rule_status\030\225\305\356B \003(\0132;.google.cloud.c" - + "ompute.v1.RouterStatusNatStatusNatRuleSt" - + "atus\022*\n\037user_allocated_nat_ip_resources\030" - + "\327\351\272e \003(\t\022\"\n\026user_allocated_nat_ips\030\242\262\331\361\001" - + " \003(\tB\033\n\031_min_extra_nat_ips_neededB\007\n\005_na" - + "meB%\n#_num_vm_endpoints_with_nat_mapping" - + "s\"\244\002\n\"RouterStatusNatStatusNatRuleStatus" - + "\022\031\n\016active_nat_ips\030\325\357\266c \003(\t\022\031\n\rdrain_nat" - + "_ips\030\307\301\256\360\001 \003(\t\022%\n\024min_extra_ips_needed\030\204" - + "\312\251\250\001 \001(\005H\000\210\001\001\0223\n\"num_vm_endpoints_with_n" - + "at_mappings\030\354\266\250\364\001 \001(\005H\001\210\001\001\022\034\n\013rule_numbe" - + "r\030\354\333\232\377\001 \001(\005H\002\210\001\001B\027\n\025_min_extra_ips_neede" - + "dB%\n#_num_vm_endpoints_with_nat_mappings" - + "B\016\n\014_rule_number\"\177\n\024RouterStatusResponse" - + "\022\024\n\004kind\030\224\367\310\001 \001(\tH\000\210\001\001\022=\n\006result\030\235\220\267B \001(" - + "\0132%.google.cloud.compute.v1.RouterStatus" - + "H\001\210\001\001B\007\n\005_kindB\t\n\007_result\"`\n\026RoutersPrev" - + "iewResponse\0229\n\010resource\030\216\210\257] \001(\0132\037.googl" - + "e.cloud.compute.v1.RouterH\000\210\001\001B\013\n\t_resou" - + "rce\"\220\001\n\021RoutersScopedList\0224\n\007routers\030\312\244\335" - + "\224\001 \003(\0132\037.google.cloud.compute.v1.Router\022" - + "9\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.compu" - + "te.v1.WarningH\000\210\001\001B\n\n\010_warning\"\220\003\n\004Rule\022" - + "\026\n\006action\030\266\374\275Y \001(\tH\000\210\001\001\0229\n\nconditions\030\270\355" - + "\220D \003(\0132\".google.cloud.compute.v1.Conditi" - + "on\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\r\n\003ins\030" - + "\356\257\006 \003(\t\022:\n\013log_configs\030\366\326\362H \003(\0132\".google" - + ".cloud.compute.v1.LogConfig\022\023\n\007not_ins\030\202" - + "\241\233\367\001 \003(\t\022\026\n\013permissions\030\204\351\313\034 \003(\t\"\203\001\n\006Act" - + "ion\022\024\n\020UNDEFINED_ACTION\020\000\022\014\n\005ALLOW\020\251\326\336\035\022" - + "\025\n\016ALLOW_WITH_LOG\020\201\341\240$\022\n\n\004DENY\020\214\354\177\022\025\n\rDE" - + "NY_WITH_LOG\020\376\351\311\247\001\022\t\n\003LOG\020\244\316\004\022\020\n\tNO_ACTIO" - + "N\020\364\264\244|B\t\n\007_actionB\016\n\014_description\"\330\003\n\016SS" - + "LHealthCheck\022\024\n\004port\030\201\261\322\001 \001(\005H\000\210\001\001\022\031\n\tpo" - + "rt_name\030\211\207\347\023 \001(\tH\001\210\001\001\022\"\n\022port_specificat" - + "ion\030\305\353\314\030 \001(\tH\002\210\001\001\022\034\n\014proxy_header\030\376\272\274L \001" - + "(\tH\003\210\001\001\022\027\n\007request\030\217\345\273\n \001(\tH\004\210\001\001\022\030\n\010resp" - + "onse\030\301\250\334] \001(\tH\005\210\001\001\"~\n\021PortSpecification\022" - + " \n\034UNDEFINED_PORT_SPECIFICATION\020\000\022\025\n\016USE" - + "_FIXED_PORT\020\344\210\333Z\022\026\n\016USE_NAMED_PORT\020\277\317\307\246\001" - + "\022\030\n\020USE_SERVING_PORT\020\314\321\365\254\001\"H\n\013ProxyHeade" - + "r\022\032\n\026UNDEFINED_PROXY_HEADER\020\000\022\013\n\004NONE\020\270\316" - + "\222\001\022\020\n\010PROXY_V1\020\254\244\267\237\001B\007\n\005_portB\014\n\n_port_n" - + "ameB\025\n\023_port_specificationB\017\n\r_proxy_hea" - + "derB\n\n\010_requestB\013\n\t_response\"\217\010\n\021SavedAt" - + "tachedDisk\022\034\n\013auto_delete\030\273\344\316\335\001 \001(\010H\000\210\001\001" - + "\022\024\n\004boot\030\362\365\270\001 \001(\010H\001\210\001\001\022\033\n\013device_name\030\324\265" - + "\232 \001(\tH\002\210\001\001\022T\n\023disk_encryption_key\030\205\355\304\201\001" - + " \001(\0132..google.cloud.compute.v1.CustomerE" - + "ncryptionKeyH\003\210\001\001\022\035\n\014disk_size_gb\030\267\232\347\226\001 " - + "\001(\003H\004\210\001\001\022\031\n\tdisk_type\030\234\351\254, \001(\tH\005\210\001\001\022E\n\021g" - + "uest_os_features\030\321\340\347% \003(\0132\'.google.cloud" - + ".compute.v1.GuestOsFeature\022\025\n\005index\030\322\321\354/" - + " \001(\005H\006\210\001\001\022\032\n\tinterface\030\271\332\325\357\001 \001(\tH\007\210\001\001\022\024\n" - + "\004kind\030\224\367\310\001 \001(\tH\010\210\001\001\022\024\n\010licenses\030\322\210\200\241\001 \003(" - + "\t\022\024\n\004mode\030\243\363\314\001 \001(\tH\t\210\001\001\022\026\n\006source\030\233\320\301T \001" - + "(\tH\n\210\001\001\022\036\n\rstorage_bytes\030\247\273\275\312\001 \001(\003H\013\210\001\001\022" - + "%\n\024storage_bytes_status\030\212\253\200\352\001 \001(\tH\014\210\001\001\022\024" - + "\n\004type\030\272\236\332\001 \001(\tH\r\210\001\001\">\n\tInterface\022\027\n\023UND" - + "EFINED_INTERFACE\020\000\022\013\n\004NVME\020\340\202\223\001\022\013\n\004SCSI\020" - + "\246\201\233\001\"?\n\004Mode\022\022\n\016UNDEFINED_MODE\020\000\022\020\n\tREAD" - + "_ONLY\020\265\231\354+\022\021\n\nREAD_WRITE\020\326\227\344R\"]\n\022Storage" - + "BytesStatus\022\"\n\036UNDEFINED_STORAGE_BYTES_S" - + "TATUS\020\000\022\020\n\010UPDATING\020\306\356\354\353\001\022\021\n\nUP_TO_DATE\020" - + "\316\242\2470\"?\n\004Type\022\022\n\016UNDEFINED_TYPE\020\000\022\022\n\nPERS" - + "ISTENT\020\227\365\325\333\001\022\017\n\007SCRATCH\020\332\375\360\354\001B\016\n\014_auto_d" - + "eleteB\007\n\005_bootB\016\n\014_device_nameB\026\n\024_disk_" - + "encryption_keyB\017\n\r_disk_size_gbB\014\n\n_disk" - + "_typeB\010\n\006_indexB\014\n\n_interfaceB\007\n\005_kindB\007" - + "\n\005_modeB\t\n\007_sourceB\020\n\016_storage_bytesB\027\n\025" - + "_storage_bytes_statusB\007\n\005_type\"\305\003\n\tSaved" - + "Disk\022\035\n\014architecture\030\323\322\261\220\001 \001(\tH\000\210\001\001\022\024\n\004k" - + "ind\030\224\367\310\001 \001(\tH\001\210\001\001\022\034\n\013source_disk\030\301\356\264\327\001 \001" - + "(\tH\002\210\001\001\022\036\n\rstorage_bytes\030\247\273\275\312\001 \001(\003H\003\210\001\001\022" - + "%\n\024storage_bytes_status\030\212\253\200\352\001 \001(\tH\004\210\001\001\"j" - + "\n\014Architecture\022\032\n\026UNDEFINED_ARCHITECTURE" - + "\020\000\022 \n\030ARCHITECTURE_UNSPECIFIED\020\253\324\235\274\001\022\014\n\005" - + "ARM64\020\372\313\351\035\022\016\n\006X86_64\020\307\244\346\312\001\"]\n\022StorageByt" - + "esStatus\022\"\n\036UNDEFINED_STORAGE_BYTES_STAT" - + "US\020\000\022\020\n\010UPDATING\020\306\356\354\353\001\022\021\n\nUP_TO_DATE\020\316\242\247" - + "0B\017\n\r_architectureB\007\n\005_kindB\016\n\014_source_d" - + "iskB\020\n\016_storage_bytesB\027\n\025_storage_bytes_" - + "status\"\201\002\n\025ScalingScheduleStatus\022\037\n\017last" - + "_start_time\030\323\273\274\020 \001(\tH\000\210\001\001\022\037\n\017next_start_" - + "time\030\326\362\260. \001(\tH\001\210\001\001\022\025\n\005state\030\221\211\2534 \001(\tH\002\210\001" - + "\001\"]\n\005State\022\023\n\017UNDEFINED_STATE\020\000\022\016\n\006ACTIV" - + "E\020\206\346\211\226\001\022\020\n\010DISABLED\020\374\324\260\366\001\022\017\n\010OBSOLETE\020\231\353" - + "\334\037\022\014\n\005READY\020\203\303\217%B\022\n\020_last_start_timeB\022\n\020" - + "_next_start_timeB\010\n\006_state\"\237\007\n\nSchedulin" - + "g\022\"\n\021automatic_restart\030\373\267\244\247\001 \001(\010H\000\210\001\001\022+\n" - + "\033instance_termination_action\030\273\377\2313 \001(\tH\001\210" - + "\001\001\022M\n\032local_ssd_recovery_timeout\030\346\257\346\177 \001(" - + "\0132!.google.cloud.compute.v1.DurationH\002\210\001" - + "\001\022\036\n\rlocation_hint\030\321\201\222\247\001 \001(\tH\003\210\001\001\022\036\n\rmin" - + "_node_cpus\030\273\244\242\227\001 \001(\005H\004\210\001\001\022L\n\017node_affini" - + "ties\030\243\204\232\334\001 \003(\0132/.google.cloud.compute.v1" - + ".SchedulingNodeAffinity\022#\n\023on_host_maint" - + "enance\030\334\362\347\036 \001(\tH\005\210\001\001\022\034\n\013preemptible\030\241\345\313\232" - + "\001 \001(\010H\006\210\001\001\022!\n\022provisioning_model\030\327\226\036 \001(\t" - + "H\007\210\001\001\"\223\001\n\031InstanceTerminationAction\022)\n%U" - + "NDEFINED_INSTANCE_TERMINATION_ACTION\020\000\022\016" - + "\n\006DELETE\020\253\363\345\277\001\022.\n\'INSTANCE_TERMINATION_A" - + "CTION_UNSPECIFIED\020\263\301\251,\022\013\n\004STOP\020\202\200\234\001\"Y\n\021O" - + "nHostMaintenance\022!\n\035UNDEFINED_ON_HOST_MA" - + "INTENANCE\020\000\022\016\n\007MIGRATE\020\213\303\201O\022\021\n\tTERMINATE" - + "\020\301\234\313\373\001\"T\n\021ProvisioningModel\022 \n\034UNDEFINED" - + "_PROVISIONING_MODEL\020\000\022\013\n\004SPOT\020\202\342\233\001\022\020\n\010ST" - + "ANDARD\020\275\235\214\347\001B\024\n\022_automatic_restartB\036\n\034_i" - + "nstance_termination_actionB\035\n\033_local_ssd" - + "_recovery_timeoutB\020\n\016_location_hintB\020\n\016_" - + "min_node_cpusB\026\n\024_on_host_maintenanceB\016\n" - + "\014_preemptibleB\025\n\023_provisioning_model\"\307\001\n" - + "\026SchedulingNodeAffinity\022\022\n\003key\030\337\274\006 \001(\tH\000" - + "\210\001\001\022\030\n\010operator\030\244\321\250\021 \001(\tH\001\210\001\001\022\021\n\006values\030" - + "\242\272\226w \003(\t\"W\n\010Operator\022\026\n\022UNDEFINED_OPERAT" - + "OR\020\000\022\007\n\002IN\020\245\022\022\r\n\006NOT_IN\020\261\274\353L\022\033\n\024OPERATOR" - + "_UNSPECIFIED\020\374\377\272=B\006\n\004_keyB\013\n\t_operator\"3" - + "\n\014ScratchDisks\022\027\n\007disk_gb\030\275\305\212\035 \001(\005H\000\210\001\001B" - + "\n\n\010_disk_gb\"S\n\nScreenshot\022\031\n\010contents\030\232\266" - + "\275\361\001 \001(\tH\000\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001B\013\n\t_c" - + "ontentsB\007\n\005_kind\"\357\003\n\036SecurityPoliciesAgg" - + "regatedList\022\024\n\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n\002id\030" - + "\233\032 \001(\tH\001\210\001\001\022T\n\005items\030\300\317\367/ \003(\0132B.google.c" - + "loud.compute.v1.SecurityPoliciesAggregat" - + "edList.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022" - + "\037\n\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n\tself" - + "_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n\014unreachables\030\237\240\206" - + "t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud" - + ".compute.v1.WarningH\005\210\001\001\032a\n\nItemsEntry\022\013" - + "\n\003key\030\001 \001(\t\022B\n\005value\030\002 \001(\01323.google.clou" - + "d.compute.v1.SecurityPoliciesScopedList:" - + "\0028\001B\007\n\005_etagB\005\n\003_idB\007\n\005_kindB\022\n\020_next_pa" - + "ge_tokenB\014\n\n_self_linkB\n\n\010_warning\"\277\001\n7S" - + "ecurityPoliciesListPreconfiguredExpressi" - + "onSetsResponse\022b\n\035preconfigured_expressi" - + "on_sets\030\372\214\327\377\001 \001(\01322.google.cloud.compute" - + ".v1.SecurityPoliciesWafConfigH\000\210\001\001B \n\036_p" - + "reconfigured_expression_sets\"\252\001\n\032Securit" - + "yPoliciesScopedList\022E\n\021security_policies" - + "\030\357\246\367< \003(\0132\'.google.cloud.compute.v1.Secu" - + "rityPolicy\0229\n\007warning\030\234\337\226\030 \001(\0132 .google." - + "cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_warnin" - + "g\"r\n\031SecurityPoliciesWafConfig\022G\n\twaf_ru" - + "les\030\324\303\333# \001(\0132,.google.cloud.compute.v1.P" - + "reconfiguredWafSetH\000\210\001\001B\014\n\n_waf_rules\"\257\n" - + "\n\016SecurityPolicy\022k\n\032adaptive_protection_" - + "config\030\337\373\321G \001(\0132?.google.cloud.compute.v" - + "1.SecurityPolicyAdaptiveProtectionConfig" - + "H\000\210\001\001\022f\n\027advanced_options_config\030\300\323\235\326\001 \001" - + "(\0132<.google.cloud.compute.v1.SecurityPol" - + "icyAdvancedOptionsConfigH\001\210\001\001\022\"\n\022creatio" - + "n_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022c\n\026ddos_protec" - + "tion_config\030\315\204\377\027 \001(\0132;.google.cloud.comp" - + "ute.v1.SecurityPolicyDdosProtectionConfi", - "gH\003\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\004\210\001\001\022\033\n\013" - + "fingerprint\030\344\321\363o \001(\tH\005\210\001\001\022\020\n\002id\030\233\032 \001(\004H\006" - + "\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\007\210\001\001\022!\n\021label_finge" - + "rprint\030\231\360\367T \001(\tH\010\210\001\001\022G\n\006labels\030\377\277\301\356\001 \003(\013" - + "23.google.cloud.compute.v1.SecurityPolic" - + "y.LabelsEntry\022\024\n\004name\030\213\365\315\001 \001(\tH\t\210\001\001\022h\n\030r" - + "ecaptcha_options_config\030\333\324\275\367\001 \001(\0132=.goog" - + "le.cloud.compute.v1.SecurityPolicyRecapt" - + "chaOptionsConfigH\n\210\001\001\022\026\n\006region\030\364\315\240B \001(\t" - + "H\013\210\001\001\022=\n\005rules\030\367\221\3653 \003(\0132+.google.cloud.c" - + "ompute.v1.SecurityPolicyRule\022\032\n\tself_lin" - + "k\030\215\222\305\331\001 \001(\tH\014\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\r\210\001\001\022W" - + "\n\023user_defined_fields\030\243\211\300\r \003(\01327.google." - + "cloud.compute.v1.SecurityPolicyUserDefin" - + "edField\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" - + "alue\030\002 \001(\t:\0028\001\"d\n\004Type\022\022\n\016UNDEFINED_TYPE" - + "\020\000\022\022\n\013CLOUD_ARMOR\020\365\234\244|\022\027\n\020CLOUD_ARMOR_ED" - + "GE\020\307\242\307w\022\033\n\023CLOUD_ARMOR_NETWORK\020\304\254\371\350\001B\035\n\033" - + "_adaptive_protection_configB\032\n\030_advanced" - + "_options_configB\025\n\023_creation_timestampB\031" - + "\n\027_ddos_protection_configB\016\n\014_descriptio" - + "nB\016\n\014_fingerprintB\005\n\003_idB\007\n\005_kindB\024\n\022_la" - + "bel_fingerprintB\007\n\005_nameB\033\n\031_recaptcha_o" - + "ptions_configB\t\n\007_regionB\014\n\n_self_linkB\007" - + "\n\005_type\"\315\001\n&SecurityPolicyAdaptiveProtec" - + "tionConfig\022\203\001\n\032layer7_ddos_defense_confi" - + "g\030\243\331\303\320\001 \001(\0132V.google.cloud.compute.v1.Se" - + "curityPolicyAdaptiveProtectionConfigLaye" - + "r7DdosDefenseConfigH\000\210\001\001B\035\n\033_layer7_ddos" - + "_defense_config\"\363\002\n=SecurityPolicyAdapti" - + "veProtectionConfigLayer7DdosDefenseConfi" - + "g\022\027\n\006enable\030\203\313\324\224\001 \001(\010H\000\210\001\001\022 \n\017rule_visib" - + "ility\030\265\330\220\330\001 \001(\tH\001\210\001\001\022\203\001\n\021threshold_confi" - + "gs\030\235\253\343\034 \003(\0132e.google.cloud.compute.v1.Se" - + "curityPolicyAdaptiveProtectionConfigLaye" - + "r7DdosDefenseConfigThresholdConfig\"R\n\016Ru" - + "leVisibility\022\035\n\031UNDEFINED_RULE_VISIBILIT" - + "Y\020\000\022\017\n\007PREMIUM\020\267\264\301\276\001\022\020\n\010STANDARD\020\275\235\214\347\001B\t" - + "\n\007_enableB\022\n\020_rule_visibility\"\301\003\nLSecuri" - + "tyPolicyAdaptiveProtectionConfigLayer7Dd" - + "osDefenseConfigThresholdConfig\0220\n auto_d" - + "eploy_confidence_threshold\030\276\355\231( \001(\002H\000\210\001\001" - + "\022*\n\032auto_deploy_expiration_sec\030\211\265\232! \001(\005H" - + "\001\210\001\001\0228\n\'auto_deploy_impacted_baseline_th" - + "reshold\030\303\234\271\213\001 \001(\002H\002\210\001\001\022+\n\032auto_deploy_lo" - + "ad_threshold\030\232\240\202\371\001 \001(\002H\003\210\001\001\022\024\n\004name\030\213\365\315\001" - + " \001(\tH\004\210\001\001B#\n!_auto_deploy_confidence_thr" - + "esholdB\035\n\033_auto_deploy_expiration_secB*\n" - + "(_auto_deploy_impacted_baseline_threshol" - + "dB\035\n\033_auto_deploy_load_thresholdB\007\n\005_nam" - + "e\"\336\003\n#SecurityPolicyAdvancedOptionsConfi" - + "g\022p\n\022json_custom_config\030\271\331\2315 \001(\0132L.googl" - + "e.cloud.compute.v1.SecurityPolicyAdvance" - + "dOptionsConfigJsonCustomConfigH\000\210\001\001\022\035\n\014j" - + "son_parsing\030\331\204\332\206\001 \001(\tH\001\210\001\001\022\031\n\tlog_level\030" - + "\311\275\204C \001(\tH\002\210\001\001\022#\n\027user_ip_request_headers" - + "\030\262\357\342\310\001 \003(\t\"k\n\013JsonParsing\022\032\n\026UNDEFINED_J" - + "SON_PARSING\020\000\022\020\n\010DISABLED\020\374\324\260\366\001\022\020\n\010STAND" - + "ARD\020\275\235\214\347\001\022\034\n\025STANDARD_WITH_GRAPHQL\020\222\277\2013\"" - + "C\n\010LogLevel\022\027\n\023UNDEFINED_LOG_LEVEL\020\000\022\r\n\006" - + "NORMAL\020\347\341\346L\022\017\n\007VERBOSE\020\342\212\344\375\001B\025\n\023_json_cu" - + "stom_configB\017\n\r_json_parsingB\014\n\n_log_lev" - + "el\"O\n3SecurityPolicyAdvancedOptionsConfi" - + "gJsonCustomConfig\022\030\n\rcontent_types\030\263\342\247\010 " - + "\003(\t\"\256\001\n\"SecurityPolicyDdosProtectionConf" - + "ig\022 \n\017ddos_protection\030\224\237\233\203\001 \001(\tH\000\210\001\001\"R\n\016" - + "DdosProtection\022\035\n\031UNDEFINED_DDOS_PROTECT" - + "ION\020\000\022\017\n\010ADVANCED\020\242\260\265\036\022\020\n\010STANDARD\020\275\235\214\347\001" - + "B\022\n\020_ddos_protection\"\203\002\n\022SecurityPolicyL" - + "ist\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0229\n\005items\030\300\317\367/ \003(\0132" - + "\'.google.cloud.compute.v1.SecurityPolicy" + + "ipv4_nexthop_addressB\027\n\025_ipv6_nexthop_ad" + + "dressB\022\n\020_management_typeB\036\n\034_md5_authen" + + "tication_key_nameB\007\n\005_nameB\013\n\t_peer_asnB" + + "\022\n\020_peer_ip_addressB\034\n\032_peer_ipv4_nextho" + + "p_addressB\034\n\032_peer_ipv6_nexthop_addressB" + + "\034\n\032_router_appliance_instance\"\206\003\n\020Router" + + "BgpPeerBfd\022$\n\024min_receive_interval\030\356\271\224Y " + + "\001(\rH\000\210\001\001\022&\n\025min_transmit_interval\030\307\321\302\371\001 " + + "\001(\rH\001\210\001\001\022\032\n\nmultiplier\030\301\373\235[ \001(\rH\002\210\001\001\022+\n\033" + + "session_initialization_mode\030\271\215\3032 \001(\tH\003\210\001" + + "\001\"y\n\031SessionInitializationMode\022)\n%UNDEFI" + + "NED_SESSION_INITIALIZATION_MODE\020\000\022\016\n\006ACT" + + "IVE\020\206\346\211\226\001\022\020\n\010DISABLED\020\374\324\260\366\001\022\017\n\007PASSIVE\020\207" + + "\366\327\334\001B\027\n\025_min_receive_intervalB\030\n\026_min_tr" + + "ansmit_intervalB\r\n\013_multiplierB\036\n\034_sessi" + + "on_initialization_mode\"D\n!RouterBgpPeerC" + + "ustomLearnedIpRange\022\025\n\005range\030\275\362\3203 \001(\tH\000\210" + + "\001\001B\010\n\006_range\"\225\005\n\017RouterInterface\022\030\n\010ip_r" + + "ange\030\245\340\227E \001(\tH\000\210\001\001\022\033\n\nip_version\030\300\363\322\214\001 \001" + + "(\tH\001\210\001\001\022/\n\036linked_interconnect_attachmen" + + "t\030\316\352\367\356\001 \001(\tH\002\210\001\001\022\"\n\021linked_vpn_tunnel\030\371\277" + + "\376\247\001 \001(\tH\003\210\001\001\022\037\n\017management_type\030\266\203\352R \001(\t" + + "H\004\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022\"\n\022private_i" + + "p_address\030\230\322\2130 \001(\tH\006\210\001\001\022$\n\023redundant_int" + + "erface\030\347\350\274\371\001 \001(\tH\007\210\001\001\022\033\n\nsubnetwork\030\356\247\344\222" + + "\001 \001(\tH\010\210\001\001\"?\n\tIpVersion\022\030\n\024UNDEFINED_IP_" + + "VERSION\020\000\022\013\n\004IPV4\020\205\314\211\001\022\013\n\004IPV6\020\207\314\211\001\"g\n\016M" + + "anagementType\022\035\n\031UNDEFINED_MANAGEMENT_TY" + + "PE\020\000\022\035\n\025MANAGED_BY_ATTACHMENT\020\313\322\352\332\001\022\027\n\017M" + + "ANAGED_BY_USER\020\363\213\246\227\001B\013\n\t_ip_rangeB\r\n\013_ip" + + "_versionB!\n\037_linked_interconnect_attachm" + + "entB\024\n\022_linked_vpn_tunnelB\022\n\020_management" + + "_typeB\007\n\005_nameB\025\n\023_private_ip_addressB\026\n" + + "\024_redundant_interfaceB\r\n\013_subnetwork\"\235\002\n" + + "\nRouterList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0221\n\005items\030\300" + + "\317\367/ \003(\0132\037.google.cloud.compute.v1.Router" + "\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_toke" - + "n\030\225\272\206& \001(\tH\002\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .go" - + "ogle.cloud.compute.v1.WarningH\003\210\001\001B\005\n\003_i" - + "dB\007\n\005_kindB\022\n\020_next_page_tokenB\n\n\010_warni" - + "ng\"`\n$SecurityPolicyRecaptchaOptionsConf" - + "ig\022\"\n\021redirect_site_key\030\352\204\274\325\001 \001(\tH\000\210\001\001B\024" - + "\n\022_redirect_site_key\"N\n\027SecurityPolicyRe" - + "ference\022\037\n\017security_policy\030\221\206\312Q \001(\tH\000\210\001\001" - + "B\022\n\020_security_policy\"\367\006\n\022SecurityPolicyR" - + "ule\022\026\n\006action\030\266\374\275Y \001(\tH\000\210\001\001\022\034\n\013descripti" - + "on\030\374\207\326\311\001 \001(\tH\001\210\001\001\022[\n\rheader_action\030\250\240\270\234\001" - + " \001(\0132;.google.cloud.compute.v1.SecurityP" - + "olicyRuleHttpHeaderActionH\002\210\001\001\022\024\n\004kind\030\224" - + "\367\310\001 \001(\tH\003\210\001\001\022I\n\005match\030\305\263\2671 \001(\01322.google." - + "cloud.compute.v1.SecurityPolicyRuleMatch" - + "erH\004\210\001\001\022Y\n\rnetwork_match\030\364\370\372\334\001 \001(\01329.goo" - + "gle.cloud.compute.v1.SecurityPolicyRuleN" - + "etworkMatcherH\005\210\001\001\022k\n\030preconfigured_waf_" - + "config\030\343\237\2268 \001(\0132A.google.cloud.compute.v" - + "1.SecurityPolicyRulePreconfiguredWafConf" - + "igH\006\210\001\001\022\027\n\007preview\030\310\307\243h \001(\010H\007\210\001\001\022\031\n\010prio" - + "rity\030\244\363\241\324\001 \001(\005H\010\210\001\001\022_\n\022rate_limit_option" - + "s\030\373\311\232 \001(\0132;.google.cloud.compute.v1.Sec" - + "urityPolicyRuleRateLimitOptionsH\t\210\001\001\022\\\n\020" - + "redirect_options\030\273\222\356M \001(\0132:.google.cloud" - + ".compute.v1.SecurityPolicyRuleRedirectOp" - + "tionsH\n\210\001\001B\t\n\007_actionB\016\n\014_descriptionB\020\n" - + "\016_header_actionB\007\n\005_kindB\010\n\006_matchB\020\n\016_n" - + "etwork_matchB\033\n\031_preconfigured_waf_confi" - + "gB\n\n\010_previewB\013\n\t_priorityB\025\n\023_rate_limi" - + "t_optionsB\023\n\021_redirect_options\"\225\001\n\"Secur" - + "ityPolicyRuleHttpHeaderAction\022o\n\027request" - + "_headers_to_adds\030\315\253\372) \003(\0132K.google.cloud" - + ".compute.v1.SecurityPolicyRuleHttpHeader" - + "ActionHttpHeaderOption\"\220\001\n2SecurityPolic" - + "yRuleHttpHeaderActionHttpHeaderOption\022\033\n" - + "\013header_name\030\375\301\3074 \001(\tH\000\210\001\001\022\034\n\014header_val" - + "ue\030\277\362\353` \001(\tH\001\210\001\001B\016\n\014_header_nameB\017\n\r_hea" - + "der_value\"\233\003\n\031SecurityPolicyRuleMatcher\022" - + "P\n\006config\030\302\206\376y \001(\01328.google.cloud.comput" - + "e.v1.SecurityPolicyRuleMatcherConfigH\000\210\001" - + "\001\0223\n\004expr\030\365\363\276\001 \001(\0132\035.google.cloud.comput" - + "e.v1.ExprH\001\210\001\001\022\\\n\014expr_options\030\324\304\354\347\001 \001(\013" - + "2=.google.cloud.compute.v1.SecurityPolic" - + "yRuleMatcherExprOptionsH\002\210\001\001\022\037\n\016versione" - + "d_expr\030\275\343\326\231\001 \001(\tH\003\210\001\001\"@\n\rVersionedExpr\022\034" - + "\n\030UNDEFINED_VERSIONED_EXPR\020\000\022\021\n\nSRC_IPS_" - + "V1\020\211\375\350!B\t\n\007_configB\007\n\005_exprB\017\n\r_expr_opt" - + "ionsB\021\n\017_versioned_expr\"<\n\037SecurityPolic" - + "yRuleMatcherConfig\022\031\n\rsrc_ip_ranges\030\323\200\207\316" - + "\001 \003(\t\"\257\001\n$SecurityPolicyRuleMatcherExprO" - + "ptions\022q\n\021recaptcha_options\030\306\366\307\271\001 \001(\0132M." - + "google.cloud.compute.v1.SecurityPolicyRu" - + "leMatcherExprOptionsRecaptchaOptionsH\000\210\001" - + "\001B\024\n\022_recaptcha_options\"~\n4SecurityPolic" - + "yRuleMatcherExprOptionsRecaptchaOptions\022" - + "!\n\026action_token_site_keys\030\235\352\311\034 \003(\t\022#\n\027se" - + "ssion_token_site_keys\030\375\362\372\236\001 \003(\t\"\303\002\n Secu" - + "rityPolicyRuleNetworkMatcher\022\032\n\016dest_ip_" - + "ranges\030\221\327\356\240\001 \003(\t\022\026\n\ndest_ports\030\265\260\223\265\001 \003(\t" - + "\022\027\n\014ip_protocols\030\303\217\315{ \003(\t\022\023\n\010src_asns\030\362\275" - + "\2278 \003(\r\022\031\n\rsrc_ip_ranges\030\323\200\207\316\001 \003(\t\022\025\n\tsrc" - + "_ports\030\367\273\236\324\001 \003(\t\022\033\n\020src_region_codes\030\226\343\237" - + "/ \003(\t\022n\n\023user_defined_fields\030\243\211\300\r \003(\0132N." + + "n\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003" + + "\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.c" + + "ompute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022" + + "\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_war" + + "ning\"W\n\032RouterMd5AuthenticationKey\022\022\n\003ke" + + "y\030\337\274\006 \001(\tH\000\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\001\210\001\001B\006\n\004" + + "_keyB\007\n\005_name\"\353\016\n\tRouterNat\022\"\n\021auto_netw" + + "ork_tier\030\343\273\321\200\001 \001(\tH\000\210\001\001\022\031\n\rdrain_nat_ips" + + "\030\307\301\256\360\001 \003(\t\022/\n\036enable_dynamic_port_alloca" + + "tion\030\242\231\335\375\001 \001(\010H\001\210\001\001\0223\n#enable_endpoint_i" + + "ndependent_mapping\030\233\211\333{ \001(\010H\002\210\001\001\022\032\n\016endp" + + "oint_types\030\317\252\326\357\001 \003(\t\022%\n\025icmp_idle_timeou" + + "t_sec\030\312\320\336\001 \001(\005H\003\210\001\001\022H\n\nlog_config\030\235\321\301\247\001 " + + "\001(\0132+.google.cloud.compute.v1.RouterNatL" + + "ogConfigH\004\210\001\001\022 \n\020max_ports_per_vm\030\341\311\236w \001" + + "(\005H\005\210\001\001\022 \n\020min_ports_per_vm\030\263\255\344X \001(\005H\006\210\001" + + "\001\022\024\n\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022\'\n\026nat_ip_alloca" + + "te_option\030\375\270\364\314\001 \001(\tH\010\210\001\001\022\022\n\007nat_ips\030\216\360\2138" + + " \003(\t\0228\n\005rules\030\367\221\3653 \003(\0132&.google.cloud.co" + + "mpute.v1.RouterNatRule\0222\n\"source_subnetw" + + "ork_ip_ranges_to_nat\030\333\357\241x \001(\tH\t\210\001\001\022J\n\013su" + + "bnetworks\030\305\324\245\306\001 \003(\01321.google.cloud.compu" + + "te.v1.RouterNatSubnetworkToNat\0220\n tcp_es" + + "tablished_idle_timeout_sec\030\355\353\260j \001(\005H\n\210\001\001" + + "\022*\n\031tcp_time_wait_timeout_sec\030\375\273\363\364\001 \001(\005H" + + "\013\210\001\001\022/\n\037tcp_transitory_idle_timeout_sec\030" + + "\246\373\341a \001(\005H\014\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\r\210\001\001\022$\n\024u" + + "dp_idle_timeout_sec\030\306\262\372\036 \001(\005H\016\210\001\001\"\230\001\n\017Au" + + "toNetworkTier\022\037\n\033UNDEFINED_AUTO_NETWORK_" + + "TIER\020\000\022\026\n\016FIXED_STANDARD\020\310\236\205\224\001\022\017\n\007PREMIU" + + "M\020\267\264\301\276\001\022\020\n\010STANDARD\020\275\235\214\347\001\022)\n!STANDARD_OV" + + "ERRIDES_FIXED_STANDARD\020\302\207\221\336\001\"\210\001\n\rEndpoin" + + "tTypes\022\034\n\030UNDEFINED_ENDPOINT_TYPES\020\000\022&\n\036" + + "ENDPOINT_TYPE_MANAGED_PROXY_LB\020\202\272\266\321\001\022\030\n\021" + + "ENDPOINT_TYPE_SWG\020\310\316\375K\022\027\n\020ENDPOINT_TYPE_" + + "VM\020\262\352\234\033\"a\n\023NatIpAllocateOption\022$\n UNDEFI" + + "NED_NAT_IP_ALLOCATE_OPTION\020\000\022\020\n\tAUTO_ONL" + + "Y\020\274\340\370V\022\022\n\013MANUAL_ONLY\020\205\301\311|\"\302\001\n\035SourceSub" + + "networkIpRangesToNat\0220\n,UNDEFINED_SOURCE" + + "_SUBNETWORK_IP_RANGES_TO_NAT\020\000\022$\n\035ALL_SU" + + "BNETWORKS_ALL_IP_RANGES\020\330\223\350U\022,\n%ALL_SUBN", + "ETWORKS_ALL_PRIMARY_IP_RANGES\020\273\303\276X\022\033\n\023LI" + + "ST_OF_SUBNETWORKS\020\376\242\344\366\001\":\n\004Type\022\022\n\016UNDEF" + + "INED_TYPE\020\000\022\017\n\007PRIVATE\020\343\342\262\300\001\022\r\n\006PUBLIC\020\351" + + "\314\302jB\024\n\022_auto_network_tierB!\n\037_enable_dyn" + + "amic_port_allocationB&\n$_enable_endpoint" + + "_independent_mappingB\030\n\026_icmp_idle_timeo" + + "ut_secB\r\n\013_log_configB\023\n\021_max_ports_per_" + + "vmB\023\n\021_min_ports_per_vmB\007\n\005_nameB\031\n\027_nat" + + "_ip_allocate_optionB%\n#_source_subnetwor" + + "k_ip_ranges_to_natB#\n!_tcp_established_i" + + "dle_timeout_secB\034\n\032_tcp_time_wait_timeou" + + "t_secB\"\n _tcp_transitory_idle_timeout_se" + + "cB\007\n\005_typeB\027\n\025_udp_idle_timeout_sec\"\267\001\n\022" + + "RouterNatLogConfig\022\027\n\006enable\030\203\313\324\224\001 \001(\010H\000" + + "\210\001\001\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\001\210\001\001\"Y\n\006Filter\022\024" + + "\n\020UNDEFINED_FILTER\020\000\022\t\n\003ALL\020\201\373\003\022\023\n\013ERROR" + + "S_ONLY\020\200\260\317\222\001\022\031\n\021TRANSLATIONS_ONLY\020\351\303\252\252\001B" + + "\t\n\007_enableB\t\n\007_filter\"\335\001\n\rRouterNatRule\022" + + "D\n\006action\030\266\374\275Y \001(\0132,.google.cloud.comput" + + "e.v1.RouterNatRuleActionH\000\210\001\001\022\034\n\013descrip" + + "tion\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\025\n\005match\030\305\263\2671 \001(\tH\002\210" + + "\001\001\022\034\n\013rule_number\030\354\333\232\377\001 \001(\rH\003\210\001\001B\t\n\007_act" + + "ionB\016\n\014_descriptionB\010\n\006_matchB\016\n\014_rule_n" + + "umber\"\242\001\n\023RouterNatRuleAction\022 \n\025source_" + + "nat_active_ips\030\365\273\250d \003(\t\022#\n\030source_nat_ac" + + "tive_ranges\030\355\320\356Z \003(\t\022 \n\024source_nat_drain" + + "_ips\030\243\305\301\242\001 \003(\t\022\"\n\027source_nat_drain_range" + + "s\030\377\371\267( \003(\t\"\226\002\n\030RouterNatSubnetworkToNat\022" + + "\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001\022#\n\030secondary_ip_ra" + + "nge_names\030\331\301\204~ \003(\t\022#\n\027source_ip_ranges_t" + + "o_nat\030\362\312\224\271\001 \003(\t\"\220\001\n\023SourceIpRangesToNat\022" + + "%\n!UNDEFINED_SOURCE_IP_RANGES_TO_NAT\020\000\022\024" + + "\n\rALL_IP_RANGES\020\260\257\375\020\022\"\n\033LIST_OF_SECONDAR" + + "Y_IP_RANGES\020\234\264\330[\022\030\n\020PRIMARY_IP_RANGE\020\302\223\326" + + "\215\001B\007\n\005_name\"\306\002\n\014RouterStatus\0227\n\013best_rou" + + "tes\030\205\254\337\274\001 \003(\0132\036.google.cloud.compute.v1." + + "Route\022A\n\026best_routes_for_router\030\371\373\3668 \003(\013" + + "2\036.google.cloud.compute.v1.Route\022N\n\017bgp_" + + "peer_status\030\373\327\225h \003(\01322.google.cloud.comp" + + "ute.v1.RouterStatusBgpPeerStatus\022E\n\nnat_" + + "status\030\320\231\213\036 \003(\0132..google.cloud.compute.v" + + "1.RouterStatusNatStatus\022\027\n\007network\030\256\264\205o " + + "\001(\tH\000\210\001\001B\n\n\010_network\"\351\n\n\031RouterStatusBgp" + + "PeerStatus\022=\n\021advertised_routes\030\254\331\374\236\001 \003(" + + "\0132\036.google.cloud.compute.v1.Route\022?\n\nbfd" + + "_status\030\361\270\323\274\001 \001(\0132\".google.cloud.compute" + + ".v1.BfdStatusH\000\210\001\001\022\033\n\013enable_ipv4\030\241\366\303V \001" + + "(\010H\001\210\001\001\022\033\n\013enable_ipv6\030\243\366\303V \001(\010H\002\210\001\001\022\033\n\n" + + "ip_address\030\334\361\334\301\001 \001(\tH\003\210\001\001\022$\n\024ipv4_nextho" + + "p_address\030\321\215\334\002 \001(\tH\004\210\001\001\022$\n\024ipv6_nexthop_" + + "address\030\323\205\253\r \001(\tH\005\210\001\001\022\"\n\021linked_vpn_tunn" + + "el\030\371\277\376\247\001 \001(\tH\006\210\001\001\022!\n\020md5_auth_enabled\030\313\221" + + "\220\327\001 \001(\010H\007\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022\"\n\022nu" + + "m_learned_routes\030\377\325\313@ \001(\rH\t\210\001\001\022\037\n\017peer_i" + + "p_address\030\331\227\207c \001(\tH\n\210\001\001\022*\n\031peer_ipv4_nex" + + "thop_address\030\216\203\337\337\001 \001(\tH\013\210\001\001\022*\n\031peer_ipv6" + + "_nexthop_address\030\220\373\255\352\001 \001(\tH\014\210\001\001\022*\n\031route" + + "r_appliance_instance\030\235\307\247\337\001 \001(\tH\r\210\001\001\022\025\n\005s" + + "tate\030\221\211\2534 \001(\tH\016\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\017\210" + + "\001\001\022\036\n\rstatus_reason\030\261\226\265\243\001 \001(\tH\020\210\001\001\022\026\n\006up" + + "time\030\350\267\236p \001(\tH\021\210\001\001\022\036\n\016uptime_seconds\030\250\312\370" + + "1 \001(\tH\022\210\001\001\"E\n\006Status\022\024\n\020UNDEFINED_STATUS" + + "\020\000\022\013\n\004DOWN\020\242\271\200\001\022\017\n\007UNKNOWN\020\252\360\304\316\001\022\007\n\002UP\020\233" + + "\025\"\306\001\n\014StatusReason\022\033\n\027UNDEFINED_STATUS_R" + + "EASON\020\000\022)\n!IPV4_PEER_ON_IPV6_ONLY_CONNEC" + + "TION\020\226\273\357\317\001\022)\n!IPV6_PEER_ON_IPV4_ONLY_CON" + + "NECTION\020\322\361\205\320\001\022 \n\031MD5_AUTH_INTERNAL_PROBL" + + "EM\020\263\221\375B\022!\n\031STATUS_REASON_UNSPECIFIED\020\211\216\204" + + "\274\001B\r\n\013_bfd_statusB\016\n\014_enable_ipv4B\016\n\014_en" + + "able_ipv6B\r\n\013_ip_addressB\027\n\025_ipv4_nextho" + + "p_addressB\027\n\025_ipv6_nexthop_addressB\024\n\022_l" + + "inked_vpn_tunnelB\023\n\021_md5_auth_enabledB\007\n" + + "\005_nameB\025\n\023_num_learned_routesB\022\n\020_peer_i" + + "p_addressB\034\n\032_peer_ipv4_nexthop_addressB" + + "\034\n\032_peer_ipv6_nexthop_addressB\034\n\032_router" + + "_appliance_instanceB\010\n\006_stateB\t\n\007_status" + + "B\020\n\016_status_reasonB\t\n\007_uptimeB\021\n\017_uptime" + + "_seconds\"\367\003\n\025RouterStatusNatStatus\022\"\n\026au" + + "to_allocated_nat_ips\030\206\264\310\363\001 \003(\t\022(\n\034drain_" + + "auto_allocated_nat_ips\030\255\220\267\223\001 \003(\t\022(\n\034drai" + + "n_user_allocated_nat_ips\030\311\216\310\221\001 \003(\t\022)\n\030mi" + + "n_extra_nat_ips_needed\030\342\351\265\256\001 \001(\005H\000\210\001\001\022\024\n" + + "\004name\030\213\365\315\001 \001(\tH\001\210\001\001\0223\n\"num_vm_endpoints_" + + "with_nat_mappings\030\354\266\250\364\001 \001(\005H\002\210\001\001\022S\n\013rule" + + "_status\030\225\305\356B \003(\0132;.google.cloud.compute." + + "v1.RouterStatusNatStatusNatRuleStatus\022*\n" + + "\037user_allocated_nat_ip_resources\030\327\351\272e \003(" + + "\t\022\"\n\026user_allocated_nat_ips\030\242\262\331\361\001 \003(\tB\033\n" + + "\031_min_extra_nat_ips_neededB\007\n\005_nameB%\n#_" + + "num_vm_endpoints_with_nat_mappings\"\244\002\n\"R" + + "outerStatusNatStatusNatRuleStatus\022\031\n\016act" + + "ive_nat_ips\030\325\357\266c \003(\t\022\031\n\rdrain_nat_ips\030\307\301" + + "\256\360\001 \003(\t\022%\n\024min_extra_ips_needed\030\204\312\251\250\001 \001(" + + "\005H\000\210\001\001\0223\n\"num_vm_endpoints_with_nat_mapp" + + "ings\030\354\266\250\364\001 \001(\005H\001\210\001\001\022\034\n\013rule_number\030\354\333\232\377\001" + + " \001(\005H\002\210\001\001B\027\n\025_min_extra_ips_neededB%\n#_n" + + "um_vm_endpoints_with_nat_mappingsB\016\n\014_ru" + + "le_number\"\177\n\024RouterStatusResponse\022\024\n\004kin" + + "d\030\224\367\310\001 \001(\tH\000\210\001\001\022=\n\006result\030\235\220\267B \001(\0132%.goo" + + "gle.cloud.compute.v1.RouterStatusH\001\210\001\001B\007" + + "\n\005_kindB\t\n\007_result\"`\n\026RoutersPreviewResp" + + "onse\0229\n\010resource\030\216\210\257] \001(\0132\037.google.cloud" + + ".compute.v1.RouterH\000\210\001\001B\013\n\t_resource\"\220\001\n" + + "\021RoutersScopedList\0224\n\007routers\030\312\244\335\224\001 \003(\0132" + + "\037.google.cloud.compute.v1.Router\0229\n\007warn" + + "ing\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.W" + + "arningH\000\210\001\001B\n\n\010_warning\"\220\003\n\004Rule\022\026\n\006acti" + + "on\030\266\374\275Y \001(\tH\000\210\001\001\0229\n\nconditions\030\270\355\220D \003(\0132" + + "\".google.cloud.compute.v1.Condition\022\034\n\013d" + + "escription\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\r\n\003ins\030\356\257\006 \003(\t" + + "\022:\n\013log_configs\030\366\326\362H \003(\0132\".google.cloud." + + "compute.v1.LogConfig\022\023\n\007not_ins\030\202\241\233\367\001 \003(" + + "\t\022\026\n\013permissions\030\204\351\313\034 \003(\t\"\203\001\n\006Action\022\024\n\020" + + "UNDEFINED_ACTION\020\000\022\014\n\005ALLOW\020\251\326\336\035\022\025\n\016ALLO" + + "W_WITH_LOG\020\201\341\240$\022\n\n\004DENY\020\214\354\177\022\025\n\rDENY_WITH" + + "_LOG\020\376\351\311\247\001\022\t\n\003LOG\020\244\316\004\022\020\n\tNO_ACTION\020\364\264\244|B" + + "\t\n\007_actionB\016\n\014_description\"\330\003\n\016SSLHealth" + + "Check\022\024\n\004port\030\201\261\322\001 \001(\005H\000\210\001\001\022\031\n\tport_name" + + "\030\211\207\347\023 \001(\tH\001\210\001\001\022\"\n\022port_specification\030\305\353\314" + + "\030 \001(\tH\002\210\001\001\022\034\n\014proxy_header\030\376\272\274L \001(\tH\003\210\001\001" + + "\022\027\n\007request\030\217\345\273\n \001(\tH\004\210\001\001\022\030\n\010response\030\301\250" + + "\334] \001(\tH\005\210\001\001\"~\n\021PortSpecification\022 \n\034UNDE" + + "FINED_PORT_SPECIFICATION\020\000\022\025\n\016USE_FIXED_" + + "PORT\020\344\210\333Z\022\026\n\016USE_NAMED_PORT\020\277\317\307\246\001\022\030\n\020USE" + + "_SERVING_PORT\020\314\321\365\254\001\"H\n\013ProxyHeader\022\032\n\026UN" + + "DEFINED_PROXY_HEADER\020\000\022\013\n\004NONE\020\270\316\222\001\022\020\n\010P" + + "ROXY_V1\020\254\244\267\237\001B\007\n\005_portB\014\n\n_port_nameB\025\n\023" + + "_port_specificationB\017\n\r_proxy_headerB\n\n\010" + + "_requestB\013\n\t_response\"\217\010\n\021SavedAttachedD" + + "isk\022\034\n\013auto_delete\030\273\344\316\335\001 \001(\010H\000\210\001\001\022\024\n\004boo" + + "t\030\362\365\270\001 \001(\010H\001\210\001\001\022\033\n\013device_name\030\324\265\232 \001(\tH" + + "\002\210\001\001\022T\n\023disk_encryption_key\030\205\355\304\201\001 \001(\0132.." + + "google.cloud.compute.v1.CustomerEncrypti" + + "onKeyH\003\210\001\001\022\035\n\014disk_size_gb\030\267\232\347\226\001 \001(\003H\004\210\001" + + "\001\022\031\n\tdisk_type\030\234\351\254, \001(\tH\005\210\001\001\022E\n\021guest_os" + + "_features\030\321\340\347% \003(\0132\'.google.cloud.comput" + + "e.v1.GuestOsFeature\022\025\n\005index\030\322\321\354/ \001(\005H\006\210" + + "\001\001\022\032\n\tinterface\030\271\332\325\357\001 \001(\tH\007\210\001\001\022\024\n\004kind\030\224" + + "\367\310\001 \001(\tH\010\210\001\001\022\024\n\010licenses\030\322\210\200\241\001 \003(\t\022\024\n\004mo" + + "de\030\243\363\314\001 \001(\tH\t\210\001\001\022\026\n\006source\030\233\320\301T \001(\tH\n\210\001\001" + + "\022\036\n\rstorage_bytes\030\247\273\275\312\001 \001(\003H\013\210\001\001\022%\n\024stor" + + "age_bytes_status\030\212\253\200\352\001 \001(\tH\014\210\001\001\022\024\n\004type\030" + + "\272\236\332\001 \001(\tH\r\210\001\001\">\n\tInterface\022\027\n\023UNDEFINED_" + + "INTERFACE\020\000\022\013\n\004NVME\020\340\202\223\001\022\013\n\004SCSI\020\246\201\233\001\"?\n" + + "\004Mode\022\022\n\016UNDEFINED_MODE\020\000\022\020\n\tREAD_ONLY\020\265" + + "\231\354+\022\021\n\nREAD_WRITE\020\326\227\344R\"]\n\022StorageBytesSt" + + "atus\022\"\n\036UNDEFINED_STORAGE_BYTES_STATUS\020\000" + + "\022\020\n\010UPDATING\020\306\356\354\353\001\022\021\n\nUP_TO_DATE\020\316\242\2470\"?\n" + + "\004Type\022\022\n\016UNDEFINED_TYPE\020\000\022\022\n\nPERSISTENT\020" + + "\227\365\325\333\001\022\017\n\007SCRATCH\020\332\375\360\354\001B\016\n\014_auto_deleteB\007" + + "\n\005_bootB\016\n\014_device_nameB\026\n\024_disk_encrypt" + + "ion_keyB\017\n\r_disk_size_gbB\014\n\n_disk_typeB\010" + + "\n\006_indexB\014\n\n_interfaceB\007\n\005_kindB\007\n\005_mode" + + "B\t\n\007_sourceB\020\n\016_storage_bytesB\027\n\025_storag" + + "e_bytes_statusB\007\n\005_type\"\305\003\n\tSavedDisk\022\035\n" + + "\014architecture\030\323\322\261\220\001 \001(\tH\000\210\001\001\022\024\n\004kind\030\224\367\310" + + "\001 \001(\tH\001\210\001\001\022\034\n\013source_disk\030\301\356\264\327\001 \001(\tH\002\210\001\001" + + "\022\036\n\rstorage_bytes\030\247\273\275\312\001 \001(\003H\003\210\001\001\022%\n\024stor" + + "age_bytes_status\030\212\253\200\352\001 \001(\tH\004\210\001\001\"j\n\014Archi" + + "tecture\022\032\n\026UNDEFINED_ARCHITECTURE\020\000\022 \n\030A" + + "RCHITECTURE_UNSPECIFIED\020\253\324\235\274\001\022\014\n\005ARM64\020\372" + + "\313\351\035\022\016\n\006X86_64\020\307\244\346\312\001\"]\n\022StorageBytesStatu" + + "s\022\"\n\036UNDEFINED_STORAGE_BYTES_STATUS\020\000\022\020\n" + + "\010UPDATING\020\306\356\354\353\001\022\021\n\nUP_TO_DATE\020\316\242\2470B\017\n\r_a" + + "rchitectureB\007\n\005_kindB\016\n\014_source_diskB\020\n\016" + + "_storage_bytesB\027\n\025_storage_bytes_status\"" + + "\201\002\n\025ScalingScheduleStatus\022\037\n\017last_start_" + + "time\030\323\273\274\020 \001(\tH\000\210\001\001\022\037\n\017next_start_time\030\326\362" + + "\260. \001(\tH\001\210\001\001\022\025\n\005state\030\221\211\2534 \001(\tH\002\210\001\001\"]\n\005St" + + "ate\022\023\n\017UNDEFINED_STATE\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001" + + "\022\020\n\010DISABLED\020\374\324\260\366\001\022\017\n\010OBSOLETE\020\231\353\334\037\022\014\n\005R" + + "EADY\020\203\303\217%B\022\n\020_last_start_timeB\022\n\020_next_s" + + "tart_timeB\010\n\006_state\"\237\007\n\nScheduling\022\"\n\021au" + + "tomatic_restart\030\373\267\244\247\001 \001(\010H\000\210\001\001\022+\n\033instan" + + "ce_termination_action\030\273\377\2313 \001(\tH\001\210\001\001\022M\n\032l" + + "ocal_ssd_recovery_timeout\030\346\257\346\177 \001(\0132!.goo" + + "gle.cloud.compute.v1.DurationH\002\210\001\001\022\036\n\rlo" + + "cation_hint\030\321\201\222\247\001 \001(\tH\003\210\001\001\022\036\n\rmin_node_c" + + "pus\030\273\244\242\227\001 \001(\005H\004\210\001\001\022L\n\017node_affinities\030\243\204" + + "\232\334\001 \003(\0132/.google.cloud.compute.v1.Schedu" + + "lingNodeAffinity\022#\n\023on_host_maintenance\030" + + "\334\362\347\036 \001(\tH\005\210\001\001\022\034\n\013preemptible\030\241\345\313\232\001 \001(\010H\006" + + "\210\001\001\022!\n\022provisioning_model\030\327\226\036 \001(\tH\007\210\001\001\"\223" + + "\001\n\031InstanceTerminationAction\022)\n%UNDEFINE" + + "D_INSTANCE_TERMINATION_ACTION\020\000\022\016\n\006DELET" + + "E\020\253\363\345\277\001\022.\n\'INSTANCE_TERMINATION_ACTION_U" + + "NSPECIFIED\020\263\301\251,\022\013\n\004STOP\020\202\200\234\001\"Y\n\021OnHostMa" + + "intenance\022!\n\035UNDEFINED_ON_HOST_MAINTENAN" + + "CE\020\000\022\016\n\007MIGRATE\020\213\303\201O\022\021\n\tTERMINATE\020\301\234\313\373\001\"" + + "T\n\021ProvisioningModel\022 \n\034UNDEFINED_PROVIS" + + "IONING_MODEL\020\000\022\013\n\004SPOT\020\202\342\233\001\022\020\n\010STANDARD\020" + + "\275\235\214\347\001B\024\n\022_automatic_restartB\036\n\034_instance" + + "_termination_actionB\035\n\033_local_ssd_recove" + + "ry_timeoutB\020\n\016_location_hintB\020\n\016_min_nod" + + "e_cpusB\026\n\024_on_host_maintenanceB\016\n\014_preem" + + "ptibleB\025\n\023_provisioning_model\"\307\001\n\026Schedu" + + "lingNodeAffinity\022\022\n\003key\030\337\274\006 \001(\tH\000\210\001\001\022\030\n\010" + + "operator\030\244\321\250\021 \001(\tH\001\210\001\001\022\021\n\006values\030\242\272\226w \003(" + + "\t\"W\n\010Operator\022\026\n\022UNDEFINED_OPERATOR\020\000\022\007\n" + + "\002IN\020\245\022\022\r\n\006NOT_IN\020\261\274\353L\022\033\n\024OPERATOR_UNSPEC" + + "IFIED\020\374\377\272=B\006\n\004_keyB\013\n\t_operator\"3\n\014Scrat" + + "chDisks\022\027\n\007disk_gb\030\275\305\212\035 \001(\005H\000\210\001\001B\n\n\010_dis" + + "k_gb\"S\n\nScreenshot\022\031\n\010contents\030\232\266\275\361\001 \001(\t" + + "H\000\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001B\013\n\t_contents" + + "B\007\n\005_kind\"\357\003\n\036SecurityPoliciesAggregated" + + "List\022\024\n\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n\002id\030\233\032 \001(\tH" + + "\001\210\001\001\022T\n\005items\030\300\317\367/ \003(\0132B.google.cloud.co" + + "mpute.v1.SecurityPoliciesAggregatedList." + + "ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n\017next" + + "_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n\tself_link\030\215" + + "\222\305\331\001 \001(\tH\004\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229" + + "\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comput" + + "e.v1.WarningH\005\210\001\001\032a\n\nItemsEntry\022\013\n\003key\030\001" + + " \001(\t\022B\n\005value\030\002 \001(\01323.google.cloud.compu" + + "te.v1.SecurityPoliciesScopedList:\0028\001B\007\n\005" + + "_etagB\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_toke" + + "nB\014\n\n_self_linkB\n\n\010_warning\"\277\001\n7Security" + + "PoliciesListPreconfiguredExpressionSetsR" + + "esponse\022b\n\035preconfigured_expression_sets" + + "\030\372\214\327\377\001 \001(\01322.google.cloud.compute.v1.Sec" + + "urityPoliciesWafConfigH\000\210\001\001B \n\036_preconfi" + + "gured_expression_sets\"\252\001\n\032SecurityPolici" + + "esScopedList\022E\n\021security_policies\030\357\246\367< \003" + + "(\0132\'.google.cloud.compute.v1.SecurityPol" + + "icy\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.c" + + "ompute.v1.WarningH\000\210\001\001B\n\n\010_warning\"r\n\031Se" + + "curityPoliciesWafConfig\022G\n\twaf_rules\030\324\303\333" + + "# \001(\0132,.google.cloud.compute.v1.Preconfi" + + "guredWafSetH\000\210\001\001B\014\n\n_waf_rules\"\257\n\n\016Secur" + + "ityPolicy\022k\n\032adaptive_protection_config\030" + + "\337\373\321G \001(\0132?.google.cloud.compute.v1.Secur" + + "ityPolicyAdaptiveProtectionConfigH\000\210\001\001\022f" + + "\n\027advanced_options_config\030\300\323\235\326\001 \001(\0132<.go" + + "ogle.cloud.compute.v1.SecurityPolicyAdva" + + "ncedOptionsConfigH\001\210\001\001\022\"\n\022creation_times" + + "tamp\030\266\217\307\016 \001(\tH\002\210\001\001\022c\n\026ddos_protection_co" + + "nfig\030\315\204\377\027 \001(\0132;.google.cloud.compute.v1." + + "SecurityPolicyDdosProtectionConfigH\003\210\001\001\022" + + "\034\n\013description\030\374\207\326\311\001 \001(\tH\004\210\001\001\022\033\n\013fingerp" + + "rint\030\344\321\363o \001(\tH\005\210\001\001\022\020\n\002id\030\233\032 \001(\004H\006\210\001\001\022\024\n\004" + + "kind\030\224\367\310\001 \001(\tH\007\210\001\001\022!\n\021label_fingerprint\030" + + "\231\360\367T \001(\tH\010\210\001\001\022G\n\006labels\030\377\277\301\356\001 \003(\01323.goog" + + "le.cloud.compute.v1.SecurityPolicy.Label" + + "sEntry\022\024\n\004name\030\213\365\315\001 \001(\tH\t\210\001\001\022h\n\030recaptch" + + "a_options_config\030\333\324\275\367\001 \001(\0132=.google.clou" + + "d.compute.v1.SecurityPolicyRecaptchaOpti" + + "onsConfigH\n\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\013\210\001\001\022=" + + "\n\005rules\030\367\221\3653 \003(\0132+.google.cloud.compute." + + "v1.SecurityPolicyRule\022\032\n\tself_link\030\215\222\305\331\001" + + " \001(\tH\014\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\r\210\001\001\022W\n\023user_" + + "defined_fields\030\243\211\300\r \003(\01327.google.cloud.c" + + "ompute.v1.SecurityPolicyUserDefinedField" + + "\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + + "\001(\t:\0028\001\"d\n\004Type\022\022\n\016UNDEFINED_TYPE\020\000\022\022\n\013C" + + "LOUD_ARMOR\020\365\234\244|\022\027\n\020CLOUD_ARMOR_EDGE\020\307\242\307w" + + "\022\033\n\023CLOUD_ARMOR_NETWORK\020\304\254\371\350\001B\035\n\033_adapti" + + "ve_protection_configB\032\n\030_advanced_option" + + "s_configB\025\n\023_creation_timestampB\031\n\027_ddos" + + "_protection_configB\016\n\014_descriptionB\016\n\014_f" + + "ingerprintB\005\n\003_idB\007\n\005_kindB\024\n\022_label_fin" + + "gerprintB\007\n\005_nameB\033\n\031_recaptcha_options_" + + "configB\t\n\007_regionB\014\n\n_self_linkB\007\n\005_type" + + "\"\315\001\n&SecurityPolicyAdaptiveProtectionCon" + + "fig\022\203\001\n\032layer7_ddos_defense_config\030\243\331\303\320\001" + + " \001(\0132V.google.cloud.compute.v1.SecurityP" + + "olicyAdaptiveProtectionConfigLayer7DdosD" + + "efenseConfigH\000\210\001\001B\035\n\033_layer7_ddos_defens" + + "e_config\"\363\002\n=SecurityPolicyAdaptiveProte" + + "ctionConfigLayer7DdosDefenseConfig\022\027\n\006en" + + "able\030\203\313\324\224\001 \001(\010H\000\210\001\001\022 \n\017rule_visibility\030\265" + + "\330\220\330\001 \001(\tH\001\210\001\001\022\203\001\n\021threshold_configs\030\235\253\343\034" + + " \003(\0132e.google.cloud.compute.v1.SecurityP" + + "olicyAdaptiveProtectionConfigLayer7DdosD" + + "efenseConfigThresholdConfig\"R\n\016RuleVisib" + + "ility\022\035\n\031UNDEFINED_RULE_VISIBILITY\020\000\022\017\n\007" + + "PREMIUM\020\267\264\301\276\001\022\020\n\010STANDARD\020\275\235\214\347\001B\t\n\007_enab" + + "leB\022\n\020_rule_visibility\"\301\003\nLSecurityPolic" + + "yAdaptiveProtectionConfigLayer7DdosDefen" + + "seConfigThresholdConfig\0220\n auto_deploy_c" + + "onfidence_threshold\030\276\355\231( \001(\002H\000\210\001\001\022*\n\032aut" + + "o_deploy_expiration_sec\030\211\265\232! \001(\005H\001\210\001\001\0228\n" + + "\'auto_deploy_impacted_baseline_threshold" + + "\030\303\234\271\213\001 \001(\002H\002\210\001\001\022+\n\032auto_deploy_load_thre" + + "shold\030\232\240\202\371\001 \001(\002H\003\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\004\210" + + "\001\001B#\n!_auto_deploy_confidence_thresholdB" + + "\035\n\033_auto_deploy_expiration_secB*\n(_auto_" + + "deploy_impacted_baseline_thresholdB\035\n\033_a" + + "uto_deploy_load_thresholdB\007\n\005_name\"\336\003\n#S" + + "ecurityPolicyAdvancedOptionsConfig\022p\n\022js" + + "on_custom_config\030\271\331\2315 \001(\0132L.google.cloud" + + ".compute.v1.SecurityPolicyAdvancedOption" + + "sConfigJsonCustomConfigH\000\210\001\001\022\035\n\014json_par" + + "sing\030\331\204\332\206\001 \001(\tH\001\210\001\001\022\031\n\tlog_level\030\311\275\204C \001(" + + "\tH\002\210\001\001\022#\n\027user_ip_request_headers\030\262\357\342\310\001 " + + "\003(\t\"k\n\013JsonParsing\022\032\n\026UNDEFINED_JSON_PAR" + + "SING\020\000\022\020\n\010DISABLED\020\374\324\260\366\001\022\020\n\010STANDARD\020\275\235\214" + + "\347\001\022\034\n\025STANDARD_WITH_GRAPHQL\020\222\277\2013\"C\n\010LogL" + + "evel\022\027\n\023UNDEFINED_LOG_LEVEL\020\000\022\r\n\006NORMAL\020" + + "\347\341\346L\022\017\n\007VERBOSE\020\342\212\344\375\001B\025\n\023_json_custom_co" + + "nfigB\017\n\r_json_parsingB\014\n\n_log_level\"O\n3S" + + "ecurityPolicyAdvancedOptionsConfigJsonCu" + + "stomConfig\022\030\n\rcontent_types\030\263\342\247\010 \003(\t\"\256\001\n" + + "\"SecurityPolicyDdosProtectionConfig\022 \n\017d" + + "dos_protection\030\224\237\233\203\001 \001(\tH\000\210\001\001\"R\n\016DdosPro" + + "tection\022\035\n\031UNDEFINED_DDOS_PROTECTION\020\000\022\017" + + "\n\010ADVANCED\020\242\260\265\036\022\020\n\010STANDARD\020\275\235\214\347\001B\022\n\020_dd" + + "os_protection\"\203\002\n\022SecurityPolicyList\022\020\n\002" + + "id\030\233\032 \001(\tH\000\210\001\001\0229\n\005items\030\300\317\367/ \003(\0132\'.googl" + + "e.cloud.compute.v1.SecurityPolicy\022\024\n\004kin" + + "d\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& " + + "\001(\tH\002\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cl" + + "oud.compute.v1.WarningH\003\210\001\001B\005\n\003_idB\007\n\005_k" + + "indB\022\n\020_next_page_tokenB\n\n\010_warning\"`\n$S" + + "ecurityPolicyRecaptchaOptionsConfig\022\"\n\021r" + + "edirect_site_key\030\352\204\274\325\001 \001(\tH\000\210\001\001B\024\n\022_redi" + + "rect_site_key\"N\n\027SecurityPolicyReference" + + "\022\037\n\017security_policy\030\221\206\312Q \001(\tH\000\210\001\001B\022\n\020_se" + + "curity_policy\"\367\006\n\022SecurityPolicyRule\022\026\n\006" + + "action\030\266\374\275Y \001(\tH\000\210\001\001\022\034\n\013description\030\374\207\326\311" + + "\001 \001(\tH\001\210\001\001\022[\n\rheader_action\030\250\240\270\234\001 \001(\0132;." + "google.cloud.compute.v1.SecurityPolicyRu" - + "leNetworkMatcherUserDefinedFieldMatch\"i\n" - + "5SecurityPolicyRuleNetworkMatcherUserDef" - + "inedFieldMatch\022\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001\022\021\n\006" - + "values\030\242\272\226w \003(\tB\007\n\005_name\"\215\001\n(SecurityPol" - + "icyRulePreconfiguredWafConfig\022a\n\nexclusi" - + "ons\030\345\370\277c \003(\0132J.google.cloud.compute.v1.S" - + "ecurityPolicyRulePreconfiguredWafConfigE" - + "xclusion\"\202\005\n1SecurityPolicyRulePreconfig" - + "uredWafConfigExclusion\022|\n\032request_cookie" - + "s_to_exclude\030\366\336\337J \003(\0132U.google.cloud.com" - + "pute.v1.SecurityPolicyRulePreconfiguredW" - + "afConfigExclusionFieldParams\022|\n\032request_" - + "headers_to_exclude\030\237\244\223\036 \003(\0132U.google.clo" - + "ud.compute.v1.SecurityPolicyRulePreconfi" - + "guredWafConfigExclusionFieldParams\022\202\001\n\037r" - + "equest_query_params_to_exclude\030\210\236\272\242\001 \003(\013" - + "2U.google.cloud.compute.v1.SecurityPolic" - + "yRulePreconfiguredWafConfigExclusionFiel" - + "dParams\022y\n\027request_uris_to_exclude\030\236\252\237+ " - + "\003(\0132U.google.cloud.compute.v1.SecurityPo" - + "licyRulePreconfiguredWafConfigExclusionF" - + "ieldParams\022\033\n\017target_rule_ids\030\343\343\325\355\001 \003(\t\022" - + " \n\017target_rule_set\030\215\257\326\355\001 \001(\tH\000\210\001\001B\022\n\020_ta" - + "rget_rule_set\"\347\001\n.google.cloud.compute.v1.ServiceAtt" - + "achmentConsumerProjectLimit\022 \n\025consumer_" - + "reject_lists\030\236\231\245a \003(\t\022\"\n\022creation_timest" - + "amp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001" - + "(\tH\002\210\001\001\022\027\n\014domain_names\030\215\330\211\003 \003(\t\022&\n\025enab" - + "le_proxy_protocol\030\205\207\274\255\001 \001(\010H\003\210\001\001\022\033\n\013fing" - + "erprint\030\344\321\363o \001(\tH\004\210\001\001\022\020\n\002id\030\233\032 \001(\004H\005\210\001\001\022" - + "\024\n\004kind\030\224\367\310\001 \001(\tH\006\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\007" - + "\210\001\001\022\027\n\013nat_subnets\030\230\217\333\262\001 \003(\t\022(\n\030producer" - + "_forwarding_rule\030\321\250\234v \001(\tH\010\210\001\001\022L\n\031psc_se" - + "rvice_attachment_id\030\356\372\317\373\001 \001(\0132 .google.c" - + "loud.compute.v1.Uint128H\t\210\001\001\022%\n\025reconcil" - + "e_connections\030\344\303\353; \001(\010H\n\210\001\001\022\026\n\006region\030\364\315" - + "\240B \001(\tH\013\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\014\210\001\001\022" - + "\035\n\016target_service\030\207\374N \001(\tH\r\210\001\001\"\225\001\n\024Conne" - + "ctionPreference\022#\n\037UNDEFINED_CONNECTION_" - + "PREFERENCE\020\000\022\027\n\020ACCEPT_AUTOMATIC\020\224\367\360#\022\025\n" - + "\rACCEPT_MANUAL\020\335\355\361\261\001\022(\n!CONNECTION_PREFE" - + "RENCE_UNSPECIFIED\020\264\240\277\020B\030\n\026_connection_pr" - + "eferenceB\025\n\023_creation_timestampB\016\n\014_desc" - + "riptionB\030\n\026_enable_proxy_protocolB\016\n\014_fi" - + "ngerprintB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\033\n\031_p" - + "roducer_forwarding_ruleB\034\n\032_psc_service_" - + "attachment_idB\030\n\026_reconcile_connectionsB" - + "\t\n\007_regionB\014\n\n_self_linkB\021\n\017_target_serv" - + "ice\"\324\003\n\037ServiceAttachmentAggregatedList\022" - + "\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022U\n\005items\030\300\317\367/ \003(\0132C.go" - + "ogle.cloud.compute.v1.ServiceAttachmentA" - + "ggregatedList.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(" - + "\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022" - + "\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachab" - + "les\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .googl" - + "e.cloud.compute.v1.WarningH\004\210\001\001\032c\n\nItems" - + "Entry\022\013\n\003key\030\001 \001(\t\022D\n\005value\030\002 \001(\01325.goog" - + "le.cloud.compute.v1.ServiceAttachmentsSc" - + "opedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_pa" - + "ge_tokenB\014\n\n_self_linkB\n\n\010_warning\"\366\002\n\"S" - + "erviceAttachmentConnectedEndpoint\022 \n\020con" - + "sumer_network\030\345\335\244y \001(\tH\000\210\001\001\022\030\n\010endpoint\030" - + "\225\273\234> \001(\tH\001\210\001\001\022\"\n\021psc_connection_id\030\335\245\243\213\001" - + " \001(\004H\002\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\003\210\001\001\"\224\001\n\006St" - + "atus\022\024\n\020UNDEFINED_STATUS\020\000\022\017\n\010ACCEPTED\020\247" - + "\237\322u\022\016\n\006CLOSED\020\354\252\243\265\001\022\027\n\017NEEDS_ATTENTION\020\274" - + "\213\242\244\001\022\016\n\007PENDING\020\367\252\360\020\022\017\n\010REJECTED\020\376\210\204S\022\031\n" - + "\022STATUS_UNSPECIFIED\020\312\314\213\024B\023\n\021_consumer_ne" - + "tworkB\013\n\t_endpointB\024\n\022_psc_connection_id" - + "B\t\n\007_status\"\305\001\n%ServiceAttachmentConsume" - + "rProjectLimit\022 \n\020connection_limit\030\232\236\324> \001" - + "(\rH\000\210\001\001\022\033\n\013network_url\030\336\217\346b \001(\tH\001\210\001\001\022\"\n\021" - + "project_id_or_num\030\250\212\345\246\001 \001(\tH\002\210\001\001B\023\n\021_con" - + "nection_limitB\016\n\014_network_urlB\024\n\022_projec" - + "t_id_or_num\"\263\002\n\025ServiceAttachmentList\022\020\n" - + "\002id\030\233\032 \001(\tH\000\210\001\001\022<\n\005items\030\300\317\367/ \003(\0132*.goog" - + "le.cloud.compute.v1.ServiceAttachment\022\024\n" - + "\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225" - + "\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001" - + "\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comp" - + "ute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_" - + "next_page_tokenB\014\n\n_self_linkB\n\n\010_warnin" - + "g\"\262\001\n\034ServiceAttachmentsScopedList\022K\n\023se" - + "rvice_attachments\030\246\222\272\222\001 \003(\0132*.google.clo" - + "ud.compute.v1.ServiceAttachment\0229\n\007warni" - + "ng\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Wa" - + "rningH\000\210\001\001B\n\n\010_warning\"\246\002\n&SetBackendSer" - + "viceTargetSslProxyRequest\022!\n\007project\030\231\226\301" - + "l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 " - + "\001(\tH\000\210\001\001\022\212\001\n7target_ssl_proxies_set_back" - + "end_service_request_resource\030\244\351\250B \001(\0132A." - + "google.cloud.compute.v1.TargetSslProxies" - + "SetBackendServiceRequestB\003\340A\002\022!\n\020target_" - + "ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n\013_request_id\"" - + "\247\002\n&SetBackendServiceTargetTcpProxyReque" - + "st\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n" - + "\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\213\001\n7target_tcp" - + "_proxies_set_backend_service_request_res" - + "ource\030\357\321\302\202\001 \001(\0132A.google.cloud.compute.v" - + "1.TargetTcpProxiesSetBackendServiceReque" - + "stB\003\340A\002\022!\n\020target_tcp_proxy\030\342\326\360\357\001 \001(\tB\003\340" - + "A\002B\r\n\013_request_id\"\261\002\n\032SetBackupTargetPoo" - + "lRequest\022\036\n\016failover_ratio\030\376\224\264e \001(\002H\000\210\001\001" - + "\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006r" - + "egion\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_" - + "id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n\013target_pool\030\212\344\370\035 \001(\t" - + "B\003\340A\002\022T\n\031target_reference_resource\030\360\267\335\371\001" - + " \001(\0132(.google.cloud.compute.v1.TargetRef" - + "erenceB\003\340A\002B\021\n\017_failover_ratioB\r\n\013_reque" - + "st_id\"\256\002\n(SetCertificateMapTargetHttpsPr" - + "oxyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" - + "oject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\217\001\n9ta" - + "rget_https_proxies_set_certificate_map_r" - + "equest_resource\030\273\266\376\336\001 \001(\0132C.google.cloud" - + ".compute.v1.TargetHttpsProxiesSetCertifi" - + "cateMapRequestB\003\340A\002\022\"\n\022target_https_prox" - + "y\030\354\260\372\030 \001(\tB\003\340A\002B\r\n\013_request_id\"\247\002\n&SetCe" - + "rtificateMapTargetSslProxyRequest\022!\n\007pro" - + "ject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_" - + "id\030\313\201\331\021 \001(\tH\000\210\001\001\022\213\001\n7target_ssl_proxies_" - + "set_certificate_map_request_resource\030\272\226\203" - + "\244\001 \001(\0132A.google.cloud.compute.v1.TargetS" - + "slProxiesSetCertificateMapRequestB\003\340A\002\022!" - + "\n\020target_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n\013_re" - + "quest_id\"\352\001\n\037SetCloudArmorTierProjectReq" - + "uest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022" - + "y\n.projects_set_cloud_armor_tier_request" - + "_resource\030\317\373\336$ \001(\01329.google.cloud.comput" - + "e.v1.ProjectsSetCloudArmorTierRequestB\003\340" - + "A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_reque" - + "st_id\"\214\003\n*SetCommonInstanceMetadataOpera" - + "tionMetadata\022$\n\023client_operation_id\030\347\215\336\215" - + "\001 \001(\tH\000\210\001\001\022\203\001\n\027per_location_operations\030\224" - + "\321\202\303\001 \003(\0132^.google.cloud.compute.v1.SetCo" - + "mmonInstanceMetadataOperationMetadata.Pe" - + "rLocationOperationsEntry\032\231\001\n\032PerLocation" - + "OperationsEntry\022\013\n\003key\030\001 \001(\t\022j\n\005value\030\002 " - + "\001(\0132[.google.cloud.compute.v1.SetCommonI" - + "nstanceMetadataOperationMetadataPerLocat" - + "ionOperationInfo:\0028\001B\026\n\024_client_operatio" - + "n_id\"\262\002\nBSetCommonInstanceMetadataOperat" - + "ionMetadataPerLocationOperationInfo\0226\n\005e" - + "rror\030\210\244\223. \001(\0132\037.google.cloud.compute.v1." - + "StatusH\000\210\001\001\022\025\n\005state\030\221\211\2534 \001(\tH\001\210\001\001\"\210\001\n\005S" - + "tate\022\023\n\017UNDEFINED_STATE\020\000\022\020\n\tABANDONED\020\264" - + "\303\200\'\022\013\n\004DONE\020\202\267\200\001\022\016\n\006FAILED\020\275\220\246\331\001\022\022\n\nPROP" - + "AGATED\020\333\264\202\362\001\022\022\n\013PROPAGATING\020\206\203\313N\022\023\n\013UNSP" - + "ECIFIED\020\227\276\230\373\001B\010\n\006_errorB\010\n\006_state\"\276\001\n\'Se" - + "tCommonInstanceMetadataProjectRequest\022E\n" - + "\021metadata_resource\030\236\276\346\212\001 \001(\0132!.google.cl" - + "oud.compute.v1.MetadataB\003\340A\002\022!\n\007project\030" - + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201" - + "\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\367\001\n#SetDefaul" - + "tNetworkTierProjectRequest\022!\n\007project\030\231\226" - + "\301l \001(\tB\r\340A\002\362G\007project\022\201\001\n2projects_set_d" - + "efault_network_tier_request_resource\030\212\300\243" - + "< \001(\0132=.google.cloud.compute.v1.Projects" - + "SetDefaultNetworkTierRequestB\003\340A\002\022\032\n\nreq" - + "uest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\351\001\n" - + "$SetDeletionProtectionInstanceRequest\022$\n" - + "\023deletion_protection\030\352\377\262\332\001 \001(\010H\000\210\001\001\022!\n\007p" + + "ig\022#\n\023enforce_on_key_name\030\356\303\232? \001(\tH\000\210\001\001\022" + + "#\n\023enforce_on_key_type\030\235\355\246? \001(\tH\001\210\001\001\"\341\001\n" + + "\020EnforceOnKeyType\022!\n\035UNDEFINED_ENFORCE_O" + + "N_KEY_TYPE\020\000\022\t\n\003ALL\020\201\373\003\022\023\n\013HTTP_COOKIE\020\373" + + "\243\203\354\001\022\022\n\013HTTP_HEADER\020\244\324\326+\022\021\n\tHTTP_PATH\020\374\322" + + "\304\224\001\022\007\n\002IP\020\247\022\022\022\n\013REGION_CODE\020\330\370\367%\022\t\n\003SNI\020" + + "\316\202\005\022\033\n\023TLS_JA3_FINGERPRINT\020\375\246\376\233\001\022\016\n\007USER" + + "_IP\020\233\344\233\020\022\016\n\006XFF_IP\020\256\307\230\321\001B\026\n\024_enforce_on_" + + "key_nameB\026\n\024_enforce_on_key_type\"}\n+Secu" + + "rityPolicyRuleRateLimitOptionsThreshold\022" + + "\025\n\005count\030\217\242\235- \001(\005H\000\210\001\001\022\034\n\014interval_sec\030\327" + + "\313\313\023 \001(\005H\001\210\001\001B\010\n\006_countB\017\n\r_interval_sec\"" + + "\261\001\n!SecurityPolicyRuleRedirectOptions\022\026\n" + + "\006target\030\221\343\371[ \001(\tH\000\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\001" + + "\210\001\001\"J\n\004Type\022\022\n\016UNDEFINED_TYPE\020\000\022\024\n\014EXTER" + + "NAL_302\020\201\326\331\274\001\022\030\n\020GOOGLE_RECAPTCHA\020\301\234\261\367\001B" + + "\t\n\007_targetB\007\n\005_type\"\213\002\n\036SecurityPolicyUs" + + "erDefinedField\022\024\n\004base\030\321\215\270\001 \001(\tH\000\210\001\001\022\024\n\004" + + "mask\030\354\215\314\001 \001(\tH\001\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\002\210\001\001" + + "\022\026\n\006offset\030\223\311\335\031 \001(\005H\003\210\001\001\022\024\n\004size\030\201\300\327\001 \001(" + + "\005H\004\210\001\001\"J\n\004Base\022\022\n\016UNDEFINED_BASE\020\000\022\013\n\004IP" + + "V4\020\205\314\211\001\022\013\n\004IPV6\020\207\314\211\001\022\t\n\003TCP\020\301\207\005\022\t\n\003UDP\020\241" + + "\217\005B\007\n\005_baseB\007\n\005_maskB\007\n\005_nameB\t\n\007_offset" + + "B\007\n\005_size\"\326\001\n\020SecuritySettings\022O\n\025aws_v4" + + "_authentication\030\227\353\370\316\001 \001(\0132\'.google.cloud" + + ".compute.v1.AWSV4SignatureH\000\210\001\001\022\"\n\021clien" + + "t_tls_policy\030\352\213\272\334\001 \001(\tH\001\210\001\001\022\035\n\021subject_a" + + "lt_names\030\337\263\257\235\001 \003(\tB\030\n\026_aws_v4_authentica" + + "tionB\024\n\022_client_tls_policy\"q\n&SendDiagno" + + "sticInterruptInstanceRequest\022\030\n\010instance" + + "\030\225\251\332\010 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022" + + "\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\")\n\'SendDiagnosticI" + + "nterruptInstanceResponse\"\303\001\n\020SerialPortO" + + "utput\022\031\n\010contents\030\232\266\275\361\001 \001(\tH\000\210\001\001\022\024\n\004kind" + + "\030\224\367\310\001 \001(\tH\001\210\001\001\022\024\n\004next\030\363\225\316\001 \001(\003H\002\210\001\001\022\032\n\t" + + "self_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\025\n\005start\030\342\210\2534 \001" + + "(\003H\004\210\001\001B\013\n\t_contentsB\007\n\005_kindB\007\n\005_nextB\014" + + "\n\n_self_linkB\010\n\006_start\"\277\001\n\rServerBinding" + + "\022\024\n\004type\030\272\236\332\001 \001(\tH\000\210\001\001\"\216\001\n\004Type\022\022\n\016UNDEF" + + "INED_TYPE\020\000\022\"\n\032RESTART_NODE_ON_ANY_SERVE" + + "R\020\311\330\351\357\001\022&\n\037RESTART_NODE_ON_MINIMAL_SERVE" + + "RS\020\337\252\255a\022&\n\037SERVER_BINDING_TYPE_UNSPECIFI" + + "ED\020\250\333\234VB\007\n\005_type\"D\n\016ServiceAccount\022\025\n\005em" + + "ail\030\234\227\211. \001(\tH\000\210\001\001\022\021\n\006scopes\030\237\231\222O \003(\tB\010\n\006" + + "_email\"\243\t\n\021ServiceAttachment\022[\n\023connecte" + + "d_endpoints\030\310\227\270\" \003(\0132;.google.cloud.comp" + + "ute.v1.ServiceAttachmentConnectedEndpoin" + + "t\022&\n\025connection_preference\030\334\371\244\210\001 \001(\tH\000\210\001" + + "\001\022a\n\025consumer_accept_lists\030\307\266\204\300\001 \003(\0132>.g" + + "oogle.cloud.compute.v1.ServiceAttachment" + + "ConsumerProjectLimit\022 \n\025consumer_reject_" + + "lists\030\236\231\245a \003(\t\022\"\n\022creation_timestamp\030\266\217\307" + + "\016 \001(\tH\001\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001" + + "\022\027\n\014domain_names\030\215\330\211\003 \003(\t\022&\n\025enable_prox" + + "y_protocol\030\205\207\274\255\001 \001(\010H\003\210\001\001\022\033\n\013fingerprint" + + "\030\344\321\363o \001(\tH\004\210\001\001\022\020\n\002id\030\233\032 \001(\004H\005\210\001\001\022\024\n\004kind" + + "\030\224\367\310\001 \001(\tH\006\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022\027\n\013" + + "nat_subnets\030\230\217\333\262\001 \003(\t\022(\n\030producer_forwar" + + "ding_rule\030\321\250\234v \001(\tH\010\210\001\001\022L\n\031psc_service_a" + + "ttachment_id\030\356\372\317\373\001 \001(\0132 .google.cloud.co" + + "mpute.v1.Uint128H\t\210\001\001\022%\n\025reconcile_conne" + + "ctions\030\344\303\353; \001(\010H\n\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH" + + "\013\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\014\210\001\001\022\035\n\016targ" + + "et_service\030\207\374N \001(\tH\r\210\001\001\"\225\001\n\024ConnectionPr" + + "eference\022#\n\037UNDEFINED_CONNECTION_PREFERE" + + "NCE\020\000\022\027\n\020ACCEPT_AUTOMATIC\020\224\367\360#\022\025\n\rACCEPT" + + "_MANUAL\020\335\355\361\261\001\022(\n!CONNECTION_PREFERENCE_U" + + "NSPECIFIED\020\264\240\277\020B\030\n\026_connection_preferenc" + + "eB\025\n\023_creation_timestampB\016\n\014_description" + + "B\030\n\026_enable_proxy_protocolB\016\n\014_fingerpri" + + "ntB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\033\n\031_producer" + + "_forwarding_ruleB\034\n\032_psc_service_attachm" + + "ent_idB\030\n\026_reconcile_connectionsB\t\n\007_reg" + + "ionB\014\n\n_self_linkB\021\n\017_target_service\"\324\003\n" + + "\037ServiceAttachmentAggregatedList\022\020\n\002id\030\233" + + "\032 \001(\tH\000\210\001\001\022U\n\005items\030\300\317\367/ \003(\0132C.google.cl" + + "oud.compute.v1.ServiceAttachmentAggregat" + + "edList.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022" + + "\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself" + + "_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206" + + "t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud" + + ".compute.v1.WarningH\004\210\001\001\032c\n\nItemsEntry\022\013" + + "\n\003key\030\001 \001(\t\022D\n\005value\030\002 \001(\01325.google.clou" + + "d.compute.v1.ServiceAttachmentsScopedLis" + + "t:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_toke" + + "nB\014\n\n_self_linkB\n\n\010_warning\"\366\002\n\"ServiceA" + + "ttachmentConnectedEndpoint\022 \n\020consumer_n" + + "etwork\030\345\335\244y \001(\tH\000\210\001\001\022\030\n\010endpoint\030\225\273\234> \001(" + + "\tH\001\210\001\001\022\"\n\021psc_connection_id\030\335\245\243\213\001 \001(\004H\002\210" + + "\001\001\022\026\n\006status\030\362\237\267V \001(\tH\003\210\001\001\"\224\001\n\006Status\022\024\n" + + "\020UNDEFINED_STATUS\020\000\022\017\n\010ACCEPTED\020\247\237\322u\022\016\n\006" + + "CLOSED\020\354\252\243\265\001\022\027\n\017NEEDS_ATTENTION\020\274\213\242\244\001\022\016\n" + + "\007PENDING\020\367\252\360\020\022\017\n\010REJECTED\020\376\210\204S\022\031\n\022STATUS" + + "_UNSPECIFIED\020\312\314\213\024B\023\n\021_consumer_networkB\013" + + "\n\t_endpointB\024\n\022_psc_connection_idB\t\n\007_st" + + "atus\"\305\001\n%ServiceAttachmentConsumerProjec" + + "tLimit\022 \n\020connection_limit\030\232\236\324> \001(\rH\000\210\001\001" + + "\022\033\n\013network_url\030\336\217\346b \001(\tH\001\210\001\001\022\"\n\021project" + + "_id_or_num\030\250\212\345\246\001 \001(\tH\002\210\001\001B\023\n\021_connection" + + "_limitB\016\n\014_network_urlB\024\n\022_project_id_or" + + "_num\"\263\002\n\025ServiceAttachmentList\022\020\n\002id\030\233\032 " + + "\001(\tH\000\210\001\001\022<\n\005items\030\300\317\367/ \003(\0132*.google.clou" + + "d.compute.v1.ServiceAttachment\022\024\n\004kind\030\224" + + "\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\t" + + "H\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007war" + + "ning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1." + + "WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_pa" + + "ge_tokenB\014\n\n_self_linkB\n\n\010_warning\"\262\001\n\034S" + + "erviceAttachmentsScopedList\022K\n\023service_a" + + "ttachments\030\246\222\272\222\001 \003(\0132*.google.cloud.comp" + + "ute.v1.ServiceAttachment\0229\n\007warning\030\234\337\226\030" + + " \001(\0132 .google.cloud.compute.v1.WarningH\000" + + "\210\001\001B\n\n\010_warning\"\246\002\n&SetBackendServiceTar" + + "getSslProxyRequest\022!\n\007project\030\231\226\301l \001(\tB\r" + + "\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001" + + "\001\022\212\001\n7target_ssl_proxies_set_backend_ser" + + "vice_request_resource\030\244\351\250B \001(\0132A.google." + + "cloud.compute.v1.TargetSslProxiesSetBack" + + "endServiceRequestB\003\340A\002\022!\n\020target_ssl_pro" + + "xy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\247\002\n&Set" + + "BackendServiceTargetTcpProxyRequest\022!\n\007p" + "roject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreques" - + "t_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\030\n\010resource\030\216\210\257] \001(\tB" - + "\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\026\n\024_de" - + "letion_protectionB\r\n\013_request_id\"\342\001\n Set" - + "DiskAutoDeleteInstanceRequest\022\034\n\013auto_de" - + "lete\030\273\344\316\335\001 \001(\010B\003\340A\002\022\033\n\013device_name\030\324\265\232 " - + "\001(\tB\003\340A\002\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022!\n\007pr" - + "oject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest" - + "_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362" - + "G\004zoneB\r\n\013_request_id\"\377\001\n)SetEdgeSecurit" - + "yPolicyBackendBucketRequest\022\036\n\016backend_b" - + "ucket\030\365\343\335+ \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB" - + "\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" - + "\001\001\022d\n\"security_policy_reference_resource" - + "\030\360\264\253a \001(\01320.google.cloud.compute.v1.Secu" - + "rityPolicyReferenceB\003\340A\002B\r\n\013_request_id\"" - + "\202\002\n*SetEdgeSecurityPolicyBackendServiceR" - + "equest\022 \n\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002" - + "\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nr" - + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n\"security_poli" - + "cy_reference_resource\030\360\264\253a \001(\01320.google.", - "cloud.compute.v1.SecurityPolicyReference" - + "B\003\340A\002B\r\n\013_request_id\"\273\001\n SetIamPolicyBac" - + "kendBucketRequest\022d\n\"global_set_policy_r" - + "equest_resource\030\262\347\333\240\001 \001(\0132/.google.cloud" - + ".compute.v1.GlobalSetPolicyRequestB\003\340A\002\022" - + "\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257" - + "] \001(\tB\003\340A\002\"\274\001\n!SetIamPolicyBackendServic" + + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\213\001\n7target_tcp_proxie" + + "s_set_backend_service_request_resource\030\357" + + "\321\302\202\001 \001(\0132A.google.cloud.compute.v1.Targe" + + "tTcpProxiesSetBackendServiceRequestB\003\340A\002" + + "\022!\n\020target_tcp_proxy\030\342\326\360\357\001 \001(\tB\003\340A\002B\r\n\013_" + + "request_id\"\261\002\n\032SetBackupTargetPoolReques" + + "t\022\036\n\016failover_ratio\030\376\224\264e \001(\002H\000\210\001\001\022!\n\007pro" + + "ject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364" + + "\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021" + + " \001(\tH\001\210\001\001\022\033\n\013target_pool\030\212\344\370\035 \001(\tB\003\340A\002\022T" + + "\n\031target_reference_resource\030\360\267\335\371\001 \001(\0132(." + + "google.cloud.compute.v1.TargetReferenceB" + + "\003\340A\002B\021\n\017_failover_ratioB\r\n\013_request_id\"\256" + + "\002\n(SetCertificateMapTargetHttpsProxyRequ" + + "est\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032" + + "\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\217\001\n9target_ht" + + "tps_proxies_set_certificate_map_request_" + + "resource\030\273\266\376\336\001 \001(\0132C.google.cloud.comput" + + "e.v1.TargetHttpsProxiesSetCertificateMap" + + "RequestB\003\340A\002\022\"\n\022target_https_proxy\030\354\260\372\030 " + + "\001(\tB\003\340A\002B\r\n\013_request_id\"\247\002\n&SetCertifica" + + "teMapTargetSslProxyRequest\022!\n\007project\030\231\226" + + "\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021" + + " \001(\tH\000\210\001\001\022\213\001\n7target_ssl_proxies_set_cer" + + "tificate_map_request_resource\030\272\226\203\244\001 \001(\0132" + + "A.google.cloud.compute.v1.TargetSslProxi" + + "esSetCertificateMapRequestB\003\340A\002\022!\n\020targe" + + "t_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n\013_request_i" + + "d\"\352\001\n\037SetCloudArmorTierProjectRequest\022!\n" + + "\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022y\n.proj" + + "ects_set_cloud_armor_tier_request_resour" + + "ce\030\317\373\336$ \001(\01329.google.cloud.compute.v1.Pr" + + "ojectsSetCloudArmorTierRequestB\003\340A\002\022\032\n\nr" + + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\214" + + "\003\n*SetCommonInstanceMetadataOperationMet" + + "adata\022$\n\023client_operation_id\030\347\215\336\215\001 \001(\tH\000" + + "\210\001\001\022\203\001\n\027per_location_operations\030\224\321\202\303\001 \003(" + + "\0132^.google.cloud.compute.v1.SetCommonIns" + + "tanceMetadataOperationMetadata.PerLocati" + + "onOperationsEntry\032\231\001\n\032PerLocationOperati" + + "onsEntry\022\013\n\003key\030\001 \001(\t\022j\n\005value\030\002 \001(\0132[.g" + + "oogle.cloud.compute.v1.SetCommonInstance" + + "MetadataOperationMetadataPerLocationOper" + + "ationInfo:\0028\001B\026\n\024_client_operation_id\"\262\002" + + "\nBSetCommonInstanceMetadataOperationMeta" + + "dataPerLocationOperationInfo\0226\n\005error\030\210\244" + + "\223. \001(\0132\037.google.cloud.compute.v1.StatusH" + + "\000\210\001\001\022\025\n\005state\030\221\211\2534 \001(\tH\001\210\001\001\"\210\001\n\005State\022\023\n" + + "\017UNDEFINED_STATE\020\000\022\020\n\tABANDONED\020\264\303\200\'\022\013\n\004" + + "DONE\020\202\267\200\001\022\016\n\006FAILED\020\275\220\246\331\001\022\022\n\nPROPAGATED\020" + + "\333\264\202\362\001\022\022\n\013PROPAGATING\020\206\203\313N\022\023\n\013UNSPECIFIED" + + "\020\227\276\230\373\001B\010\n\006_errorB\010\n\006_state\"\276\001\n\'SetCommon" + + "InstanceMetadataProjectRequest\022E\n\021metada" + + "ta_resource\030\236\276\346\212\001 \001(\0132!.google.cloud.com" + + "pute.v1.MetadataB\003\340A\002\022!\n\007project\030\231\226\301l \001(" + + "\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" + + "\000\210\001\001B\r\n\013_request_id\"\367\001\n#SetDefaultNetwor" + + "kTierProjectRequest\022!\n\007project\030\231\226\301l \001(\tB" + + "\r\340A\002\362G\007project\022\201\001\n2projects_set_default_" + + "network_tier_request_resource\030\212\300\243< \001(\0132=" + + ".google.cloud.compute.v1.ProjectsSetDefa" + + "ultNetworkTierRequestB\003\340A\002\022\032\n\nrequest_id" + + "\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\351\001\n$SetDel" + + "etionProtectionInstanceRequest\022$\n\023deleti" + + "on_protection\030\352\377\262\332\001 \001(\010H\000\210\001\001\022!\n\007project\030" + + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201" + + "\331\021 \001(\tH\001\210\001\001\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022\033\n" + + "\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\026\n\024_deletion_" + + "protectionB\r\n\013_request_id\"\342\001\n SetDiskAut" + + "oDeleteInstanceRequest\022\034\n\013auto_delete\030\273\344" + + "\316\335\001 \001(\010B\003\340A\002\022\033\n\013device_name\030\324\265\232 \001(\tB\003\340A" + + "\002\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022!\n\007project\030\231" + + "\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331" + + "\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB" + + "\r\n\013_request_id\"\377\001\n)SetEdgeSecurityPolicy" + + "BackendBucketRequest\022\036\n\016backend_bucket\030\365" + + "\343\335+ \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" + + "project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n\"s" + + "ecurity_policy_reference_resource\030\360\264\253a \001" + + "(\01320.google.cloud.compute.v1.SecurityPol" + + "icyReferenceB\003\340A\002B\r\n\013_request_id\"\202\002\n*Set" + + "EdgeSecurityPolicyBackendServiceRequest\022" + + " \n\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022!\n\007pro" + + "ject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_" + + "id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n\"security_policy_refe" + + "rence_resource\030\360\264\253a \001(\01320.google.cloud.c" + + "ompute.v1.SecurityPolicyReferenceB\003\340A\002B\r" + + "\n\013_request_id\"\273\001\n SetIamPolicyBackendBuc" + + "ketRequest\022d\n\"global_set_policy_request_" + + "resource\030\262\347\333\240\001 \001(\0132/.google.cloud.comput" + + "e.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n\007proj" + + "ect\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003" + + "\340A\002\"\274\001\n!SetIamPolicyBackendServiceReques" + + "t\022d\n\"global_set_policy_request_resource\030" + + "\262\347\333\240\001 \001(\0132/.google.cloud.compute.v1.Glob" + + "alSetPolicyRequestB\003\340A\002\022\027\n\007project\030\231\226\301l " + + "\001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\"\304\001\n\027S" + + "etIamPolicyDiskRequest\022\027\n\007project\030\231\226\301l \001" + + "(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n\004zon" + + "e\030\254\307\344\001 \001(\tB\003\340A\002\022`\n zone_set_policy_reque" + + "st_resource\030\273\270\230\266\001 \001(\0132-.google.cloud.com" + + "pute.v1.ZoneSetPolicyRequestB\003\340A\002\"\273\001\n!Se" + + "tIamPolicyFirewallPolicyRequest\022|\n/globa" + + "l_organization_set_policy_request_resour" + + "ce\030\336\224\314T \001(\0132;.google.cloud.compute.v1.Gl" + + "obalOrganizationSetPolicyRequestB\003\340A\002\022\030\n" + + "\010resource\030\216\210\257] \001(\tB\003\340A\002\"\263\001\n\030SetIamPolicy" + + "ImageRequest\022d\n\"global_set_policy_reques" + + "t_resource\030\262\347\333\240\001 \001(\0132/.google.cloud.comp" + + "ute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n\007pr" + + "oject\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\t" + + "B\003\340A\002\"\310\001\n\033SetIamPolicyInstanceRequest\022\027\n" + + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] " + + "\001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\022`\n zone_s" + + "et_policy_request_resource\030\273\270\230\266\001 \001(\0132-.g" + + "oogle.cloud.compute.v1.ZoneSetPolicyRequ" + + "estB\003\340A\002\"\276\001\n#SetIamPolicyInstanceTemplat" + "eRequest\022d\n\"global_set_policy_request_re" + "source\030\262\347\333\240\001 \001(\0132/.google.cloud.compute." + "v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n\007projec" + "t\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A" - + "\002\"\304\001\n\027SetIamPolicyDiskRequest\022\027\n\007project" - + "\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002" - + "\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\022`\n zone_set_polic" - + "y_request_resource\030\273\270\230\266\001 \001(\0132-.google.cl" - + "oud.compute.v1.ZoneSetPolicyRequestB\003\340A\002" - + "\"\273\001\n!SetIamPolicyFirewallPolicyRequest\022|" - + "\n/global_organization_set_policy_request" - + "_resource\030\336\224\314T \001(\0132;.google.cloud.comput" - + "e.v1.GlobalOrganizationSetPolicyRequestB" - + "\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\"\263\001\n\030SetIa" - + "mPolicyImageRequest\022d\n\"global_set_policy" - + "_request_resource\030\262\347\333\240\001 \001(\0132/.google.clo" - + "ud.compute.v1.GlobalSetPolicyRequestB\003\340A" - + "\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216" - + "\210\257] \001(\tB\003\340A\002\"\310\001\n\033SetIamPolicyInstanceReq" - + "uest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resourc" - + "e\030\216\210\257] \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\022`\n" - + " zone_set_policy_request_resource\030\273\270\230\266\001 " - + "\001(\0132-.google.cloud.compute.v1.ZoneSetPol" - + "icyRequestB\003\340A\002\"\276\001\n#SetIamPolicyInstance" - + "TemplateRequest\022d\n\"global_set_policy_req" - + "uest_resource\030\262\347\333\240\001 \001(\0132/.google.cloud.c" - + "ompute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n" - + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] " - + "\001(\tB\003\340A\002\"\317\001\n\"SetIamPolicyInstantSnapshot" - + "Request\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010reso" - + "urce\030\216\210\257] \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002" - + "\022`\n zone_set_policy_request_resource\030\273\270\230" - + "\266\001 \001(\0132-.google.cloud.compute.v1.ZoneSet" - + "PolicyRequestB\003\340A\002\"\265\001\n\032SetIamPolicyLicen" - + "seRequest\022d\n\"global_set_policy_request_r" - + "esource\030\262\347\333\240\001 \001(\0132/.google.cloud.compute" - + ".v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n\007proje" - + "ct\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340" - + "A\002\"\272\001\n\037SetIamPolicyMachineImageRequest\022d" - + "\n\"global_set_policy_request_resource\030\262\347\333" - + "\240\001 \001(\0132/.google.cloud.compute.v1.GlobalS" - + "etPolicyRequestB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\t" - + "B\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\"\327\001\n$SetI" - + "amPolicyNetworkAttachmentRequest\022\027\n\007proj" - + "ect\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A" - + "\002\022d\n\"region_set_policy_request_resource\030" - + "\203\307\353\203\001 \001(\0132/.google.cloud.compute.v1.Regi" - + "onSetPolicyRequestB\003\340A\002\022\030\n\010resource\030\216\210\257]" - + " \001(\tB\003\340A\002\"\303\001\n(SetIamPolicyNetworkFirewal" - + "lPolicyRequest\022d\n\"global_set_policy_requ" - + "est_resource\030\262\347\333\240\001 \001(\0132/.google.cloud.co" - + "mpute.v1.GlobalSetPolicyRequestB\003\340A\002\022\027\n\007" - + "project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001" - + "(\tB\003\340A\002\"\311\001\n\034SetIamPolicyNodeGroupRequest" + + "\002\"\317\001\n\"SetIamPolicyInstantSnapshotRequest" + "\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210" + "\257] \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\022`\n zon" + "e_set_policy_request_resource\030\273\270\230\266\001 \001(\0132" + "-.google.cloud.compute.v1.ZoneSetPolicyR" - + "equestB\003\340A\002\"\322\001\n\037SetIamPolicyNodeTemplate" - + "Request\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006regi" - + "on\030\364\315\240B \001(\tB\003\340A\002\022d\n\"region_set_policy_re" - + "quest_resource\030\203\307\353\203\001 \001(\0132/.google.cloud." - + "compute.v1.RegionSetPolicyRequestB\003\340A\002\022\030" - + "\n\010resource\030\216\210\257] \001(\tB\003\340A\002\"\332\001\n\'SetIamPolic" - + "yRegionBackendServiceRequest\022\027\n\007project\030" - + "\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n" - + "\"region_set_policy_request_resource\030\203\307\353\203" - + "\001 \001(\0132/.google.cloud.compute.v1.RegionSe" - + "tPolicyRequestB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\t" - + "B\003\340A\002\"\320\001\n\035SetIamPolicyRegionDiskRequest\022" - + "\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B " - + "\001(\tB\003\340A\002\022d\n\"region_set_policy_request_re" - + "source\030\203\307\353\203\001 \001(\0132/.google.cloud.compute." - + "v1.RegionSetPolicyRequestB\003\340A\002\022\030\n\010resour" - + "ce\030\216\210\257] \001(\tB\003\340A\002\"\333\001\n(SetIamPolicyRegionI" - + "nstantSnapshotRequest\022\027\n\007project\030\231\226\301l \001(" + + "equestB\003\340A\002\"\265\001\n\032SetIamPolicyLicenseReque" + + "st\022d\n\"global_set_policy_request_resource" + + "\030\262\347\333\240\001 \001(\0132/.google.cloud.compute.v1.Glo" + + "balSetPolicyRequestB\003\340A\002\022\027\n\007project\030\231\226\301l" + + " \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\"\272\001\n\037" + + "SetIamPolicyMachineImageRequest\022d\n\"globa" + + "l_set_policy_request_resource\030\262\347\333\240\001 \001(\0132" + + "/.google.cloud.compute.v1.GlobalSetPolic" + + "yRequestB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030" + + "\n\010resource\030\216\210\257] \001(\tB\003\340A\002\"\327\001\n$SetIamPolic" + + "yNetworkAttachmentRequest\022\027\n\007project\030\231\226\301" + + "l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n\"re" + + "gion_set_policy_request_resource\030\203\307\353\203\001 \001" + + "(\0132/.google.cloud.compute.v1.RegionSetPo" + + "licyRequestB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340" + + "A\002\"\303\001\n(SetIamPolicyNetworkFirewallPolicy" + + "Request\022d\n\"global_set_policy_request_res" + + "ource\030\262\347\333\240\001 \001(\0132/.google.cloud.compute.v" + + "1.GlobalSetPolicyRequestB\003\340A\002\022\027\n\007project" + + "\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002" + + "\"\311\001\n\034SetIamPolicyNodeGroupRequest\022\027\n\007pro" + + "ject\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB" + + "\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\022`\n zone_set_p" + + "olicy_request_resource\030\273\270\230\266\001 \001(\0132-.googl" + + "e.cloud.compute.v1.ZoneSetPolicyRequestB" + + "\003\340A\002\"\322\001\n\037SetIamPolicyNodeTemplateRequest" + + "\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B" + + " \001(\tB\003\340A\002\022d\n\"region_set_policy_request_r" + + "esource\030\203\307\353\203\001 \001(\0132/.google.cloud.compute" + + ".v1.RegionSetPolicyRequestB\003\340A\002\022\030\n\010resou" + + "rce\030\216\210\257] \001(\tB\003\340A\002\"\332\001\n\'SetIamPolicyRegion" + + "BackendServiceRequest\022\027\n\007project\030\231\226\301l \001(" + "\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022d\n\"region" + "_set_policy_request_resource\030\203\307\353\203\001 \001(\0132/" + ".google.cloud.compute.v1.RegionSetPolicy" - + "RequestB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\"\341" - + "\001\n.SetIamPolicyRegionNetworkFirewallPoli" - + "cyRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006re" - + "gion\030\364\315\240B \001(\tB\003\340A\002\022d\n\"region_set_policy_" - + "request_resource\030\203\307\353\203\001 \001(\0132/.google.clou" - + "d.compute.v1.RegionSetPolicyRequestB\003\340A\002" - + "\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\"\313\001\n\036SetIamPol" - + "icyReservationRequest\022\027\n\007project\030\231\226\301l \001(" - + "\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022\024\n\004zone" - + "\030\254\307\344\001 \001(\tB\003\340A\002\022`\n zone_set_policy_reques" - + "t_resource\030\273\270\230\266\001 \001(\0132-.google.cloud.comp" - + "ute.v1.ZoneSetPolicyRequestB\003\340A\002\"\324\001\n!Set" - + "IamPolicyResourcePolicyRequest\022\027\n\007projec" - + "t\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022" - + "d\n\"region_set_policy_request_resource\030\203\307" - + "\353\203\001 \001(\0132/.google.cloud.compute.v1.Region" - + "SetPolicyRequestB\003\340A\002\022\030\n\010resource\030\216\210\257] \001" - + "(\tB\003\340A\002\"\327\001\n$SetIamPolicyServiceAttachmen" - + "tRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006reg" - + "ion\030\364\315\240B \001(\tB\003\340A\002\022d\n\"region_set_policy_r" - + "equest_resource\030\203\307\353\203\001 \001(\0132/.google.cloud" - + ".compute.v1.RegionSetPolicyRequestB\003\340A\002\022" - + "\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\"\266\001\n\033SetIamPoli" - + "cySnapshotRequest\022d\n\"global_set_policy_r" - + "equest_resource\030\262\347\333\240\001 \001(\0132/.google.cloud" - + ".compute.v1.GlobalSetPolicyRequestB\003\340A\002\022" - + "\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257" - + "] \001(\tB\003\340A\002\"\320\001\n\035SetIamPolicySubnetworkReq" - + "uest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030" - + "\364\315\240B \001(\tB\003\340A\002\022d\n\"region_set_policy_reque" - + "st_resource\030\203\307\353\203\001 \001(\0132/.google.cloud.com" - + "pute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n\010r" - + "esource\030\216\210\257] \001(\tB\003\340A\002\"\336\002\n.SetInstanceTem" - + "plateInstanceGroupManagerRequest\022&\n\026inst" - + "ance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\230\001\n>ins" - + "tance_group_managers_set_instance_templa" - + "te_request_resource\030\305\331\326\004 \001(\0132H.google.cl" - + "oud.compute.v1.InstanceGroupManagersSetI" - + "nstanceTemplateRequestB\003\340A\002\022!\n\007project\030\231" - + "\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331" - + "\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB" - + "\r\n\013_request_id\"\344\002\n4SetInstanceTemplateRe" - + "gionInstanceGroupManagerRequest\022&\n\026insta" - + "nce_group_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n\007proje" - + "ct\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240" - + "B \001(\tB\014\340A\002\362G\006region\022\224\001\ninst" + + "ance_group_managers_set_instance_templat" + + "e_request_resource\030\305\331\326\004 \001(\0132H.google.clo" + + "ud.compute.v1.InstanceGroupManagersSetIn" + + "stanceTemplateRequestB\003\340A\002\022!\n\007project\030\231\226" + + "\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021" + + " \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r" + + "\n\013_request_id\"\344\002\n4SetInstanceTemplateReg" + + "ionInstanceGroupManagerRequest\022&\n\026instan" + + "ce_group_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n\007projec" + + "t\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B" + + " \001(\tB\014\340A\002\362G\006region\022\224\001\n.google.cloud.compute.v1.Ta" - + "rgetSslProxiesSetProxyHeaderRequestB\003\340A\002" - + "\022!\n\020target_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n\013_" - + "request_id\"\235\002\n#SetProxyHeaderTargetTcpPr" - + "oxyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" - + "oject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\204\001\n4ta" - + "rget_tcp_proxies_set_proxy_header_reques" - + "t_resource\030\303\230\361h \001(\0132>.google.cloud.compu" - + "te.v1.TargetTcpProxiesSetProxyHeaderRequ" - + "estB\003\340A\002\022!\n\020target_tcp_proxy\030\342\326\360\357\001 \001(\tB\003" - + "\340A\002B\r\n\013_request_id\"\247\002\n&SetQuicOverrideTa" - + "rgetHttpsProxyRequest\022!\n\007project\030\231\226\301l \001(" - + "\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" - + "\000\210\001\001\022\212\001\n7target_https_proxies_set_quic_o" - + "verride_request_resource\030\342\365\343\" \001(\0132A.goog" - + "le.cloud.compute.v1.TargetHttpsProxiesSe" - + "tQuicOverrideRequestB\003\340A\002\022\"\n\022target_http" - + "s_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n\013_request_id\"\356\001\n" - + "\034SetSchedulingInstanceRequest\022\030\n\010instanc" - + "e\030\225\251\332\010 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002" - + "\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022I" - + "\n\023scheduling_resource\030\331\254\356\334\001 \001(\0132#.google" - + ".cloud.compute.v1.SchedulingB\003\340A\002\022\033\n\004zon" - + "e\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\376\001" - + "\n&SetSecurityPolicyBackendServiceRequest" - + "\022 \n\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022!\n\007pr" - + "oject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest" - + "_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n\"security_policy_ref" - + "erence_resource\030\360\264\253a \001(\01320.google.cloud." - + "compute.v1.SecurityPolicyReferenceB\003\340A\002B" - + "\r\n\013_request_id\"\243\002\n SetSecurityPolicyInst" - + "anceRequest\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022z\n" - + ".instances_set_security_policy_request_r" - + "esource\030\212\321\272v \001(\0132:.google.cloud.compute." - + "v1.InstancesSetSecurityPolicyRequestB\003\340A" + + "\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B\r\n\013_request_i" + + "d\"\225\002\n%SetLabelsRegionInstantSnapshotRequ" + + "est\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037" + + "\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022c\n\"regio" + + "n_set_labels_request_resource\030\326\370\325{ \001(\0132/" + + ".google.cloud.compute.v1.RegionSetLabels" + + "RequestB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001" + + "\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B\r\n\013_request_i" + + "d\"\303\001\n\036SetLabelsSecurityPolicyRequest\022d\n\"" + + "global_set_labels_request_resource\030\205\231\306\230\001" + + " \001(\0132/.google.cloud.compute.v1.GlobalSet" + + "LabelsRequestB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r" + + "\340A\002\362G\007project\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\"" + + "\275\001\n\030SetLabelsSnapshotRequest\022d\n\"global_s" + + "et_labels_request_resource\030\205\231\306\230\001 \001(\0132/.g" + + "oogle.cloud.compute.v1.GlobalSetLabelsRe" + + "questB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" + + "oject\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\"\220\002\n SetL" + + "abelsTargetVpnGatewayRequest\022!\n\007project\030" + + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001" + + "(\tB\014\340A\002\362G\006region\022c\n\"region_set_labels_re" + + "quest_resource\030\326\370\325{ \001(\0132/.google.cloud.c" + + "ompute.v1.RegionSetLabelsRequestB\003\340A\002\022\032\n" + + "\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\030\n\010resource\030\216\210" + + "\257] \001(\tB\003\340A\002B\r\n\013_request_id\"\212\002\n\032SetLabels" + + "VpnGatewayRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340" + + "A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006r" + + "egion\022c\n\"region_set_labels_request_resou" + + "rce\030\326\370\325{ \001(\0132/.google.cloud.compute.v1.R" + + "egionSetLabelsRequestB\003\340A\002\022\032\n\nrequest_id" + + "\030\313\201\331\021 \001(\tH\000\210\001\001\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002" + + "B\r\n\013_request_id\"\211\002\n\031SetLabelsVpnTunnelRe" + + "quest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project" + + "\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022c\n\"reg" + + "ion_set_labels_request_resource\030\326\370\325{ \001(\013" + + "2/.google.cloud.compute.v1.RegionSetLabe" + + "lsRequestB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" + + "\001\001\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B\r\n\013_request" + + "_id\"\251\002\n\"SetMachineResourcesInstanceReque" + + "st\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022~\n0instance" + + "s_set_machine_resources_request_resource" + + "\030\356\256\314] \001(\0132<.google.cloud.compute.v1.Inst" + + "ancesSetMachineResourcesRequestB\003\340A\002\022!\n\007" + + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreque" + + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A" + + "\002\362G\004zoneB\r\n\013_request_id\"\232\002\n\035SetMachineTy" + + "peInstanceRequest\022\030\n\010instance\030\225\251\332\010 \001(\tB\003" + + "\340A\002\022t\n+instances_set_machine_type_reques" + + "t_resource\030\215\307\230y \001(\01327.google.cloud.compu" + + "te.v1.InstancesSetMachineTypeRequestB\003\340A" + "\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\n" + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(" - + "\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\245\002\n,SetSecu" - + "rityPolicyRegionBackendServiceRequest\022 \n" - + "\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022!\n\007proje" - + "ct\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240" - + "B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001" - + "(\tH\000\210\001\001\022d\n\"security_policy_reference_res" - + "ource\030\360\264\253a \001(\01320.google.cloud.compute.v1" - + ".SecurityPolicyReferenceB\003\340A\002B\r\n\013_reques" - + "t_id\"\233\002\n&SetSecurityPolicyTargetInstance" - + "Request\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proje" - + "ct\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n\"securi" - + "ty_policy_reference_resource\030\360\264\253a \001(\01320." - + "google.cloud.compute.v1.SecurityPolicyRe" - + "ferenceB\003\340A\002\022 \n\017target_instance\030\203\217\226\212\001 \001(" - + "\tB\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_" - + "request_id\"\226\002\n\"SetSecurityPolicyTargetPo" - + "olRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pro" - + "ject\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n" - + "\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n\"security_po" - + "licy_reference_resource\030\360\264\253a \001(\01320.googl" - + "e.cloud.compute.v1.SecurityPolicyReferen" - + "ceB\003\340A\002\022\033\n\013target_pool\030\212\344\370\035 \001(\tB\003\340A\002B\r\n\013" - + "_request_id\"\244\002\n SetServiceAccountInstanc" - + "eRequest\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022{\n.in" - + "stances_set_service_account_request_reso" - + "urce\030\270\236\262\203\001 \001(\0132:.google.cloud.compute.v1" - + ".InstancesSetServiceAccountRequestB\003\340A\002\022" - + "!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nre" - + "quest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB" - + "\n\340A\002\362G\004zoneB\r\n\013_request_id\"\260\002\n1SetShield" - + "edInstanceIntegrityPolicyInstanceRequest" - + "\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022!\n\007project\030\231\226" - + "\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021" - + " \001(\tH\000\210\001\001\022v\n+shielded_instance_integrity" - + "_policy_resource\030\266\334\215\303\001 \001(\01328.google.clou" - + "d.compute.v1.ShieldedInstanceIntegrityPo" - + "licyB\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r" - + "\n\013_request_id\"\345\002\n/SetSslCertificatesRegi" - + "onTargetHttpsProxyRequest\022!\n\007project\030\231\226\301" - + "l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB" - + "\014\340A\002\362G\006region\022\236\001\nAregion_target_https_pr" - + "oxies_set_ssl_certificates_request_resou" - + "rce\030\207\204\246\272\001 \001(\0132J.google.cloud.compute.v1." - + "RegionTargetHttpsProxiesSetSslCertificat" - + "esRequestB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" - + "\001\001\022\"\n\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r" - + "\n\013_request_id\"\260\002\n)SetSslCertificatesTarg" - + "etHttpsProxyRequest\022!\n\007project\030\231\226\301l \001(\tB", - "\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" - + "\001\001\022\220\001\n:target_https_proxies_set_ssl_cert" - + "ificates_request_resource\030\334\253\262j \001(\0132D.goo" - + "gle.cloud.compute.v1.TargetHttpsProxiesS" - + "etSslCertificatesRequestB\003\340A\002\022\"\n\022target_" - + "https_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n\013_request_id" - + "\"\251\002\n\'SetSslCertificatesTargetSslProxyReq" - + "uest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022" - + "\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\214\001\n8target_s" - + "sl_proxies_set_ssl_certificates_request_" - + "resource\030\275\313\305F \001(\0132B.google.cloud.compute" - + ".v1.TargetSslProxiesSetSslCertificatesRe" - + "questB\003\340A\002\022!\n\020target_ssl_proxy\030\315\272\306\241\001 \001(\t" - + "B\003\340A\002B\r\n\013_request_id\"\363\001\n#SetSslPolicyTar" - + "getHttpsProxyRequest\022!\n\007project\030\231\226\301l \001(\t" + + "\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\350\001\n\032SetMeta" + + "dataInstanceRequest\022\030\n\010instance\030\225\251\332\010 \001(\t" + + "B\003\340A\002\022E\n\021metadata_resource\030\236\276\346\212\001 \001(\0132!.g" + + "oogle.cloud.compute.v1.MetadataB\003\340A\002\022!\n\007" + + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreque" + + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A" + + "\002\362G\004zoneB\r\n\013_request_id\"\244\002\n SetMinCpuPla" + + "tformInstanceRequest\022\030\n\010instance\030\225\251\332\010 \001(" + + "\tB\003\340A\002\022{\n/instances_set_min_cpu_platform" + + "_request_resource\030\350\236\345F \001(\0132:.google.clou" + + "d.compute.v1.InstancesSetMinCpuPlatformR" + + "equestB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007p" + + "roject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zo" + + "ne\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\205" + + "\002\n\026SetNameInstanceRequest\022\030\n\010instance\030\225\251" + + "\332\010 \001(\tB\003\340A\002\022f\n#instances_set_name_reques" + + "t_resource\030\324\300\336\201\001 \001(\01320.google.cloud.comp" + + "ute.v1.InstancesSetNameRequestB\003\340A\002\022!\n\007p" + + "roject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreques" + + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002" + + "\362G\004zoneB\r\n\013_request_id\"\256\002\n!SetNamedPorts" + + "InstanceGroupRequest\022\036\n\016instance_group\030\325" + + "\324\325& \001(\tB\003\340A\002\022~\n0instance_groups_set_name" + + "d_ports_request_resource\030\257\344\323\267\001 \001(\0132;.goo" + + "gle.cloud.compute.v1.InstanceGroupsSetNa" + + "medPortsRequestB\003\340A\002\022!\n\007project\030\231\226\301l \001(\t" + "B\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000" - + "\210\001\001\022Z\n\035ssl_policy_reference_resource\030\274\364\237" - + "p \001(\0132+.google.cloud.compute.v1.SslPolic" - + "yReferenceB\003\340A\002\022\"\n\022target_https_proxy\030\354\260" - + "\372\030 \001(\tB\003\340A\002B\r\n\013_request_id\"\360\001\n!SetSslPol" - + "icyTargetSslProxyRequest\022!\n\007project\030\231\226\301l" - + " \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001" - + "(\tH\000\210\001\001\022Z\n\035ssl_policy_reference_resource" - + "\030\274\364\237p \001(\0132+.google.cloud.compute.v1.SslP" - + "olicyReferenceB\003\340A\002\022!\n\020target_ssl_proxy\030" - + "\315\272\306\241\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\334\001\n\026SetTag" - + "sInstanceRequest\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340" + + "\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_req" + + "uest_id\"\304\002\n\'SetNamedPortsRegionInstanceG" + + "roupRequest\022\036\n\016instance_group\030\325\324\325& \001(\tB\003" + + "\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037" + + "\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\211\001\n7regi" + + "on_instance_groups_set_named_ports_reque" + + "st_resource\030\232\220` \001(\0132A.google.cloud.compu" + + "te.v1.RegionInstanceGroupsSetNamedPortsR" + + "equestB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B" + + "\r\n\013_request_id\"\244\002\n\037SetNodeTemplateNodeGr" + + "oupRequest\022\033\n\nnode_group\030\202\374\213\340\001 \001(\tB\003\340A\002\022" + + "y\n.node_groups_set_node_template_request" + + "_resource\030\261\271\3747 \001(\01329.google.cloud.comput" + + "e.v1.NodeGroupsSetNodeTemplateRequestB\003\340" + "A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n" - + "\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022=\n\rtags_resour" - + "ce\030\364\232\205\236\001 \001(\0132\035.google.cloud.compute.v1.T" - + "agsB\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n" - + "\013_request_id\"\207\002\n\036SetTargetForwardingRule" - + "Request\022 \n\017forwarding_rule\030\376\245\335\200\001 \001(\tB\003\340A" - + "\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006" - + "region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest" - + "_id\030\313\201\331\021 \001(\tH\000\210\001\001\022T\n\031target_reference_re" - + "source\030\360\267\335\371\001 \001(\0132(.google.cloud.compute." - + "v1.TargetReferenceB\003\340A\002B\r\n\013_request_id\"\354" - + "\001\n$SetTargetGlobalForwardingRuleRequest\022" - + " \n\017forwarding_rule\030\376\245\335\200\001 \001(\tB\003\340A\002\022!\n\007pro" + + "\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001" + + "(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\311\002\n)SetPri" + + "vateIpGoogleAccessSubnetworkRequest\022!\n\007p" + + "roject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region" + + "\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201" + + "\331\021 \001(\tH\000\210\001\001\022\033\n\nsubnetwork\030\356\247\344\222\001 \001(\tB\003\340A\002" + + "\022\217\001\n9subnetworks_set_private_ip_google_a" + + "ccess_request_resource\030\370\316\235\200\001 \001(\0132C.googl" + + "e.cloud.compute.v1.SubnetworksSetPrivate" + + "IpGoogleAccessRequestB\003\340A\002B\r\n\013_request_i" + + "d\"\235\002\n#SetProxyHeaderTargetSslProxyReques" + + "t\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\n" + + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\204\001\n4target_ssl_" + + "proxies_set_proxy_header_request_resourc" + + "e\030\256\311\361a \001(\0132>.google.cloud.compute.v1.Tar" + + "getSslProxiesSetProxyHeaderRequestB\003\340A\002\022" + + "!\n\020target_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n\013_r" + + "equest_id\"\235\002\n#SetProxyHeaderTargetTcpPro" + + "xyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pro" + + "ject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\204\001\n4tar" + + "get_tcp_proxies_set_proxy_header_request" + + "_resource\030\303\230\361h \001(\0132>.google.cloud.comput" + + "e.v1.TargetTcpProxiesSetProxyHeaderReque" + + "stB\003\340A\002\022!\n\020target_tcp_proxy\030\342\326\360\357\001 \001(\tB\003\340" + + "A\002B\r\n\013_request_id\"\247\002\n&SetQuicOverrideTar" + + "getHttpsProxyRequest\022!\n\007project\030\231\226\301l \001(\t" + + "B\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000" + + "\210\001\001\022\212\001\n7target_https_proxies_set_quic_ov" + + "erride_request_resource\030\342\365\343\" \001(\0132A.googl" + + "e.cloud.compute.v1.TargetHttpsProxiesSet" + + "QuicOverrideRequestB\003\340A\002\022\"\n\022target_https" + + "_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n\013_request_id\"\356\001\n\034" + + "SetSchedulingInstanceRequest\022\030\n\010instance" + + "\030\225\251\332\010 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362" + + "G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022I\n" + + "\023scheduling_resource\030\331\254\356\334\001 \001(\0132#.google." + + "cloud.compute.v1.SchedulingB\003\340A\002\022\033\n\004zone" + + "\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\376\001\n" + + "&SetSecurityPolicyBackendServiceRequest\022" + + " \n\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022!\n\007pro" + "ject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_" + + "id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n\"security_policy_refe" + + "rence_resource\030\360\264\253a \001(\01320.google.cloud.c" + + "ompute.v1.SecurityPolicyReferenceB\003\340A\002B\r" + + "\n\013_request_id\"\243\002\n SetSecurityPolicyInsta" + + "nceRequest\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022z\n." + + "instances_set_security_policy_request_re" + + "source\030\212\321\272v \001(\0132:.google.cloud.compute.v" + + "1.InstancesSetSecurityPolicyRequestB\003\340A\002" + + "\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nr" + + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\t" + + "B\n\340A\002\362G\004zoneB\r\n\013_request_id\"\245\002\n,SetSecur" + + "ityPolicyRegionBackendServiceRequest\022 \n\017" + + "backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022!\n\007projec" + + "t\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B" + + " \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(" + + "\tH\000\210\001\001\022d\n\"security_policy_reference_reso" + + "urce\030\360\264\253a \001(\01320.google.cloud.compute.v1." + + "SecurityPolicyReferenceB\003\340A\002B\r\n\013_request" + + "_id\"\233\002\n&SetSecurityPolicyTargetInstanceR" + + "equest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" + + "t\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n\"securit" + + "y_policy_reference_resource\030\360\264\253a \001(\01320.g" + + "oogle.cloud.compute.v1.SecurityPolicyRef" + + "erenceB\003\340A\002\022 \n\017target_instance\030\203\217\226\212\001 \001(\t" + + "B\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_r" + + "equest_id\"\226\002\n\"SetSecurityPolicyTargetPoo" + + "lRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" + + "ect\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" + + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n\"security_pol" + + "icy_reference_resource\030\360\264\253a \001(\01320.google" + + ".cloud.compute.v1.SecurityPolicyReferenc" + + "eB\003\340A\002\022\033\n\013target_pool\030\212\344\370\035 \001(\tB\003\340A\002B\r\n\013_" + + "request_id\"\244\002\n SetServiceAccountInstance" + + "Request\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022{\n.ins" + + "tances_set_service_account_request_resou" + + "rce\030\270\236\262\203\001 \001(\0132:.google.cloud.compute.v1." + + "InstancesSetServiceAccountRequestB\003\340A\002\022!" + + "\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreq" + + "uest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n" + + "\340A\002\362G\004zoneB\r\n\013_request_id\"\260\002\n1SetShielde" + + "dInstanceIntegrityPolicyInstanceRequest\022" + + "\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301" + + "l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 " + + "\001(\tH\000\210\001\001\022v\n+shielded_instance_integrity_" + + "policy_resource\030\266\334\215\303\001 \001(\01328.google.cloud" + + ".compute.v1.ShieldedInstanceIntegrityPol" + + "icyB\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n" + + "\013_request_id\"\345\002\n/SetSslCertificatesRegio" + + "nTargetHttpsProxyRequest\022!\n\007project\030\231\226\301l" + + " \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014" + + "\340A\002\362G\006region\022\236\001\nAregion_target_https_pro" + + "xies_set_ssl_certificates_request_resour" + + "ce\030\207\204\246\272\001 \001(\0132J.google.cloud.compute.v1.R" + + "egionTargetHttpsProxiesSetSslCertificate" + + "sRequestB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001" + + "\001\022\"\n\022target_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n" + + "\013_request_id\"\260\002\n)SetSslCertificatesTarge" + + "tHttpsProxyRequest\022!\n\007project\030\231\226\301l \001(\tB\r" + + "\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001" + + "\001\022\220\001\n:target_https_proxies_set_ssl_certi" + + "ficates_request_resource\030\334\253\262j \001(\0132D.goog" + + "le.cloud.compute.v1.TargetHttpsProxiesSe" + + "tSslCertificatesRequestB\003\340A\002\022\"\n\022target_h" + + "ttps_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n\013_request_id\"" + + "\251\002\n\'SetSslCertificatesTargetSslProxyRequ" + + "est\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032" + + "\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\214\001\n8target_ss" + + "l_proxies_set_ssl_certificates_request_r" + + "esource\030\275\313\305F \001(\0132B.google.cloud.compute." + + "v1.TargetSslProxiesSetSslCertificatesReq" + + "uestB\003\340A\002\022!\n\020target_ssl_proxy\030\315\272\306\241\001 \001(\tB" + + "\003\340A\002B\r\n\013_request_id\"\363\001\n#SetSslPolicyTarg" + + "etHttpsProxyRequest\022!\n\007project\030\231\226\301l \001(\tB" + + "\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" + + "\001\001\022Z\n\035ssl_policy_reference_resource\030\274\364\237p" + + " \001(\0132+.google.cloud.compute.v1.SslPolicy" + + "ReferenceB\003\340A\002\022\"\n\022target_https_proxy\030\354\260\372" + + "\030 \001(\tB\003\340A\002B\r\n\013_request_id\"\360\001\n!SetSslPoli" + + "cyTargetSslProxyRequest\022!\n\007project\030\231\226\301l " + + "\001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(" + + "\tH\000\210\001\001\022Z\n\035ssl_policy_reference_resource\030" + + "\274\364\237p \001(\0132+.google.cloud.compute.v1.SslPo" + + "licyReferenceB\003\340A\002\022!\n\020target_ssl_proxy\030\315" + + "\272\306\241\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\334\001\n\026SetTags" + + "InstanceRequest\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A" + + "\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\n" + + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022=\n\rtags_resourc" + + "e\030\364\232\205\236\001 \001(\0132\035.google.cloud.compute.v1.Ta" + + "gsB\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013" + + "_request_id\"\207\002\n\036SetTargetForwardingRuleR" + + "equest\022 \n\017forwarding_rule\030\376\245\335\200\001 \001(\tB\003\340A\002" + + "\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006r" + + "egion\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_" + "id\030\313\201\331\021 \001(\tH\000\210\001\001\022T\n\031target_reference_res" + "ource\030\360\267\335\371\001 \001(\0132(.google.cloud.compute.v" - + "1.TargetReferenceB\003\340A\002B\r\n\013_request_id\"\320\002" - + "\n)SetTargetPoolsInstanceGroupManagerRequ" - + "est\022&\n\026instance_group_manager\030\303\367\363v \001(\tB\003" - + "\340A\002\022\217\001\n9instance_group_managers_set_targ" - + "et_pools_request_resource\030\210\206\210\206\001 \001(\0132C.go" - + "ogle.cloud.compute.v1.InstanceGroupManag" - + "ersSetTargetPoolsRequestB\003\340A\002\022!\n\007project" + + "1.TargetReferenceB\003\340A\002B\r\n\013_request_id\"\354\001" + + "\n$SetTargetGlobalForwardingRuleRequest\022 " + + "\n\017forwarding_rule\030\376\245\335\200\001 \001(\tB\003\340A\002\022!\n\007proj" + + "ect\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_i" + + "d\030\313\201\331\021 \001(\tH\000\210\001\001\022T\n\031target_reference_reso" + + "urce\030\360\267\335\371\001 \001(\0132(.google.cloud.compute.v1" + + ".TargetReferenceB\003\340A\002B\r\n\013_request_id\"\320\002\n" + + ")SetTargetPoolsInstanceGroupManagerReque" + + "st\022&\n\026instance_group_manager\030\303\367\363v \001(\tB\003\340" + + "A\002\022\217\001\n9instance_group_managers_set_targe" + + "t_pools_request_resource\030\210\206\210\206\001 \001(\0132C.goo" + + "gle.cloud.compute.v1.InstanceGroupManage" + + "rsSetTargetPoolsRequestB\003\340A\002\022!\n\007project\030" + + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201" + + "\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zone" + + "B\r\n\013_request_id\"\346\002\n/SetTargetPoolsRegion" + + "InstanceGroupManagerRequest\022&\n\026instance_" + + "group_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n\007project\030\231" + + "\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(" + + "\tB\014\340A\002\362G\006region\022\233\001\n@region_instance_grou" + + "p_managers_set_target_pools_request_reso" + + "urce\030\375\312\305% \001(\0132I.google.cloud.compute.v1." + + "RegionInstanceGroupManagersSetTargetPool" + + "sRequestB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001" + + "\001B\r\n\013_request_id\"\220\002\n%SetUrlMapRegionTarg" + + "etHttpProxyRequest\022!\n\007project\030\231\226\301l \001(\tB\r" + + "\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006" + + "region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n\021ta" + + "rget_http_proxy\030\345\276\322b \001(\tB\003\340A\002\022U\n\032url_map" + + "_reference_resource\030\225\346\216\276\001 \001(\0132(.google.c" + + "loud.compute.v1.UrlMapReferenceB\003\340A\002B\r\n\013" + + "_request_id\"\222\002\n&SetUrlMapRegionTargetHtt" + + "psProxyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362" + + "G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006regi" + + "on\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\"\n\022target" + + "_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002\022U\n\032url_map_re" + + "ference_resource\030\225\346\216\276\001 \001(\0132(.google.clou" + + "d.compute.v1.UrlMapReferenceB\003\340A\002B\r\n\013_re" + + "quest_id\"\351\001\n\037SetUrlMapTargetHttpProxyReq" + + "uest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022" + + "\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n\021target_ht" + + "tp_proxy\030\345\276\322b \001(\tB\003\340A\002\022U\n\032url_map_refere" + + "nce_resource\030\225\346\216\276\001 \001(\0132(.google.cloud.co" + + "mpute.v1.UrlMapReferenceB\003\340A\002B\r\n\013_reques" + + "t_id\"\353\001\n SetUrlMapTargetHttpsProxyReques" + + "t\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\n" + + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\"\n\022target_https" + + "_proxy\030\354\260\372\030 \001(\tB\003\340A\002\022U\n\032url_map_referenc" + + "e_resource\030\225\346\216\276\001 \001(\0132(.google.cloud.comp" + + "ute.v1.UrlMapReferenceB\003\340A\002B\r\n\013_request_" + + "id\"\320\001\n\"SetUsageExportBucketProjectReques" + + "t\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\n" + + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\\\n\036usage_export" + + "_location_resource\030\353\314\324\t \001(\0132,.google.clo" + + "ud.compute.v1.UsageExportLocationB\003\340A\002B\r" + + "\n\013_request_id\"\372\002\n\rShareSettings\022N\n\013proje" + + "ct_map\030\266\326\377? \003(\01326.google.cloud.compute.v" + + "1.ShareSettings.ProjectMapEntry\022\033\n\nshare" + + "_type\030\232\227\270\253\001 \001(\tH\000\210\001\001\032f\n\017ProjectMapEntry\022" + + "\013\n\003key\030\001 \001(\t\022B\n\005value\030\002 \001(\01323.google.clo" + + "ud.compute.v1.ShareSettingsProjectConfig" + + ":\0028\001\"\204\001\n\tShareType\022\030\n\024UNDEFINED_SHARE_TY" + + "PE\020\000\022\014\n\005LOCAL\020\313\316\317\"\022\024\n\014ORGANIZATION\020\263\252\217\203\001" + + "\022\036\n\026SHARE_TYPE_UNSPECIFIED\020\222\274\366\353\001\022\031\n\021SPEC" + + "IFIC_PROJECTS\020\347\261\356\245\001B\r\n\013_share_type\"G\n\032Sh" + + "areSettingsProjectConfig\022\032\n\nproject_id\030\201" + + "\310\322T \001(\tH\000\210\001\001B\r\n\013_project_id\"\316\001\n\026Shielded" + + "InstanceConfig\022,\n\033enable_integrity_monit" + + "oring\030\266\333\207\303\001 \001(\010H\000\210\001\001\022\"\n\022enable_secure_bo" + + "ot\030\376\203\366: \001(\010H\001\210\001\001\022\033\n\013enable_vtpm\030\367\344\333V \001(\010" + + "H\002\210\001\001B\036\n\034_enable_integrity_monitoringB\025\n" + + "\023_enable_secure_bootB\016\n\014_enable_vtpm\"\213\002\n" + + "\030ShieldedInstanceIdentity\022W\n\016encryption_" + + "key\030\243\307\351\350\001 \001(\01326.google.cloud.compute.v1." + + "ShieldedInstanceIdentityEntryH\000\210\001\001\022\024\n\004ki" + + "nd\030\224\367\310\001 \001(\tH\001\210\001\001\022T\n\013signing_key\030\245\220\205\231\001 \001(" + + "\01326.google.cloud.compute.v1.ShieldedInst" + + "anceIdentityEntryH\002\210\001\001B\021\n\017_encryption_ke" + + "yB\007\n\005_kindB\016\n\014_signing_key\"i\n\035ShieldedIn" + + "stanceIdentityEntry\022\030\n\007ek_cert\030\235\334\324\326\001 \001(\t" + + "H\000\210\001\001\022\027\n\006ek_pub\030\344\327\250\223\001 \001(\tH\001\210\001\001B\n\n\010_ek_ce" + + "rtB\t\n\007_ek_pub\"h\n\037ShieldedInstanceIntegri" + + "tyPolicy\022(\n\030update_auto_learn_policy\030\247\304\207" + + "u \001(\010H\000\210\001\001B\033\n\031_update_auto_learn_policy\"" + + "`\n\014SignedUrlKey\022\031\n\010key_name\030\353\360\356\356\001 \001(\tH\000\210" + + "\001\001\022\032\n\tkey_value\030\221\237\260\360\001 \001(\tH\001\210\001\001B\013\n\t_key_n" + + "ameB\014\n\n_key_value\"\374\001\n\'SimulateMaintenanc" + + "eEventInstanceRequest\022\030\n\010instance\030\225\251\332\010 \001" + + "(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proje" + + "ct\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022,\n\033with_e" + + "xtended_notifications\030\373\327\311\301\001 \001(\010H\001\210\001\001\022\033\n\004" + + "zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id" + + "B\036\n\034_with_extended_notifications\"\301\002\n(Sim" + + "ulateMaintenanceEventNodeGroupRequest\022\033\n" + + "\nnode_group\030\202\374\213\340\001 \001(\tB\003\340A\002\022\214\001\n7node_grou" + + "ps_simulate_maintenance_event_request_re" + + "source\030\334\371\313\247\001 \001(\0132B.google.cloud.compute." + + "v1.NodeGroupsSimulateMaintenanceEventReq" + + "uestB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pro" + + "ject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone" + + "\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\237\024\n" + + "\010Snapshot\022\035\n\014architecture\030\323\322\261\220\001 \001(\tH\000\210\001\001" + + "\022\035\n\014auto_created\030\330\310\233\335\001 \001(\010H\001\210\001\001\022\032\n\nchain" + + "_name\030\311\332\335 \001(\tH\002\210\001\001\022#\n\023creation_size_byt" + + "es\030\215\350\345; \001(\003H\003\210\001\001\022\"\n\022creation_timestamp\030\266" + + "\217\307\016 \001(\tH\004\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\005\210" + + "\001\001\022\035\n\014disk_size_gb\030\267\232\347\226\001 \001(\003H\006\210\001\001\022\037\n\016dow" + + "nload_bytes\030\364\313\271\317\001 \001(\003H\007\210\001\001\022+\n\033enable_con" + + "fidential_compute\030\274\353\3310 \001(\010H\010\210\001\001\022E\n\021guest" + + "_os_features\030\321\340\347% \003(\0132\'.google.cloud.com" + + "pute.v1.GuestOsFeature\022\020\n\002id\030\233\032 \001(\004H\t\210\001\001" + + "\022\024\n\004kind\030\224\367\310\001 \001(\tH\n\210\001\001\022!\n\021label_fingerpr" + + "int\030\231\360\367T \001(\tH\013\210\001\001\022A\n\006labels\030\377\277\301\356\001 \003(\0132-." + + "google.cloud.compute.v1.Snapshot.LabelsE" + + "ntry\022\030\n\rlicense_codes\030\250\205\330\025 \003(\003\022\024\n\010licens" + + "es\030\322\210\200\241\001 \003(\t\022\036\n\rlocation_hint\030\321\201\222\247\001 \001(\tH" + + "\014\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\r\210\001\001\022\036\n\rsatisfies_" + + "pzi\030\241\335\253\345\001 \001(\010H\016\210\001\001\022\036\n\rsatisfies_pzs\030\253\335\253\345" + + "\001 \001(\010H\017\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\020\210\001\001\022W" + + "\n\027snapshot_encryption_key\030\376\366\324\024 \001(\0132..goo", + "gle.cloud.compute.v1.CustomerEncryptionK" + + "eyH\021\210\001\001\022\035\n\rsnapshot_type\030\325\331\245; \001(\tH\022\210\001\001\022\034" + + "\n\013source_disk\030\301\356\264\327\001 \001(\tH\023\210\001\001\022[\n\032source_d" + + "isk_encryption_key\030\341\240\270\375\001 \001(\0132..google.cl" + + "oud.compute.v1.CustomerEncryptionKeyH\024\210\001" + + "\001\0224\n#source_disk_for_recovery_checkpoint" + + "\030\376\341\312\253\001 \001(\tH\025\210\001\001\022\037\n\016source_disk_id\030\331\315\311\330\001 " + + "\001(\tH\026\210\001\001\022\'\n\027source_instant_snapshot\030\206\204\303h" + + " \001(\tH\027\210\001\001\022g\n&source_instant_snapshot_enc" + + "ryption_key\030\374\205\224\320\001 \001(\0132..google.cloud.com" + + "pute.v1.CustomerEncryptionKeyH\030\210\001\001\022+\n\032so" + + "urce_instant_snapshot_id\030\364\323\220\211\001 \001(\tH\031\210\001\001\022" + + "/\n\037source_snapshot_schedule_policy\030\203\266\265p " + + "\001(\tH\032\210\001\001\0222\n\"source_snapshot_schedule_pol" + + "icy_id\030\327\247\316! \001(\tH\033\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH" + + "\034\210\001\001\022\036\n\rstorage_bytes\030\247\273\275\312\001 \001(\003H\035\210\001\001\022%\n\024" + + "storage_bytes_status\030\212\253\200\352\001 \001(\tH\036\210\001\001\022\035\n\021s" + + "torage_locations\030\232\355\263\234\001 \003(\t\032-\n\013LabelsEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"j\n\014Arc" + + "hitecture\022\032\n\026UNDEFINED_ARCHITECTURE\020\000\022 \n" + + "\030ARCHITECTURE_UNSPECIFIED\020\253\324\235\274\001\022\014\n\005ARM64" + + "\020\372\313\351\035\022\016\n\006X86_64\020\307\244\346\312\001\"N\n\014SnapshotType\022\033\n" + + "\027UNDEFINED_SNAPSHOT_TYPE\020\000\022\017\n\007ARCHIVE\020\242\331" + + "\321\361\001\022\020\n\010STANDARD\020\275\235\214\347\001\"r\n\006Status\022\024\n\020UNDEF" + + "INED_STATUS\020\000\022\020\n\010CREATING\020\271\275\235\331\001\022\020\n\010DELET" + + "ING\020\250\247\207\374\001\022\016\n\006FAILED\020\275\220\246\331\001\022\014\n\005READY\020\203\303\217%\022" + + "\020\n\tUPLOADING\020\241\234\315\177\"]\n\022StorageBytesStatus\022" + + "\"\n\036UNDEFINED_STORAGE_BYTES_STATUS\020\000\022\020\n\010U" + + "PDATING\020\306\356\354\353\001\022\021\n\nUP_TO_DATE\020\316\242\2470B\017\n\r_arc" + + "hitectureB\017\n\r_auto_createdB\r\n\013_chain_nam" + + "eB\026\n\024_creation_size_bytesB\025\n\023_creation_t" + + "imestampB\016\n\014_descriptionB\017\n\r_disk_size_g" + + "bB\021\n\017_download_bytesB\036\n\034_enable_confiden" + + "tial_computeB\005\n\003_idB\007\n\005_kindB\024\n\022_label_f" + + "ingerprintB\020\n\016_location_hintB\007\n\005_nameB\020\n" + + "\016_satisfies_pziB\020\n\016_satisfies_pzsB\014\n\n_se" + + "lf_linkB\032\n\030_snapshot_encryption_keyB\020\n\016_" + + "snapshot_typeB\016\n\014_source_diskB\035\n\033_source" + + "_disk_encryption_keyB&\n$_source_disk_for" + + "_recovery_checkpointB\021\n\017_source_disk_idB" + + "\032\n\030_source_instant_snapshotB)\n\'_source_i" + + "nstant_snapshot_encryption_keyB\035\n\033_sourc" + + "e_instant_snapshot_idB\"\n _source_snapsho" + + "t_schedule_policyB%\n#_source_snapshot_sc" + + "hedule_policy_idB\t\n\007_statusB\020\n\016_storage_" + + "bytesB\027\n\025_storage_bytes_status\"\241\002\n\014Snaps" + + "hotList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0223\n\005items\030\300\317\367/ " + + "\003(\0132!.google.cloud.compute.v1.Snapshot\022\024" + + "\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030" + + "\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001" + + "\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.com" + + "pute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020" + + "_next_page_tokenB\014\n\n_self_linkB\n\n\010_warni" + + "ng\"\214\001\n\020SnapshotSettings\022c\n\020storage_locat" + + "ion\030\371\321\340\333\001 \001(\0132@.google.cloud.compute.v1." + + "SnapshotSettingsStorageLocationSettingsH" + + "\000\210\001\001B\023\n\021_storage_location\"\336\003\n\'SnapshotSe" + + "ttingsStorageLocationSettings\022f\n\tlocatio" + + "ns\030\336\256\221\305\001 \003(\0132O.google.cloud.compute.v1.S" + + "napshotSettingsStorageLocationSettings.L" + + "ocationsEntry\022\026\n\006policy\030\262\312\266+ \001(\tH\000\210\001\001\032\213\001" + + "\n\016LocationsEntry\022\013\n\003key\030\001 \001(\t\022h\n\005value\030\002" + + " \001(\0132Y.google.cloud.compute.v1.SnapshotS" + + "ettingsStorageLocationSettingsStorageLoc" + + "ationPreference:\0028\001\"\231\001\n\006Policy\022\024\n\020UNDEFI" + + "NED_POLICY\020\000\022\024\n\014LOCAL_REGION\020\350\354\265\300\001\022\033\n\024NE" + + "AREST_MULTI_REGION\020\273\376\247e\022\032\n\022SPECIFIC_LOCA" + + "TIONS\020\361\310\307\205\001\022*\n#STORAGE_LOCATION_POLICY_U" + + "NSPECIFIED\020\360\220\302wB\t\n\007_policy\"a\n@SnapshotSe" + + "ttingsStorageLocationSettingsStorageLoca" + + "tionPreference\022\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001B\007\n\005" + + "_name\"\265\001\n\027SourceDiskEncryptionKey\022T\n\023dis" + + "k_encryption_key\030\205\355\304\201\001 \001(\0132..google.clou" + + "d.compute.v1.CustomerEncryptionKeyH\000\210\001\001\022" + + "\034\n\013source_disk\030\301\356\264\327\001 \001(\tH\001\210\001\001B\026\n\024_disk_e" + + "ncryption_keyB\016\n\014_source_disk\"a\n\024SourceI" + + "nstanceParams\022I\n\014disk_configs\030\317\331\252p \003(\01320" + + ".google.cloud.compute.v1.DiskInstantiati" + + "onConfig\"\361\010\n\030SourceInstanceProperties\022\037\n" + + "\016can_ip_forward\030\374\206\204\337\001 \001(\010H\000\210\001\001\022$\n\023deleti" + + "on_protection\030\352\377\262\332\001 \001(\010H\001\210\001\001\022\034\n\013descript" + + "ion\030\374\207\326\311\001 \001(\tH\002\210\001\001\022<\n\005disks\030\366\314\312- \003(\0132*.g" + + "oogle.cloud.compute.v1.SavedAttachedDisk" + + "\022J\n\022guest_accelerators\030\357\314\207\335\001 \003(\0132*.googl" + + "e.cloud.compute.v1.AcceleratorConfig\022*\n\032" + + "key_revocation_action_type\030\342\334\300p \001(\tH\003\210\001\001" + + "\022Q\n\006labels\030\377\277\301\356\001 \003(\0132=.google.cloud.comp" + + "ute.v1.SourceInstanceProperties.LabelsEn" + + "try\022\034\n\014machine_type\030\262\260\312l \001(\tH\004\210\001\001\022;\n\010met" + + "adata\030\257\366\265) \001(\0132!.google.cloud.compute.v1" + + ".MetadataH\005\210\001\001\022 \n\020min_cpu_platform\030\367\233\352s " + + "\001(\tH\006\210\001\001\022H\n\022network_interfaces\030\213\332\222\031 \003(\0132" + + ").google.cloud.compute.v1.NetworkInterfa" + + "ce\022@\n\nscheduling\030\224\313\261\270\001 \001(\0132#.google.clou" + + "d.compute.v1.SchedulingH\007\210\001\001\022E\n\020service_" + + "accounts\030\260\304\253\204\001 \003(\0132\'.google.cloud.comput" + + "e.v1.ServiceAccount\0223\n\004tags\030\231\350\330\001 \001(\0132\035.g" + + "oogle.cloud.compute.v1.TagsH\010\210\001\001\032-\n\013Labe" + + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + + "\215\001\n\027KeyRevocationActionType\022(\n$UNDEFINED" + + "_KEY_REVOCATION_ACTION_TYPE\020\000\022.\n&KEY_REV" + + "OCATION_ACTION_TYPE_UNSPECIFIED\020\332\221\336\336\001\022\013\n" + + "\004NONE\020\270\316\222\001\022\013\n\004STOP\020\202\200\234\001B\021\n\017_can_ip_forwa" + + "rdB\026\n\024_deletion_protectionB\016\n\014_descripti" + + "onB\035\n\033_key_revocation_action_typeB\017\n\r_ma" + + "chine_typeB\013\n\t_metadataB\023\n\021_min_cpu_plat" + + "formB\r\n\013_schedulingB\007\n\005_tags\"\240\006\n\016SslCert" + + "ificate\022\034\n\013certificate\030\227\203\375\242\001 \001(\tH\000\210\001\001\022\"\n" + + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013des" + + "cription\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\034\n\013expire_time\030\355" + + "\323\221\322\001 \001(\tH\003\210\001\001\022\020\n\002id\030\233\032 \001(\004H\004\210\001\001\022\024\n\004kind\030" + + "\224\367\310\001 \001(\tH\005\210\001\001\022V\n\007managed\030\237\237\244\216\001 \001(\0132<.goo" + + "gle.cloud.compute.v1.SslCertificateManag" + + "edSslCertificateH\006\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\007" + + "\210\001\001\022\034\n\013private_key\030\243\363\245\254\001 \001(\tH\010\210\001\001\022\026\n\006reg" + + "ion\030\364\315\240B \001(\tH\t\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\t" + + "H\n\210\001\001\022_\n\014self_managed\030\254\363\201\235\001 \001(\0132@.google" + + ".cloud.compute.v1.SslCertificateSelfMana" + + "gedSslCertificateH\013\210\001\001\022%\n\031subject_altern" + + "ative_names\030\343\357\223\374\001 \003(\t\022\024\n\004type\030\272\236\332\001 \001(\tH\014" + + "\210\001\001\"[\n\004Type\022\022\n\016UNDEFINED_TYPE\020\000\022\017\n\007MANAG" + + "ED\020\377\266\322\344\001\022\024\n\014SELF_MANAGED\020\214\373\223\317\001\022\030\n\020TYPE_U" + + "NSPECIFIED\020\222\373\333\320\001B\016\n\014_certificateB\025\n\023_cre" + + "ation_timestampB\016\n\014_descriptionB\016\n\014_expi" + + "re_timeB\005\n\003_idB\007\n\005_kindB\n\n\010_managedB\007\n\005_" + + "nameB\016\n\014_private_keyB\t\n\007_regionB\014\n\n_self" + + "_linkB\017\n\r_self_managedB\007\n\005_type\"\313\003\n\034SslC" + + "ertificateAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210" + + "\001\001\022R\n\005items\030\300\317\367/ \003(\0132@.google.cloud.comp" + + "ute.v1.SslCertificateAggregatedList.Item" + + "sEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_pag" + + "e_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001" + + " \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007wa" + + "rning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1" + + ".WarningH\004\210\001\001\032`\n\nItemsEntry\022\013\n\003key\030\001 \001(\t" + + "\022A\n\005value\030\002 \001(\01322.google.cloud.compute.v" + + "1.SslCertificatesScopedList:\0028\001B\005\n\003_idB\007" + + "\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_lin" + + "kB\n\n\010_warning\"\255\002\n\022SslCertificateList\022\020\n\002" + + "id\030\233\032 \001(\tH\000\210\001\001\0229\n\005items\030\300\317\367/ \003(\0132\'.googl" + + "e.cloud.compute.v1.SslCertificate\022\024\n\004kin" + + "d\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& " + + "\001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007" + + "warning\030\234\337\226\030 \001(\0132 .google.cloud.compute." + + "v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next" + + "_page_tokenB\014\n\n_self_linkB\n\n\010_warning\"\320\003" + + "\n#SslCertificateManagedSslCertificate\022i\n" + + "\rdomain_status\030\315\247\347\253\001 \003(\0132N.google.cloud." + + "compute.v1.SslCertificateManagedSslCerti" + + "ficate.DomainStatusEntry\022\022\n\007domains\030\257\210\233l" + + " \003(\t\022\026\n\006status\030\362\237\267V \001(\tH\000\210\001\001\0323\n\021DomainSt" + + "atusEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + + "\001\"\321\001\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\016\n\006AC" + + "TIVE\020\206\346\211\226\001\022.\n&MANAGED_CERTIFICATE_STATUS" + + "_UNSPECIFIED\020\322\305\263\342\001\022\024\n\014PROVISIONING\020\355\365\332\212\001" + + "\022\032\n\023PROVISIONING_FAILED\020\317\253\320$\022\'\n\037PROVISIO" + + "NING_FAILED_PERMANENTLY\020\253\360\222\203\001\022\026\n\016RENEWAL" + + "_FAILED\020\204\276\241\317\001B\t\n\007_status\"\205\001\n\'SslCertific" + + "ateSelfManagedSslCertificate\022\034\n\013certific" + + "ate\030\227\203\375\242\001 \001(\tH\000\210\001\001\022\034\n\013private_key\030\243\363\245\254\001 " + + "\001(\tH\001\210\001\001B\016\n\014_certificateB\016\n\014_private_key" + + "\"\251\001\n\031SslCertificatesScopedList\022E\n\020ssl_ce" + + "rtificates\030\217\242\303\256\001 \003(\0132\'.google.cloud.comp" + + "ute.v1.SslCertificate\0229\n\007warning\030\234\337\226\030 \001(" + + "\0132 .google.cloud.compute.v1.WarningH\000\210\001\001" + + "B\n\n\010_warning\"\340\003\n\031SslPoliciesAggregatedLi" + + "st\022\024\n\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n\002id\030\233\032 \001(\tH\001\210" + + "\001\001\022O\n\005items\030\300\317\367/ \003(\0132=.google.cloud.comp" + + "ute.v1.SslPoliciesAggregatedList.ItemsEn" + + "try\022\024\n\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n\017next_page_t" + + "oken\030\225\272\206& \001(\tH\003\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(" + + "\tH\004\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warni" + + "ng\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Wa" + + "rningH\005\210\001\001\032\\\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022=\n" + + "\005value\030\002 \001(\0132..google.cloud.compute.v1.S" + + "slPoliciesScopedList:\0028\001B\007\n\005_etagB\005\n\003_id" + + "B\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_l" + + "inkB\n\n\010_warning\"\245\002\n\017SslPoliciesList\022\020\n\002i" + + "d\030\233\032 \001(\tH\000\210\001\001\0224\n\005items\030\300\317\367/ \003(\0132\".google" + + ".cloud.compute.v1.SslPolicy\022\024\n\004kind\030\224\367\310\001" + + " \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210" + + "\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warnin" + + "g\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.War" + + "ningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_" + + "tokenB\014\n\n_self_linkB\n\n\010_warning\"?\n(SslPo" + + "liciesListAvailableFeaturesResponse\022\023\n\010f" + + "eatures\030\275\310\263u \003(\t\"\233\001\n\025SslPoliciesScopedLi" + + "st\022;\n\014ssl_policies\030\243\344\215d \003(\0132\".google.clo" + + "ud.compute.v1.SslPolicy\0229\n\007warning\030\234\337\226\030 " + + "\001(\0132 .google.cloud.compute.v1.WarningH\000\210" + + "\001\001B\n\n\010_warning\"\331\005\n\tSslPolicy\022\"\n\022creation" + + "_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\032\n\017custom_featu" + + "res\030\313\262\313\020 \003(\t\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001\210" + + "\001\001\022\034\n\020enabled_features\030\373\306\322\337\001 \003(\t\022\033\n\013fing" + + "erprint\030\344\321\363o \001(\tH\002\210\001\001\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022" + + "\024\n\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\037\n\017min_tls_version" + + "\030\247\346\361\003 \001(\tH\005\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022\027\n\007" + + "profile\030\251\223\272l \001(\tH\007\210\001\001\022\026\n\006region\030\364\315\240B \001(\t" + + "H\010\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\t\210\001\001\0227\n\010war" + + "nings\030\327\210\301\355\001 \003(\0132!.google.cloud.compute.v" + + "1.Warnings\"^\n\rMinTlsVersion\022\035\n\031UNDEFINED" + + "_MIN_TLS_VERSION\020\000\022\016\n\007TLS_1_0\020\276\244\345\017\022\016\n\007TL" + + "S_1_1\020\277\244\345\017\022\016\n\007TLS_1_2\020\300\244\345\017\"e\n\007Profile\022\025\n" + + "\021UNDEFINED_PROFILE\020\000\022\021\n\nCOMPATIBLE\020\324\215\303U\022" + + "\016\n\006CUSTOM\020\361\376\245\271\001\022\r\n\006MODERN\020\237\276\371>\022\021\n\nRESTRI" + + "CTED\020\333\350\333|B\025\n\023_creation_timestampB\016\n\014_des" + + "criptionB\016\n\014_fingerprintB\005\n\003_idB\007\n\005_kind" + + "B\022\n\020_min_tls_versionB\007\n\005_nameB\n\n\010_profil" + + "eB\t\n\007_regionB\014\n\n_self_link\"@\n\022SslPolicyR" + + "eference\022\033\n\nssl_policy\030\305\375\340\214\001 \001(\tH\000\210\001\001B\r\n" + + "\013_ssl_policy\"\240\002\n StartAsyncReplicationDi" + + "skRequest\022\024\n\004disk\030\235\233\274\001 \001(\tB\003\340A\002\022{\n.disks" + + "_start_async_replication_request_resourc" + + "e\030\332\236\300\340\001 \001(\0132:.google.cloud.compute.v1.Di" + + "sksStartAsyncReplicationRequestB\003\340A\002\022!\n\007" + + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreque" + + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A" + + "\002\362G\004zoneB\r\n\013_request_id\"\270\002\n&StartAsyncRe" + + "plicationRegionDiskRequest\022\024\n\004disk\030\235\233\274\001 " + + "\001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" + + "ect\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\210\001\n" + + "5region_disks_start_async_replication_re" + + "quest_resource\030\205\310\226\342\001 \001(\0132@.google.cloud." + + "compute.v1.RegionDisksStartAsyncReplicat" + + "ionRequestB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000" + + "\210\001\001B\r\n\013_request_id\"\233\001\n\024StartInstanceRequ" + + "est\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022!\n\007project" + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313" + "\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zon" - + "eB\r\n\013_request_id\"\346\002\n/SetTargetPoolsRegio" - + "nInstanceGroupManagerRequest\022&\n\026instance" - + "_group_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n\007project\030" - + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001" - + "(\tB\014\340A\002\362G\006region\022\233\001\n@region_instance_gro" - + "up_managers_set_target_pools_request_res" - + "ource\030\375\312\305% \001(\0132I.google.cloud.compute.v1" - + ".RegionInstanceGroupManagersSetTargetPoo" - + "lsRequestB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" - + "\001\001B\r\n\013_request_id\"\220\002\n%SetUrlMapRegionTar" - + "getHttpProxyRequest\022!\n\007project\030\231\226\301l \001(\tB" - + "\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G" - + "\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n\021t" - + "arget_http_proxy\030\345\276\322b \001(\tB\003\340A\002\022U\n\032url_ma" - + "p_reference_resource\030\225\346\216\276\001 \001(\0132(.google." - + "cloud.compute.v1.UrlMapReferenceB\003\340A\002B\r\n" - + "\013_request_id\"\222\002\n&SetUrlMapRegionTargetHt" - + "tpsProxyRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002" - + "\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006reg" - + "ion\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\"\n\022targe" - + "t_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002\022U\n\032url_map_r" - + "eference_resource\030\225\346\216\276\001 \001(\0132(.google.clo" - + "ud.compute.v1.UrlMapReferenceB\003\340A\002B\r\n\013_r" - + "equest_id\"\351\001\n\037SetUrlMapTargetHttpProxyRe" - + "quest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project" - + "\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022!\n\021target_h" - + "ttp_proxy\030\345\276\322b \001(\tB\003\340A\002\022U\n\032url_map_refer" - + "ence_resource\030\225\346\216\276\001 \001(\0132(.google.cloud.c" - + "ompute.v1.UrlMapReferenceB\003\340A\002B\r\n\013_reque" - + "st_id\"\353\001\n SetUrlMapTargetHttpsProxyReque" - + "st\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n" - + "\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\"\n\022target_http" - + "s_proxy\030\354\260\372\030 \001(\tB\003\340A\002\022U\n\032url_map_referen" - + "ce_resource\030\225\346\216\276\001 \001(\0132(.google.cloud.com" - + "pute.v1.UrlMapReferenceB\003\340A\002B\r\n\013_request" - + "_id\"\320\001\n\"SetUsageExportBucketProjectReque" - + "st\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n" - + "\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\\\n\036usage_expor" - + "t_location_resource\030\353\314\324\t \001(\0132,.google.cl" - + "oud.compute.v1.UsageExportLocationB\003\340A\002B" - + "\r\n\013_request_id\"\372\002\n\rShareSettings\022N\n\013proj" - + "ect_map\030\266\326\377? \003(\01326.google.cloud.compute." - + "v1.ShareSettings.ProjectMapEntry\022\033\n\nshar" - + "e_type\030\232\227\270\253\001 \001(\tH\000\210\001\001\032f\n\017ProjectMapEntry" - + "\022\013\n\003key\030\001 \001(\t\022B\n\005value\030\002 \001(\01323.google.cl" - + "oud.compute.v1.ShareSettingsProjectConfi" - + "g:\0028\001\"\204\001\n\tShareType\022\030\n\024UNDEFINED_SHARE_T" - + "YPE\020\000\022\014\n\005LOCAL\020\313\316\317\"\022\024\n\014ORGANIZATION\020\263\252\217\203" - + "\001\022\036\n\026SHARE_TYPE_UNSPECIFIED\020\222\274\366\353\001\022\031\n\021SPE" - + "CIFIC_PROJECTS\020\347\261\356\245\001B\r\n\013_share_type\"G\n\032S" - + "hareSettingsProjectConfig\022\032\n\nproject_id\030" - + "\201\310\322T \001(\tH\000\210\001\001B\r\n\013_project_id\"\316\001\n\026Shielde" - + "dInstanceConfig\022,\n\033enable_integrity_moni" - + "toring\030\266\333\207\303\001 \001(\010H\000\210\001\001\022\"\n\022enable_secure_b" - + "oot\030\376\203\366: \001(\010H\001\210\001\001\022\033\n\013enable_vtpm\030\367\344\333V \001(" - + "\010H\002\210\001\001B\036\n\034_enable_integrity_monitoringB\025" - + "\n\023_enable_secure_bootB\016\n\014_enable_vtpm\"\213\002" - + "\n\030ShieldedInstanceIdentity\022W\n\016encryption" - + "_key\030\243\307\351\350\001 \001(\01326.google.cloud.compute.v1" - + ".ShieldedInstanceIdentityEntryH\000\210\001\001\022\024\n\004k" - + "ind\030\224\367\310\001 \001(\tH\001\210\001\001\022T\n\013signing_key\030\245\220\205\231\001 \001" - + "(\01326.google.cloud.compute.v1.ShieldedIns" - + "tanceIdentityEntryH\002\210\001\001B\021\n\017_encryption_k" - + "eyB\007\n\005_kindB\016\n\014_signing_key\"i\n\035ShieldedI" - + "nstanceIdentityEntry\022\030\n\007ek_cert\030\235\334\324\326\001 \001(" - + "\tH\000\210\001\001\022\027\n\006ek_pub\030\344\327\250\223\001 \001(\tH\001\210\001\001B\n\n\010_ek_c" - + "ertB\t\n\007_ek_pub\"h\n\037ShieldedInstanceIntegr" - + "ityPolicy\022(\n\030update_auto_learn_policy\030\247\304" - + "\207u \001(\010H\000\210\001\001B\033\n\031_update_auto_learn_policy" - + "\"`\n\014SignedUrlKey\022\031\n\010key_name\030\353\360\356\356\001 \001(\tH\000" - + "\210\001\001\022\032\n\tkey_value\030\221\237\260\360\001 \001(\tH\001\210\001\001B\013\n\t_key_" - + "nameB\014\n\n_key_value\"\374\001\n\'SimulateMaintenan" - + "ceEventInstanceRequest\022\030\n\010instance\030\225\251\332\010 " - + "\001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" - + "ect\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022,\n\033with_" - + "extended_notifications\030\373\327\311\301\001 \001(\010H\001\210\001\001\022\033\n" - + "\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_i" - + "dB\036\n\034_with_extended_notifications\"\301\002\n(Si" - + "mulateMaintenanceEventNodeGroupRequest\022\033" - + "\n\nnode_group\030\202\374\213\340\001 \001(\tB\003\340A\002\022\214\001\n7node_gro" - + "ups_simulate_maintenance_event_request_r" - + "esource\030\334\371\313\247\001 \001(\0132B.google.cloud.compute" - + ".v1.NodeGroupsSimulateMaintenanceEventRe" - + "questB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" - + "oject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zon" - + "e\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\237\024" - + "\n\010Snapshot\022\035\n\014architecture\030\323\322\261\220\001 \001(\tH\000\210\001" - + "\001\022\035\n\014auto_created\030\330\310\233\335\001 \001(\010H\001\210\001\001\022\032\n\nchai" - + "n_name\030\311\332\335 \001(\tH\002\210\001\001\022#\n\023creation_size_by" - + "tes\030\215\350\345; \001(\003H\003\210\001\001\022\"\n\022creation_timestamp\030" - + "\266\217\307\016 \001(\tH\004\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\005" - + "\210\001\001\022\035\n\014disk_size_gb\030\267\232\347\226\001 \001(\003H\006\210\001\001\022\037\n\016do" - + "wnload_bytes\030\364\313\271\317\001 \001(\003H\007\210\001\001\022+\n\033enable_co" - + "nfidential_compute\030\274\353\3310 \001(\010H\010\210\001\001\022E\n\021gues" - + "t_os_features\030\321\340\347% \003(\0132\'.google.cloud.co" - + "mpute.v1.GuestOsFeature\022\020\n\002id\030\233\032 \001(\004H\t\210\001" - + "\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\n\210\001\001\022!\n\021label_fingerp" - + "rint\030\231\360\367T \001(\tH\013\210\001\001\022A\n\006labels\030\377\277\301\356\001 \003(\0132-" - + ".google.cloud.compute.v1.Snapshot.Labels" - + "Entry\022\030\n\rlicense_codes\030\250\205\330\025 \003(\003\022\024\n\010licen" - + "ses\030\322\210\200\241\001 \003(\t\022\036\n\rlocation_hint\030\321\201\222\247\001 \001(\t" - + "H\014\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\r\210\001\001\022\036\n\rsatisfies" - + "_pzi\030\241\335\253\345\001 \001(\010H\016\210\001\001\022\036\n\rsatisfies_pzs\030\253\335\253" - + "\345\001 \001(\010H\017\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\020\210\001\001\022" - + "W\n\027snapshot_encryption_key\030\376\366\324\024 \001(\0132..go" - + "ogle.cloud.compute.v1.CustomerEncryption" - + "KeyH\021\210\001\001\022\035\n\rsnapshot_type\030\325\331\245; \001(\tH\022\210\001\001\022" - + "\034\n\013source_disk\030\301\356\264\327\001 \001(\tH\023\210\001\001\022[\n\032source_" - + "disk_encryption_key\030\341\240\270\375\001 \001(\0132..google.c" - + "loud.compute.v1.CustomerEncryptionKeyH\024\210" - + "\001\001\0224\n#source_disk_for_recovery_checkpoin" - + "t\030\376\341\312\253\001 \001(\tH\025\210\001\001\022\037\n\016source_disk_id\030\331\315\311\330\001" - + " \001(\tH\026\210\001\001\022\'\n\027source_instant_snapshot\030\206\204\303" - + "h \001(\tH\027\210\001\001\022g\n&source_instant_snapshot_en" - + "cryption_key\030\374\205\224\320\001 \001(\0132..google.cloud.co" - + "mpute.v1.CustomerEncryptionKeyH\030\210\001\001\022+\n\032s" - + "ource_instant_snapshot_id\030\364\323\220\211\001 \001(\tH\031\210\001\001" - + "\022/\n\037source_snapshot_schedule_policy\030\203\266\265p" - + " \001(\tH\032\210\001\001\0222\n\"source_snapshot_schedule_po" - + "licy_id\030\327\247\316! \001(\tH\033\210\001\001\022\026\n\006status\030\362\237\267V \001(\t" - + "H\034\210\001\001\022\036\n\rstorage_bytes\030\247\273\275\312\001 \001(\003H\035\210\001\001\022%\n" - + "\024storage_bytes_status\030\212\253\200\352\001 \001(\tH\036\210\001\001\022\035\n\021" - + "storage_locations\030\232\355\263\234\001 \003(\t\032-\n\013LabelsEnt" - + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"j\n\014Ar" - + "chitecture\022\032\n\026UNDEFINED_ARCHITECTURE\020\000\022 " - + "\n\030ARCHITECTURE_UNSPECIFIED\020\253\324\235\274\001\022\014\n\005ARM6" - + "4\020\372\313\351\035\022\016\n\006X86_64\020\307\244\346\312\001\"N\n\014SnapshotType\022\033" - + "\n\027UNDEFINED_SNAPSHOT_TYPE\020\000\022\017\n\007ARCHIVE\020\242" - + "\331\321\361\001\022\020\n\010STANDARD\020\275\235\214\347\001\"r\n\006Status\022\024\n\020UNDE" - + "FINED_STATUS\020\000\022\020\n\010CREATING\020\271\275\235\331\001\022\020\n\010DELE" - + "TING\020\250\247\207\374\001\022\016\n\006FAILED\020\275\220\246\331\001\022\014\n\005READY\020\203\303\217%" - + "\022\020\n\tUPLOADING\020\241\234\315\177\"]\n\022StorageBytesStatus" - + "\022\"\n\036UNDEFINED_STORAGE_BYTES_STATUS\020\000\022\020\n\010" - + "UPDATING\020\306\356\354\353\001\022\021\n\nUP_TO_DATE\020\316\242\2470B\017\n\r_ar" - + "chitectureB\017\n\r_auto_createdB\r\n\013_chain_na" - + "meB\026\n\024_creation_size_bytesB\025\n\023_creation_" - + "timestampB\016\n\014_descriptionB\017\n\r_disk_size_" - + "gbB\021\n\017_download_bytesB\036\n\034_enable_confide" - + "ntial_computeB\005\n\003_idB\007\n\005_kindB\024\n\022_label_" - + "fingerprintB\020\n\016_location_hintB\007\n\005_nameB\020" - + "\n\016_satisfies_pziB\020\n\016_satisfies_pzsB\014\n\n_s" - + "elf_linkB\032\n\030_snapshot_encryption_keyB\020\n\016" - + "_snapshot_typeB\016\n\014_source_diskB\035\n\033_sourc" - + "e_disk_encryption_keyB&\n$_source_disk_fo" - + "r_recovery_checkpointB\021\n\017_source_disk_id" - + "B\032\n\030_source_instant_snapshotB)\n\'_source_" - + "instant_snapshot_encryption_keyB\035\n\033_sour" - + "ce_instant_snapshot_idB\"\n _source_snapsh" - + "ot_schedule_policyB%\n#_source_snapshot_s" - + "chedule_policy_idB\t\n\007_statusB\020\n\016_storage" - + "_bytesB\027\n\025_storage_bytes_status\"\241\002\n\014Snap" - + "shotList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0223\n\005items\030\300\317\367/" - + " \003(\0132!.google.cloud.compute.v1.Snapshot\022" - + "\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token" - + "\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210" - + "\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.co" - + "mpute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n" - + "\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_warn" - + "ing\"\214\001\n\020SnapshotSettings\022c\n\020storage_loca" - + "tion\030\371\321\340\333\001 \001(\0132@.google.cloud.compute.v1" - + ".SnapshotSettingsStorageLocationSettings" - + "H\000\210\001\001B\023\n\021_storage_location\"\336\003\n\'SnapshotS" - + "ettingsStorageLocationSettings\022f\n\tlocati" - + "ons\030\336\256\221\305\001 \003(\0132O.google.cloud.compute.v1." - + "SnapshotSettingsStorageLocationSettings." - + "LocationsEntry\022\026\n\006policy\030\262\312\266+ \001(\tH\000\210\001\001\032\213" - + "\001\n\016LocationsEntry\022\013\n\003key\030\001 \001(\t\022h\n\005value\030" - + "\002 \001(\0132Y.google.cloud.compute.v1.Snapshot" - + "SettingsStorageLocationSettingsStorageLo" - + "cationPreference:\0028\001\"\231\001\n\006Policy\022\024\n\020UNDEF" - + "INED_POLICY\020\000\022\024\n\014LOCAL_REGION\020\350\354\265\300\001\022\033\n\024N" - + "EAREST_MULTI_REGION\020\273\376\247e\022\032\n\022SPECIFIC_LOC" - + "ATIONS\020\361\310\307\205\001\022*\n#STORAGE_LOCATION_POLICY_" - + "UNSPECIFIED\020\360\220\302wB\t\n\007_policy\"a\n@SnapshotS" - + "ettingsStorageLocationSettingsStorageLoc" - + "ationPreference\022\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001B\007\n" - + "\005_name\"\265\001\n\027SourceDiskEncryptionKey\022T\n\023di" - + "sk_encryption_key\030\205\355\304\201\001 \001(\0132..google.clo" - + "ud.compute.v1.CustomerEncryptionKeyH\000\210\001\001" - + "\022\034\n\013source_disk\030\301\356\264\327\001 \001(\tH\001\210\001\001B\026\n\024_disk_" - + "encryption_keyB\016\n\014_source_disk\"a\n\024Source" - + "InstanceParams\022I\n\014disk_configs\030\317\331\252p \003(\0132" - + "0.google.cloud.compute.v1.DiskInstantiat" - + "ionConfig\"\361\010\n\030SourceInstanceProperties\022\037" - + "\n\016can_ip_forward\030\374\206\204\337\001 \001(\010H\000\210\001\001\022$\n\023delet" - + "ion_protection\030\352\377\262\332\001 \001(\010H\001\210\001\001\022\034\n\013descrip" - + "tion\030\374\207\326\311\001 \001(\tH\002\210\001\001\022<\n\005disks\030\366\314\312- \003(\0132*." - + "google.cloud.compute.v1.SavedAttachedDis" - + "k\022J\n\022guest_accelerators\030\357\314\207\335\001 \003(\0132*.goog" - + "le.cloud.compute.v1.AcceleratorConfig\022*\n" - + "\032key_revocation_action_type\030\342\334\300p \001(\tH\003\210\001" - + "\001\022Q\n\006labels\030\377\277\301\356\001 \003(\0132=.google.cloud.com" - + "pute.v1.SourceInstanceProperties.LabelsE" - + "ntry\022\034\n\014machine_type\030\262\260\312l \001(\tH\004\210\001\001\022;\n\010me" - + "tadata\030\257\366\265) \001(\0132!.google.cloud.compute.v" - + "1.MetadataH\005\210\001\001\022 \n\020min_cpu_platform\030\367\233\352s" - + " \001(\tH\006\210\001\001\022H\n\022network_interfaces\030\213\332\222\031 \003(\013" - + "2).google.cloud.compute.v1.NetworkInterf" - + "ace\022@\n\nscheduling\030\224\313\261\270\001 \001(\0132#.google.clo" - + "ud.compute.v1.SchedulingH\007\210\001\001\022E\n\020service" - + "_accounts\030\260\304\253\204\001 \003(\0132\'.google.cloud.compu" - + "te.v1.ServiceAccount\0223\n\004tags\030\231\350\330\001 \001(\0132\035." - + "google.cloud.compute.v1.TagsH\010\210\001\001\032-\n\013Lab" - + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" - + "\"\215\001\n\027KeyRevocationActionType\022(\n$UNDEFINE" - + "D_KEY_REVOCATION_ACTION_TYPE\020\000\022.\n&KEY_RE" - + "VOCATION_ACTION_TYPE_UNSPECIFIED\020\332\221\336\336\001\022\013" - + "\n\004NONE\020\270\316\222\001\022\013\n\004STOP\020\202\200\234\001B\021\n\017_can_ip_forw" - + "ardB\026\n\024_deletion_protectionB\016\n\014_descript" - + "ionB\035\n\033_key_revocation_action_typeB\017\n\r_m" - + "achine_typeB\013\n\t_metadataB\023\n\021_min_cpu_pla" - + "tformB\r\n\013_schedulingB\007\n\005_tags\"\240\006\n\016SslCer" - + "tificate\022\034\n\013certificate\030\227\203\375\242\001 \001(\tH\000\210\001\001\022\"" - + "\n\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013de" - + "scription\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\034\n\013expire_time\030" - + "\355\323\221\322\001 \001(\tH\003\210\001\001\022\020\n\002id\030\233\032 \001(\004H\004\210\001\001\022\024\n\004kind" - + "\030\224\367\310\001 \001(\tH\005\210\001\001\022V\n\007managed\030\237\237\244\216\001 \001(\0132<.go" - + "ogle.cloud.compute.v1.SslCertificateMana" - + "gedSslCertificateH\006\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH" - + "\007\210\001\001\022\034\n\013private_key\030\243\363\245\254\001 \001(\tH\010\210\001\001\022\026\n\006re" - + "gion\030\364\315\240B \001(\tH\t\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(" - + "\tH\n\210\001\001\022_\n\014self_managed\030\254\363\201\235\001 \001(\0132@.googl" - + "e.cloud.compute.v1.SslCertificateSelfMan" - + "agedSslCertificateH\013\210\001\001\022%\n\031subject_alter" - + "native_names\030\343\357\223\374\001 \003(\t\022\024\n\004type\030\272\236\332\001 \001(\tH" - + "\014\210\001\001\"[\n\004Type\022\022\n\016UNDEFINED_TYPE\020\000\022\017\n\007MANA" - + "GED\020\377\266\322\344\001\022\024\n\014SELF_MANAGED\020\214\373\223\317\001\022\030\n\020TYPE_" - + "UNSPECIFIED\020\222\373\333\320\001B\016\n\014_certificateB\025\n\023_cr" - + "eation_timestampB\016\n\014_descriptionB\016\n\014_exp" - + "ire_timeB\005\n\003_idB\007\n\005_kindB\n\n\010_managedB\007\n\005" - + "_nameB\016\n\014_private_keyB\t\n\007_regionB\014\n\n_sel" - + "f_linkB\017\n\r_self_managedB\007\n\005_type\"\313\003\n\034Ssl" - + "CertificateAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000" - + "\210\001\001\022R\n\005items\030\300\317\367/ \003(\0132@.google.cloud.com" - + "pute.v1.SslCertificateAggregatedList.Ite" - + "msEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_pa" - + "ge_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331" - + "\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007w" - + "arning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v" - + "1.WarningH\004\210\001\001\032`\n\nItemsEntry\022\013\n\003key\030\001 \001(" - + "\t\022A\n\005value\030\002 \001(\01322.google.cloud.compute." - + "v1.SslCertificatesScopedList:\0028\001B\005\n\003_idB" - + "\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_li" - + "nkB\n\n\010_warning\"\255\002\n\022SslCertificateList\022\020\n" - + "\002id\030\233\032 \001(\tH\000\210\001\001\0229\n\005items\030\300\317\367/ \003(\0132\'.goog" - + "le.cloud.compute.v1.SslCertificate\022\024\n\004ki" - + "nd\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206&" - + " \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n" - + "\007warning\030\234\337\226\030 \001(\0132 .google.cloud.compute" - + ".v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_nex" - + "t_page_tokenB\014\n\n_self_linkB\n\n\010_warning\"\320" - + "\003\n#SslCertificateManagedSslCertificate\022i" - + "\n\rdomain_status\030\315\247\347\253\001 \003(\0132N.google.cloud" - + ".compute.v1.SslCertificateManagedSslCert" - + "ificate.DomainStatusEntry\022\022\n\007domains\030\257\210\233" - + "l \003(\t\022\026\n\006status\030\362\237\267V \001(\tH\000\210\001\001\0323\n\021DomainS" - + "tatusEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" - + "8\001\"\321\001\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\016\n\006A" - + "CTIVE\020\206\346\211\226\001\022.\n&MANAGED_CERTIFICATE_STATU" - + "S_UNSPECIFIED\020\322\305\263\342\001\022\024\n\014PROVISIONING\020\355\365\332\212" - + "\001\022\032\n\023PROVISIONING_FAILED\020\317\253\320$\022\'\n\037PROVISI" - + "ONING_FAILED_PERMANENTLY\020\253\360\222\203\001\022\026\n\016RENEWA" - + "L_FAILED\020\204\276\241\317\001B\t\n\007_status\"\205\001\n\'SslCertifi" - + "cateSelfManagedSslCertificate\022\034\n\013certifi" - + "cate\030\227\203\375\242\001 \001(\tH\000\210\001\001\022\034\n\013private_key\030\243\363\245\254\001" - + " \001(\tH\001\210\001\001B\016\n\014_certificateB\016\n\014_private_ke" - + "y\"\251\001\n\031SslCertificatesScopedList\022E\n\020ssl_c" - + "ertificates\030\217\242\303\256\001 \003(\0132\'.google.cloud.com" - + "pute.v1.SslCertificate\0229\n\007warning\030\234\337\226\030 \001" - + "(\0132 .google.cloud.compute.v1.WarningH\000\210\001" - + "\001B\n\n\010_warning\"\340\003\n\031SslPoliciesAggregatedL" - + "ist\022\024\n\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n\002id\030\233\032 \001(\tH\001" - + "\210\001\001\022O\n\005items\030\300\317\367/ \003(\0132=.google.cloud.com" - + "pute.v1.SslPoliciesAggregatedList.ItemsE" - + "ntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n\017next_page_" - + "token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001" - + "(\tH\004\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warn" - + "ing\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.W" - + "arningH\005\210\001\001\032\\\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022=" - + "\n\005value\030\002 \001(\0132..google.cloud.compute.v1." - + "SslPoliciesScopedList:\0028\001B\007\n\005_etagB\005\n\003_i" - + "dB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_" - + "linkB\n\n\010_warning\"\245\002\n\017SslPoliciesList\022\020\n\002" - + "id\030\233\032 \001(\tH\000\210\001\001\0224\n\005items\030\300\317\367/ \003(\0132\".googl" - + "e.cloud.compute.v1.SslPolicy\022\024\n\004kind\030\224\367\310" + + "eB\r\n\013_request_id\"\265\002\n%StartWithEncryption" + + "KeyInstanceRequest\022\030\n\010instance\030\225\251\332\010 \001(\tB" + + "\003\340A\002\022\206\001\n4instances_start_with_encryption" + + "_key_request_resource\030\377\376\317\322\001 \001(\0132?.google" + + ".cloud.compute.v1.InstancesStartWithEncr" + + "yptionKeyRequestB\003\340A\002\022!\n\007project\030\231\226\301l \001(" + + "\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" + + "\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_re" + + "quest_id\"|\n\016StatefulPolicy\022V\n\017preserved_" + + "state\030\252\342\240\001 \001(\01325.google.cloud.compute.v1" + + ".StatefulPolicyPreservedStateH\000\210\001\001B\022\n\020_p" + + "reserved_state\"\216\005\n\034StatefulPolicyPreserv" + + "edState\022R\n\005disks\030\366\314\312- \003(\0132@.google.cloud" + + ".compute.v1.StatefulPolicyPreservedState" + + ".DisksEntry\022a\n\rexternal_i_ps\030\215\323\200\376\001 \003(\0132F" + + ".google.cloud.compute.v1.StatefulPolicyP" + + "reservedState.ExternalIPsEntry\022`\n\rintern" + + "al_i_ps\030\333\233\357f \003(\0132F.google.cloud.compute." + + "v1.StatefulPolicyPreservedState.Internal" + + "IPsEntry\032m\n\nDisksEntry\022\013\n\003key\030\001 \001(\t\022N\n\005v" + + "alue\030\002 \001(\0132?.google.cloud.compute.v1.Sta" + + "tefulPolicyPreservedStateDiskDevice:\0028\001\032" + + "r\n\020ExternalIPsEntry\022\013\n\003key\030\001 \001(\t\022M\n\005valu" + + "e\030\002 \001(\0132>.google.cloud.compute.v1.Statef" + + "ulPolicyPreservedStateNetworkIp:\0028\001\032r\n\020I" + + "nternalIPsEntry\022\013\n\003key\030\001 \001(\t\022M\n\005value\030\002 " + + "\001(\0132>.google.cloud.compute.v1.StatefulPo" + + "licyPreservedStateNetworkIp:\0028\001\"\264\001\n&Stat" + + "efulPolicyPreservedStateDiskDevice\022\034\n\013au" + + "to_delete\030\273\344\316\335\001 \001(\tH\000\210\001\001\"\\\n\nAutoDelete\022\031" + + "\n\025UNDEFINED_AUTO_DELETE\020\000\022\014\n\005NEVER\020\354\244\257#\022" + + "%\n\036ON_PERMANENT_INSTANCE_DELETION\020\347\340\322-B\016" + + "\n\014_auto_delete\"\263\001\n%StatefulPolicyPreserv" + + "edStateNetworkIp\022\034\n\013auto_delete\030\273\344\316\335\001 \001(" + + "\tH\000\210\001\001\"\\\n\nAutoDelete\022\031\n\025UNDEFINED_AUTO_D" + + "ELETE\020\000\022\014\n\005NEVER\020\354\244\257#\022%\n\036ON_PERMANENT_IN" + + "STANCE_DELETION\020\347\340\322-B\016\n\014_auto_delete\"x\n\006" + + "Status\022\024\n\004code\030\355\333\272\001 \001(\005H\000\210\001\001\022)\n\007details\030" + + "\302\344\343\346\001 \003(\0132\024.google.protobuf.Any\022\030\n\007messa" + + "ge\030\207\200\254\307\001 \001(\tH\001\210\001\001B\007\n\005_codeB\n\n\010_message\"\242" + + "\001\n\037StopAsyncReplicationDiskRequest\022\024\n\004di" + + "sk\030\235\233\274\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A" + + "\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022" + + "\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request" + + "_id\"\254\001\n%StopAsyncReplicationRegionDiskRe" + + "quest\022\024\n\004disk\030\235\233\274\001 \001(\tB\003\340A\002\022!\n\007project\030\231" + + "\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(" + + "\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000" + + "\210\001\001B\r\n\013_request_id\"\232\002\n$StopGroupAsyncRep" + + "licationDiskRequest\022\206\001\n4disks_stop_group" + + "_async_replication_resource_resource\030\225\370\257" + + "\245\001 \001(\0132?.google.cloud.compute.v1.DisksSt" + + "opGroupAsyncReplicationResourceB\003\340A\002\022!\n\007" + + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreque" + + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A" + + "\002\362G\004zoneB\r\n\013_request_id\"\244\002\n*StopGroupAsy" + + "ncReplicationRegionDiskRequest\022\206\001\n4disks" + + "_stop_group_async_replication_resource_r" + + "esource\030\225\370\257\245\001 \001(\0132?.google.cloud.compute" + + ".v1.DisksStopGroupAsyncReplicationResour" + + "ceB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proje" + + "ct\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nr" + + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\324" + + "\001\n\023StopInstanceRequest\022\"\n\021discard_local_" + + "ssd\030\317\351\255\230\001 \001(\010H\000\210\001\001\022\030\n\010instance\030\225\251\332\010 \001(\tB" + + "\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022" + + "\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n\004zone\030\254\307\344\001" + + " \001(\tB\n\340A\002\362G\004zoneB\024\n\022_discard_local_ssdB\r" + + "\n\013_request_id\"\205\013\n\013StoragePool\022*\n\032capacit" + + "y_provisioning_type\030\207\212\375w \001(\tH\000\210\001\001\022\"\n\022cre" + + "ation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013descrip" + + "tion\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n" + + "\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022!\n\021label_fingerprint" + + "\030\231\360\367T \001(\tH\005\210\001\001\022D\n\006labels\030\377\277\301\356\001 \003(\01320.goo" + + "gle.cloud.compute.v1.StoragePool.LabelsE" + + "ntry\022\024\n\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022.\n\035performanc" + + "e_provisioning_type\030\375\235\266\337\001 \001(\tH\007\210\001\001\022-\n\034po" + + "ol_provisioned_capacity_gb\030\322\317\227\344\001 \001(\003H\010\210\001" + + "\001\022%\n\025pool_provisioned_iops\030\227\311\2715 \001(\003H\t\210\001\001" + + "\022+\n\033pool_provisioned_throughput\030\230\215\330P \001(\003" + + "H\n\210\001\001\022S\n\017resource_status\030\303\372\367v \001(\01322.goog" + + "le.cloud.compute.v1.StoragePoolResourceS" + + "tatusH\013\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\014\210\001\001\022!" + + "\n\021self_link_with_id\030\202\254\235\025 \001(\tH\r\210\001\001\022\025\n\005sta" + + "te\030\221\211\2534 \001(\tH\016\210\001\001\022J\n\006status\030\362\237\267V \001(\01322.go" + + "ogle.cloud.compute.v1.StoragePoolResourc" + + "eStatusH\017\210\001\001\022\"\n\021storage_pool_type\030\271\201\260\210\001 " + + "\001(\tH\020\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tH\021\210\001\001\032-\n\013Labels" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"D\n" + + "\030CapacityProvisioningType\022(\n$UNDEFINED_C" + + "APACITY_PROVISIONING_TYPE\020\000\"J\n\033Performan" + + "ceProvisioningType\022+\n\'UNDEFINED_PERFORMA" + + "NCE_PROVISIONING_TYPE\020\000\"^\n\005State\022\023\n\017UNDE" + + "FINED_STATE\020\000\022\020\n\010CREATING\020\271\275\235\331\001\022\020\n\010DELET" + + "ING\020\250\247\207\374\001\022\016\n\006FAILED\020\275\220\246\331\001\022\014\n\005READY\020\203\303\217%B" + + "\035\n\033_capacity_provisioning_typeB\025\n\023_creat" + + "ion_timestampB\016\n\014_descriptionB\005\n\003_idB\007\n\005" + + "_kindB\024\n\022_label_fingerprintB\007\n\005_nameB \n\036" + + "_performance_provisioning_typeB\037\n\035_pool_" + + "provisioned_capacity_gbB\030\n\026_pool_provisi" + + "oned_iopsB\036\n\034_pool_provisioned_throughpu" + + "tB\022\n\020_resource_statusB\014\n\n_self_linkB\024\n\022_" + + "self_link_with_idB\010\n\006_stateB\t\n\007_statusB\024" + + "\n\022_storage_pool_typeB\007\n\005_zone\"\341\003\n\031Storag" + + "ePoolAggregatedList\022\024\n\004etag\030\225\322\276\001 \001(\tH\000\210\001" + + "\001\022\020\n\002id\030\233\032 \001(\tH\001\210\001\001\022O\n\005items\030\300\317\367/ \003(\0132=." + + "google.cloud.compute.v1.StoragePoolAggre" + + "gatedList.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\002\210" + + "\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\003\210\001\001\022\032\n\ts" + + "elf_link\030\215\222\305\331\001 \001(\tH\004\210\001\001\022\027\n\014unreachables\030" + + "\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cl" + + "oud.compute.v1.WarningH\005\210\001\001\032]\n\nItemsEntr" + + "y\022\013\n\003key\030\001 \001(\t\022>\n\005value\030\002 \001(\0132/.google.c" + + "loud.compute.v1.StoragePoolsScopedList:\002" + + "8\001B\007\n\005_etagB\005\n\003_idB\007\n\005_kindB\022\n\020_next_pag" + + "e_tokenB\014\n\n_self_linkB\n\n\010_warning\"\340\004\n\017St" + + "oragePoolDisk\022\035\n\022attached_instances\030\243\363\216\037" + + " \003(\t\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001" + + "\022\024\n\004disk\030\235\233\274\001 \001(\tH\001\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH" + + "\002\210\001\001\022 \n\020provisioned_iops\030\324\275\207Y \001(\003H\003\210\001\001\022\'" + + "\n\026provisioned_throughput\030\225\276\210\373\001 \001(\003H\004\210\001\001\022" + + "\034\n\021resource_policies\030\341\234\314\n \003(\t\022\030\n\007size_gb" + + "\030\331\213\200\354\001 \001(\003H\005\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\006\210\001\001\022" + + "\024\n\004type\030\272\236\332\001 \001(\tH\007\210\001\001\022\032\n\nused_bytes\030\351\232\272n" + + " \001(\003H\010\210\001\001\"\210\001\n\006Status\022\024\n\020UNDEFINED_STATUS" + + "\020\000\022\020\n\010CREATING\020\271\275\235\331\001\022\020\n\010DELETING\020\250\247\207\374\001\022\016" + + "\n\006FAILED\020\275\220\246\331\001\022\014\n\005READY\020\203\303\217%\022\021\n\tRESTORIN" + + "G\020\253\247\342\300\001\022\023\n\013UNAVAILABLE\020\260\330\245\305\001B\025\n\023_creatio" + + "n_timestampB\007\n\005_diskB\007\n\005_nameB\023\n\021_provis" + + "ioned_iopsB\031\n\027_provisioned_throughputB\n\n" + + "\010_size_gbB\t\n\007_statusB\007\n\005_typeB\r\n\013_used_b" + + "ytes\"\337\002\n\017StoragePoolList\022\024\n\004etag\030\225\322\276\001 \001(" + + "\tH\000\210\001\001\022\020\n\002id\030\233\032 \001(\tH\001\210\001\001\0226\n\005items\030\300\317\367/ \003" + + "(\0132$.google.cloud.compute.v1.StoragePool" + + "\022\024\n\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n\017next_page_toke" + + "n\030\225\272\206& \001(\tH\003\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\004" + + "\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warning\030" + + "\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warni" + + "ngH\005\210\001\001B\007\n\005_etagB\005\n\003_idB\007\n\005_kindB\022\n\020_nex" + + "t_page_tokenB\014\n\n_self_linkB\n\n\010_warning\"\350" + + "\002\n\024StoragePoolListDisks\022\024\n\004etag\030\225\322\276\001 \001(\t" + + "H\000\210\001\001\022\020\n\002id\030\233\032 \001(\tH\001\210\001\001\022:\n\005items\030\300\317\367/ \003(" + + "\0132(.google.cloud.compute.v1.StoragePoolD" + + "isk\022\024\n\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n\017next_page_t" + + "oken\030\225\272\206& \001(\tH\003\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(" + + "\tH\004\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warni" + + "ng\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Wa" + + "rningH\005\210\001\001B\007\n\005_etagB\005\n\003_idB\007\n\005_kindB\022\n\020_" + + "next_page_tokenB\014\n\n_self_linkB\n\n\010_warnin" + + "g\"\355\005\n\031StoragePoolResourceStatus\022\032\n\ndisk_" + + "count\030\355\257\235W \001(\003H\000\210\001\001\022&\n\025last_resize_times" + + "tamp\030\324\373\347\356\001 \001(\tH\001\210\001\001\0226\n&max_total_provisi" + + "oned_disk_capacity_gb\030\337\336\210O \001(\003H\002\210\001\001\022)\n\030p" + + "ool_used_capacity_bytes\030\305\351\260\363\001 \001(\003H\003\210\001\001\022\036" + + "\n\016pool_used_iops\030\210\311\274/ \001(\003H\004\210\001\001\022$\n\024pool_u" + + "sed_throughput\030\311\233\245b \001(\003H\005\210\001\001\022\'\n\027pool_use" + + "r_written_bytes\030\322\355\226m \001(\003H\006\210\001\001\0223\n\"total_p" + + "rovisioned_disk_capacity_gb\030\244\215\263\370\001 \001(\003H\007\210" + + "\001\001\022+\n\033total_provisioned_disk_iops\030\205\334\322\017 \001" + + "(\003H\010\210\001\001\0222\n!total_provisioned_disk_throug" + + "hput\030\206\213\274\325\001 \001(\003H\t\210\001\001B\r\n\013_disk_countB\030\n\026_l" + + "ast_resize_timestampB)\n\'_max_total_provi" + + "sioned_disk_capacity_gbB\033\n\031_pool_used_ca" + + "pacity_bytesB\021\n\017_pool_used_iopsB\027\n\025_pool" + + "_used_throughputB\032\n\030_pool_user_written_b" + + "ytesB%\n#_total_provisioned_disk_capacity" + + "_gbB\036\n\034_total_provisioned_disk_iopsB$\n\"_" + + "total_provisioned_disk_throughput\"\347\007\n\017St" + + "oragePoolType\022\"\n\022creation_timestamp\030\266\217\307\016" + + " \001(\tH\000\210\001\001\022G\n\ndeprecated\030\263\313\321\365\001 \001(\0132*.goog" + + "le.cloud.compute.v1.DeprecationStatusH\001\210", + "\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\020\n\002id\030\233" + + "\032 \001(\004H\003\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\0220\n max_" + + "pool_provisioned_capacity_gb\030\315\361\354V \001(\003H\005\210" + + "\001\001\022*\n\031max_pool_provisioned_iops\030\374\317\331\365\001 \001(" + + "\003H\006\210\001\001\022/\n\037max_pool_provisioned_throughpu" + + "t\030\275\324\224m \001(\003H\007\210\001\001\0220\n min_pool_provisioned_" + + "capacity_gb\030\237\215\213[ \001(\003H\010\210\001\001\022*\n\031min_pool_pr" + + "ovisioned_iops\030\352\304\313\306\001 \001(\003H\t\210\001\001\0220\n\037min_poo" + + "l_provisioned_throughput\030\253\264\256\257\001 \001(\003H\n\210\001\001\022" + + "\034\n\013min_size_gb\030\354\301\333\267\001 \001(\003H\013\210\001\001\022\024\n\004name\030\213\365" + + "\315\001 \001(\tH\014\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\r\210\001\001\022" + + "!\n\021self_link_with_id\030\202\254\235\025 \001(\tH\016\210\001\001\022\037\n\024su" + + "pported_disk_types\030\210\217\347G \003(\t\022\024\n\004zone\030\254\307\344\001" + + " \001(\tH\017\210\001\001B\025\n\023_creation_timestampB\r\n\013_dep" + + "recatedB\016\n\014_descriptionB\005\n\003_idB\007\n\005_kindB" + + "#\n!_max_pool_provisioned_capacity_gbB\034\n\032" + + "_max_pool_provisioned_iopsB\"\n _max_pool_" + + "provisioned_throughputB#\n!_min_pool_prov" + + "isioned_capacity_gbB\034\n\032_min_pool_provisi" + + "oned_iopsB\"\n _min_pool_provisioned_throu" + + "ghputB\016\n\014_min_size_gbB\007\n\005_nameB\014\n\n_self_" + + "linkB\024\n\022_self_link_with_idB\007\n\005_zone\"\265\003\n\035" + + "StoragePoolTypeAggregatedList\022\020\n\002id\030\233\032 \001" + + "(\tH\000\210\001\001\022S\n\005items\030\300\317\367/ \003(\0132A.google.cloud" + + ".compute.v1.StoragePoolTypeAggregatedLis" + + "t.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017ne" + + "xt_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link" + + "\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .go" + + "ogle.cloud.compute.v1.WarningH\004\210\001\001\032a\n\nIt" + + "emsEntry\022\013\n\003key\030\001 \001(\t\022B\n\005value\030\002 \001(\01323.g" + + "oogle.cloud.compute.v1.StoragePoolTypesS" + + "copedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_p" + + "age_tokenB\014\n\n_self_linkB\n\n\010_warning\"\257\002\n\023" + + "StoragePoolTypeList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022:\n" + + "\005items\030\300\317\367/ \003(\0132(.google.cloud.compute.v" + + "1.StoragePoolType\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022" + + "\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself" + + "_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\013" + + "2 .google.cloud.compute.v1.WarningH\004\210\001\001B" + + "\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_" + + "self_linkB\n\n\010_warning\"\255\001\n\032StoragePoolTyp" + + "esScopedList\022H\n\022storage_pool_types\030\332\255\320\203\001" + + " \003(\0132(.google.cloud.compute.v1.StoragePo" + + "olType\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.clou" + + "d.compute.v1.WarningH\000\210\001\001B\n\n\010_warning\"\240\001" + + "\n\026StoragePoolsScopedList\022?\n\rstorage_pool" + + "s\030\223\222\300\320\001 \003(\0132$.google.cloud.compute.v1.St" + + "oragePool\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.c" + + "loud.compute.v1.WarningH\000\210\001\001B\n\n\010_warning" + + "\"\222\020\n\nSubnetwork\022\"\n\022creation_timestamp\030\266\217" + + "\307\016 \001(\tH\000\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001\210\001" + + "\001\022 \n\020enable_flow_logs\030\344\304\241H \001(\010H\002\210\001\001\022$\n\024e" + + "xternal_ipv6_prefix\030\366\222\266B \001(\tH\003\210\001\001\022\033\n\013fin" + + "gerprint\030\344\321\363o \001(\tH\004\210\001\001\022 \n\017gateway_addres" + + "s\030\371\211\244\333\001 \001(\tH\005\210\001\001\022\020\n\002id\030\233\032 \001(\004H\006\210\001\001\022%\n\024in" + + "ternal_ipv6_prefix\030\350\242\264\361\001 \001(\tH\007\210\001\001\022\035\n\rip_" + + "cidr_range\030\312\315\344. \001(\tH\010\210\001\001\022!\n\020ipv6_access_" + + "type\030\335\365\321\360\001 \001(\tH\t\210\001\001\022 \n\017ipv6_cidr_range\030\212" + + "\234\237\202\001 \001(\tH\n\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\013\210\001\001\022I\n\nl" + + "og_config\030\235\321\301\247\001 \001(\0132,.google.cloud.compu" + + "te.v1.SubnetworkLogConfigH\014\210\001\001\022\024\n\004name\030\213" + + "\365\315\001 \001(\tH\r\210\001\001\022\027\n\007network\030\256\264\205o \001(\tH\016\210\001\001\022)\n" + + "\030private_ip_google_access\030\316\350\375\310\001 \001(\010H\017\210\001\001" + + "\022*\n\032private_ipv6_google_access\030\216\314\202\027 \001(\tH" + + "\020\210\001\001\022\030\n\007purpose\030\236\372\357\226\001 \001(\tH\021\210\001\001\022\026\n\006region" + + "\030\364\315\240B \001(\tH\022\210\001\001\022(\n\027reserved_internal_rang" + + "e\030\262\236\277\210\001 \001(\tH\023\210\001\001\022\024\n\004role\030\366\200\326\001 \001(\tH\024\210\001\001\022Q" + + "\n\023secondary_ip_ranges\030\343\377\224A \003(\01321.google." + + "cloud.compute.v1.SubnetworkSecondaryRang" + + "e\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\025\210\001\001\022\033\n\nstack_t" + + "ype\030\221\265\213\313\001 \001(\tH\026\210\001\001\022\025\n\005state\030\221\211\2534 \001(\tH\027\210\001" + + "\001\"y\n\016Ipv6AccessType\022\036\n\032UNDEFINED_IPV6_AC" + + "CESS_TYPE\020\000\022\017\n\010EXTERNAL\020\313\247\375\020\022\020\n\010INTERNAL" + + "\020\275\355\226\205\001\022$\n\034UNSPECIFIED_IPV6_ACCESS_TYPE\020\245" + + "\366\244\225\001\"\276\001\n\027PrivateIpv6GoogleAccess\022(\n$UNDE" + + "FINED_PRIVATE_IPV6_GOOGLE_ACCESS\020\000\022\035\n\025DI" + + "SABLE_GOOGLE_ACCESS\020\363\251\204\327\001\022-\n%ENABLE_BIDI" + + "RECTIONAL_ACCESS_TO_GOOGLE\020\272\312\211\314\001\022+\n#ENAB" + + "LE_OUTBOUND_VM_ACCESS_TO_GOOGLE\020\327\372\266\211\001\"\340\001" + + "\n\007Purpose\022\025\n\021UNDEFINED_PURPOSE\020\000\022\033\n\024GLOB" + + "AL_MANAGED_PROXY\020\362\313\340p\022#\n\034INTERNAL_HTTPS_" + + "LOAD_BALANCER\020\331\266\316v\022\017\n\007PRIVATE\020\343\342\262\300\001\022\023\n\013P" + + "RIVATE_NAT\020\245\310\256\257\001\022\027\n\020PRIVATE_RFC_1918\020\333\376\305" + + "y\022\036\n\027PRIVATE_SERVICE_CONNECT\020\304\364\371\026\022\035\n\026REG" + + "IONAL_MANAGED_PROXY\020\356\266\375H\":\n\004Role\022\022\n\016UNDE" + + "FINED_ROLE\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\016\n\006BACKUP\020\302" + + "\323\315\242\001\"i\n\tStackType\022\030\n\024UNDEFINED_STACK_TYP" + + "E\020\000\022\020\n\tIPV4_IPV6\020\201\350\312\n\022\020\n\tIPV4_ONLY\020\246\313\325\n\022" + + "\036\n\026UNSPECIFIED_STACK_TYPE\020\331\321\221\216\001\"<\n\005State" + + "\022\023\n\017UNDEFINED_STATE\020\000\022\020\n\010DRAINING\020\352\325\214\345\001\022" + + "\014\n\005READY\020\203\303\217%B\025\n\023_creation_timestampB\016\n\014" + + "_descriptionB\023\n\021_enable_flow_logsB\027\n\025_ex" + + "ternal_ipv6_prefixB\016\n\014_fingerprintB\022\n\020_g" + + "ateway_addressB\005\n\003_idB\027\n\025_internal_ipv6_" + + "prefixB\020\n\016_ip_cidr_rangeB\023\n\021_ipv6_access" + + "_typeB\022\n\020_ipv6_cidr_rangeB\007\n\005_kindB\r\n\013_l" + + "og_configB\007\n\005_nameB\n\n\010_networkB\033\n\031_priva" + + "te_ip_google_accessB\035\n\033_private_ipv6_goo" + + "gle_accessB\n\n\010_purposeB\t\n\007_regionB\032\n\030_re" + + "served_internal_rangeB\007\n\005_roleB\014\n\n_self_" + + "linkB\r\n\013_stack_typeB\010\n\006_state\"\277\003\n\030Subnet" + + "workAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022N\n\005" + + "items\030\300\317\367/ \003(\0132<.google.cloud.compute.v1" + + ".SubnetworkAggregatedList.ItemsEntry\022\024\n\004" + + "kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272" + + "\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022" + + "\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030" + + " \001(\0132 .google.cloud.compute.v1.WarningH\004" + + "\210\001\001\032\\\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022=\n\005value\030" + + "\002 \001(\0132..google.cloud.compute.v1.Subnetwo" + + "rksScopedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_ne" + + "xt_page_tokenB\014\n\n_self_linkB\n\n\010_warning\"" + + "\245\002\n\016SubnetworkList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0225\n\005" + + "items\030\300\317\367/ \003(\0132#.google.cloud.compute.v1" + + ".Subnetwork\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017nex" + + "t_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030" + + "\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .goo" + + "gle.cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_id" + + "B\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_l" + + "inkB\n\n\010_warning\"\335\004\n\023SubnetworkLogConfig\022" + + "$\n\024aggregation_interval\030\202\233\264S \001(\tH\000\210\001\001\022\027\n" + + "\006enable\030\203\313\324\224\001 \001(\010H\001\210\001\001\022\033\n\013filter_expr\030\334\244" + + "\270W \001(\tH\002\210\001\001\022\036\n\rflow_sampling\030\330\347\345\374\001 \001(\002H\003" + + "\210\001\001\022\030\n\010metadata\030\257\366\265) \001(\tH\004\210\001\001\022\033\n\017metadat" + + "a_fields\030\311\273\273\264\001 \003(\t\"\310\001\n\023AggregationInterv" + + "al\022\"\n\036UNDEFINED_AGGREGATION_INTERVAL\020\000\022\027" + + "\n\017INTERVAL_10_MIN\020\314\321\245\350\001\022\027\n\017INTERVAL_15_M" + + "IN\020\321\274\277\352\001\022\025\n\016INTERVAL_1_MIN\020\252\322\366 \022\026\n\017INTER" + + "VAL_30_SEC\020\211\340\314\003\022\025\n\016INTERVAL_5_MIN\020\256\216\330\"\022\025" + + "\n\016INTERVAL_5_SEC\020\255\272\330\"\"u\n\010Metadata\022\026\n\022UND" + + "EFINED_METADATA\020\000\022\026\n\017CUSTOM_METADATA\020\275\330\343" + + "\035\022\034\n\024EXCLUDE_ALL_METADATA\020\222\275\301\237\001\022\033\n\024INCLU" + + "DE_ALL_METADATA\020\204\315\277NB\027\n\025_aggregation_int" + + "ervalB\t\n\007_enableB\016\n\014_filter_exprB\020\n\016_flo" + + "w_samplingB\013\n\t_metadata\"\275\001\n\030SubnetworkSe" + + "condaryRange\022\035\n\rip_cidr_range\030\312\315\344. \001(\tH\000" + + "\210\001\001\022\033\n\nrange_name\030\315\360\264\236\001 \001(\tH\001\210\001\001\022(\n\027rese" + + "rved_internal_range\030\262\236\277\210\001 \001(\tH\002\210\001\001B\020\n\016_i" + + "p_cidr_rangeB\r\n\013_range_nameB\032\n\030_reserved" + + "_internal_range\"V\n#SubnetworksExpandIpCi" + + "drRangeRequest\022\035\n\rip_cidr_range\030\312\315\344. \001(\t" + + "H\000\210\001\001B\020\n\016_ip_cidr_range\"\234\001\n\025SubnetworksS" + + "copedList\022<\n\013subnetworks\030\305\324\245\306\001 \003(\0132#.goo" + + "gle.cloud.compute.v1.Subnetwork\0229\n\007warni" + + "ng\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Wa" + + "rningH\000\210\001\001B\n\n\010_warning\"t\n*SubnetworksSet" + + "PrivateIpGoogleAccessRequest\022)\n\030private_" + + "ip_google_access\030\316\350\375\310\001 \001(\010H\000\210\001\001B\033\n\031_priv" + + "ate_ip_google_access\"\177\n\nSubsetting\022\026\n\006po" + + "licy\030\262\312\266+ \001(\tH\000\210\001\001\"N\n\006Policy\022\024\n\020UNDEFINE" + + "D_POLICY\020\000\022!\n\032CONSISTENT_HASH_SUBSETTING" + + "\020\264\230\3743\022\013\n\004NONE\020\270\316\222\001B\t\n\007_policy\"\327\001\n\026Suspen" + + "dInstanceRequest\022\"\n\021discard_local_ssd\030\317\351" + + "\255\230\001 \001(\010H\000\210\001\001\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022!" + + "\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreq" + + "uest_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n" + + "\340A\002\362G\004zoneB\024\n\022_discard_local_ssdB\r\n\013_req" + + "uest_id\"\211\001\n SwitchToCustomModeNetworkReq" + + "uest\022\027\n\007network\030\256\264\205o \001(\tB\003\340A\002\022!\n\007project" + + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313" + + "\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\330\003\n\016TCPHealt" + + "hCheck\022\024\n\004port\030\201\261\322\001 \001(\005H\000\210\001\001\022\031\n\tport_nam" + + "e\030\211\207\347\023 \001(\tH\001\210\001\001\022\"\n\022port_specification\030\305\353" + + "\314\030 \001(\tH\002\210\001\001\022\034\n\014proxy_header\030\376\272\274L \001(\tH\003\210\001" + + "\001\022\027\n\007request\030\217\345\273\n \001(\tH\004\210\001\001\022\030\n\010response\030\301" + + "\250\334] \001(\tH\005\210\001\001\"~\n\021PortSpecification\022 \n\034UND" + + "EFINED_PORT_SPECIFICATION\020\000\022\025\n\016USE_FIXED" + + "_PORT\020\344\210\333Z\022\026\n\016USE_NAMED_PORT\020\277\317\307\246\001\022\030\n\020US" + + "E_SERVING_PORT\020\314\321\365\254\001\"H\n\013ProxyHeader\022\032\n\026U" + + "NDEFINED_PROXY_HEADER\020\000\022\013\n\004NONE\020\270\316\222\001\022\020\n\010" + + "PROXY_V1\020\254\244\267\237\001B\007\n\005_portB\014\n\n_port_nameB\025\n" + + "\023_port_specificationB\017\n\r_proxy_headerB\n\n" + + "\010_requestB\013\n\t_response\"E\n\004Tags\022\033\n\013finger" + + "print\030\344\321\363o \001(\tH\000\210\001\001\022\020\n\005items\030\300\317\367/ \003(\tB\016\n" + + "\014_fingerprint\"\312\003\n\017TargetGrpcProxy\022\"\n\022cre" + + "ation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013descrip" + + "tion\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\033\n\013fingerprint\030\344\321\363o " + + "\001(\tH\002\210\001\001\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n\004kind\030\224\367\310\001 " + + "\001(\tH\004\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022\032\n\tself_l" + + "ink\030\215\222\305\331\001 \001(\tH\006\210\001\001\022!\n\021self_link_with_id\030" + + "\202\254\235\025 \001(\tH\007\210\001\001\022\030\n\007url_map\030\214\225\201\257\001 \001(\tH\010\210\001\001\022" + + "&\n\026validate_for_proxyless\030\250\343\3060 \001(\010H\t\210\001\001B" + + "\025\n\023_creation_timestampB\016\n\014_descriptionB\016" + + "\n\014_fingerprintB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB" + + "\014\n\n_self_linkB\024\n\022_self_link_with_idB\n\n\010_" + + "url_mapB\031\n\027_validate_for_proxyless\"\257\002\n\023T" + + "argetGrpcProxyList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022:\n\005" + + "items\030\300\317\367/ \003(\0132(.google.cloud.compute.v1" + + ".TargetGrpcProxy\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037" + + "\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_" + + "link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132" + + " .google.cloud.compute.v1.WarningH\004\210\001\001B\005" + + "\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_s" + + "elf_linkB\n\n\010_warning\"\256\001\n\033TargetHttpProxi" + + "esScopedList\022H\n\023target_http_proxies\030\303\325\250M" + + " \003(\0132(.google.cloud.compute.v1.TargetHtt" + + "pProxy\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.clou" + + "d.compute.v1.WarningH\000\210\001\001B\n\n\010_warning\"\353\003" + + "\n\017TargetHttpProxy\022\"\n\022creation_timestamp\030" + + "\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001" + + "\210\001\001\022\033\n\013fingerprint\030\344\321\363o \001(\tH\002\210\001\001\022,\n\033http" + + "_keep_alive_timeout_sec\030\336\316\246\325\001 \001(\005H\003\210\001\001\022\020" + + "\n\002id\030\233\032 \001(\004H\004\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022\024" + + "\n\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022\033\n\nproxy_bind\030\356\316\261\210\001" + + " \001(\010H\007\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\010\210\001\001\022\032\n\tsel" + + "f_link\030\215\222\305\331\001 \001(\tH\t\210\001\001\022\030\n\007url_map\030\214\225\201\257\001 \001" + + "(\tH\n\210\001\001B\025\n\023_creation_timestampB\016\n\014_descr" + + "iptionB\016\n\014_fingerprintB\036\n\034_http_keep_ali" + + "ve_timeout_secB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB" + + "\r\n\013_proxy_bindB\t\n\007_regionB\014\n\n_self_linkB" + + "\n\n\010_url_map\"\210\003\n\035TargetHttpProxyAggregate" + + "dList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022S\n\005items\030\300\317\367/ \003(" + + "\0132A.google.cloud.compute.v1.TargetHttpPr" + + "oxyAggregatedList.ItemsEntry\022\024\n\004kind\030\224\367\310" + + "\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002" + + "\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unrea" + + "chables\030\237\240\206t \003(\t\032b\n\nItemsEntry\022\013\n\003key\030\001 " + + "\001(\t\022C\n\005value\030\002 \001(\01324.google.cloud.comput" + + "e.v1.TargetHttpProxiesScopedList:\0028\001B\005\n\003" + + "_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_sel" + + "f_link\"\257\002\n\023TargetHttpProxyList\022\020\n\002id\030\233\032 " + + "\001(\tH\000\210\001\001\022:\n\005items\030\300\317\367/ \003(\0132(.google.clou" + + "d.compute.v1.TargetHttpProxy\022\024\n\004kind\030\224\367\310" + "\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002" + "\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warni" + "ng\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Wa" + "rningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page" - + "_tokenB\014\n\n_self_linkB\n\n\010_warning\"?\n(SslP" - + "oliciesListAvailableFeaturesResponse\022\023\n\010" - + "features\030\275\310\263u \003(\t\"\233\001\n\025SslPoliciesScopedL" - + "ist\022;\n\014ssl_policies\030\243\344\215d \003(\0132\".google.cl" - + "oud.compute.v1.SslPolicy\0229\n\007warning\030\234\337\226\030" - + " \001(\0132 .google.cloud.compute.v1.WarningH\000" - + "\210\001\001B\n\n\010_warning\"\331\005\n\tSslPolicy\022\"\n\022creatio" - + "n_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\032\n\017custom_feat" - + "ures\030\313\262\313\020 \003(\t\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001" - + "\210\001\001\022\034\n\020enabled_features\030\373\306\322\337\001 \003(\t\022\033\n\013fin" - + "gerprint\030\344\321\363o \001(\tH\002\210\001\001\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001" - + "\022\024\n\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\037\n\017min_tls_versio" - + "n\030\247\346\361\003 \001(\tH\005\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022\027\n" - + "\007profile\030\251\223\272l \001(\tH\007\210\001\001\022\026\n\006region\030\364\315\240B \001(" - + "\tH\010\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\t\210\001\001\0227\n\010wa" - + "rnings\030\327\210\301\355\001 \003(\0132!.google.cloud.compute." - + "v1.Warnings\"^\n\rMinTlsVersion\022\035\n\031UNDEFINE" - + "D_MIN_TLS_VERSION\020\000\022\016\n\007TLS_1_0\020\276\244\345\017\022\016\n\007T" - + "LS_1_1\020\277\244\345\017\022\016\n\007TLS_1_2\020\300\244\345\017\"e\n\007Profile\022\025" - + "\n\021UNDEFINED_PROFILE\020\000\022\021\n\nCOMPATIBLE\020\324\215\303U" - + "\022\016\n\006CUSTOM\020\361\376\245\271\001\022\r\n\006MODERN\020\237\276\371>\022\021\n\nRESTR" - + "ICTED\020\333\350\333|B\025\n\023_creation_timestampB\016\n\014_de" - + "scriptionB\016\n\014_fingerprintB\005\n\003_idB\007\n\005_kin" - + "dB\022\n\020_min_tls_versionB\007\n\005_nameB\n\n\010_profi" - + "leB\t\n\007_regionB\014\n\n_self_link\"@\n\022SslPolicy" - + "Reference\022\033\n\nssl_policy\030\305\375\340\214\001 \001(\tH\000\210\001\001B\r" - + "\n\013_ssl_policy\"\240\002\n StartAsyncReplicationD" - + "iskRequest\022\024\n\004disk\030\235\233\274\001 \001(\tB\003\340A\002\022{\n.disk" - + "s_start_async_replication_request_resour" - + "ce\030\332\236\300\340\001 \001(\0132:.google.cloud.compute.v1.D" - + "isksStartAsyncReplicationRequestB\003\340A\002\022!\n" - + "\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequ" - + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340" - + "A\002\362G\004zoneB\r\n\013_request_id\"\270\002\n&StartAsyncR" - + "eplicationRegionDiskRequest\022\024\n\004disk\030\235\233\274\001" - + " \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pro" - + "ject\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\210\001" - + "\n5region_disks_start_async_replication_r" - + "equest_resource\030\205\310\226\342\001 \001(\0132@.google.cloud" - + ".compute.v1.RegionDisksStartAsyncReplica" - + "tionRequestB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" - + "\000\210\001\001B\r\n\013_request_id\"\233\001\n\024StartInstanceReq" - + "uest\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022!\n\007projec" - + "t\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030" - + "\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zo" - + "neB\r\n\013_request_id\"\265\002\n%StartWithEncryptio" - + "nKeyInstanceRequest\022\030\n\010instance\030\225\251\332\010 \001(\t" - + "B\003\340A\002\022\206\001\n4instances_start_with_encryptio" - + "n_key_request_resource\030\377\376\317\322\001 \001(\0132?.googl" - + "e.cloud.compute.v1.InstancesStartWithEnc" - + "ryptionKeyRequestB\003\340A\002\022!\n\007project\030\231\226\301l \001" - + "(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\t" - + "H\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_r" - + "equest_id\"|\n\016StatefulPolicy\022V\n\017preserved" - + "_state\030\252\342\240\001 \001(\01325.google.cloud.compute.v" - + "1.StatefulPolicyPreservedStateH\000\210\001\001B\022\n\020_" - + "preserved_state\"\216\005\n\034StatefulPolicyPreser" - + "vedState\022R\n\005disks\030\366\314\312- \003(\0132@.google.clou" - + "d.compute.v1.StatefulPolicyPreservedStat", - "e.DisksEntry\022a\n\rexternal_i_ps\030\215\323\200\376\001 \003(\0132" - + "F.google.cloud.compute.v1.StatefulPolicy" - + "PreservedState.ExternalIPsEntry\022`\n\rinter" - + "nal_i_ps\030\333\233\357f \003(\0132F.google.cloud.compute" - + ".v1.StatefulPolicyPreservedState.Interna" - + "lIPsEntry\032m\n\nDisksEntry\022\013\n\003key\030\001 \001(\t\022N\n\005" - + "value\030\002 \001(\0132?.google.cloud.compute.v1.St" - + "atefulPolicyPreservedStateDiskDevice:\0028\001" - + "\032r\n\020ExternalIPsEntry\022\013\n\003key\030\001 \001(\t\022M\n\005val" - + "ue\030\002 \001(\0132>.google.cloud.compute.v1.State" - + "fulPolicyPreservedStateNetworkIp:\0028\001\032r\n\020" - + "InternalIPsEntry\022\013\n\003key\030\001 \001(\t\022M\n\005value\030\002" - + " \001(\0132>.google.cloud.compute.v1.StatefulP" - + "olicyPreservedStateNetworkIp:\0028\001\"\264\001\n&Sta" - + "tefulPolicyPreservedStateDiskDevice\022\034\n\013a" - + "uto_delete\030\273\344\316\335\001 \001(\tH\000\210\001\001\"\\\n\nAutoDelete\022" - + "\031\n\025UNDEFINED_AUTO_DELETE\020\000\022\014\n\005NEVER\020\354\244\257#" - + "\022%\n\036ON_PERMANENT_INSTANCE_DELETION\020\347\340\322-B" - + "\016\n\014_auto_delete\"\263\001\n%StatefulPolicyPreser" - + "vedStateNetworkIp\022\034\n\013auto_delete\030\273\344\316\335\001 \001" - + "(\tH\000\210\001\001\"\\\n\nAutoDelete\022\031\n\025UNDEFINED_AUTO_" - + "DELETE\020\000\022\014\n\005NEVER\020\354\244\257#\022%\n\036ON_PERMANENT_I" - + "NSTANCE_DELETION\020\347\340\322-B\016\n\014_auto_delete\"x\n" - + "\006Status\022\024\n\004code\030\355\333\272\001 \001(\005H\000\210\001\001\022)\n\007details" - + "\030\302\344\343\346\001 \003(\0132\024.google.protobuf.Any\022\030\n\007mess" - + "age\030\207\200\254\307\001 \001(\tH\001\210\001\001B\007\n\005_codeB\n\n\010_message\"" - + "\242\001\n\037StopAsyncReplicationDiskRequest\022\024\n\004d" - + "isk\030\235\233\274\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340" - + "A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001" - + "\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_reques" - + "t_id\"\254\001\n%StopAsyncReplicationRegionDiskR" - + "equest\022\024\n\004disk\030\235\233\274\001 \001(\tB\003\340A\002\022!\n\007project\030" - + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001" - + "(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" - + "\000\210\001\001B\r\n\013_request_id\"\232\002\n$StopGroupAsyncRe" - + "plicationDiskRequest\022\206\001\n4disks_stop_grou" - + "p_async_replication_resource_resource\030\225\370" - + "\257\245\001 \001(\0132?.google.cloud.compute.v1.DisksS" - + "topGroupAsyncReplicationResourceB\003\340A\002\022!\n" - + "\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequ" - + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340" - + "A\002\362G\004zoneB\r\n\013_request_id\"\244\002\n*StopGroupAs" - + "yncReplicationRegionDiskRequest\022\206\001\n4disk" - + "s_stop_group_async_replication_resource_" - + "resource\030\225\370\257\245\001 \001(\0132?.google.cloud.comput" - + "e.v1.DisksStopGroupAsyncReplicationResou" - + "rceB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" - + "ect\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\n" - + "request_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"" - + "\324\001\n\023StopInstanceRequest\022\"\n\021discard_local" - + "_ssd\030\317\351\255\230\001 \001(\010H\000\210\001\001\022\030\n\010instance\030\225\251\332\010 \001(\t" - + "B\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project" - + "\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n\004zone\030\254\307\344" - + "\001 \001(\tB\n\340A\002\362G\004zoneB\024\n\022_discard_local_ssdB" - + "\r\n\013_request_id\"\222\020\n\nSubnetwork\022\"\n\022creatio" - + "n_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013description" - + "\030\374\207\326\311\001 \001(\tH\001\210\001\001\022 \n\020enable_flow_logs\030\344\304\241H" - + " \001(\010H\002\210\001\001\022$\n\024external_ipv6_prefix\030\366\222\266B \001" - + "(\tH\003\210\001\001\022\033\n\013fingerprint\030\344\321\363o \001(\tH\004\210\001\001\022 \n\017" - + "gateway_address\030\371\211\244\333\001 \001(\tH\005\210\001\001\022\020\n\002id\030\233\032 " - + "\001(\004H\006\210\001\001\022%\n\024internal_ipv6_prefix\030\350\242\264\361\001 \001" - + "(\tH\007\210\001\001\022\035\n\rip_cidr_range\030\312\315\344. \001(\tH\010\210\001\001\022!" - + "\n\020ipv6_access_type\030\335\365\321\360\001 \001(\tH\t\210\001\001\022 \n\017ipv" - + "6_cidr_range\030\212\234\237\202\001 \001(\tH\n\210\001\001\022\024\n\004kind\030\224\367\310\001" - + " \001(\tH\013\210\001\001\022I\n\nlog_config\030\235\321\301\247\001 \001(\0132,.goog" - + "le.cloud.compute.v1.SubnetworkLogConfigH" - + "\014\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\r\210\001\001\022\027\n\007network\030\256\264" - + "\205o \001(\tH\016\210\001\001\022)\n\030private_ip_google_access\030" - + "\316\350\375\310\001 \001(\010H\017\210\001\001\022*\n\032private_ipv6_google_ac" - + "cess\030\216\314\202\027 \001(\tH\020\210\001\001\022\030\n\007purpose\030\236\372\357\226\001 \001(\tH" - + "\021\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\022\210\001\001\022(\n\027reserved" - + "_internal_range\030\262\236\277\210\001 \001(\tH\023\210\001\001\022\024\n\004role\030\366" - + "\200\326\001 \001(\tH\024\210\001\001\022Q\n\023secondary_ip_ranges\030\343\377\224A" - + " \003(\01321.google.cloud.compute.v1.Subnetwor" - + "kSecondaryRange\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\025" - + "\210\001\001\022\033\n\nstack_type\030\221\265\213\313\001 \001(\tH\026\210\001\001\022\025\n\005stat" - + "e\030\221\211\2534 \001(\tH\027\210\001\001\"y\n\016Ipv6AccessType\022\036\n\032UND" - + "EFINED_IPV6_ACCESS_TYPE\020\000\022\017\n\010EXTERNAL\020\313\247" - + "\375\020\022\020\n\010INTERNAL\020\275\355\226\205\001\022$\n\034UNSPECIFIED_IPV6" - + "_ACCESS_TYPE\020\245\366\244\225\001\"\276\001\n\027PrivateIpv6Google" - + "Access\022(\n$UNDEFINED_PRIVATE_IPV6_GOOGLE_" - + "ACCESS\020\000\022\035\n\025DISABLE_GOOGLE_ACCESS\020\363\251\204\327\001\022" - + "-\n%ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE" - + "\020\272\312\211\314\001\022+\n#ENABLE_OUTBOUND_VM_ACCESS_TO_G" - + "OOGLE\020\327\372\266\211\001\"\340\001\n\007Purpose\022\025\n\021UNDEFINED_PUR" - + "POSE\020\000\022\033\n\024GLOBAL_MANAGED_PROXY\020\362\313\340p\022#\n\034I" - + "NTERNAL_HTTPS_LOAD_BALANCER\020\331\266\316v\022\017\n\007PRIV" - + "ATE\020\343\342\262\300\001\022\023\n\013PRIVATE_NAT\020\245\310\256\257\001\022\027\n\020PRIVAT" - + "E_RFC_1918\020\333\376\305y\022\036\n\027PRIVATE_SERVICE_CONNE" - + "CT\020\304\364\371\026\022\035\n\026REGIONAL_MANAGED_PROXY\020\356\266\375H\":" - + "\n\004Role\022\022\n\016UNDEFINED_ROLE\020\000\022\016\n\006ACTIVE\020\206\346\211" - + "\226\001\022\016\n\006BACKUP\020\302\323\315\242\001\"i\n\tStackType\022\030\n\024UNDEF" - + "INED_STACK_TYPE\020\000\022\020\n\tIPV4_IPV6\020\201\350\312\n\022\020\n\tI" - + "PV4_ONLY\020\246\313\325\n\022\036\n\026UNSPECIFIED_STACK_TYPE\020" - + "\331\321\221\216\001\"<\n\005State\022\023\n\017UNDEFINED_STATE\020\000\022\020\n\010D" - + "RAINING\020\352\325\214\345\001\022\014\n\005READY\020\203\303\217%B\025\n\023_creation" - + "_timestampB\016\n\014_descriptionB\023\n\021_enable_fl" - + "ow_logsB\027\n\025_external_ipv6_prefixB\016\n\014_fin" - + "gerprintB\022\n\020_gateway_addressB\005\n\003_idB\027\n\025_" - + "internal_ipv6_prefixB\020\n\016_ip_cidr_rangeB\023" - + "\n\021_ipv6_access_typeB\022\n\020_ipv6_cidr_rangeB" - + "\007\n\005_kindB\r\n\013_log_configB\007\n\005_nameB\n\n\010_net" - + "workB\033\n\031_private_ip_google_accessB\035\n\033_pr" - + "ivate_ipv6_google_accessB\n\n\010_purposeB\t\n\007" - + "_regionB\032\n\030_reserved_internal_rangeB\007\n\005_" - + "roleB\014\n\n_self_linkB\r\n\013_stack_typeB\010\n\006_st" - + "ate\"\277\003\n\030SubnetworkAggregatedList\022\020\n\002id\030\233" - + "\032 \001(\tH\000\210\001\001\022N\n\005items\030\300\317\367/ \003(\0132<.google.cl" - + "oud.compute.v1.SubnetworkAggregatedList." - + "ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next" - + "_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215" - + "\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229" - + "\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comput" - + "e.v1.WarningH\004\210\001\001\032\\\n\nItemsEntry\022\013\n\003key\030\001" - + " \001(\t\022=\n\005value\030\002 \001(\0132..google.cloud.compu" - + "te.v1.SubnetworksScopedList:\0028\001B\005\n\003_idB\007" - + "\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_lin" - + "kB\n\n\010_warning\"\245\002\n\016SubnetworkList\022\020\n\002id\030\233" - + "\032 \001(\tH\000\210\001\001\0225\n\005items\030\300\317\367/ \003(\0132#.google.cl" - + "oud.compute.v1.Subnetwork\022\024\n\004kind\030\224\367\310\001 \001" - + "(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001" - + "\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030" - + "\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warni" - + "ngH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_to" - + "kenB\014\n\n_self_linkB\n\n\010_warning\"\335\004\n\023Subnet" - + "workLogConfig\022$\n\024aggregation_interval\030\202\233" - + "\264S \001(\tH\000\210\001\001\022\027\n\006enable\030\203\313\324\224\001 \001(\010H\001\210\001\001\022\033\n\013" - + "filter_expr\030\334\244\270W \001(\tH\002\210\001\001\022\036\n\rflow_sampli" - + "ng\030\330\347\345\374\001 \001(\002H\003\210\001\001\022\030\n\010metadata\030\257\366\265) \001(\tH\004" - + "\210\001\001\022\033\n\017metadata_fields\030\311\273\273\264\001 \003(\t\"\310\001\n\023Agg" - + "regationInterval\022\"\n\036UNDEFINED_AGGREGATIO" - + "N_INTERVAL\020\000\022\027\n\017INTERVAL_10_MIN\020\314\321\245\350\001\022\027\n" - + "\017INTERVAL_15_MIN\020\321\274\277\352\001\022\025\n\016INTERVAL_1_MIN" - + "\020\252\322\366 \022\026\n\017INTERVAL_30_SEC\020\211\340\314\003\022\025\n\016INTERVA" - + "L_5_MIN\020\256\216\330\"\022\025\n\016INTERVAL_5_SEC\020\255\272\330\"\"u\n\010M" - + "etadata\022\026\n\022UNDEFINED_METADATA\020\000\022\026\n\017CUSTO" - + "M_METADATA\020\275\330\343\035\022\034\n\024EXCLUDE_ALL_METADATA\020" - + "\222\275\301\237\001\022\033\n\024INCLUDE_ALL_METADATA\020\204\315\277NB\027\n\025_a" - + "ggregation_intervalB\t\n\007_enableB\016\n\014_filte" - + "r_exprB\020\n\016_flow_samplingB\013\n\t_metadata\"\275\001" - + "\n\030SubnetworkSecondaryRange\022\035\n\rip_cidr_ra" - + "nge\030\312\315\344. \001(\tH\000\210\001\001\022\033\n\nrange_name\030\315\360\264\236\001 \001(" - + "\tH\001\210\001\001\022(\n\027reserved_internal_range\030\262\236\277\210\001 " - + "\001(\tH\002\210\001\001B\020\n\016_ip_cidr_rangeB\r\n\013_range_nam" - + "eB\032\n\030_reserved_internal_range\"V\n#Subnetw" - + "orksExpandIpCidrRangeRequest\022\035\n\rip_cidr_" - + "range\030\312\315\344. \001(\tH\000\210\001\001B\020\n\016_ip_cidr_range\"\234\001" - + "\n\025SubnetworksScopedList\022<\n\013subnetworks\030\305" - + "\324\245\306\001 \003(\0132#.google.cloud.compute.v1.Subne" - + "twork\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud" - + ".compute.v1.WarningH\000\210\001\001B\n\n\010_warning\"t\n*" - + "SubnetworksSetPrivateIpGoogleAccessReque" - + "st\022)\n\030private_ip_google_access\030\316\350\375\310\001 \001(\010" - + "H\000\210\001\001B\033\n\031_private_ip_google_access\"\177\n\nSu" - + "bsetting\022\026\n\006policy\030\262\312\266+ \001(\tH\000\210\001\001\"N\n\006Poli" - + "cy\022\024\n\020UNDEFINED_POLICY\020\000\022!\n\032CONSISTENT_H" - + "ASH_SUBSETTING\020\264\230\3743\022\013\n\004NONE\020\270\316\222\001B\t\n\007_pol" - + "icy\"\327\001\n\026SuspendInstanceRequest\022\"\n\021discar" - + "d_local_ssd\030\317\351\255\230\001 \001(\010H\000\210\001\001\022\030\n\010instance\030\225" - + "\251\332\010 \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" - + "project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n\004z" - + "one\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\024\n\022_discard_loc" - + "al_ssdB\r\n\013_request_id\"\211\001\n SwitchToCustom" - + "ModeNetworkRequest\022\027\n\007network\030\256\264\205o \001(\tB\003" - + "\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032" - + "\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_i" - + "d\"\330\003\n\016TCPHealthCheck\022\024\n\004port\030\201\261\322\001 \001(\005H\000\210" - + "\001\001\022\031\n\tport_name\030\211\207\347\023 \001(\tH\001\210\001\001\022\"\n\022port_sp" - + "ecification\030\305\353\314\030 \001(\tH\002\210\001\001\022\034\n\014proxy_heade" - + "r\030\376\272\274L \001(\tH\003\210\001\001\022\027\n\007request\030\217\345\273\n \001(\tH\004\210\001\001" - + "\022\030\n\010response\030\301\250\334] \001(\tH\005\210\001\001\"~\n\021PortSpecif" - + "ication\022 \n\034UNDEFINED_PORT_SPECIFICATION\020" - + "\000\022\025\n\016USE_FIXED_PORT\020\344\210\333Z\022\026\n\016USE_NAMED_PO" - + "RT\020\277\317\307\246\001\022\030\n\020USE_SERVING_PORT\020\314\321\365\254\001\"H\n\013Pr" - + "oxyHeader\022\032\n\026UNDEFINED_PROXY_HEADER\020\000\022\013\n" - + "\004NONE\020\270\316\222\001\022\020\n\010PROXY_V1\020\254\244\267\237\001B\007\n\005_portB\014\n" - + "\n_port_nameB\025\n\023_port_specificationB\017\n\r_p" - + "roxy_headerB\n\n\010_requestB\013\n\t_response\"E\n\004" - + "Tags\022\033\n\013fingerprint\030\344\321\363o \001(\tH\000\210\001\001\022\020\n\005ite" - + "ms\030\300\317\367/ \003(\tB\016\n\014_fingerprint\"\312\003\n\017TargetGr" - + "pcProxy\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\000" - + "\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\033\n\013fin" - + "gerprint\030\344\321\363o \001(\tH\002\210\001\001\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001" - + "\022\024\n\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH" - + "\005\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\006\210\001\001\022!\n\021self" - + "_link_with_id\030\202\254\235\025 \001(\tH\007\210\001\001\022\030\n\007url_map\030\214" - + "\225\201\257\001 \001(\tH\010\210\001\001\022&\n\026validate_for_proxyless\030" - + "\250\343\3060 \001(\010H\t\210\001\001B\025\n\023_creation_timestampB\016\n\014" - + "_descriptionB\016\n\014_fingerprintB\005\n\003_idB\007\n\005_" - + "kindB\007\n\005_nameB\014\n\n_self_linkB\024\n\022_self_lin" - + "k_with_idB\n\n\010_url_mapB\031\n\027_validate_for_p" - + "roxyless\"\257\002\n\023TargetGrpcProxyList\022\020\n\002id\030\233" - + "\032 \001(\tH\000\210\001\001\022:\n\005items\030\300\317\367/ \003(\0132(.google.cl" - + "oud.compute.v1.TargetGrpcProxy\022\024\n\004kind\030\224" + + "_tokenB\014\n\n_self_linkB\n\n\010_warning\"\262\001\n\034Tar" + + "getHttpsProxiesScopedList\022K\n\024target_http" + + "s_proxies\030\212\374\347\256\001 \003(\0132).google.cloud.compu" + + "te.v1.TargetHttpsProxy\0229\n\007warning\030\234\337\226\030 \001" + + "(\0132 .google.cloud.compute.v1.WarningH\000\210\001" + + "\001B\n\n\010_warning\"a\n*TargetHttpsProxiesSetCe" + + "rtificateMapRequest\022\037\n\017certificate_map\030\264" + + "\345\315J \001(\tH\000\210\001\001B\022\n\020_certificate_map\"\266\001\n(Tar" + + "getHttpsProxiesSetQuicOverrideRequest\022\036\n" + + "\rquic_override\030\255\241\333\331\001 \001(\tH\000\210\001\001\"X\n\014QuicOve" + + "rride\022\033\n\027UNDEFINED_QUIC_OVERRIDE\020\000\022\016\n\007DI" + + "SABLE\020\310\335\246s\022\016\n\006ENABLE\020\203\263\240\321\001\022\013\n\004NONE\020\270\316\222\001B" + + "\020\n\016_quic_override\"K\n+TargetHttpsProxiesS" + + "etSslCertificatesRequest\022\034\n\020ssl_certific" + + "ates\030\217\242\303\256\001 \003(\t\"\360\006\n\020TargetHttpsProxy\022$\n\024a" + + "uthorization_policy\030\270\357\227\020 \001(\tH\000\210\001\001\022\037\n\017cer" + + "tificate_map\030\264\345\315J \001(\tH\001\210\001\001\022\"\n\022creation_t" + + "imestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022\034\n\013description\030\374\207" + + "\326\311\001 \001(\tH\003\210\001\001\022\033\n\013fingerprint\030\344\321\363o \001(\tH\004\210\001" + + "\001\022,\n\033http_keep_alive_timeout_sec\030\336\316\246\325\001 \001" + + "(\005H\005\210\001\001\022\020\n\002id\030\233\032 \001(\004H\006\210\001\001\022\024\n\004kind\030\224\367\310\001 \001" + + "(\tH\007\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022\033\n\nproxy_b" + + "ind\030\356\316\261\210\001 \001(\010H\t\210\001\001\022\036\n\rquic_override\030\255\241\333\331" + + "\001 \001(\tH\n\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\013\210\001\001\022\032\n\tse" + + "lf_link\030\215\222\305\331\001 \001(\tH\014\210\001\001\022\"\n\021server_tls_pol" + + "icy\030\362\336\207\215\001 \001(\tH\r\210\001\001\022\034\n\020ssl_certificates\030\217" + + "\242\303\256\001 \003(\t\022\033\n\nssl_policy\030\305\375\340\214\001 \001(\tH\016\210\001\001\022\030\n" + + "\007url_map\030\214\225\201\257\001 \001(\tH\017\210\001\001\"X\n\014QuicOverride\022" + + "\033\n\027UNDEFINED_QUIC_OVERRIDE\020\000\022\016\n\007DISABLE\020" + + "\310\335\246s\022\016\n\006ENABLE\020\203\263\240\321\001\022\013\n\004NONE\020\270\316\222\001B\027\n\025_au" + + "thorization_policyB\022\n\020_certificate_mapB\025" + + "\n\023_creation_timestampB\016\n\014_descriptionB\016\n" + + "\014_fingerprintB\036\n\034_http_keep_alive_timeou" + + "t_secB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\r\n\013_proxy" + + "_bindB\020\n\016_quic_overrideB\t\n\007_regionB\014\n\n_s" + + "elf_linkB\024\n\022_server_tls_policyB\r\n\013_ssl_p" + + "olicyB\n\n\010_url_map\"\322\003\n\036TargetHttpsProxyAg" + + "gregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022T\n\005items\030" + + "\300\317\367/ \003(\0132B.google.cloud.compute.v1.Targe" + + "tHttpsProxyAggregatedList.ItemsEntry\022\024\n\004" + + "kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272" + + "\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022" + + "\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030" + + " \001(\0132 .google.cloud.compute.v1.WarningH\004" + + "\210\001\001\032c\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022D\n\005value\030" + + "\002 \001(\01325.google.cloud.compute.v1.TargetHt" + + "tpsProxiesScopedList:\0028\001B\005\n\003_idB\007\n\005_kind" + + "B\022\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_w" + + "arning\"\261\002\n\024TargetHttpsProxyList\022\020\n\002id\030\233\032" + + " \001(\tH\000\210\001\001\022;\n\005items\030\300\317\367/ \003(\0132).google.clo" + + "ud.compute.v1.TargetHttpsProxy\022\024\n\004kind\030\224" + "\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\t" + "H\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007war" + "ning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1." + "WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_pa" - + "ge_tokenB\014\n\n_self_linkB\n\n\010_warning\"\256\001\n\033T" - + "argetHttpProxiesScopedList\022H\n\023target_htt" - + "p_proxies\030\303\325\250M \003(\0132(.google.cloud.comput" - + "e.v1.TargetHttpProxy\0229\n\007warning\030\234\337\226\030 \001(\013" - + "2 .google.cloud.compute.v1.WarningH\000\210\001\001B" - + "\n\n\010_warning\"\353\003\n\017TargetHttpProxy\022\"\n\022creat" - + "ion_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013descripti" - + "on\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\033\n\013fingerprint\030\344\321\363o \001(" - + "\tH\002\210\001\001\022,\n\033http_keep_alive_timeout_sec\030\336\316" - + "\246\325\001 \001(\005H\003\210\001\001\022\020\n\002id\030\233\032 \001(\004H\004\210\001\001\022\024\n\004kind\030\224" - + "\367\310\001 \001(\tH\005\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022\033\n\npr" - + "oxy_bind\030\356\316\261\210\001 \001(\010H\007\210\001\001\022\026\n\006region\030\364\315\240B \001" - + "(\tH\010\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\t\210\001\001\022\030\n\007u" - + "rl_map\030\214\225\201\257\001 \001(\tH\n\210\001\001B\025\n\023_creation_times" - + "tampB\016\n\014_descriptionB\016\n\014_fingerprintB\036\n\034" - + "_http_keep_alive_timeout_secB\005\n\003_idB\007\n\005_" - + "kindB\007\n\005_nameB\r\n\013_proxy_bindB\t\n\007_regionB" - + "\014\n\n_self_linkB\n\n\010_url_map\"\210\003\n\035TargetHttp" - + "ProxyAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022S\n" - + "\005items\030\300\317\367/ \003(\0132A.google.cloud.compute.v" - + "1.TargetHttpProxyAggregatedList.ItemsEnt" - + "ry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_to" - + "ken\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\t" - + "H\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\032b\n\nItemsE" - + "ntry\022\013\n\003key\030\001 \001(\t\022C\n\005value\030\002 \001(\01324.googl" - + "e.cloud.compute.v1.TargetHttpProxiesScop" - + "edList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page" - + "_tokenB\014\n\n_self_link\"\257\002\n\023TargetHttpProxy" - + "List\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022:\n\005items\030\300\317\367/ \003(\013" - + "2(.google.cloud.compute.v1.TargetHttpPro" - + "xy\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_to" - + "ken\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\t" - + "H\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud" - + ".compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kind" - + "B\022\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_w" - + "arning\"\262\001\n\034TargetHttpsProxiesScopedList\022" - + "K\n\024target_https_proxies\030\212\374\347\256\001 \003(\0132).goog" - + "le.cloud.compute.v1.TargetHttpsProxy\0229\n\007" - + "warning\030\234\337\226\030 \001(\0132 .google.cloud.compute." - + "v1.WarningH\000\210\001\001B\n\n\010_warning\"a\n*TargetHtt" - + "psProxiesSetCertificateMapRequest\022\037\n\017cer" - + "tificate_map\030\264\345\315J \001(\tH\000\210\001\001B\022\n\020_certifica" - + "te_map\"\266\001\n(TargetHttpsProxiesSetQuicOver" - + "rideRequest\022\036\n\rquic_override\030\255\241\333\331\001 \001(\tH\000" - + "\210\001\001\"X\n\014QuicOverride\022\033\n\027UNDEFINED_QUIC_OV" - + "ERRIDE\020\000\022\016\n\007DISABLE\020\310\335\246s\022\016\n\006ENABLE\020\203\263\240\321\001" - + "\022\013\n\004NONE\020\270\316\222\001B\020\n\016_quic_override\"K\n+Targe" - + "tHttpsProxiesSetSslCertificatesRequest\022\034" - + "\n\020ssl_certificates\030\217\242\303\256\001 \003(\t\"\360\006\n\020TargetH" - + "ttpsProxy\022$\n\024authorization_policy\030\270\357\227\020 \001" - + "(\tH\000\210\001\001\022\037\n\017certificate_map\030\264\345\315J \001(\tH\001\210\001\001" - + "\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022\034\n\013" - + "description\030\374\207\326\311\001 \001(\tH\003\210\001\001\022\033\n\013fingerprin" - + "t\030\344\321\363o \001(\tH\004\210\001\001\022,\n\033http_keep_alive_timeo" - + "ut_sec\030\336\316\246\325\001 \001(\005H\005\210\001\001\022\020\n\002id\030\233\032 \001(\004H\006\210\001\001\022" - + "\024\n\004kind\030\224\367\310\001 \001(\tH\007\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\010" - + "\210\001\001\022\033\n\nproxy_bind\030\356\316\261\210\001 \001(\010H\t\210\001\001\022\036\n\rquic" - + "_override\030\255\241\333\331\001 \001(\tH\n\210\001\001\022\026\n\006region\030\364\315\240B " - + "\001(\tH\013\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\014\210\001\001\022\"\n\021" - + "server_tls_policy\030\362\336\207\215\001 \001(\tH\r\210\001\001\022\034\n\020ssl_" - + "certificates\030\217\242\303\256\001 \003(\t\022\033\n\nssl_policy\030\305\375\340" - + "\214\001 \001(\tH\016\210\001\001\022\030\n\007url_map\030\214\225\201\257\001 \001(\tH\017\210\001\001\"X\n" - + "\014QuicOverride\022\033\n\027UNDEFINED_QUIC_OVERRIDE" - + "\020\000\022\016\n\007DISABLE\020\310\335\246s\022\016\n\006ENABLE\020\203\263\240\321\001\022\013\n\004NO" - + "NE\020\270\316\222\001B\027\n\025_authorization_policyB\022\n\020_cer" - + "tificate_mapB\025\n\023_creation_timestampB\016\n\014_" - + "descriptionB\016\n\014_fingerprintB\036\n\034_http_kee" - + "p_alive_timeout_secB\005\n\003_idB\007\n\005_kindB\007\n\005_" - + "nameB\r\n\013_proxy_bindB\020\n\016_quic_overrideB\t\n" - + "\007_regionB\014\n\n_self_linkB\024\n\022_server_tls_po" - + "licyB\r\n\013_ssl_policyB\n\n\010_url_map\"\322\003\n\036Targ" - + "etHttpsProxyAggregatedList\022\020\n\002id\030\233\032 \001(\tH" - + "\000\210\001\001\022T\n\005items\030\300\317\367/ \003(\0132B.google.cloud.co" - + "mpute.v1.TargetHttpsProxyAggregatedList." - + "ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next" - + "_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215" - + "\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229" - + "\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comput" - + "e.v1.WarningH\004\210\001\001\032c\n\nItemsEntry\022\013\n\003key\030\001" - + " \001(\t\022D\n\005value\030\002 \001(\01325.google.cloud.compu" - + "te.v1.TargetHttpsProxiesScopedList:\0028\001B\005" - + "\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_s" - + "elf_linkB\n\n\010_warning\"\261\002\n\024TargetHttpsProx" - + "yList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022;\n\005items\030\300\317\367/ \003(" - + "\0132).google.cloud.compute.v1.TargetHttpsP" - + "roxy\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_" - + "token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001" - + "(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.clo" - + "ud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_ki" - + "ndB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010" - + "_warning\"\374\003\n\016TargetInstance\022\"\n\022creation_" - + "timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013description\030\374" - + "\207\326\311\001 \001(\tH\001\210\001\001\022\020\n\002id\030\233\032 \001(\004H\002\210\001\001\022\030\n\010insta" - + "nce\030\225\251\332\010 \001(\tH\003\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022" - + "\024\n\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022\033\n\nnat_policy\030\220\304\212\363" - + "\001 \001(\tH\006\210\001\001\022\027\n\007network\030\256\264\205o \001(\tH\007\210\001\001\022\037\n\017s" - + "ecurity_policy\030\221\206\312Q \001(\tH\010\210\001\001\022\032\n\tself_lin" - + "k\030\215\222\305\331\001 \001(\tH\t\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tH\n\210\001\001\"4" - + "\n\tNatPolicy\022\030\n\024UNDEFINED_NAT_POLICY\020\000\022\r\n" - + "\006NO_NAT\020\203\273\376LB\025\n\023_creation_timestampB\016\n\014_" - + "descriptionB\005\n\003_idB\013\n\t_instanceB\007\n\005_kind" - + "B\007\n\005_nameB\r\n\013_nat_policyB\n\n\010_networkB\022\n\020" - + "_security_policyB\014\n\n_self_linkB\007\n\005_zone\"" - + "\313\003\n\034TargetInstanceAggregatedList\022\020\n\002id\030\233" - + "\032 \001(\tH\000\210\001\001\022R\n\005items\030\300\317\367/ \003(\0132@.google.cl" - + "oud.compute.v1.TargetInstanceAggregatedL" - + "ist.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017" - + "next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_li" - + "nk\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003" - + "(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.co" - + "mpute.v1.WarningH\004\210\001\001\032`\n\nItemsEntry\022\013\n\003k" - + "ey\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.google.cloud.c" - + "ompute.v1.TargetInstancesScopedList:\0028\001B" - + "\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_" - + "self_linkB\n\n\010_warning\"\255\002\n\022TargetInstance" - + "List\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0229\n\005items\030\300\317\367/ \003(\013" - + "2\'.google.cloud.compute.v1.TargetInstanc" - + "e\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_tok" - + "en\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH" - + "\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud." - + "compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB" - + "\022\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_wa" - + "rning\"\251\001\n\031TargetInstancesScopedList\022E\n\020t" - + "arget_instances\030\320\322\255\273\001 \003(\0132\'.google.cloud" - + ".compute.v1.TargetInstance\0229\n\007warning\030\234\337" - + "\226\030 \001(\0132 .google.cloud.compute.v1.Warning" - + "H\000\210\001\001B\n\n\010_warning\"\205\006\n\nTargetPool\022\033\n\013back" - + "up_pool\030\371\310\360\025 \001(\tH\000\210\001\001\022\"\n\022creation_timest" - + "amp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001" - + "(\tH\002\210\001\001\022\036\n\016failover_ratio\030\376\224\264e \001(\002H\003\210\001\001\022" - + "\031\n\rhealth_checks\030\256\257\346\325\001 \003(\t\022\020\n\002id\030\233\032 \001(\004H" - + "\004\210\001\001\022\024\n\tinstances\030\376\374\357\r \003(\t\022\024\n\004kind\030\224\367\310\001 " - + "\001(\tH\005\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022\026\n\006region" - + "\030\364\315\240B \001(\tH\007\210\001\001\022\037\n\017security_policy\030\221\206\312Q \001" - + "(\tH\010\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\t\210\001\001\022!\n\020s" - + "ession_affinity\030\261\301\231\335\001 \001(\tH\n\210\001\001\"\353\001\n\017Sessi" - + "onAffinity\022\036\n\032UNDEFINED_SESSION_AFFINITY" - + "\020\000\022\021\n\tCLIENT_IP\020\233\334\351\244\001\022\037\n\030CLIENT_IP_NO_DE" - + "STINATION\020\224\232\3152\022\033\n\024CLIENT_IP_PORT_PROTO\020\256" - + "\362\334i\022\026\n\017CLIENT_IP_PROTO\020\244\305\211\014\022\030\n\020GENERATED" - + "_COOKIE\020\264\316\312\260\001\022\023\n\014HEADER_FIELD\020\250\211\334_\022\023\n\013HT" - + "TP_COOKIE\020\373\243\203\354\001\022\013\n\004NONE\020\270\316\222\001B\016\n\014_backup_" - + "poolB\025\n\023_creation_timestampB\016\n\014_descript" - + "ionB\021\n\017_failover_ratioB\005\n\003_idB\007\n\005_kindB\007" - + "\n\005_nameB\t\n\007_regionB\022\n\020_security_policyB\014" - + "\n\n_self_linkB\023\n\021_session_affinity\"\277\003\n\030Ta" - + "rgetPoolAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001" - + "\022N\n\005items\030\300\317\367/ \003(\0132<.google.cloud.comput" - + "e.v1.TargetPoolAggregatedList.ItemsEntry" + + "ge_tokenB\014\n\n_self_linkB\n\n\010_warning\"\374\003\n\016T" + + "argetInstance\022\"\n\022creation_timestamp\030\266\217\307\016" + + " \001(\tH\000\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022" + + "\020\n\002id\030\233\032 \001(\004H\002\210\001\001\022\030\n\010instance\030\225\251\332\010 \001(\tH\003" + + "\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\024\n\004name\030\213\365\315\001 \001" + + "(\tH\005\210\001\001\022\033\n\nnat_policy\030\220\304\212\363\001 \001(\tH\006\210\001\001\022\027\n\007" + + "network\030\256\264\205o \001(\tH\007\210\001\001\022\037\n\017security_policy" + + "\030\221\206\312Q \001(\tH\010\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\t\210" + + "\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tH\n\210\001\001\"4\n\tNatPolicy\022\030\n" + + "\024UNDEFINED_NAT_POLICY\020\000\022\r\n\006NO_NAT\020\203\273\376LB\025" + + "\n\023_creation_timestampB\016\n\014_descriptionB\005\n" + + "\003_idB\013\n\t_instanceB\007\n\005_kindB\007\n\005_nameB\r\n\013_" + + "nat_policyB\n\n\010_networkB\022\n\020_security_poli" + + "cyB\014\n\n_self_linkB\007\n\005_zone\"\313\003\n\034TargetInst" + + "anceAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022R\n\005" + + "items\030\300\317\367/ \003(\0132@.google.cloud.compute.v1" + + ".TargetInstanceAggregatedList.ItemsEntry" + "\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_toke" + "n\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003" + "\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warning\030" + "\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warni" - + "ngH\004\210\001\001\032\\\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022=\n\005va" - + "lue\030\002 \001(\0132..google.cloud.compute.v1.Targ" - + "etPoolsScopedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n" - + "\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_warn" - + "ing\"{\n\030TargetPoolInstanceHealth\022@\n\rhealt" - + "h_status\030\265\326\272\265\001 \003(\0132%.google.cloud.comput" - + "e.v1.HealthStatus\022\024\n\004kind\030\224\367\310\001 \001(\tH\000\210\001\001B" - + "\007\n\005_kind\"\245\002\n\016TargetPoolList\022\020\n\002id\030\233\032 \001(\t" - + "H\000\210\001\001\0225\n\005items\030\300\317\367/ \003(\0132#.google.cloud.c" - + "ompute.v1.TargetPool\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210" - + "\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\ts" - + "elf_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 " - + "\001(\0132 .google.cloud.compute.v1.WarningH\004\210" - + "\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014" - + "\n\n_self_linkB\n\n\010_warning\"l\n TargetPoolsA" - + "ddHealthCheckRequest\022H\n\rhealth_checks\030\256\257" - + "\346\325\001 \003(\0132-.google.cloud.compute.v1.Health" - + "CheckReference\"a\n\035TargetPoolsAddInstance" - + "Request\022@\n\tinstances\030\376\374\357\r \003(\0132*.google.c" - + "loud.compute.v1.InstanceReference\"o\n#Tar" - + "getPoolsRemoveHealthCheckRequest\022H\n\rheal" - + "th_checks\030\256\257\346\325\001 \003(\0132-.google.cloud.compu" - + "te.v1.HealthCheckReference\"d\n TargetPool" - + "sRemoveInstanceRequest\022@\n\tinstances\030\376\374\357\r" - + " \003(\0132*.google.cloud.compute.v1.InstanceR" - + "eference\"\235\001\n\025TargetPoolsScopedList\022=\n\014ta" - + "rget_pools\030\251\237\240\240\001 \003(\0132#.google.cloud.comp" - + "ute.v1.TargetPool\0229\n\007warning\030\234\337\226\030 \001(\0132 ." - + "google.cloud.compute.v1.WarningH\000\210\001\001B\n\n\010" - + "_warning\"4\n\017TargetReference\022\026\n\006target\030\221\343" - + "\371[ \001(\tH\000\210\001\001B\t\n\007_target\"P\n(TargetSslProxi" - + "esSetBackendServiceRequest\022\030\n\007service\030\265\215" - + "\217\262\001 \001(\tH\000\210\001\001B\n\n\010_service\"_\n(TargetSslPro" - + "xiesSetCertificateMapRequest\022\037\n\017certific" - + "ate_map\030\264\345\315J \001(\tH\000\210\001\001B\022\n\020_certificate_ma" - + "p\"\240\001\n%TargetSslProxiesSetProxyHeaderRequ" - + "est\022\034\n\014proxy_header\030\376\272\274L \001(\tH\000\210\001\001\"H\n\013Pro" - + "xyHeader\022\032\n\026UNDEFINED_PROXY_HEADER\020\000\022\013\n\004" - + "NONE\020\270\316\222\001\022\020\n\010PROXY_V1\020\254\244\267\237\001B\017\n\r_proxy_he" - + "ader\"I\n)TargetSslProxiesSetSslCertificat" - + "esRequest\022\034\n\020ssl_certificates\030\217\242\303\256\001 \003(\t\"" - + "\230\004\n\016TargetSslProxy\022\037\n\017certificate_map\030\264\345" - + "\315J \001(\tH\000\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001" - + "(\tH\001\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\020\n" - + "\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\024\n" - + "\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022\034\n\014proxy_header\030\376\272\274L" - + " \001(\tH\006\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\022\030\n" - + "\007service\030\265\215\217\262\001 \001(\tH\010\210\001\001\022\034\n\020ssl_certifica" - + "tes\030\217\242\303\256\001 \003(\t\022\033\n\nssl_policy\030\305\375\340\214\001 \001(\tH\t\210", - "\001\001\"H\n\013ProxyHeader\022\032\n\026UNDEFINED_PROXY_HEA" - + "DER\020\000\022\013\n\004NONE\020\270\316\222\001\022\020\n\010PROXY_V1\020\254\244\267\237\001B\022\n\020" - + "_certificate_mapB\025\n\023_creation_timestampB" - + "\016\n\014_descriptionB\005\n\003_idB\007\n\005_kindB\007\n\005_name" - + "B\017\n\r_proxy_headerB\014\n\n_self_linkB\n\n\010_serv" - + "iceB\r\n\013_ssl_policy\"\255\002\n\022TargetSslProxyLis" - + "t\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0229\n\005items\030\300\317\367/ \003(\0132\'." - + "google.cloud.compute.v1.TargetSslProxy\022\024" - + "\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030" - + "\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001" - + "\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.com" - + "pute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020" - + "_next_page_tokenB\014\n\n_self_linkB\n\n\010_warni" - + "ng\"\253\001\n\032TargetTcpProxiesScopedList\022F\n\022tar" - + "get_tcp_proxies\030\200\327\372| \003(\0132\'.google.cloud." - + "compute.v1.TargetTcpProxy\0229\n\007warning\030\234\337\226" - + "\030 \001(\0132 .google.cloud.compute.v1.WarningH" - + "\000\210\001\001B\n\n\010_warning\"P\n(TargetTcpProxiesSetB" - + "ackendServiceRequest\022\030\n\007service\030\265\215\217\262\001 \001(" - + "\tH\000\210\001\001B\n\n\010_service\"\240\001\n%TargetTcpProxiesS" - + "etProxyHeaderRequest\022\034\n\014proxy_header\030\376\272\274" - + "L \001(\tH\000\210\001\001\"H\n\013ProxyHeader\022\032\n\026UNDEFINED_P" - + "ROXY_HEADER\020\000\022\013\n\004NONE\020\270\316\222\001\022\020\n\010PROXY_V1\020\254" - + "\244\267\237\001B\017\n\r_proxy_header\"\350\003\n\016TargetTcpProxy" - + "\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013" - + "description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\020\n\002id\030\233\032 \001(\004H" - + "\002\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022\024\n\004name\030\213\365\315\001 " - + "\001(\tH\004\210\001\001\022\033\n\nproxy_bind\030\356\316\261\210\001 \001(\010H\005\210\001\001\022\034\n" - + "\014proxy_header\030\376\272\274L \001(\tH\006\210\001\001\022\026\n\006region\030\364\315" - + "\240B \001(\tH\007\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022" - + "\030\n\007service\030\265\215\217\262\001 \001(\tH\t\210\001\001\"H\n\013ProxyHeader" - + "\022\032\n\026UNDEFINED_PROXY_HEADER\020\000\022\013\n\004NONE\020\270\316\222" - + "\001\022\020\n\010PROXY_V1\020\254\244\267\237\001B\025\n\023_creation_timesta" - + "mpB\016\n\014_descriptionB\005\n\003_idB\007\n\005_kindB\007\n\005_n" - + "ameB\r\n\013_proxy_bindB\017\n\r_proxy_headerB\t\n\007_" - + "regionB\014\n\n_self_linkB\n\n\010_service\"\314\003\n\034Tar" - + "getTcpProxyAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000" - + "\210\001\001\022R\n\005items\030\300\317\367/ \003(\0132@.google.cloud.com" - + "pute.v1.TargetTcpProxyAggregatedList.Ite" - + "msEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_pa" - + "ge_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331" - + "\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007w" - + "arning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v" - + "1.WarningH\004\210\001\001\032a\n\nItemsEntry\022\013\n\003key\030\001 \001(" - + "\t\022B\n\005value\030\002 \001(\01323.google.cloud.compute." - + "v1.TargetTcpProxiesScopedList:\0028\001B\005\n\003_id" - + "B\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_l" - + "inkB\n\n\010_warning\"\255\002\n\022TargetTcpProxyList\022\020" - + "\n\002id\030\233\032 \001(\tH\000\210\001\001\0229\n\005items\030\300\317\367/ \003(\0132\'.goo" - + "gle.cloud.compute.v1.TargetTcpProxy\022\024\n\004k" - + "ind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206" - + "& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229" + + "ngH\004\210\001\001\032`\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022A\n\005va" + + "lue\030\002 \001(\01322.google.cloud.compute.v1.Targ" + + "etInstancesScopedList:\0028\001B\005\n\003_idB\007\n\005_kin" + + "dB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_" + + "warning\"\255\002\n\022TargetInstanceList\022\020\n\002id\030\233\032 " + + "\001(\tH\000\210\001\001\0229\n\005items\030\300\317\367/ \003(\0132\'.google.clou" + + "d.compute.v1.TargetInstance\022\024\n\004kind\030\224\367\310\001" + + " \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210" + + "\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warnin" + + "g\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.War" + + "ningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_" + + "tokenB\014\n\n_self_linkB\n\n\010_warning\"\251\001\n\031Targ" + + "etInstancesScopedList\022E\n\020target_instance" + + "s\030\320\322\255\273\001 \003(\0132\'.google.cloud.compute.v1.Ta" + + "rgetInstance\0229\n\007warning\030\234\337\226\030 \001(\0132 .googl" + + "e.cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_warn" + + "ing\"\205\006\n\nTargetPool\022\033\n\013backup_pool\030\371\310\360\025 \001" + + "(\tH\000\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\001" + + "\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\036\n\016fai" + + "lover_ratio\030\376\224\264e \001(\002H\003\210\001\001\022\031\n\rhealth_chec" + + "ks\030\256\257\346\325\001 \003(\t\022\020\n\002id\030\233\032 \001(\004H\004\210\001\001\022\024\n\tinstan" + + "ces\030\376\374\357\r \003(\t\022\024\n\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022\024\n\004na" + + "me\030\213\365\315\001 \001(\tH\006\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\007\210\001\001" + + "\022\037\n\017security_policy\030\221\206\312Q \001(\tH\010\210\001\001\022\032\n\tsel" + + "f_link\030\215\222\305\331\001 \001(\tH\t\210\001\001\022!\n\020session_affinit" + + "y\030\261\301\231\335\001 \001(\tH\n\210\001\001\"\353\001\n\017SessionAffinity\022\036\n\032" + + "UNDEFINED_SESSION_AFFINITY\020\000\022\021\n\tCLIENT_I" + + "P\020\233\334\351\244\001\022\037\n\030CLIENT_IP_NO_DESTINATION\020\224\232\3152" + + "\022\033\n\024CLIENT_IP_PORT_PROTO\020\256\362\334i\022\026\n\017CLIENT_" + + "IP_PROTO\020\244\305\211\014\022\030\n\020GENERATED_COOKIE\020\264\316\312\260\001\022" + + "\023\n\014HEADER_FIELD\020\250\211\334_\022\023\n\013HTTP_COOKIE\020\373\243\203\354" + + "\001\022\013\n\004NONE\020\270\316\222\001B\016\n\014_backup_poolB\025\n\023_creat" + + "ion_timestampB\016\n\014_descriptionB\021\n\017_failov" + + "er_ratioB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\t\n\007_re" + + "gionB\022\n\020_security_policyB\014\n\n_self_linkB\023" + + "\n\021_session_affinity\"\277\003\n\030TargetPoolAggreg" + + "atedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022N\n\005items\030\300\317\367/" + + " \003(\0132<.google.cloud.compute.v1.TargetPoo" + + "lAggregatedList.ItemsEntry\022\024\n\004kind\030\224\367\310\001 " + + "\001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001" + + "\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreach" + + "ables\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .goo" + + "gle.cloud.compute.v1.WarningH\004\210\001\001\032\\\n\nIte" + + "msEntry\022\013\n\003key\030\001 \001(\t\022=\n\005value\030\002 \001(\0132..go" + + "ogle.cloud.compute.v1.TargetPoolsScopedL" + + "ist:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_to" + + "kenB\014\n\n_self_linkB\n\n\010_warning\"{\n\030TargetP" + + "oolInstanceHealth\022@\n\rhealth_status\030\265\326\272\265\001" + + " \003(\0132%.google.cloud.compute.v1.HealthSta" + + "tus\022\024\n\004kind\030\224\367\310\001 \001(\tH\000\210\001\001B\007\n\005_kind\"\245\002\n\016T" + + "argetPoolList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0225\n\005items" + + "\030\300\317\367/ \003(\0132#.google.cloud.compute.v1.Targ" + + "etPool\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_pag" + + "e_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001" + + " \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.c" + + "loud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_" + + "kindB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n" + + "\n\010_warning\"l\n TargetPoolsAddHealthCheckR" + + "equest\022H\n\rhealth_checks\030\256\257\346\325\001 \003(\0132-.goog" + + "le.cloud.compute.v1.HealthCheckReference" + + "\"a\n\035TargetPoolsAddInstanceRequest\022@\n\tins" + + "tances\030\376\374\357\r \003(\0132*.google.cloud.compute.v" + + "1.InstanceReference\"o\n#TargetPoolsRemove" + + "HealthCheckRequest\022H\n\rhealth_checks\030\256\257\346\325" + + "\001 \003(\0132-.google.cloud.compute.v1.HealthCh" + + "eckReference\"d\n TargetPoolsRemoveInstanc" + + "eRequest\022@\n\tinstances\030\376\374\357\r \003(\0132*.google." + + "cloud.compute.v1.InstanceReference\"\235\001\n\025T" + + "argetPoolsScopedList\022=\n\014target_pools\030\251\237\240" + + "\240\001 \003(\0132#.google.cloud.compute.v1.TargetP" + + "ool\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.c" + + "ompute.v1.WarningH\000\210\001\001B\n\n\010_warning\"4\n\017Ta" + + "rgetReference\022\026\n\006target\030\221\343\371[ \001(\tH\000\210\001\001B\t\n" + + "\007_target\"P\n(TargetSslProxiesSetBackendSe" + + "rviceRequest\022\030\n\007service\030\265\215\217\262\001 \001(\tH\000\210\001\001B\n" + + "\n\010_service\"_\n(TargetSslProxiesSetCertifi" + + "cateMapRequest\022\037\n\017certificate_map\030\264\345\315J \001" + + "(\tH\000\210\001\001B\022\n\020_certificate_map\"\240\001\n%TargetSs" + + "lProxiesSetProxyHeaderRequest\022\034\n\014proxy_h" + + "eader\030\376\272\274L \001(\tH\000\210\001\001\"H\n\013ProxyHeader\022\032\n\026UN" + + "DEFINED_PROXY_HEADER\020\000\022\013\n\004NONE\020\270\316\222\001\022\020\n\010P" + + "ROXY_V1\020\254\244\267\237\001B\017\n\r_proxy_header\"I\n)Target" + + "SslProxiesSetSslCertificatesRequest\022\034\n\020s" + + "sl_certificates\030\217\242\303\256\001 \003(\t\"\230\004\n\016TargetSslP" + + "roxy\022\037\n\017certificate_map\030\264\345\315J \001(\tH\000\210\001\001\022\"\n" + + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013des" + + "cription\030\374\207\326\311\001 \001(\tH\002\210\001\001\022\020\n\002id\030\233\032 \001(\004H\003\210\001" + + "\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\t" + + "H\005\210\001\001\022\034\n\014proxy_header\030\376\272\274L \001(\tH\006\210\001\001\022\032\n\ts" + + "elf_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\022\030\n\007service\030\265\215\217\262\001" + + " \001(\tH\010\210\001\001\022\034\n\020ssl_certificates\030\217\242\303\256\001 \003(\t\022" + + "\033\n\nssl_policy\030\305\375\340\214\001 \001(\tH\t\210\001\001\"H\n\013ProxyHea" + + "der\022\032\n\026UNDEFINED_PROXY_HEADER\020\000\022\013\n\004NONE\020" + + "\270\316\222\001\022\020\n\010PROXY_V1\020\254\244\267\237\001B\022\n\020_certificate_m" + + "apB\025\n\023_creation_timestampB\016\n\014_descriptio" + + "nB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\017\n\r_proxy_hea" + + "derB\014\n\n_self_linkB\n\n\010_serviceB\r\n\013_ssl_po", + "licy\"\255\002\n\022TargetSslProxyList\022\020\n\002id\030\233\032 \001(\t" + + "H\000\210\001\001\0229\n\005items\030\300\317\367/ \003(\0132\'.google.cloud.c" + + "ompute.v1.TargetSslProxy\022\024\n\004kind\030\224\367\310\001 \001(" + + "\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022" + + "\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234" + + "\337\226\030 \001(\0132 .google.cloud.compute.v1.Warnin" + + "gH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tok" + + "enB\014\n\n_self_linkB\n\n\010_warning\"\253\001\n\032TargetT" + + "cpProxiesScopedList\022F\n\022target_tcp_proxie" + + "s\030\200\327\372| \003(\0132\'.google.cloud.compute.v1.Tar" + + "getTcpProxy\0229\n\007warning\030\234\337\226\030 \001(\0132 .google" + + ".cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_warni" + + "ng\"P\n(TargetTcpProxiesSetBackendServiceR" + + "equest\022\030\n\007service\030\265\215\217\262\001 \001(\tH\000\210\001\001B\n\n\010_ser" + + "vice\"\240\001\n%TargetTcpProxiesSetProxyHeaderR" + + "equest\022\034\n\014proxy_header\030\376\272\274L \001(\tH\000\210\001\001\"H\n\013" + + "ProxyHeader\022\032\n\026UNDEFINED_PROXY_HEADER\020\000\022" + + "\013\n\004NONE\020\270\316\222\001\022\020\n\010PROXY_V1\020\254\244\267\237\001B\017\n\r_proxy" + + "_header\"\350\003\n\016TargetTcpProxy\022\"\n\022creation_t" + + "imestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013description\030\374\207" + + "\326\311\001 \001(\tH\001\210\001\001\022\020\n\002id\030\233\032 \001(\004H\002\210\001\001\022\024\n\004kind\030\224" + + "\367\310\001 \001(\tH\003\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\004\210\001\001\022\033\n\npr" + + "oxy_bind\030\356\316\261\210\001 \001(\010H\005\210\001\001\022\034\n\014proxy_header\030" + + "\376\272\274L \001(\tH\006\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\007\210\001\001\022\032\n" + + "\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022\030\n\007service\030\265\215\217" + + "\262\001 \001(\tH\t\210\001\001\"H\n\013ProxyHeader\022\032\n\026UNDEFINED_" + + "PROXY_HEADER\020\000\022\013\n\004NONE\020\270\316\222\001\022\020\n\010PROXY_V1\020" + + "\254\244\267\237\001B\025\n\023_creation_timestampB\016\n\014_descrip" + + "tionB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\r\n\013_proxy_" + + "bindB\017\n\r_proxy_headerB\t\n\007_regionB\014\n\n_sel" + + "f_linkB\n\n\010_service\"\314\003\n\034TargetTcpProxyAgg" + + "regatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022R\n\005items\030\300" + + "\317\367/ \003(\0132@.google.cloud.compute.v1.Target" + + "TcpProxyAggregatedList.ItemsEntry\022\024\n\004kin" + + "d\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& " + + "\001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014" + + "unreachables\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(" + + "\0132 .google.cloud.compute.v1.WarningH\004\210\001\001" + + "\032a\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022B\n\005value\030\002 \001" + + "(\01323.google.cloud.compute.v1.TargetTcpPr" + + "oxiesScopedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_" + + "next_page_tokenB\014\n\n_self_linkB\n\n\010_warnin" + + "g\"\255\002\n\022TargetTcpProxyList\022\020\n\002id\030\233\032 \001(\tH\000\210" + + "\001\001\0229\n\005items\030\300\317\367/ \003(\0132\'.google.cloud.comp" + + "ute.v1.TargetTcpProxy\022\024\n\004kind\030\224\367\310\001 \001(\tH\001" + + "\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\t" + + "self_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030" + + " \001(\0132 .google.cloud.compute.v1.WarningH\004" + + "\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB" + + "\014\n\n_self_linkB\n\n\010_warning\"\256\005\n\020TargetVpnG" + + "ateway\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210" + + "\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\034\n\020forw" + + "arding_rules\030\265\232\314\226\001 \003(\t\022\020\n\002id\030\233\032 \001(\004H\002\210\001\001" + + "\022\024\n\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022!\n\021label_fingerpr" + + "int\030\231\360\367T \001(\tH\004\210\001\001\022I\n\006labels\030\377\277\301\356\001 \003(\01325." + + "google.cloud.compute.v1.TargetVpnGateway" + + ".LabelsEntry\022\024\n\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022\027\n\007ne" + + "twork\030\256\264\205o \001(\tH\006\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\007" + + "\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022\026\n\006statu" + + "s\030\362\237\267V \001(\tH\t\210\001\001\022\022\n\007tunnels\030\213\372\3551 \003(\t\032-\n\013L" + + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" + + "8\001\"`\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\020\n\010CR" + + "EATING\020\271\275\235\331\001\022\020\n\010DELETING\020\250\247\207\374\001\022\016\n\006FAILED" + + "\020\275\220\246\331\001\022\014\n\005READY\020\203\303\217%B\025\n\023_creation_timest" + + "ampB\016\n\014_descriptionB\005\n\003_idB\007\n\005_kindB\024\n\022_" + + "label_fingerprintB\007\n\005_nameB\n\n\010_networkB\t" + + "\n\007_regionB\014\n\n_self_linkB\t\n\007_status\"\321\003\n\036T" + + "argetVpnGatewayAggregatedList\022\020\n\002id\030\233\032 \001" + + "(\tH\000\210\001\001\022T\n\005items\030\300\317\367/ \003(\0132B.google.cloud" + + ".compute.v1.TargetVpnGatewayAggregatedLi" + + "st.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017n" + + "ext_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_lin" + + "k\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(" + + "\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.com" + + "pute.v1.WarningH\004\210\001\001\032b\n\nItemsEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022C\n\005value\030\002 \001(\01324.google.cloud.co" + + "mpute.v1.TargetVpnGatewaysScopedList:\0028\001" + + "B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n" + + "_self_linkB\n\n\010_warning\"\261\002\n\024TargetVpnGate" + + "wayList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022;\n\005items\030\300\317\367/ " + + "\003(\0132).google.cloud.compute.v1.TargetVpnG" + + "ateway\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_pag" + + "e_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001" + + " \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.c" + + "loud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_" + + "kindB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n" + + "\n\010_warning\"\260\001\n\033TargetVpnGatewaysScopedLi" + + "st\022J\n\023target_vpn_gateways\030\210\223\312\277\001 \003(\0132).go" + + "ogle.cloud.compute.v1.TargetVpnGateway\0229" + "\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comput" - + "e.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_ne" - + "xt_page_tokenB\014\n\n_self_linkB\n\n\010_warning\"" - + "\256\005\n\020TargetVpnGateway\022\"\n\022creation_timesta" - + "mp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(" - + "\tH\001\210\001\001\022\034\n\020forwarding_rules\030\265\232\314\226\001 \003(\t\022\020\n\002" - + "id\030\233\032 \001(\004H\002\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022!\n\021" - + "label_fingerprint\030\231\360\367T \001(\tH\004\210\001\001\022I\n\006label" - + "s\030\377\277\301\356\001 \003(\01325.google.cloud.compute.v1.Ta" - + "rgetVpnGateway.LabelsEntry\022\024\n\004name\030\213\365\315\001 " - + "\001(\tH\005\210\001\001\022\027\n\007network\030\256\264\205o \001(\tH\006\210\001\001\022\026\n\006reg" - + "ion\030\364\315\240B \001(\tH\007\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\t" - + "H\010\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\t\210\001\001\022\022\n\007tunnels" - + "\030\213\372\3551 \003(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001\"`\n\006Status\022\024\n\020UNDEFINED_" - + "STATUS\020\000\022\020\n\010CREATING\020\271\275\235\331\001\022\020\n\010DELETING\020\250" - + "\247\207\374\001\022\016\n\006FAILED\020\275\220\246\331\001\022\014\n\005READY\020\203\303\217%B\025\n\023_c" - + "reation_timestampB\016\n\014_descriptionB\005\n\003_id" - + "B\007\n\005_kindB\024\n\022_label_fingerprintB\007\n\005_name" - + "B\n\n\010_networkB\t\n\007_regionB\014\n\n_self_linkB\t\n" - + "\007_status\"\321\003\n\036TargetVpnGatewayAggregatedL" - + "ist\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022T\n\005items\030\300\317\367/ \003(\0132" - + "B.google.cloud.compute.v1.TargetVpnGatew" - + "ayAggregatedList.ItemsEntry\022\024\n\004kind\030\224\367\310\001" - + " \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210" - + "\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreac" - + "hables\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .go" - + "ogle.cloud.compute.v1.WarningH\004\210\001\001\032b\n\nIt" - + "emsEntry\022\013\n\003key\030\001 \001(\t\022C\n\005value\030\002 \001(\01324.g" - + "oogle.cloud.compute.v1.TargetVpnGateways" - + "ScopedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_" - + "page_tokenB\014\n\n_self_linkB\n\n\010_warning\"\261\002\n" - + "\024TargetVpnGatewayList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022" - + ";\n\005items\030\300\317\367/ \003(\0132).google.cloud.compute" - + ".v1.TargetVpnGateway\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210" - + "\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\ts" - + "elf_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 " - + "\001(\0132 .google.cloud.compute.v1.WarningH\004\210" - + "\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014" - + "\n\n_self_linkB\n\n\010_warning\"\260\001\n\033TargetVpnGa" - + "tewaysScopedList\022J\n\023target_vpn_gateways\030" - + "\210\223\312\277\001 \003(\0132).google.cloud.compute.v1.Targ" - + "etVpnGateway\0229\n\007warning\030\234\337\226\030 \001(\0132 .googl" - + "e.cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_warn" - + "ing\"\223\004\n\013TestFailure\022\"\n\021actual_output_url" - + "\030\202\331\361\210\001 \001(\tH\000\210\001\001\022-\n\035actual_redirect_respo" - + "nse_code\030\331\203\274\024 \001(\005H\001\210\001\001\022\037\n\016actual_service" - + "\030\204\322\376\321\001 \001(\tH\002\210\001\001\022$\n\023expected_output_url\030\230" - + "\242\367\316\001 \001(\tH\003\210\001\001\022/\n\037expected_redirect_respo" - + "nse_code\030\357\352\200\t \001(\005H\004\210\001\001\022 \n\020expected_servi" - + "ce\030\256\370\361? \001(\tH\005\210\001\001\022=\n\007headers\030\206\337\235{ \003(\0132).g" - + "oogle.cloud.compute.v1.UrlMapTestHeader\022" - + "\024\n\004host\030\250\353\303\001 \001(\tH\006\210\001\001\022\024\n\004path\030\245\310\321\001 \001(\tH\007" - + "\210\001\001B\024\n\022_actual_output_urlB \n\036_actual_red" - + "irect_response_codeB\021\n\017_actual_serviceB\026" - + "\n\024_expected_output_urlB\"\n _expected_redi" - + "rect_response_codeB\023\n\021_expected_serviceB" - + "\007\n\005_hostB\007\n\005_path\"\300\001\n&TestIamPermissions" - + "BackendBucketRequest\022\027\n\007project\030\231\226\301l \001(\t" - + "B\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_" - + "permissions_request_resource\030\246\305\267\321\001 \001(\0132/" - + ".google.cloud.compute.v1.TestPermissions" - + "RequestB\003\340A\002\"\301\001\n\'TestIamPermissionsBacke" - + "ndServiceRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" - + "\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_perm" - + "issions_request_resource\030\246\305\267\321\001 \001(\0132/.goo" - + "gle.cloud.compute.v1.TestPermissionsRequ" - + "estB\003\340A\002\"\315\001\n\035TestIamPermissionsDiskReque" + + "e.v1.WarningH\000\210\001\001B\n\n\010_warning\"\223\004\n\013TestFa" + + "ilure\022\"\n\021actual_output_url\030\202\331\361\210\001 \001(\tH\000\210\001" + + "\001\022-\n\035actual_redirect_response_code\030\331\203\274\024 " + + "\001(\005H\001\210\001\001\022\037\n\016actual_service\030\204\322\376\321\001 \001(\tH\002\210\001" + + "\001\022$\n\023expected_output_url\030\230\242\367\316\001 \001(\tH\003\210\001\001\022" + + "/\n\037expected_redirect_response_code\030\357\352\200\t " + + "\001(\005H\004\210\001\001\022 \n\020expected_service\030\256\370\361? \001(\tH\005\210" + + "\001\001\022=\n\007headers\030\206\337\235{ \003(\0132).google.cloud.co" + + "mpute.v1.UrlMapTestHeader\022\024\n\004host\030\250\353\303\001 \001" + + "(\tH\006\210\001\001\022\024\n\004path\030\245\310\321\001 \001(\tH\007\210\001\001B\024\n\022_actual" + + "_output_urlB \n\036_actual_redirect_response" + + "_codeB\021\n\017_actual_serviceB\026\n\024_expected_ou" + + "tput_urlB\"\n _expected_redirect_response_" + + "codeB\023\n\021_expected_serviceB\007\n\005_hostB\007\n\005_p" + + "ath\"\300\001\n&TestIamPermissionsBackendBucketR" + + "equest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resou" + + "rce\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_permissions_re" + + "quest_resource\030\246\305\267\321\001 \001(\0132/.google.cloud." + + "compute.v1.TestPermissionsRequestB\003\340A\002\"\301" + + "\001\n\'TestIamPermissionsBackendServiceReque" + "st\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030" + "\216\210\257] \001(\tB\003\340A\002\022c\n!test_permissions_reques" + "t_resource\030\246\305\267\321\001 \001(\0132/.google.cloud.comp" - + "ute.v1.TestPermissionsRequestB\003\340A\002\022\024\n\004zo" - + "ne\030\254\307\344\001 \001(\tB\003\340A\002\"\305\001\n+TestIamPermissionsE" - + "xternalVpnGatewayRequest\022\027\n\007project\030\231\226\301l" + + "ute.v1.TestPermissionsRequestB\003\340A\002\"\315\001\n\035T" + + "estIamPermissionsDiskRequest\022\027\n\007project\030" + + "\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022" + + "c\n!test_permissions_request_resource\030\246\305\267" + + "\321\001 \001(\0132/.google.cloud.compute.v1.TestPer" + + "missionsRequestB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340" + + "A\002\"\305\001\n+TestIamPermissionsExternalVpnGate" + + "wayRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010r" + + "esource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_permission" + + "s_request_resource\030\246\305\267\321\001 \001(\0132/.google.cl" + + "oud.compute.v1.TestPermissionsRequestB\003\340" + + "A\002\"\250\001\n\'TestIamPermissionsFirewallPolicyR" + + "equest\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test" + + "_permissions_request_resource\030\246\305\267\321\001 \001(\0132" + + "/.google.cloud.compute.v1.TestPermission" + + "sRequestB\003\340A\002\"\270\001\n\036TestIamPermissionsImag" + + "eRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010res" + + "ource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_permissions_" + + "request_resource\030\246\305\267\321\001 \001(\0132/.google.clou" + + "d.compute.v1.TestPermissionsRequestB\003\340A\002" + + "\"\321\001\n!TestIamPermissionsInstanceRequest\022\027" + + "\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257]" + + " \001(\tB\003\340A\002\022c\n!test_permissions_request_re" + + "source\030\246\305\267\321\001 \001(\0132/.google.cloud.compute." + + "v1.TestPermissionsRequestB\003\340A\002\022\024\n\004zone\030\254" + + "\307\344\001 \001(\tB\003\340A\002\"\303\001\n)TestIamPermissionsInsta" + + "nceTemplateRequest\022\027\n\007project\030\231\226\301l \001(\tB\003" + + "\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_pe" + + "rmissions_request_resource\030\246\305\267\321\001 \001(\0132/.g" + + "oogle.cloud.compute.v1.TestPermissionsRe" + + "questB\003\340A\002\"\330\001\n(TestIamPermissionsInstant" + + "SnapshotRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002" + + "\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_permi" + + "ssions_request_resource\030\246\305\267\321\001 \001(\0132/.goog" + + "le.cloud.compute.v1.TestPermissionsReque" + + "stB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\276\001\n$TestIa" + + "mPermissionsLicenseCodeRequest\022\027\n\007projec" + + "t\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A" + + "\002\022c\n!test_permissions_request_resource\030\246" + + "\305\267\321\001 \001(\0132/.google.cloud.compute.v1.TestP" + + "ermissionsRequestB\003\340A\002\"\272\001\n TestIamPermis" + + "sionsLicenseRequest\022\027\n\007project\030\231\226\301l \001(\tB" + + "\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_p" + + "ermissions_request_resource\030\246\305\267\321\001 \001(\0132/." + + "google.cloud.compute.v1.TestPermissionsR" + + "equestB\003\340A\002\"\277\001\n%TestIamPermissionsMachin" + + "eImageRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030" + + "\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_permiss" + + "ions_request_resource\030\246\305\267\321\001 \001(\0132/.google" + + ".cloud.compute.v1.TestPermissionsRequest" + + "B\003\340A\002\"\334\001\n*TestIamPermissionsNetworkAttac" + + "hmentRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n" + + "\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001" + + "(\tB\003\340A\002\022c\n!test_permissions_request_reso" + + "urce\030\246\305\267\321\001 \001(\0132/.google.cloud.compute.v1" + + ".TestPermissionsRequestB\003\340A\002\"\335\001\n-TestIam" + + "PermissionsNetworkEndpointGroupRequest\022\027" + + "\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257]" + + " \001(\tB\003\340A\002\022c\n!test_permissions_request_re" + + "source\030\246\305\267\321\001 \001(\0132/.google.cloud.compute." + + "v1.TestPermissionsRequestB\003\340A\002\022\024\n\004zone\030\254" + + "\307\344\001 \001(\tB\003\340A\002\"\310\001\n.TestIamPermissionsNetwo" + + "rkFirewallPolicyRequest\022\027\n\007project\030\231\226\301l " + + "\001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!te" + + "st_permissions_request_resource\030\246\305\267\321\001 \001(" + + "\0132/.google.cloud.compute.v1.TestPermissi" + + "onsRequestB\003\340A\002\"\322\001\n\"TestIamPermissionsNo" + + "deGroupRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022" + + "\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_permis" + + "sions_request_resource\030\246\305\267\321\001 \001(\0132/.googl" + + "e.cloud.compute.v1.TestPermissionsReques" + + "tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\327\001\n%TestIam" + + "PermissionsNodeTemplateRequest\022\027\n\007projec" + + "t\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022" + + "\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_permis" + + "sions_request_resource\030\246\305\267\321\001 \001(\0132/.googl" + + "e.cloud.compute.v1.TestPermissionsReques" + + "tB\003\340A\002\"\332\001\n(TestIamPermissionsPacketMirro" + + "ringRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006" + + "region\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(" + + "\tB\003\340A\002\022c\n!test_permissions_request_resou" + + "rce\030\246\305\267\321\001 \001(\0132/.google.cloud.compute.v1." + + "TestPermissionsRequestB\003\340A\002\"\337\001\n-TestIamP" + + "ermissionsRegionBackendServiceRequest\022\027\n" + + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(" + + "\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test" + + "_permissions_request_resource\030\246\305\267\321\001 \001(\0132" + + "/.google.cloud.compute.v1.TestPermission" + + "sRequestB\003\340A\002\"\325\001\n#TestIamPermissionsRegi" + + "onDiskRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026" + + "\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] " + + "\001(\tB\003\340A\002\022c\n!test_permissions_request_res" + + "ource\030\246\305\267\321\001 \001(\0132/.google.cloud.compute.v" + + "1.TestPermissionsRequestB\003\340A\002\"\340\001\n.TestIa" + + "mPermissionsRegionInstantSnapshotRequest" + + "\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B" + " \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!t" + "est_permissions_request_resource\030\246\305\267\321\001 \001" + "(\0132/.google.cloud.compute.v1.TestPermiss" - + "ionsRequestB\003\340A\002\"\250\001\n\'TestIamPermissionsF" - + "irewallPolicyRequest\022\030\n\010resource\030\216\210\257] \001(" - + "\tB\003\340A\002\022c\n!test_permissions_request_resou" - + "rce\030\246\305\267\321\001 \001(\0132/.google.cloud.compute.v1." - + "TestPermissionsRequestB\003\340A\002\"\270\001\n\036TestIamP" - + "ermissionsImageRequest\022\027\n\007project\030\231\226\301l \001" - + "(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!tes" - + "t_permissions_request_resource\030\246\305\267\321\001 \001(\013" - + "2/.google.cloud.compute.v1.TestPermissio" - + "nsRequestB\003\340A\002\"\321\001\n!TestIamPermissionsIns" - + "tanceRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" - + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_permissi" - + "ons_request_resource\030\246\305\267\321\001 \001(\0132/.google." - + "cloud.compute.v1.TestPermissionsRequestB" - + "\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\303\001\n)TestIamPe" - + "rmissionsInstanceTemplateRequest\022\027\n\007proj" - + "ect\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003" - + "\340A\002\022c\n!test_permissions_request_resource" - + "\030\246\305\267\321\001 \001(\0132/.google.cloud.compute.v1.Tes" - + "tPermissionsRequestB\003\340A\002\"\330\001\n(TestIamPerm" - + "issionsInstantSnapshotRequest\022\027\n\007project" - + "\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002" - + "\022c\n!test_permissions_request_resource\030\246\305" - + "\267\321\001 \001(\0132/.google.cloud.compute.v1.TestPe" - + "rmissionsRequestB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003" - + "\340A\002\"\276\001\n$TestIamPermissionsLicenseCodeReq" - + "uest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resourc" - + "e\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_permissions_requ" - + "est_resource\030\246\305\267\321\001 \001(\0132/.google.cloud.co" - + "mpute.v1.TestPermissionsRequestB\003\340A\002\"\272\001\n" - + " TestIamPermissionsLicenseRequest\022\027\n\007pro" - + "ject\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB" - + "\003\340A\002\022c\n!test_permissions_request_resourc" - + "e\030\246\305\267\321\001 \001(\0132/.google.cloud.compute.v1.Te" - + "stPermissionsRequestB\003\340A\002\"\277\001\n%TestIamPer" - + "missionsMachineImageRequest\022\027\n\007project\030\231" - + "\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c" - + "\n!test_permissions_request_resource\030\246\305\267\321" - + "\001 \001(\0132/.google.cloud.compute.v1.TestPerm" - + "issionsRequestB\003\340A\002\"\334\001\n*TestIamPermissio" - + "nsNetworkAttachmentRequest\022\027\n\007project\030\231\226" - + "\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010r" + + "ionsRequestB\003\340A\002\"\346\001\n4TestIamPermissionsR" + + "egionNetworkFirewallPolicyRequest\022\027\n\007pro" + + "ject\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340" + + "A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_per" + + "missions_request_resource\030\246\305\267\321\001 \001(\0132/.go" + + "ogle.cloud.compute.v1.TestPermissionsReq" + + "uestB\003\340A\002\"\324\001\n$TestIamPermissionsReservat" + + "ionRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010r" + "esource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_permission" + "s_request_resource\030\246\305\267\321\001 \001(\0132/.google.cl" + "oud.compute.v1.TestPermissionsRequestB\003\340" - + "A\002\"\335\001\n-TestIamPermissionsNetworkEndpoint" - + "GroupRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n" + + "A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\331\001\n\'TestIamPerm" + + "issionsResourcePolicyRequest\022\027\n\007project\030" + + "\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n" + "\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_permissi" + "ons_request_resource\030\246\305\267\321\001 \001(\0132/.google." + "cloud.compute.v1.TestPermissionsRequestB" - + "\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\310\001\n.TestIamPe" - + "rmissionsNetworkFirewallPolicyRequest\022\027\n" - + "\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] " - + "\001(\tB\003\340A\002\022c\n!test_permissions_request_res" - + "ource\030\246\305\267\321\001 \001(\0132/.google.cloud.compute.v" - + "1.TestPermissionsRequestB\003\340A\002\"\322\001\n\"TestIa" - + "mPermissionsNodeGroupRequest\022\027\n\007project\030" - + "\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022" - + "c\n!test_permissions_request_resource\030\246\305\267" - + "\321\001 \001(\0132/.google.cloud.compute.v1.TestPer" - + "missionsRequestB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340" - + "A\002\"\327\001\n%TestIamPermissionsNodeTemplateReq" - + "uest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030" - + "\364\315\240B \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022" - + "c\n!test_permissions_request_resource\030\246\305\267" - + "\321\001 \001(\0132/.google.cloud.compute.v1.TestPer" - + "missionsRequestB\003\340A\002\"\332\001\n(TestIamPermissi" - + "onsPacketMirroringRequest\022\027\n\007project\030\231\226\301" - + "l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010re" - + "source\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_permissions" - + "_request_resource\030\246\305\267\321\001 \001(\0132/.google.clo" - + "ud.compute.v1.TestPermissionsRequestB\003\340A" - + "\002\"\337\001\n-TestIamPermissionsRegionBackendSer" - + "viceRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006" + + "\003\340A\002\"\334\001\n*TestIamPermissionsServiceAttach" + + "mentRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006" + "region\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(" + "\tB\003\340A\002\022c\n!test_permissions_request_resou" + "rce\030\246\305\267\321\001 \001(\0132/.google.cloud.compute.v1." - + "TestPermissionsRequestB\003\340A\002\"\325\001\n#TestIamP" - + "ermissionsRegionDiskRequest\022\027\n\007project\030\231" - + "\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010" - + "resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_permissio" - + "ns_request_resource\030\246\305\267\321\001 \001(\0132/.google.c" - + "loud.compute.v1.TestPermissionsRequestB\003" - + "\340A\002\"\340\001\n.TestIamPermissionsRegionInstantS" - + "napshotRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022" - + "\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257]" - + " \001(\tB\003\340A\002\022c\n!test_permissions_request_re" - + "source\030\246\305\267\321\001 \001(\0132/.google.cloud.compute." - + "v1.TestPermissionsRequestB\003\340A\002\"\346\001\n4TestI" - + "amPermissionsRegionNetworkFirewallPolicy" - + "Request\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006regi" - + "on\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340" - + "A\002\022c\n!test_permissions_request_resource\030" - + "\246\305\267\321\001 \001(\0132/.google.cloud.compute.v1.Test" - + "PermissionsRequestB\003\340A\002\"\324\001\n$TestIamPermi" - + "ssionsReservationRequest\022\027\n\007project\030\231\226\301l" - + " \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!t" - + "est_permissions_request_resource\030\246\305\267\321\001 \001" - + "(\0132/.google.cloud.compute.v1.TestPermiss" - + "ionsRequestB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\331" - + "\001\n\'TestIamPermissionsResourcePolicyReque" - + "st\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315" - + "\240B \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n" - + "!test_permissions_request_resource\030\246\305\267\321\001" - + " \001(\0132/.google.cloud.compute.v1.TestPermi" - + "ssionsRequestB\003\340A\002\"\334\001\n*TestIamPermission" - + "sServiceAttachmentRequest\022\027\n\007project\030\231\226\301" - + "l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010re" - + "source\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_permissions" - + "_request_resource\030\246\305\267\321\001 \001(\0132/.google.clo" - + "ud.compute.v1.TestPermissionsRequestB\003\340A" - + "\002\"\273\001\n!TestIamPermissionsSnapshotRequest\022" - + "\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257" - + "] \001(\tB\003\340A\002\022c\n!test_permissions_request_r" - + "esource\030\246\305\267\321\001 \001(\0132/.google.cloud.compute" - + ".v1.TestPermissionsRequestB\003\340A\002\"\325\001\n#Test" - + "IamPermissionsSubnetworkRequest\022\027\n\007proje" - + "ct\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002" - + "\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_permi" - + "ssions_request_resource\030\246\305\267\321\001 \001(\0132/.goog" - + "le.cloud.compute.v1.TestPermissionsReque" - + "stB\003\340A\002\"\325\001\n#TestIamPermissionsVpnGateway" - + "Request\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006regi" - + "on\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340" - + "A\002\022c\n!test_permissions_request_resource\030" - + "\246\305\267\321\001 \001(\0132/.google.cloud.compute.v1.Test" - + "PermissionsRequestB\003\340A\002\"0\n\026TestPermissio" - + "nsRequest\022\026\n\013permissions\030\204\351\313\034 \003(\t\"1\n\027Tes" - + "tPermissionsResponse\022\026\n\013permissions\030\204\351\313\034" - + " \003(\t\"D\n\007Uint128\022\024\n\004high\030\242\273\303\001 \001(\004H\000\210\001\001\022\022\n" - + "\003low\030\324\306\006 \001(\004H\001\210\001\001B\007\n\005_highB\006\n\004_low\"\234\004\n\023U" - + "pcomingMaintenance\022\036\n\016can_reschedule\030\231\243\342" - + "- \001(\010H\000\210\001\001\022(\n\030latest_window_start_time\030\201" - + "\273\206= \001(\tH\001\210\001\001\022\"\n\022maintenance_status\030\236\235\367& " - + "\001(\tH\002\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\003\210\001\001\022 \n\017window" - + "_end_time\030\240\256\316\201\001 \001(\tH\004\210\001\001\022\"\n\021window_start" - + "_time\030\271\260\311\341\001 \001(\tH\005\210\001\001\"g\n\021MaintenanceStatu" - + "s\022 \n\034UNDEFINED_MAINTENANCE_STATUS\020\000\022\017\n\007O" - + "NGOING\020\333\246\317\341\001\022\016\n\007PENDING\020\367\252\360\020\022\017\n\007UNKNOWN\020" - + "\252\360\304\316\001\"X\n\004Type\022\022\n\016UNDEFINED_TYPE\020\000\022\021\n\tSCH" - + "EDULED\020\215\241\217\344\001\022\024\n\014UNKNOWN_TYPE\020\257\244\376\351\001\022\023\n\013UN" - + "SCHEDULED\020\224\304\316\326\001B\021\n\017_can_rescheduleB\033\n\031_l" - + "atest_window_start_timeB\025\n\023_maintenance_" - + "statusB\007\n\005_typeB\022\n\020_window_end_timeB\024\n\022_" - + "window_start_time\"\234\002\n!UpdateAccessConfig" - + "InstanceRequest\022N\n\026access_config_resourc" - + "e\030\220\377\366\270\001 \001(\0132%.google.cloud.compute.v1.Ac" - + "cessConfigB\003\340A\002\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A" - + "\002\022\"\n\021network_interface\030\350\300\235\256\001 \001(\tB\003\340A\002\022!\n" - + "\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequ" - + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340" - + "A\002\362G\004zoneB\r\n\013_request_id\"\372\001\n\027UpdateAutos" - + "calerRequest\022\033\n\nautoscaler\030\327\375\322\366\001 \001(\tH\000\210\001" - + "\001\022H\n\023autoscaler_resource\030\366\360\377b \001(\0132#.goog" - + "le.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n\007p" - + "roject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreques" - + "t_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002" - + "\362G\004zoneB\r\n\013_autoscalerB\r\n\013_request_id\"\334\001" - + "\n\032UpdateBackendBucketRequest\022\036\n\016backend_" - + "bucket\030\365\343\335+ \001(\tB\003\340A\002\022P\n\027backend_bucket_r" - + "esource\030\230\316\307\265\001 \001(\0132&.google.cloud.compute" - + ".v1.BackendBucketB\003\340A\002\022!\n\007project\030\231\226\301l \001" - + "(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\t" - + "H\000\210\001\001B\r\n\013_request_id\"\341\001\n\033UpdateBackendSe" - + "rviceRequest\022 \n\017backend_service\030\212\300\256\222\001 \001(" - + "\tB\003\340A\002\022R\n\030backend_service_resource\030\243\201\337\245\001" - + " \001(\0132\'.google.cloud.compute.v1.BackendSe" - + "rviceB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" - + "oject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_re" - + "quest_id\"\241\002\n\021UpdateDiskRequest\022\024\n\004disk\030\235" - + "\233\274\001 \001(\tB\003\340A\002\022<\n\rdisk_resource\030\360\320\253\014 \001(\0132\035" - + ".google.cloud.compute.v1.DiskB\003\340A\002\022\025\n\005pa" - + "ths\030\356\301\3402 \001(\tH\000\210\001\001\022!\n\007project\030\231\226\301l \001(\tB\r\340" - + "A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001" - + "\022\034\n\013update_mask\030\242\271\272\356\001 \001(\tH\002\210\001\001\022\033\n\004zone\030\254" - + "\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\010\n\006_pathsB\r\n\013_reques" - + "t_idB\016\n\014_update_mask\"\373\001\n\"UpdateDisplayDe" - + "viceInstanceRequest\022P\n\027display_device_re" - + "source\030\332\204\221\212\001 \001(\0132&.google.cloud.compute." - + "v1.DisplayDeviceB\003\340A\002\022\030\n\010instance\030\225\251\332\010 \001" - + "(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proje" - + "ct\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254" - + "\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\306\001\n\025U" - + "pdateFirewallRequest\022\031\n\010firewall\030\200\372\325\363\001 \001" - + "(\tB\003\340A\002\022D\n\021firewall_resource\030\355\260\340\023 \001(\0132!." - + "google.cloud.compute.v1.FirewallB\003\340A\002\022!\n" - + "\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nrequ" - + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\324\001\n\030" - + "UpdateHealthCheckRequest\022\035\n\014health_check" - + "\030\345\252\244\223\001 \001(\tB\003\340A\002\022K\n\025health_check_resource" - + "\030\250\303\244` \001(\0132$.google.cloud.compute.v1.Heal" - + "thCheckB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" - + "project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_" - + "request_id\"\345\003\n\025UpdateInstanceRequest\022\030\n\010" - + "instance\030\225\251\332\010 \001(\tB\003\340A\002\022D\n\021instance_resou" - + "rce\030\370\360\376f \001(\0132!.google.cloud.compute.v1.I" - + "nstanceB\003\340A\002\022\037\n\016minimal_action\030\224\215\202\201\001 \001(\t" - + "H\000\210\001\001\022.\n\036most_disruptive_allowed_action\030" - + "\215\316\302\037 \001(\tH\001\210\001\001\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" - + "\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\002\210\001\001\022\033\n\004" - + "zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zone\"-\n\rMinimalActi" - + "on\022\034\n\030UNDEFINED_MINIMAL_ACTION\020\000\"K\n\033Most" - + "DisruptiveAllowedAction\022,\n(UNDEFINED_MOS" - + "T_DISRUPTIVE_ALLOWED_ACTION\020\000B\021\n\017_minima" - + "l_actionB!\n\037_most_disruptive_allowed_act" - + "ionB\r\n\013_request_id\"\250\002\n%UpdateNetworkInte" - + "rfaceInstanceRequest\022\030\n\010instance\030\225\251\332\010 \001(" - + "\tB\003\340A\002\022\"\n\021network_interface\030\350\300\235\256\001 \001(\tB\003\340" - + "A\002\022V\n\032network_interface_resource\030\205\224\256\233\001 \001" - + "(\0132).google.cloud.compute.v1.NetworkInte" - + "rfaceB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" - + "oject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zon" - + "e\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\365\001" - + "\n\033UpdatePeeringNetworkRequest\022\027\n\007network" - + "\030\256\264\205o \001(\tB\003\340A\002\022o\n(networks_update_peerin" - + "g_request_resource\030\331\252\202k \001(\01325.google.clo" - + "ud.compute.v1.NetworksUpdatePeeringReque" - + "stB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proje" - + "ct\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_reque" - + "st_id\"\346\002\n3UpdatePerInstanceConfigsInstan" - + "ceGroupManagerRequest\022&\n\026instance_group_" - + "manager\030\303\367\363v \001(\tB\003\340A\002\022\233\001\n@instance_group" - + "_managers_update_per_instance_configs_re" - + "q_resource\030\276\301\266C \001(\0132I.google.cloud.compu" - + "te.v1.InstanceGroupManagersUpdatePerInst" - + "anceConfigsReqB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB" - + "\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" - + "\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_requ" - + "est_id\"\362\002\n9UpdatePerInstanceConfigsRegio" - + "nInstanceGroupManagerRequest\022&\n\026instance" - + "_group_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n\007project\030" - + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001" - + "(\tB\014\340A\002\362G\006region\022\235\001\nAregion_instance_gro" - + "up_manager_update_instance_config_req_re" - + "source\030\247\256\272* \001(\0132J.google.cloud.compute.v" - + "1.RegionInstanceGroupManagerUpdateInstan" - + "ceConfigReqB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" - + "\000\210\001\001B\r\n\013_request_id\"\204\002\n\035UpdateRegionAuto" + + "TestPermissionsRequestB\003\340A\002\"\273\001\n!TestIamP" + + "ermissionsSnapshotRequest\022\027\n\007project\030\231\226\301" + + "l \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!" + + "test_permissions_request_resource\030\246\305\267\321\001 " + + "\001(\0132/.google.cloud.compute.v1.TestPermis" + + "sionsRequestB\003\340A\002\"\324\001\n$TestIamPermissions" + + "StoragePoolRequest\022\027\n\007project\030\231\226\301l \001(\tB\003" + + "\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_pe" + + "rmissions_request_resource\030\246\305\267\321\001 \001(\0132/.g" + + "oogle.cloud.compute.v1.TestPermissionsRe" + + "questB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\325\001\n#Tes" + + "tIamPermissionsSubnetworkRequest\022\027\n\007proj" + + "ect\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A" + + "\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_perm" + + "issions_request_resource\030\246\305\267\321\001 \001(\0132/.goo" + + "gle.cloud.compute.v1.TestPermissionsRequ" + + "estB\003\340A\002\"\325\001\n#TestIamPermissionsVpnGatewa" + + "yRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006reg" + + "ion\030\364\315\240B \001(\tB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003" + + "\340A\002\022c\n!test_permissions_request_resource" + + "\030\246\305\267\321\001 \001(\0132/.google.cloud.compute.v1.Tes" + + "tPermissionsRequestB\003\340A\002\"0\n\026TestPermissi" + + "onsRequest\022\026\n\013permissions\030\204\351\313\034 \003(\t\"1\n\027Te" + + "stPermissionsResponse\022\026\n\013permissions\030\204\351\313" + + "\034 \003(\t\"D\n\007Uint128\022\024\n\004high\030\242\273\303\001 \001(\004H\000\210\001\001\022\022" + + "\n\003low\030\324\306\006 \001(\004H\001\210\001\001B\007\n\005_highB\006\n\004_low\"\234\004\n\023" + + "UpcomingMaintenance\022\036\n\016can_reschedule\030\231\243" + + "\342- \001(\010H\000\210\001\001\022(\n\030latest_window_start_time\030" + + "\201\273\206= \001(\tH\001\210\001\001\022\"\n\022maintenance_status\030\236\235\367&" + + " \001(\tH\002\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\003\210\001\001\022 \n\017windo" + + "w_end_time\030\240\256\316\201\001 \001(\tH\004\210\001\001\022\"\n\021window_star" + + "t_time\030\271\260\311\341\001 \001(\tH\005\210\001\001\"g\n\021MaintenanceStat" + + "us\022 \n\034UNDEFINED_MAINTENANCE_STATUS\020\000\022\017\n\007" + + "ONGOING\020\333\246\317\341\001\022\016\n\007PENDING\020\367\252\360\020\022\017\n\007UNKNOWN" + + "\020\252\360\304\316\001\"X\n\004Type\022\022\n\016UNDEFINED_TYPE\020\000\022\021\n\tSC" + + "HEDULED\020\215\241\217\344\001\022\024\n\014UNKNOWN_TYPE\020\257\244\376\351\001\022\023\n\013U" + + "NSCHEDULED\020\224\304\316\326\001B\021\n\017_can_rescheduleB\033\n\031_" + + "latest_window_start_timeB\025\n\023_maintenance" + + "_statusB\007\n\005_typeB\022\n\020_window_end_timeB\024\n\022" + + "_window_start_time\"\234\002\n!UpdateAccessConfi" + + "gInstanceRequest\022N\n\026access_config_resour" + + "ce\030\220\377\366\270\001 \001(\0132%.google.cloud.compute.v1.A" + + "ccessConfigB\003\340A\002\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340" + + "A\002\022\"\n\021network_interface\030\350\300\235\256\001 \001(\tB\003\340A\002\022!" + + "\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreq" + + "uest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n" + + "\340A\002\362G\004zoneB\r\n\013_request_id\"\372\001\n\027UpdateAuto" + "scalerRequest\022\033\n\nautoscaler\030\327\375\322\366\001 \001(\tH\000\210" + "\001\001\022H\n\023autoscaler_resource\030\366\360\377b \001(\0132#.goo" + "gle.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n\007" - + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006regio" - + "n\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313" - + "\201\331\021 \001(\tH\001\210\001\001B\r\n\013_autoscalerB\r\n\013_request_" - + "id\"\210\002\n!UpdateRegionBackendServiceRequest" - + "\022 \n\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022R\n\030ba" - + "ckend_service_resource\030\243\201\337\245\001 \001(\0132\'.googl" - + "e.cloud.compute.v1.BackendServiceB\003\340A\002\022!" - + "\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006reg" - + "ion\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id" - + "\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\304\002\n\035Update" - + "RegionCommitmentRequest\022\033\n\ncommitment\030\225\226" - + "\363\345\001 \001(\tB\003\340A\002\022H\n\023commitment_resource\030\370\243\273t" - + " \001(\0132#.google.cloud.compute.v1.Commitmen" - + "tB\003\340A\002\022\025\n\005paths\030\356\301\3402 \001(\tH\000\210\001\001\022!\n\007project" - + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B " - + "\001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\t" - + "H\001\210\001\001\022\034\n\013update_mask\030\242\271\272\356\001 \001(\tH\002\210\001\001B\010\n\006_" - + "pathsB\r\n\013_request_idB\016\n\014_update_mask\"\253\002\n" - + "\027UpdateRegionDiskRequest\022\024\n\004disk\030\235\233\274\001 \001(" - + "\tB\003\340A\002\022<\n\rdisk_resource\030\360\320\253\014 \001(\0132\035.googl" - + "e.cloud.compute.v1.DiskB\003\340A\002\022\025\n\005paths\030\356\301" - + "\3402 \001(\tH\000\210\001\001\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007p" - + "roject\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022" - + "\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\034\n\013update_ma" - + "sk\030\242\271\272\356\001 \001(\tH\002\210\001\001B\010\n\006_pathsB\r\n\013_request_" - + "idB\016\n\014_update_mask\"\373\001\n\036UpdateRegionHealt" - + "hCheckRequest\022\035\n\014health_check\030\345\252\244\223\001 \001(\tB" - + "\003\340A\002\022K\n\025health_check_resource\030\250\303\244` \001(\0132$" - + ".google.cloud.compute.v1.HealthCheckB\003\340A" - + "\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006", - "region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest" - + "_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\347\001\n\031Upd" - + "ateRegionUrlMapRequest\022!\n\007project\030\231\226\301l \001" - + "(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A" - + "\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\030" - + "\n\007url_map\030\214\225\201\257\001 \001(\tB\003\340A\002\022A\n\020url_map_reso" - + "urce\030\341\220\267P \001(\0132\037.google.cloud.compute.v1." - + "UrlMapB\003\340A\002B\r\n\013_request_id\"\276\002\n\030UpdateRes" - + "ervationRequest\022\025\n\005paths\030\356\301\3402 \001(\tH\000\210\001\001\022!" - + "\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreq" - + "uest_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n\013reservation\030\314\207\325" - + "\026 \001(\tB\003\340A\002\022K\n\024reservation_resource\030\241\356\364\207\001" - + " \001(\0132$.google.cloud.compute.v1.Reservati" - + "onB\003\340A\002\022\034\n\013update_mask\030\242\271\272\356\001 \001(\tH\002\210\001\001\022\033\n" - + "\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\010\n\006_pathsB\r\n\013" - + "_request_idB\016\n\014_update_mask\"\336\001\n\023UpdateRo" - + "uterRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007p" - + "roject\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022" - + "\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\026\n\006router\030\311\256" - + "\356F \001(\tB\003\340A\002\022@\n\017router_resource\030\304\200\202J \001(\0132" - + "\037.google.cloud.compute.v1.RouterB\003\340A\002B\r\n" - + "\013_request_id\"\227\002\n+UpdateShieldedInstanceC" - + "onfigInstanceRequest\022\030\n\010instance\030\225\251\332\010 \001(" - + "\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007projec" - + "t\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022c\n!shielde" - + "d_instance_config_resource\030\330\226\335\201\001 \001(\0132/.g" - + "oogle.cloud.compute.v1.ShieldedInstanceC" - + "onfigB\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB" - + "\r\n\013_request_id\"\300\001\n\023UpdateUrlMapRequest\022!" + + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreque" + + "st_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A" + + "\002\362G\004zoneB\r\n\013_autoscalerB\r\n\013_request_id\"\334" + + "\001\n\032UpdateBackendBucketRequest\022\036\n\016backend" + + "_bucket\030\365\343\335+ \001(\tB\003\340A\002\022P\n\027backend_bucket_" + + "resource\030\230\316\307\265\001 \001(\0132&.google.cloud.comput" + + "e.v1.BackendBucketB\003\340A\002\022!\n\007project\030\231\226\301l " + + "\001(\tB\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(" + + "\tH\000\210\001\001B\r\n\013_request_id\"\341\001\n\033UpdateBackendS" + + "erviceRequest\022 \n\017backend_service\030\212\300\256\222\001 \001" + + "(\tB\003\340A\002\022R\n\030backend_service_resource\030\243\201\337\245" + + "\001 \001(\0132\'.google.cloud.compute.v1.BackendS" + + "erviceB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007p" + + "roject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_r" + + "equest_id\"\241\002\n\021UpdateDiskRequest\022\024\n\004disk\030" + + "\235\233\274\001 \001(\tB\003\340A\002\022<\n\rdisk_resource\030\360\320\253\014 \001(\0132" + + "\035.google.cloud.compute.v1.DiskB\003\340A\002\022\025\n\005p" + + "aths\030\356\301\3402 \001(\tH\000\210\001\001\022!\n\007project\030\231\226\301l \001(\tB\r" + + "\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001" + + "\001\022\034\n\013update_mask\030\242\271\272\356\001 \001(\tH\002\210\001\001\022\033\n\004zone\030" + + "\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\010\n\006_pathsB\r\n\013_reque" + + "st_idB\016\n\014_update_mask\"\373\001\n\"UpdateDisplayD" + + "eviceInstanceRequest\022P\n\027display_device_r" + + "esource\030\332\204\221\212\001 \001(\0132&.google.cloud.compute" + + ".v1.DisplayDeviceB\003\340A\002\022\030\n\010instance\030\225\251\332\010 " + + "\001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" + + "ect\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zone\030" + + "\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\306\001\n\025" + + "UpdateFirewallRequest\022\031\n\010firewall\030\200\372\325\363\001 " + + "\001(\tB\003\340A\002\022D\n\021firewall_resource\030\355\260\340\023 \001(\0132!" + + ".google.cloud.compute.v1.FirewallB\003\340A\002\022!" + "\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nreq" - + "uest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\030\n\007url_map\030\214\225\201\257\001 \001" - + "(\tB\003\340A\002\022A\n\020url_map_resource\030\341\220\267P \001(\0132\037.g" - + "oogle.cloud.compute.v1.UrlMapB\003\340A\002B\r\n\013_r" - + "equest_id\"\337\006\n\006UrlMap\022\"\n\022creation_timesta" - + "mp\030\266\217\307\016 \001(\tH\000\210\001\001\022O\n\024default_route_action" - + "\030\252\264\327\264\001 \001(\0132(.google.cloud.compute.v1.Htt" - + "pRouteActionH\001\210\001\001\022 \n\017default_service\030\267\345\305" - + "\260\001 \001(\tH\002\210\001\001\022R\n\024default_url_redirect\030\352\253\266\253" - + "\001 \001(\0132+.google.cloud.compute.v1.HttpRedi" - + "rectActionH\003\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\t" - + "H\004\210\001\001\022\033\n\013fingerprint\030\344\321\363o \001(\tH\005\210\001\001\022I\n\rhe" - + "ader_action\030\250\240\270\234\001 \001(\0132).google.cloud.com" - + "pute.v1.HttpHeaderActionH\006\210\001\001\0229\n\nhost_ru" - + "les\030\240\207\327\224\001 \003(\0132!.google.cloud.compute.v1." - + "HostRule\022\020\n\002id\030\233\032 \001(\004H\007\210\001\001\022\024\n\004kind\030\224\367\310\001 " - + "\001(\tH\010\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\t\210\001\001\022?\n\rpath_m" - + "atchers\030\333\210\305\201\001 \003(\0132$.google.cloud.compute" - + ".v1.PathMatcher\022\026\n\006region\030\364\315\240B \001(\tH\n\210\001\001\022" - + "\032\n\tself_link\030\215\222\305\331\001 \001(\tH\013\210\001\001\0225\n\005tests\030\241\234\311" - + "4 \003(\0132#.google.cloud.compute.v1.UrlMapTe" - + "stB\025\n\023_creation_timestampB\027\n\025_default_ro" - + "ute_actionB\022\n\020_default_serviceB\027\n\025_defau" - + "lt_url_redirectB\016\n\014_descriptionB\016\n\014_fing" - + "erprintB\020\n\016_header_actionB\005\n\003_idB\007\n\005_kin" - + "dB\007\n\005_nameB\t\n\007_regionB\014\n\n_self_link\"\235\002\n\n" - + "UrlMapList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0221\n\005items\030\300\317" - + "\367/ \003(\0132\037.google.cloud.compute.v1.UrlMap\022" - + "\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token" - + "\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210" - + "\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.co" - + "mpute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n" - + "\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_warn" - + "ing\"7\n\017UrlMapReference\022\030\n\007url_map\030\214\225\201\257\001 " - + "\001(\tH\000\210\001\001B\n\n\010_url_map\"\360\002\n\nUrlMapTest\022\034\n\013d" - + "escription\030\374\207\326\311\001 \001(\tH\000\210\001\001\022$\n\023expected_ou" - + "tput_url\030\230\242\367\316\001 \001(\tH\001\210\001\001\022/\n\037expected_redi" - + "rect_response_code\030\357\352\200\t \001(\005H\002\210\001\001\022=\n\007head" - + "ers\030\206\337\235{ \003(\0132).google.cloud.compute.v1.U" - + "rlMapTestHeader\022\024\n\004host\030\250\353\303\001 \001(\tH\003\210\001\001\022\024\n" - + "\004path\030\245\310\321\001 \001(\tH\004\210\001\001\022\030\n\007service\030\265\215\217\262\001 \001(\t" - + "H\005\210\001\001B\016\n\014_descriptionB\026\n\024_expected_outpu" - + "t_urlB\"\n _expected_redirect_response_cod" - + "eB\007\n\005_hostB\007\n\005_pathB\n\n\010_service\"R\n\020UrlMa" - + "pTestHeader\022\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001\022\025\n\005val" - + "ue\030\361\242\2625 \001(\tH\001\210\001\001B\007\n\005_nameB\010\n\006_value\"\322\001\n\026" - + "UrlMapValidationResult\022\027\n\013load_errors\030\344\361" - + "\361\223\001 \003(\t\022\036\n\016load_succeeded\030\310\264\230= \001(\010H\000\210\001\001\022" - + "?\n\rtest_failures\030\266\342\237\361\001 \003(\0132$.google.clou" - + "d.compute.v1.TestFailure\022\033\n\013test_passed\030" - + "\275\201\362[ \001(\010H\001\210\001\001B\021\n\017_load_succeededB\016\n\014_tes" - + "t_passed\"\265\003\n\025UrlMapsAggregatedList\022\020\n\002id" - + "\030\233\032 \001(\tH\000\210\001\001\022K\n\005items\030\300\317\367/ \003(\01329.google." - + "cloud.compute.v1.UrlMapsAggregatedList.I" - + "temsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_" - + "page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222" - + "\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n" - + "\007warning\030\234\337\226\030 \001(\0132 .google.cloud.compute" - + ".v1.WarningH\004\210\001\001\032X\n\nItemsEntry\022\013\n\003key\030\001 " - + "\001(\t\0229\n\005value\030\002 \001(\0132*.google.cloud.comput" - + "e.v1.UrlMapsScopedList:\0028\001B\005\n\003_idB\007\n\005_ki" - + "ndB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010" - + "_warning\"\220\001\n\021UrlMapsScopedList\0224\n\010url_ma" - + "ps\030\347\216\2441 \003(\0132\037.google.cloud.compute.v1.Ur" - + "lMap\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud." - + "compute.v1.WarningH\000\210\001\001B\n\n\010_warning\"\230\002\n\026" - + "UrlMapsValidateRequest\022!\n\026load_balancing" - + "_schemes\030\257\205\201\003 \003(\t\0229\n\010resource\030\216\210\257] \001(\0132\037" - + ".google.cloud.compute.v1.UrlMapH\000\210\001\001\"\222\001\n" - + "\024LoadBalancingSchemes\022$\n UNDEFINED_LOAD_" - + "BALANCING_SCHEMES\020\000\022\017\n\010EXTERNAL\020\313\247\375\020\022\030\n\020" - + "EXTERNAL_MANAGED\020\213\266\222\364\001\022)\n!LOAD_BALANCING" - + "_SCHEME_UNSPECIFIED\020\274\273\207\373\001B\013\n\t_resource\"m" - + "\n\027UrlMapsValidateResponse\022G\n\006result\030\235\220\267B" - + " \001(\0132/.google.cloud.compute.v1.UrlMapVal" - + "idationResultH\000\210\001\001B\t\n\007_result\"\272\001\n\nUrlRew" - + "rite\022\034\n\014host_rewrite\030\365\313\232L \001(\tH\000\210\001\001\022#\n\023pa" - + "th_prefix_rewrite\030\271\350\321\023 \001(\tH\001\210\001\001\022&\n\025path_" - + "template_rewrite\030\241\357\362\311\001 \001(\tH\002\210\001\001B\017\n\r_host" - + "_rewriteB\026\n\024_path_prefix_rewriteB\030\n\026_pat" - + "h_template_rewrite\"\324\007\n\020UsableSubnetwork\022" - + "$\n\024external_ipv6_prefix\030\366\222\266B \001(\tH\000\210\001\001\022%\n" - + "\024internal_ipv6_prefix\030\350\242\264\361\001 \001(\tH\001\210\001\001\022\035\n\r" - + "ip_cidr_range\030\312\315\344. \001(\tH\002\210\001\001\022!\n\020ipv6_acce" - + "ss_type\030\335\365\321\360\001 \001(\tH\003\210\001\001\022\027\n\007network\030\256\264\205o \001" - + "(\tH\004\210\001\001\022\030\n\007purpose\030\236\372\357\226\001 \001(\tH\005\210\001\001\022\024\n\004rol" - + "e\030\366\200\326\001 \001(\tH\006\210\001\001\022W\n\023secondary_ip_ranges\030\343" - + "\377\224A \003(\01327.google.cloud.compute.v1.Usable" - + "SubnetworkSecondaryRange\022\033\n\nstack_type\030\221" - + "\265\213\313\001 \001(\tH\007\210\001\001\022\033\n\nsubnetwork\030\356\247\344\222\001 \001(\tH\010\210" - + "\001\001\"S\n\016Ipv6AccessType\022\036\n\032UNDEFINED_IPV6_A" - + "CCESS_TYPE\020\000\022\017\n\010EXTERNAL\020\313\247\375\020\022\020\n\010INTERNA" - + "L\020\275\355\226\205\001\"\340\001\n\007Purpose\022\025\n\021UNDEFINED_PURPOSE" - + "\020\000\022\033\n\024GLOBAL_MANAGED_PROXY\020\362\313\340p\022#\n\034INTER" - + "NAL_HTTPS_LOAD_BALANCER\020\331\266\316v\022\017\n\007PRIVATE\020" - + "\343\342\262\300\001\022\023\n\013PRIVATE_NAT\020\245\310\256\257\001\022\027\n\020PRIVATE_RF" - + "C_1918\020\333\376\305y\022\036\n\027PRIVATE_SERVICE_CONNECT\020\304" - + "\364\371\026\022\035\n\026REGIONAL_MANAGED_PROXY\020\356\266\375H\":\n\004Ro" - + "le\022\022\n\016UNDEFINED_ROLE\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\016" - + "\n\006BACKUP\020\302\323\315\242\001\"I\n\tStackType\022\030\n\024UNDEFINED" - + "_STACK_TYPE\020\000\022\020\n\tIPV4_IPV6\020\201\350\312\n\022\020\n\tIPV4_" - + "ONLY\020\246\313\325\nB\027\n\025_external_ipv6_prefixB\027\n\025_i" - + "nternal_ipv6_prefixB\020\n\016_ip_cidr_rangeB\023\n" - + "\021_ipv6_access_typeB\n\n\010_networkB\n\n\010_purpo" - + "seB\007\n\005_roleB\r\n\013_stack_typeB\r\n\013_subnetwor" - + "k\"}\n\036UsableSubnetworkSecondaryRange\022\035\n\ri" - + "p_cidr_range\030\312\315\344. \001(\tH\000\210\001\001\022\033\n\nrange_name" - + "\030\315\360\264\236\001 \001(\tH\001\210\001\001B\020\n\016_ip_cidr_rangeB\r\n\013_ra" - + "nge_name\"\274\002\n\037UsableSubnetworksAggregated" - + "List\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022;\n\005items\030\300\317\367/ \003(\013" - + "2).google.cloud.compute.v1.UsableSubnetw" - + "ork\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_t" - + "oken\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(" - + "\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.clou" - + "d.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kin" + + "uest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\324\001\n" + + "\030UpdateHealthCheckRequest\022\035\n\014health_chec" + + "k\030\345\252\244\223\001 \001(\tB\003\340A\002\022K\n\025health_check_resourc" + + "e\030\250\303\244` \001(\0132$.google.cloud.compute.v1.Hea" + + "lthCheckB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" + + "\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013" + + "_request_id\"\345\003\n\025UpdateInstanceRequest\022\030\n" + + "\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022D\n\021instance_reso" + + "urce\030\370\360\376f \001(\0132!.google.cloud.compute.v1." + + "InstanceB\003\340A\002\022\037\n\016minimal_action\030\224\215\202\201\001 \001(" + + "\tH\000\210\001\001\022.\n\036most_disruptive_allowed_action" + + "\030\215\316\302\037 \001(\tH\001\210\001\001\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362" + + "G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\002\210\001\001\022\033\n" + + "\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zone\"-\n\rMinimalAct" + + "ion\022\034\n\030UNDEFINED_MINIMAL_ACTION\020\000\"K\n\033Mos" + + "tDisruptiveAllowedAction\022,\n(UNDEFINED_MO" + + "ST_DISRUPTIVE_ALLOWED_ACTION\020\000B\021\n\017_minim" + + "al_actionB!\n\037_most_disruptive_allowed_ac" + + "tionB\r\n\013_request_id\"\250\002\n%UpdateNetworkInt" + + "erfaceInstanceRequest\022\030\n\010instance\030\225\251\332\010 \001" + + "(\tB\003\340A\002\022\"\n\021network_interface\030\350\300\235\256\001 \001(\tB\003" + + "\340A\002\022V\n\032network_interface_resource\030\205\224\256\233\001 " + + "\001(\0132).google.cloud.compute.v1.NetworkInt" + + "erfaceB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007p" + + "roject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\033\n\004zo" + + "ne\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\365" + + "\001\n\033UpdatePeeringNetworkRequest\022\027\n\007networ" + + "k\030\256\264\205o \001(\tB\003\340A\002\022o\n(networks_update_peeri" + + "ng_request_resource\030\331\252\202k \001(\01325.google.cl" + + "oud.compute.v1.NetworksUpdatePeeringRequ" + + "estB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proj" + + "ect\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_requ" + + "est_id\"\346\002\n3UpdatePerInstanceConfigsInsta" + + "nceGroupManagerRequest\022&\n\026instance_group" + + "_manager\030\303\367\363v \001(\tB\003\340A\002\022\233\001\n@instance_grou" + + "p_managers_update_per_instance_configs_r" + + "eq_resource\030\276\301\266C \001(\0132I.google.cloud.comp" + + "ute.v1.InstanceGroupManagersUpdatePerIns" + + "tanceConfigsReqB\003\340A\002\022!\n\007project\030\231\226\301l \001(\t" + + "B\r\340A\002\362G\007project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000" + + "\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_req" + + "uest_id\"\362\002\n9UpdatePerInstanceConfigsRegi" + + "onInstanceGroupManagerRequest\022&\n\026instanc" + + "e_group_manager\030\303\367\363v \001(\tB\003\340A\002\022!\n\007project" + + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B " + + "\001(\tB\014\340A\002\362G\006region\022\235\001\nAregion_instance_gr" + + "oup_manager_update_instance_config_req_r" + + "esource\030\247\256\272* \001(\0132J.google.cloud.compute." + + "v1.RegionInstanceGroupManagerUpdateInsta" + + "nceConfigReqB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\t" + + "H\000\210\001\001B\r\n\013_request_id\"\204\002\n\035UpdateRegionAut" + + "oscalerRequest\022\033\n\nautoscaler\030\327\375\322\366\001 \001(\tH\000" + + "\210\001\001\022H\n\023autoscaler_resource\030\366\360\377b \001(\0132#.go" + + "ogle.cloud.compute.v1.AutoscalerB\003\340A\002\022!\n" + + "\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006regi" + + "on\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030" + + "\313\201\331\021 \001(\tH\001\210\001\001B\r\n\013_autoscalerB\r\n\013_request" + + "_id\"\210\002\n!UpdateRegionBackendServiceReques" + + "t\022 \n\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022R\n\030b" + + "ackend_service_resource\030\243\201\337\245\001 \001(\0132\'.goog" + + "le.cloud.compute.v1.BackendServiceB\003\340A\002\022" + + "!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006re" + + "gion\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_i" + + "d\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\304\002\n\035Updat" + + "eRegionCommitmentRequest\022\033\n\ncommitment\030\225" + + "\226\363\345\001 \001(\tB\003\340A\002\022H\n\023commitment_resource\030\370\243\273" + + "t \001(\0132#.google.cloud.compute.v1.Commitme" + + "ntB\003\340A\002\022\025\n\005paths\030\356\301\3402 \001(\tH\000\210\001\001\022!\n\007projec" + + "t\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B" + + " \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(" + + "\tH\001\210\001\001\022\034\n\013update_mask\030\242\271\272\356\001 \001(\tH\002\210\001\001B\010\n\006" + + "_pathsB\r\n\013_request_idB\016\n\014_update_mask\"\253\002" + + "\n\027UpdateRegionDiskRequest\022\024\n\004disk\030\235\233\274\001 \001" + + "(\tB\003\340A\002\022<\n\rdisk_resource\030\360\320\253\014 \001(\0132\035.goog" + + "le.cloud.compute.v1.DiskB\003\340A\002\022\025\n\005paths\030\356" + + "\301\3402 \001(\tH\000\210\001\001\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" + + "project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region" + + "\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\034\n\013update_m" + + "ask\030\242\271\272\356\001 \001(\tH\002\210\001\001B\010\n\006_pathsB\r\n\013_request" + + "_idB\016\n\014_update_mask\"\373\001\n\036UpdateRegionHeal" + + "thCheckRequest\022\035\n\014health_check\030\345\252\244\223\001 \001(\t" + + "B\003\340A\002\022K\n\025health_check_resource\030\250\303\244` \001(\0132" + + "$.google.cloud.compute.v1.HealthCheckB\003\340" + + "A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n", + "\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\032\n\nreques" + + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\347\001\n\031Up" + + "dateRegionUrlMapRequest\022!\n\007project\030\231\226\301l " + + "\001(\tB\r\340A\002\362G\007project\022\037\n\006region\030\364\315\240B \001(\tB\014\340" + + "A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022" + + "\030\n\007url_map\030\214\225\201\257\001 \001(\tB\003\340A\002\022A\n\020url_map_res" + + "ource\030\341\220\267P \001(\0132\037.google.cloud.compute.v1" + + ".UrlMapB\003\340A\002B\r\n\013_request_id\"\276\002\n\030UpdateRe" + + "servationRequest\022\025\n\005paths\030\356\301\3402 \001(\tH\000\210\001\001\022" + + "!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\032\n\nre" + + "quest_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n\013reservation\030\314\207" + + "\325\026 \001(\tB\003\340A\002\022K\n\024reservation_resource\030\241\356\364\207" + + "\001 \001(\0132$.google.cloud.compute.v1.Reservat" + + "ionB\003\340A\002\022\034\n\013update_mask\030\242\271\272\356\001 \001(\tH\002\210\001\001\022\033" + + "\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\010\n\006_pathsB\r\n" + + "\013_request_idB\016\n\014_update_mask\"\336\001\n\023UpdateR" + + "outerRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" + + "project\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region" + + "\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\026\n\006router\030\311" + + "\256\356F \001(\tB\003\340A\002\022@\n\017router_resource\030\304\200\202J \001(\013" + + "2\037.google.cloud.compute.v1.RouterB\003\340A\002B\r" + + "\n\013_request_id\"\227\002\n+UpdateShieldedInstance" + + "ConfigInstanceRequest\022\030\n\010instance\030\225\251\332\010 \001" + + "(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proje" + + "ct\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022c\n!shield" + + "ed_instance_config_resource\030\330\226\335\201\001 \001(\0132/." + + "google.cloud.compute.v1.ShieldedInstance" + + "ConfigB\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zone" + + "B\r\n\013_request_id\"\237\002\n\030UpdateStoragePoolReq" + + "uest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022" + + "\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\035\n\014storage_p" + + "ool\030\340\306\361\253\001 \001(\tB\003\340A\002\022K\n\025storage_pool_resou" + + "rce\030\215\274\371J \001(\0132$.google.cloud.compute.v1.S" + + "toragePoolB\003\340A\002\022\034\n\013update_mask\030\242\271\272\356\001 \001(\t" + + "H\001\210\001\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_r" + + "equest_idB\016\n\014_update_mask\"\300\001\n\023UpdateUrlM" + + "apRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pro" + + "ject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\030\n\007url_" + + "map\030\214\225\201\257\001 \001(\tB\003\340A\002\022A\n\020url_map_resource\030\341" + + "\220\267P \001(\0132\037.google.cloud.compute.v1.UrlMap" + + "B\003\340A\002B\r\n\013_request_id\"\337\006\n\006UrlMap\022\"\n\022creat" + + "ion_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022O\n\024default_r" + + "oute_action\030\252\264\327\264\001 \001(\0132(.google.cloud.com" + + "pute.v1.HttpRouteActionH\001\210\001\001\022 \n\017default_" + + "service\030\267\345\305\260\001 \001(\tH\002\210\001\001\022R\n\024default_url_re" + + "direct\030\352\253\266\253\001 \001(\0132+.google.cloud.compute." + + "v1.HttpRedirectActionH\003\210\001\001\022\034\n\013descriptio" + + "n\030\374\207\326\311\001 \001(\tH\004\210\001\001\022\033\n\013fingerprint\030\344\321\363o \001(\t" + + "H\005\210\001\001\022I\n\rheader_action\030\250\240\270\234\001 \001(\0132).googl" + + "e.cloud.compute.v1.HttpHeaderActionH\006\210\001\001" + + "\0229\n\nhost_rules\030\240\207\327\224\001 \003(\0132!.google.cloud." + + "compute.v1.HostRule\022\020\n\002id\030\233\032 \001(\004H\007\210\001\001\022\024\n" + + "\004kind\030\224\367\310\001 \001(\tH\010\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\t\210\001" + + "\001\022?\n\rpath_matchers\030\333\210\305\201\001 \003(\0132$.google.cl" + + "oud.compute.v1.PathMatcher\022\026\n\006region\030\364\315\240" + + "B \001(\tH\n\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\013\210\001\001\0225" + + "\n\005tests\030\241\234\3114 \003(\0132#.google.cloud.compute." + + "v1.UrlMapTestB\025\n\023_creation_timestampB\027\n\025" + + "_default_route_actionB\022\n\020_default_servic" + + "eB\027\n\025_default_url_redirectB\016\n\014_descripti" + + "onB\016\n\014_fingerprintB\020\n\016_header_actionB\005\n\003" + + "_idB\007\n\005_kindB\007\n\005_nameB\t\n\007_regionB\014\n\n_sel" + + "f_link\"\235\002\n\nUrlMapList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022" + + "1\n\005items\030\300\317\367/ \003(\0132\037.google.cloud.compute" + + ".v1.UrlMap\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next" + + "_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215" + + "\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .goog" + + "le.cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB" + + "\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_li" + + "nkB\n\n\010_warning\"7\n\017UrlMapReference\022\030\n\007url" + + "_map\030\214\225\201\257\001 \001(\tH\000\210\001\001B\n\n\010_url_map\"\360\002\n\nUrlM" + + "apTest\022\034\n\013description\030\374\207\326\311\001 \001(\tH\000\210\001\001\022$\n\023" + + "expected_output_url\030\230\242\367\316\001 \001(\tH\001\210\001\001\022/\n\037ex" + + "pected_redirect_response_code\030\357\352\200\t \001(\005H\002" + + "\210\001\001\022=\n\007headers\030\206\337\235{ \003(\0132).google.cloud.c" + + "ompute.v1.UrlMapTestHeader\022\024\n\004host\030\250\353\303\001 " + + "\001(\tH\003\210\001\001\022\024\n\004path\030\245\310\321\001 \001(\tH\004\210\001\001\022\030\n\007servic" + + "e\030\265\215\217\262\001 \001(\tH\005\210\001\001B\016\n\014_descriptionB\026\n\024_exp" + + "ected_output_urlB\"\n _expected_redirect_r" + + "esponse_codeB\007\n\005_hostB\007\n\005_pathB\n\n\010_servi" + + "ce\"R\n\020UrlMapTestHeader\022\024\n\004name\030\213\365\315\001 \001(\tH" + + "\000\210\001\001\022\025\n\005value\030\361\242\2625 \001(\tH\001\210\001\001B\007\n\005_nameB\010\n\006" + + "_value\"\322\001\n\026UrlMapValidationResult\022\027\n\013loa" + + "d_errors\030\344\361\361\223\001 \003(\t\022\036\n\016load_succeeded\030\310\264\230" + + "= \001(\010H\000\210\001\001\022?\n\rtest_failures\030\266\342\237\361\001 \003(\0132$." + + "google.cloud.compute.v1.TestFailure\022\033\n\013t" + + "est_passed\030\275\201\362[ \001(\010H\001\210\001\001B\021\n\017_load_succee" + + "dedB\016\n\014_test_passed\"\265\003\n\025UrlMapsAggregate" + + "dList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022K\n\005items\030\300\317\367/ \003(" + + "\01329.google.cloud.compute.v1.UrlMapsAggre" + + "gatedList.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210" + + "\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\ts" + + "elf_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030" + + "\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cl" + + "oud.compute.v1.WarningH\004\210\001\001\032X\n\nItemsEntr" + + "y\022\013\n\003key\030\001 \001(\t\0229\n\005value\030\002 \001(\0132*.google.c" + + "loud.compute.v1.UrlMapsScopedList:\0028\001B\005\n" + + "\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_se" + + "lf_linkB\n\n\010_warning\"\220\001\n\021UrlMapsScopedLis" + + "t\0224\n\010url_maps\030\347\216\2441 \003(\0132\037.google.cloud.co" + + "mpute.v1.UrlMap\0229\n\007warning\030\234\337\226\030 \001(\0132 .go" + + "ogle.cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_w" + + "arning\"\230\002\n\026UrlMapsValidateRequest\022!\n\026loa" + + "d_balancing_schemes\030\257\205\201\003 \003(\t\0229\n\010resource" + + "\030\216\210\257] \001(\0132\037.google.cloud.compute.v1.UrlM" + + "apH\000\210\001\001\"\222\001\n\024LoadBalancingSchemes\022$\n UNDE" + + "FINED_LOAD_BALANCING_SCHEMES\020\000\022\017\n\010EXTERN" + + "AL\020\313\247\375\020\022\030\n\020EXTERNAL_MANAGED\020\213\266\222\364\001\022)\n!LOA" + + "D_BALANCING_SCHEME_UNSPECIFIED\020\274\273\207\373\001B\013\n\t" + + "_resource\"m\n\027UrlMapsValidateResponse\022G\n\006" + + "result\030\235\220\267B \001(\0132/.google.cloud.compute.v" + + "1.UrlMapValidationResultH\000\210\001\001B\t\n\007_result" + + "\"\272\001\n\nUrlRewrite\022\034\n\014host_rewrite\030\365\313\232L \001(\t" + + "H\000\210\001\001\022#\n\023path_prefix_rewrite\030\271\350\321\023 \001(\tH\001\210" + + "\001\001\022&\n\025path_template_rewrite\030\241\357\362\311\001 \001(\tH\002\210" + + "\001\001B\017\n\r_host_rewriteB\026\n\024_path_prefix_rewr" + + "iteB\030\n\026_path_template_rewrite\"\324\007\n\020Usable" + + "Subnetwork\022$\n\024external_ipv6_prefix\030\366\222\266B " + + "\001(\tH\000\210\001\001\022%\n\024internal_ipv6_prefix\030\350\242\264\361\001 \001" + + "(\tH\001\210\001\001\022\035\n\rip_cidr_range\030\312\315\344. \001(\tH\002\210\001\001\022!" + + "\n\020ipv6_access_type\030\335\365\321\360\001 \001(\tH\003\210\001\001\022\027\n\007net" + + "work\030\256\264\205o \001(\tH\004\210\001\001\022\030\n\007purpose\030\236\372\357\226\001 \001(\tH" + + "\005\210\001\001\022\024\n\004role\030\366\200\326\001 \001(\tH\006\210\001\001\022W\n\023secondary_" + + "ip_ranges\030\343\377\224A \003(\01327.google.cloud.comput" + + "e.v1.UsableSubnetworkSecondaryRange\022\033\n\ns" + + "tack_type\030\221\265\213\313\001 \001(\tH\007\210\001\001\022\033\n\nsubnetwork\030\356" + + "\247\344\222\001 \001(\tH\010\210\001\001\"S\n\016Ipv6AccessType\022\036\n\032UNDEF" + + "INED_IPV6_ACCESS_TYPE\020\000\022\017\n\010EXTERNAL\020\313\247\375\020" + + "\022\020\n\010INTERNAL\020\275\355\226\205\001\"\340\001\n\007Purpose\022\025\n\021UNDEFI" + + "NED_PURPOSE\020\000\022\033\n\024GLOBAL_MANAGED_PROXY\020\362\313" + + "\340p\022#\n\034INTERNAL_HTTPS_LOAD_BALANCER\020\331\266\316v\022" + + "\017\n\007PRIVATE\020\343\342\262\300\001\022\023\n\013PRIVATE_NAT\020\245\310\256\257\001\022\027\n" + + "\020PRIVATE_RFC_1918\020\333\376\305y\022\036\n\027PRIVATE_SERVIC" + + "E_CONNECT\020\304\364\371\026\022\035\n\026REGIONAL_MANAGED_PROXY" + + "\020\356\266\375H\":\n\004Role\022\022\n\016UNDEFINED_ROLE\020\000\022\016\n\006ACT" + + "IVE\020\206\346\211\226\001\022\016\n\006BACKUP\020\302\323\315\242\001\"I\n\tStackType\022\030" + + "\n\024UNDEFINED_STACK_TYPE\020\000\022\020\n\tIPV4_IPV6\020\201\350" + + "\312\n\022\020\n\tIPV4_ONLY\020\246\313\325\nB\027\n\025_external_ipv6_p" + + "refixB\027\n\025_internal_ipv6_prefixB\020\n\016_ip_ci" + + "dr_rangeB\023\n\021_ipv6_access_typeB\n\n\010_networ" + + "kB\n\n\010_purposeB\007\n\005_roleB\r\n\013_stack_typeB\r\n" + + "\013_subnetwork\"}\n\036UsableSubnetworkSecondar" + + "yRange\022\035\n\rip_cidr_range\030\312\315\344. \001(\tH\000\210\001\001\022\033\n" + + "\nrange_name\030\315\360\264\236\001 \001(\tH\001\210\001\001B\020\n\016_ip_cidr_r" + + "angeB\r\n\013_range_name\"\274\002\n\037UsableSubnetwork" + + "sAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022;\n\005ite" + + "ms\030\300\317\367/ \003(\0132).google.cloud.compute.v1.Us" + + "ableSubnetwork\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017" + + "next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_li" + + "nk\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 ." + + "google.cloud.compute.v1.WarningH\004\210\001\001B\005\n\003" + + "_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_sel" + + "f_linkB\n\n\010_warning\"\177\n\023UsageExportLocatio" + + "n\022\034\n\013bucket_name\030\300\227\236\207\001 \001(\tH\000\210\001\001\022#\n\022repor" + + "t_name_prefix\030\273\260\327\230\001 \001(\tH\001\210\001\001B\016\n\014_bucket_" + + "nameB\025\n\023_report_name_prefix\"\332\001\n\033Validate" + + "RegionUrlMapRequest\022\027\n\007project\030\231\226\301l \001(\tB" + + "\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\022p\n)region_u" + + "rl_maps_validate_request_resource\030\232\314\200\033 \001" + + "(\01325.google.cloud.compute.v1.RegionUrlMa" + + "psValidateRequestB\003\340A\002\022\030\n\007url_map\030\214\225\201\257\001 " + + "\001(\tB\003\340A\002\"\260\001\n\025ValidateUrlMapRequest\022\027\n\007pr" + + "oject\030\231\226\301l \001(\tB\003\340A\002\022\030\n\007url_map\030\214\225\201\257\001 \001(\t" + + "B\003\340A\002\022d\n\"url_maps_validate_request_resou" + + "rce\030\357\321\344\274\001 \001(\0132/.google.cloud.compute.v1." + + "UrlMapsValidateRequestB\003\340A\002\"\257\001\n\025VmEndpoi" + + "ntNatMappings\022\035\n\rinstance_name\030\365\347\330l \001(\tH" + + "\000\210\001\001\022e\n\026interface_nat_mappings\030\211\200\225z \003(\0132" + + "B.google.cloud.compute.v1.VmEndpointNatM" + + "appingsInterfaceNatMappingsB\020\n\016_instance" + + "_name\"\342\003\n)VmEndpointNatMappingsInterface" + + "NatMappings\022$\n\030drain_nat_ip_port_ranges\030" + + "\301\343\307\274\001 \003(\t\022\036\n\022nat_ip_port_ranges\030\232\260\314\375\001 \003(" + + "\t\022*\n\031num_total_drain_nat_ports\030\371\245\377\237\001 \001(\005" + + "H\000\210\001\001\022$\n\023num_total_nat_ports\030\200\333\200\217\001 \001(\005H\001" + + "\210\001\001\022l\n\rrule_mappings\030\310\356\352\347\001 \003(\0132Q.google." + + "cloud.compute.v1.VmEndpointNatMappingsIn" + + "terfaceNatMappingsNatRuleMappings\022&\n\025sou" + + "rce_alias_ip_range\030\330\243\374\321\001 \001(\tH\002\210\001\001\022!\n\021sou" + + "rce_virtual_ip\030\377\242\271G \001(\tH\003\210\001\001B\034\n\032_num_tot" + + "al_drain_nat_portsB\026\n\024_num_total_nat_por" + + "tsB\030\n\026_source_alias_ip_rangeB\024\n\022_source_" + + "virtual_ip\"\266\002\n8VmEndpointNatMappingsInte" + + "rfaceNatMappingsNatRuleMappings\022$\n\030drain" + + "_nat_ip_port_ranges\030\301\343\307\274\001 \003(\t\022\036\n\022nat_ip_" + + "port_ranges\030\232\260\314\375\001 \003(\t\022*\n\031num_total_drain" + + "_nat_ports\030\371\245\377\237\001 \001(\005H\000\210\001\001\022$\n\023num_total_n" + + "at_ports\030\200\333\200\217\001 \001(\005H\001\210\001\001\022\034\n\013rule_number\030\354" + + "\333\232\377\001 \001(\005H\002\210\001\001B\034\n\032_num_total_drain_nat_po" + + "rtsB\026\n\024_num_total_nat_portsB\016\n\014_rule_num" + + "ber\"\274\002\n\031VmEndpointNatMappingsList\022\020\n\002id\030" + + "\233\032 \001(\tH\000\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017nex" + + "t_page_token\030\225\272\206& \001(\tH\002\210\001\001\022A\n\006result\030\235\220\267" + + "B \003(\0132..google.cloud.compute.v1.VmEndpoi" + + "ntNatMappings\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001" + + "\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.com" + + "pute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020" + + "_next_page_tokenB\014\n\n_self_linkB\n\n\010_warni" + + "ng\"\300\006\n\nVpnGateway\022\"\n\022creation_timestamp\030" + + "\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001" + + "\210\001\001\022\"\n\022gateway_ip_version\030\233\355\203\037 \001(\tH\002\210\001\001\022" + + "\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022" + + "!\n\021label_fingerprint\030\231\360\367T \001(\tH\005\210\001\001\022C\n\006la" + + "bels\030\377\277\301\356\001 \003(\0132/.google.cloud.compute.v1" + + ".VpnGateway.LabelsEntry\022\024\n\004name\030\213\365\315\001 \001(\t" + + "H\006\210\001\001\022\027\n\007network\030\256\264\205o \001(\tH\007\210\001\001\022\026\n\006region" + + "\030\364\315\240B \001(\tH\010\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\t\210" + + "\001\001\022\033\n\nstack_type\030\221\265\213\313\001 \001(\tH\n\210\001\001\022Q\n\016vpn_i" + + "nterfaces\030\205\315\345+ \003(\01326.google.cloud.comput" + + "e.v1.VpnGatewayVpnGatewayInterface\032-\n\013La" + + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + + "\001\"N\n\020GatewayIpVersion\022 \n\034UNDEFINED_GATEW" + + "AY_IP_VERSION\020\000\022\013\n\004IPV4\020\205\314\211\001\022\013\n\004IPV6\020\207\314\211" + + "\001\"I\n\tStackType\022\030\n\024UNDEFINED_STACK_TYPE\020\000" + + "\022\020\n\tIPV4_IPV6\020\201\350\312\n\022\020\n\tIPV4_ONLY\020\246\313\325\nB\025\n\023" + + "_creation_timestampB\016\n\014_descriptionB\025\n\023_" + + "gateway_ip_versionB\005\n\003_idB\007\n\005_kindB\024\n\022_l" + + "abel_fingerprintB\007\n\005_nameB\n\n\010_networkB\t\n" + + "\007_regionB\014\n\n_self_linkB\r\n\013_stack_type\"\277\003" + + "\n\030VpnGatewayAggregatedList\022\020\n\002id\030\233\032 \001(\tH" + + "\000\210\001\001\022N\n\005items\030\300\317\367/ \003(\0132<.google.cloud.co" + + "mpute.v1.VpnGatewayAggregatedList.ItemsE" + + "ntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_" + + "token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001" + + "(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warn" + + "ing\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.W" + + "arningH\004\210\001\001\032\\\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022=" + + "\n\005value\030\002 \001(\0132..google.cloud.compute.v1." + + "VpnGatewaysScopedList:\0028\001B\005\n\003_idB\007\n\005_kin" + "dB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_" - + "warning\"\177\n\023UsageExportLocation\022\034\n\013bucket" - + "_name\030\300\227\236\207\001 \001(\tH\000\210\001\001\022#\n\022report_name_pref" - + "ix\030\273\260\327\230\001 \001(\tH\001\210\001\001B\016\n\014_bucket_nameB\025\n\023_re" - + "port_name_prefix\"\332\001\n\033ValidateRegionUrlMa" - + "pRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006reg" - + "ion\030\364\315\240B \001(\tB\003\340A\002\022p\n)region_url_maps_val" - + "idate_request_resource\030\232\314\200\033 \001(\01325.google" - + ".cloud.compute.v1.RegionUrlMapsValidateR" - + "equestB\003\340A\002\022\030\n\007url_map\030\214\225\201\257\001 \001(\tB\003\340A\002\"\260\001" - + "\n\025ValidateUrlMapRequest\022\027\n\007project\030\231\226\301l " - + "\001(\tB\003\340A\002\022\030\n\007url_map\030\214\225\201\257\001 \001(\tB\003\340A\002\022d\n\"ur" - + "l_maps_validate_request_resource\030\357\321\344\274\001 \001" - + "(\0132/.google.cloud.compute.v1.UrlMapsVali" - + "dateRequestB\003\340A\002\"\257\001\n\025VmEndpointNatMappin" - + "gs\022\035\n\rinstance_name\030\365\347\330l \001(\tH\000\210\001\001\022e\n\026int" - + "erface_nat_mappings\030\211\200\225z \003(\0132B.google.cl" - + "oud.compute.v1.VmEndpointNatMappingsInte" - + "rfaceNatMappingsB\020\n\016_instance_name\"\342\003\n)V" - + "mEndpointNatMappingsInterfaceNatMappings" - + "\022$\n\030drain_nat_ip_port_ranges\030\301\343\307\274\001 \003(\t\022\036" - + "\n\022nat_ip_port_ranges\030\232\260\314\375\001 \003(\t\022*\n\031num_to" - + "tal_drain_nat_ports\030\371\245\377\237\001 \001(\005H\000\210\001\001\022$\n\023nu" - + "m_total_nat_ports\030\200\333\200\217\001 \001(\005H\001\210\001\001\022l\n\rrule" - + "_mappings\030\310\356\352\347\001 \003(\0132Q.google.cloud.compu" - + "te.v1.VmEndpointNatMappingsInterfaceNatM" - + "appingsNatRuleMappings\022&\n\025source_alias_i" - + "p_range\030\330\243\374\321\001 \001(\tH\002\210\001\001\022!\n\021source_virtual" - + "_ip\030\377\242\271G \001(\tH\003\210\001\001B\034\n\032_num_total_drain_na" - + "t_portsB\026\n\024_num_total_nat_portsB\030\n\026_sour" - + "ce_alias_ip_rangeB\024\n\022_source_virtual_ip\"" - + "\266\002\n8VmEndpointNatMappingsInterfaceNatMap" - + "pingsNatRuleMappings\022$\n\030drain_nat_ip_por" - + "t_ranges\030\301\343\307\274\001 \003(\t\022\036\n\022nat_ip_port_ranges" - + "\030\232\260\314\375\001 \003(\t\022*\n\031num_total_drain_nat_ports\030" - + "\371\245\377\237\001 \001(\005H\000\210\001\001\022$\n\023num_total_nat_ports\030\200\333" - + "\200\217\001 \001(\005H\001\210\001\001\022\034\n\013rule_number\030\354\333\232\377\001 \001(\005H\002\210" - + "\001\001B\034\n\032_num_total_drain_nat_portsB\026\n\024_num" - + "_total_nat_portsB\016\n\014_rule_number\"\274\002\n\031VmE" - + "ndpointNatMappingsList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001" + + "warning\"\245\002\n\016VpnGatewayList\022\020\n\002id\030\233\032 \001(\tH" + + "\000\210\001\001\0225\n\005items\030\300\317\367/ \003(\0132#.google.cloud.co" + + "mpute.v1.VpnGateway\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001" + + "\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tse" + + "lf_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001" + + "(\0132 .google.cloud.compute.v1.WarningH\004\210\001" + + "\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n" + + "\n_self_linkB\n\n\010_warning\"g\n\020VpnGatewaySta" + + "tus\022S\n\017vpn_connections\030\212\355\276\321\001 \003(\01326.googl" + + "e.cloud.compute.v1.VpnGatewayStatusVpnCo" + + "nnection\"\321\002\n0VpnGatewayStatusHighAvailab" + + "ilityRequirementState\022\025\n\005state\030\221\211\2534 \001(\tH" + + "\000\210\001\001\022\"\n\022unsatisfied_reason\030\212\367\235\032 \001(\tH\001\210\001\001" + + "\"f\n\005State\022\023\n\017UNDEFINED_STATE\020\000\022!\n\031CONNEC" + + "TION_REDUNDANCY_MET\020\233\312\365\360\001\022%\n\035CONNECTION_" + + "REDUNDANCY_NOT_MET\020\217\324\211\364\001\"Y\n\021UnsatisfiedR" + + "eason\022 \n\034UNDEFINED_UNSATISFIED_REASON\020\000\022" + + "\"\n\033INCOMPLETE_TUNNELS_COVERAGE\020\375\366\324\032B\010\n\006_" + + "stateB\025\n\023_unsatisfied_reason\"\313\001\n\026VpnGate" + + "wayStatusTunnel\022\'\n\027local_gateway_interfa" + + "ce\030\252\232\332K \001(\rH\000\210\001\001\022&\n\026peer_gateway_interfa" + + "ce\030\341\336\234f \001(\rH\001\210\001\001\022\032\n\ntunnel_url\030\230\242\324% \001(\tH" + + "\002\210\001\001B\032\n\030_local_gateway_interfaceB\031\n\027_pee" + + "r_gateway_interfaceB\r\n\013_tunnel_url\"\312\002\n\035V" + + "pnGatewayStatusVpnConnection\022&\n\025peer_ext" + + "ernal_gateway\030\215\356\307\267\001 \001(\tH\000\210\001\001\022!\n\020peer_gcp" + + "_gateway\030\274\351\263\206\001 \001(\tH\001\210\001\001\022`\n\005state\030\221\211\2534 \001(" + + "\0132I.google.cloud.compute.v1.VpnGatewaySt" + + "atusHighAvailabilityRequirementStateH\002\210\001" + + "\001\022C\n\007tunnels\030\213\372\3551 \003(\0132/.google.cloud.com" + + "pute.v1.VpnGatewayStatusTunnelB\030\n\026_peer_" + + "external_gatewayB\023\n\021_peer_gcp_gatewayB\010\n" + + "\006_state\"\332\001\n\035VpnGatewayVpnGatewayInterfac" + + "e\022\020\n\002id\030\233\032 \001(\rH\000\210\001\001\022(\n\027interconnect_atta" + + "chment\030\364\212\367\222\001 \001(\tH\001\210\001\001\022\033\n\nip_address\030\334\361\334\301" + + "\001 \001(\tH\002\210\001\001\022\035\n\014ipv6_address\030\234\263\357\242\001 \001(\tH\003\210\001" + + "\001B\005\n\003_idB\032\n\030_interconnect_attachmentB\r\n\013" + + "_ip_addressB\017\n\r_ipv6_address\"l\n\034VpnGatew" + + "aysGetStatusResponse\022A\n\006result\030\235\220\267B \001(\0132" + + ").google.cloud.compute.v1.VpnGatewayStat" + + "usH\000\210\001\001B\t\n\007_result\"\234\001\n\025VpnGatewaysScoped" + + "List\022<\n\014vpn_gateways\030\232\373\312{ \003(\0132#.google.c" + + "loud.compute.v1.VpnGateway\0229\n\007warning\030\234\337" + + "\226\030 \001(\0132 .google.cloud.compute.v1.Warning" + + "H\000\210\001\001B\n\n\010_warning\"\233\014\n\tVpnTunnel\022\"\n\022creat" + + "ion_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013descripti" + + "on\030\374\207\326\311\001 \001(\tH\001\210\001\001\022 \n\017detailed_status\030\341\244\203" + + "\237\001 \001(\tH\002\210\001\001\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022\033\n\013ike_ver" + + "sion\030\234\320\220h \001(\005H\004\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\005\210\001\001" + + "\022!\n\021label_fingerprint\030\231\360\367T \001(\tH\006\210\001\001\022B\n\006l" + + "abels\030\377\277\301\356\001 \003(\0132..google.cloud.compute.v" + + "1.VpnTunnel.LabelsEntry\022\"\n\026local_traffic" + + "_selector\030\265\254\247\227\001 \003(\t\022\024\n\004name\030\213\365\315\001 \001(\tH\007\210\001" + + "\001\022&\n\025peer_external_gateway\030\215\356\307\267\001 \001(\tH\010\210\001" + + "\001\0220\n\037peer_external_gateway_interface\030\207\345\362" + + "\327\001 \001(\005H\t\210\001\001\022!\n\020peer_gcp_gateway\030\274\351\263\206\001 \001(" + + "\tH\n\210\001\001\022\030\n\007peer_ip\030\244\332\337\266\001 \001(\tH\013\210\001\001\022\026\n\006regi" + + "on\030\364\315\240B \001(\tH\014\210\001\001\022#\n\027remote_traffic_selec" + + "tor\030\272\335\220\253\001 \003(\t\022\026\n\006router\030\311\256\356F \001(\tH\r\210\001\001\022\032\n" + + "\tself_link\030\215\222\305\331\001 \001(\tH\016\210\001\001\022\036\n\rshared_secr" + + "et\030\312\247\217\266\001 \001(\tH\017\210\001\001\022#\n\022shared_secret_hash\030" + + "\343\350\231\276\001 \001(\tH\020\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\021\210\001\001\022#" + + "\n\022target_vpn_gateway\030\313\200\366\375\001 \001(\tH\022\210\001\001\022\034\n\013v" + + "pn_gateway\030\371\203\366\301\001 \001(\tH\023\210\001\001\022%\n\025vpn_gateway" + + "_interface\030\363\214\342- \001(\005H\024\210\001\001\032-\n\013LabelsEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\323\002\n\006Stat" + + "us\022\024\n\020UNDEFINED_STATUS\020\000\022\034\n\024ALLOCATING_R" + + "ESOURCES\020\300\311\203\231\001\022\032\n\023AUTHORIZATION_ERROR\020\202\235" + + "\237\013\022\026\n\016DEPROVISIONING\020\356\223\304\314\001\022\022\n\013ESTABLISHE" + + "D\020\370\216\257*\022\016\n\006FAILED\020\275\220\246\331\001\022\026\n\017FIRST_HANDSHAK" + + "E\020\350\331\241[\022\033\n\023NEGOTIATION_FAILURE\020\354\305\350\253\001\022\024\n\rN" + + "ETWORK_ERROR\020\367\300\273\\\022\032\n\023NO_INCOMING_PACKETS" + + "\020\360\230\2339\022\024\n\014PROVISIONING\020\355\365\332\212\001\022\017\n\010REJECTED\020" + + "\376\210\204S\022\017\n\007STOPPED\020\255\273\354\323\001\022\036\n\027WAITING_FOR_FUL" + + "L_CONFIG\020\312\304\355\023B\025\n\023_creation_timestampB\016\n\014" + + "_descriptionB\022\n\020_detailed_statusB\005\n\003_idB" + + "\016\n\014_ike_versionB\007\n\005_kindB\024\n\022_label_finge" + + "rprintB\007\n\005_nameB\030\n\026_peer_external_gatewa" + + "yB\"\n _peer_external_gateway_interfaceB\023\n" + + "\021_peer_gcp_gatewayB\n\n\010_peer_ipB\t\n\007_regio" + + "nB\t\n\007_routerB\014\n\n_self_linkB\020\n\016_shared_se" + + "cretB\025\n\023_shared_secret_hashB\t\n\007_statusB\025" + + "\n\023_target_vpn_gatewayB\016\n\014_vpn_gatewayB\030\n" + + "\026_vpn_gateway_interface\"\274\003\n\027VpnTunnelAgg" + + "regatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022M\n\005items\030\300" + + "\317\367/ \003(\0132;.google.cloud.compute.v1.VpnTun" + + "nelAggregatedList.ItemsEntry\022\024\n\004kind\030\224\367\310" + + "\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002" + + "\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unrea" + + "chables\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .g" + + "oogle.cloud.compute.v1.WarningH\004\210\001\001\032[\n\nI" + + "temsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-." + + "google.cloud.compute.v1.VpnTunnelsScoped" + + "List:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_t" + + "okenB\014\n\n_self_linkB\n\n\010_warning\"\243\002\n\rVpnTu" + + "nnelList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0224\n\005items\030\300\317\367/" + + " \003(\0132\".google.cloud.compute.v1.VpnTunnel" + "\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_toke" - + "n\030\225\272\206& \001(\tH\002\210\001\001\022A\n\006result\030\235\220\267B \003(\0132..goo" - + "gle.cloud.compute.v1.VmEndpointNatMappin" - + "gs\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warnin" + + "n\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003" + + "\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.c" + + "ompute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022" + + "\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_war" + + "ning\"\231\001\n\024VpnTunnelsScopedList\022:\n\013vpn_tun" + + "nels\030\300\361\372M \003(\0132\".google.cloud.compute.v1." + + "VpnTunnel\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.c" + + "loud.compute.v1.WarningH\000\210\001\001B\n\n\010_warning" + + "\"\214\001\n\020WafExpressionSet\022\022\n\007aliases\030\376\235\365K \003(" + + "\t\022K\n\013expressions\030\333\201\333S \003(\01323.google.cloud" + + ".compute.v1.WafExpressionSetExpression\022\020" + + "\n\002id\030\233\032 \001(\tH\000\210\001\001B\005\n\003_id\"b\n\032WafExpression" + + "SetExpression\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022\033\n\013sensi" + + "tivity\030\237\275\220\r \001(\005H\001\210\001\001B\005\n\003_idB\016\n\014_sensitiv" + + "ity\"P\n\032WaitGlobalOperationRequest\022\031\n\tope" + + "ration\030\347\252\353\030 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\t" + + "B\003\340A\002\"h\n\032WaitRegionOperationRequest\022\031\n\to" + + "peration\030\347\252\353\030 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001" + + "(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"d\n\030WaitZ" + + "oneOperationRequest\022\031\n\toperation\030\347\252\353\030 \001(" + + "\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030" + + "\254\307\344\001 \001(\tB\003\340A\002\"\335\010\n\007Warning\022\024\n\004code\030\355\333\272\001 \001" + + "(\tH\000\210\001\001\022.\n\004data\030\252\337\273\001 \003(\0132\035.google.cloud." + + "compute.v1.Data\022\030\n\007message\030\207\200\254\307\001 \001(\tH\001\210\001" + + "\001\"\334\007\n\004Code\022\022\n\016UNDEFINED_CODE\020\000\022\025\n\016CLEANU" + + "P_FAILED\020\330\214\326G\022 \n\030DEPRECATED_RESOURCE_USE" + + "D\020\302\337\353\272\001\022\034\n\024DEPRECATED_TYPE_USED\020\226\244\236\245\001\022(\n" + + " DISK_SIZE_LARGER_THAN_IMAGE_SIZE\020\227\201\225\260\001\022" + + "\036\n\026EXPERIMENTAL_TYPE_USED\020\213\216\301\327\001\022\033\n\024EXTER" + + "NAL_API_WARNING\020\303\277\332S\022\035\n\025FIELD_VALUE_OVER" + + "RIDEN\020\257\266\231\235\001\022#\n\033INJECTED_KERNELS_DEPRECAT" + + "ED\020\213\331\202\307\001\0224\n,INVALID_HEALTH_CHECK_FOR_DYN" + + "AMIC_WIEGHTED_LB\020\316\233\274\277\001\022 \n\030LARGE_DEPLOYME" + + "NT_WARNING\020\246\347\310\345\001\022!\n\032LIST_OVERHEAD_QUOTA_" + + "EXCEED\020\305\260\332\026\022\037\n\027MISSING_TYPE_DEPENDENCY\020\367" + + "\370\242\244\001\022%\n\035NEXT_HOP_ADDRESS_NOT_ASSIGNED\020\207\245" + + "\372\232\001\022\"\n\032NEXT_HOP_CANNOT_IP_FORWARD\020\347\352\347\266\001\022" + + ".\n\'NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFA" + + "CE\020\222\350\374E\022#\n\033NEXT_HOP_INSTANCE_NOT_FOUND\020\316" + + "\314\257\335\001\022\'\n NEXT_HOP_INSTANCE_NOT_ON_NETWORK" + + "\020\302\350\235t\022\034\n\024NEXT_HOP_NOT_RUNNING\020\261\317\360\306\001\022\031\n\022N" + + "OT_CRITICAL_ERROR\020\324\250\2672\022\031\n\022NO_RESULTS_ON_" + + "PAGE\020\210\246\251\016\022\026\n\017PARTIAL_SUCCESS\020\205\256\207\023\022\035\n\026REQ" + + "UIRED_TOS_AGREEMENT\020\203\316\344\001\0221\n)RESOURCE_IN_" + + "USE_BY_OTHER_RESOURCE_WARNING\020\301\364\355\354\001\022\033\n\024R" + + "ESOURCE_NOT_DELETED\020\274\267\262P\022!\n\031SCHEMA_VALID" + + "ATION_IGNORED\020\312\324\237\203\001\022(\n!SINGLE_INSTANCE_P" + + "ROPERTY_TEMPLATE\020\321\211\370\177\022\035\n\025UNDECLARED_PROP" + + "ERTIES\020\237\206\233\272\001\022\022\n\013UNREACHABLE\020\264\275\255\006B\007\n\005_cod" + + "eB\n\n\010_message\"\336\010\n\010Warnings\022\024\n\004code\030\355\333\272\001 " + + "\001(\tH\000\210\001\001\022.\n\004data\030\252\337\273\001 \003(\0132\035.google.cloud" + + ".compute.v1.Data\022\030\n\007message\030\207\200\254\307\001 \001(\tH\001\210" + + "\001\001\"\334\007\n\004Code\022\022\n\016UNDEFINED_CODE\020\000\022\025\n\016CLEAN" + + "UP_FAILED\020\330\214\326G\022 \n\030DEPRECATED_RESOURCE_US" + + "ED\020\302\337\353\272\001\022\034\n\024DEPRECATED_TYPE_USED\020\226\244\236\245\001\022(" + + "\n DISK_SIZE_LARGER_THAN_IMAGE_SIZE\020\227\201\225\260\001" + + "\022\036\n\026EXPERIMENTAL_TYPE_USED\020\213\216\301\327\001\022\033\n\024EXTE" + + "RNAL_API_WARNING\020\303\277\332S\022\035\n\025FIELD_VALUE_OVE" + + "RRIDEN\020\257\266\231\235\001\022#\n\033INJECTED_KERNELS_DEPRECA" + + "TED\020\213\331\202\307\001\0224\n,INVALID_HEALTH_CHECK_FOR_DY" + + "NAMIC_WIEGHTED_LB\020\316\233\274\277\001\022 \n\030LARGE_DEPLOYM" + + "ENT_WARNING\020\246\347\310\345\001\022!\n\032LIST_OVERHEAD_QUOTA" + + "_EXCEED\020\305\260\332\026\022\037\n\027MISSING_TYPE_DEPENDENCY\020" + + "\367\370\242\244\001\022%\n\035NEXT_HOP_ADDRESS_NOT_ASSIGNED\020\207" + + "\245\372\232\001\022\"\n\032NEXT_HOP_CANNOT_IP_FORWARD\020\347\352\347\266\001" + + "\022.\n\'NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERF" + + "ACE\020\222\350\374E\022#\n\033NEXT_HOP_INSTANCE_NOT_FOUND\020" + + "\316\314\257\335\001\022\'\n NEXT_HOP_INSTANCE_NOT_ON_NETWOR" + + "K\020\302\350\235t\022\034\n\024NEXT_HOP_NOT_RUNNING\020\261\317\360\306\001\022\031\n\022" + + "NOT_CRITICAL_ERROR\020\324\250\2672\022\031\n\022NO_RESULTS_ON" + + "_PAGE\020\210\246\251\016\022\026\n\017PARTIAL_SUCCESS\020\205\256\207\023\022\035\n\026RE" + + "QUIRED_TOS_AGREEMENT\020\203\316\344\001\0221\n)RESOURCE_IN", + "_USE_BY_OTHER_RESOURCE_WARNING\020\301\364\355\354\001\022\033\n\024" + + "RESOURCE_NOT_DELETED\020\274\267\262P\022!\n\031SCHEMA_VALI" + + "DATION_IGNORED\020\312\324\237\203\001\022(\n!SINGLE_INSTANCE_" + + "PROPERTY_TEMPLATE\020\321\211\370\177\022\035\n\025UNDECLARED_PRO" + + "PERTIES\020\237\206\233\272\001\022\022\n\013UNREACHABLE\020\264\275\255\006B\007\n\005_co" + + "deB\n\n\010_message\"\317\001\n\026WeightedBackendServic" + + "e\022 \n\017backend_service\030\212\300\256\222\001 \001(\tH\000\210\001\001\022I\n\rh" + + "eader_action\030\250\240\270\234\001 \001(\0132).google.cloud.co" + + "mpute.v1.HttpHeaderActionH\001\210\001\001\022\027\n\006weight" + + "\030\370\204\305\206\001 \001(\rH\002\210\001\001B\022\n\020_backend_serviceB\020\n\016_" + + "header_actionB\t\n\007_weight\"\240\001\n&WithdrawPub" + + "licAdvertisedPrefixeRequest\022!\n\007project\030\231" + + "\226\301l \001(\tB\r\340A\002\362G\007project\022(\n\030public_adverti" + + "sed_prefix\030\236\367\3110 \001(\tB\003\340A\002\022\032\n\nrequest_id\030\313" + + "\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\277\001\n%Withdraw" + + "PublicDelegatedPrefixeRequest\022!\n\007project" + + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\'\n\027public_deleg" + + "ated_prefix\030\350\334\261a \001(\tB\003\340A\002\022\037\n\006region\030\364\315\240B" + + " \001(\tB\014\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(" + + "\tH\000\210\001\001B\r\n\013_request_id\"\237\002\n\013XpnHostList\022\020\n" + + "\002id\030\233\032 \001(\tH\000\210\001\001\0222\n\005items\030\300\317\367/ \003(\0132 .goog" + + "le.cloud.compute.v1.Project\022\024\n\004kind\030\224\367\310\001" + + " \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210" + + "\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warnin" + "g\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.War" + "ningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_" - + "tokenB\014\n\n_self_linkB\n\n\010_warning\"\300\006\n\nVpnG" - + "ateway\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210" - + "\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\"\n\022gate" - + "way_ip_version\030\233\355\203\037 \001(\tH\002\210\001\001\022\020\n\002id\030\233\032 \001(" - + "\004H\003\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\004\210\001\001\022!\n\021label_fi" - + "ngerprint\030\231\360\367T \001(\tH\005\210\001\001\022C\n\006labels\030\377\277\301\356\001 " - + "\003(\0132/.google.cloud.compute.v1.VpnGateway" - + ".LabelsEntry\022\024\n\004name\030\213\365\315\001 \001(\tH\006\210\001\001\022\027\n\007ne" - + "twork\030\256\264\205o \001(\tH\007\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\010" - + "\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\t\210\001\001\022\033\n\nstack" - + "_type\030\221\265\213\313\001 \001(\tH\n\210\001\001\022Q\n\016vpn_interfaces\030\205" - + "\315\345+ \003(\01326.google.cloud.compute.v1.VpnGat" - + "ewayVpnGatewayInterface\032-\n\013LabelsEntry\022\013" - + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"N\n\020Gatewa" - + "yIpVersion\022 \n\034UNDEFINED_GATEWAY_IP_VERSI" - + "ON\020\000\022\013\n\004IPV4\020\205\314\211\001\022\013\n\004IPV6\020\207\314\211\001\"I\n\tStackT" - + "ype\022\030\n\024UNDEFINED_STACK_TYPE\020\000\022\020\n\tIPV4_IP" - + "V6\020\201\350\312\n\022\020\n\tIPV4_ONLY\020\246\313\325\nB\025\n\023_creation_t" - + "imestampB\016\n\014_descriptionB\025\n\023_gateway_ip_" - + "versionB\005\n\003_idB\007\n\005_kindB\024\n\022_label_finger" - + "printB\007\n\005_nameB\n\n\010_networkB\t\n\007_regionB\014\n" - + "\n_self_linkB\r\n\013_stack_type\"\277\003\n\030VpnGatewa" - + "yAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022N\n\005ite" - + "ms\030\300\317\367/ \003(\0132<.google.cloud.compute.v1.Vp" - + "nGatewayAggregatedList.ItemsEntry\022\024\n\004kin" - + "d\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& " - + "\001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014" - + "unreachables\030\237\240\206t \003(\t\0229\n\007warning\030\234\337\226\030 \001(" - + "\0132 .google.cloud.compute.v1.WarningH\004\210\001\001" - + "\032\\\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022=\n\005value\030\002 \001" - + "(\0132..google.cloud.compute.v1.VpnGateways" - + "ScopedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_" - + "page_tokenB\014\n\n_self_linkB\n\n\010_warning\"\245\002\n" - + "\016VpnGatewayList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0225\n\005ite" - + "ms\030\300\317\367/ \003(\0132#.google.cloud.compute.v1.Vp" - + "nGateway\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_p" - + "age_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305" - + "\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132 .google" - + ".cloud.compute.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n" - + "\005_kindB\022\n\020_next_page_tokenB\014\n\n_self_link" - + "B\n\n\010_warning\"g\n\020VpnGatewayStatus\022S\n\017vpn_" - + "connections\030\212\355\276\321\001 \003(\01326.google.cloud.com" - + "pute.v1.VpnGatewayStatusVpnConnection\"\321\002" - + "\n0VpnGatewayStatusHighAvailabilityRequir" - + "ementState\022\025\n\005state\030\221\211\2534 \001(\tH\000\210\001\001\022\"\n\022uns" - + "atisfied_reason\030\212\367\235\032 \001(\tH\001\210\001\001\"f\n\005State\022\023" - + "\n\017UNDEFINED_STATE\020\000\022!\n\031CONNECTION_REDUND" - + "ANCY_MET\020\233\312\365\360\001\022%\n\035CONNECTION_REDUNDANCY_" - + "NOT_MET\020\217\324\211\364\001\"Y\n\021UnsatisfiedReason\022 \n\034UN" - + "DEFINED_UNSATISFIED_REASON\020\000\022\"\n\033INCOMPLE" - + "TE_TUNNELS_COVERAGE\020\375\366\324\032B\010\n\006_stateB\025\n\023_u" - + "nsatisfied_reason\"\313\001\n\026VpnGatewayStatusTu" - + "nnel\022\'\n\027local_gateway_interface\030\252\232\332K \001(\r" - + "H\000\210\001\001\022&\n\026peer_gateway_interface\030\341\336\234f \001(\r" - + "H\001\210\001\001\022\032\n\ntunnel_url\030\230\242\324% \001(\tH\002\210\001\001B\032\n\030_lo" - + "cal_gateway_interfaceB\031\n\027_peer_gateway_i" - + "nterfaceB\r\n\013_tunnel_url\"\312\002\n\035VpnGatewaySt" - + "atusVpnConnection\022&\n\025peer_external_gatew" - + "ay\030\215\356\307\267\001 \001(\tH\000\210\001\001\022!\n\020peer_gcp_gateway\030\274\351" - + "\263\206\001 \001(\tH\001\210\001\001\022`\n\005state\030\221\211\2534 \001(\0132I.google." - + "cloud.compute.v1.VpnGatewayStatusHighAva" - + "ilabilityRequirementStateH\002\210\001\001\022C\n\007tunnel" - + "s\030\213\372\3551 \003(\0132/.google.cloud.compute.v1.Vpn" - + "GatewayStatusTunnelB\030\n\026_peer_external_ga" - + "tewayB\023\n\021_peer_gcp_gatewayB\010\n\006_state\"\332\001\n" - + "\035VpnGatewayVpnGatewayInterface\022\020\n\002id\030\233\032 " - + "\001(\rH\000\210\001\001\022(\n\027interconnect_attachment\030\364\212\367\222" - + "\001 \001(\tH\001\210\001\001\022\033\n\nip_address\030\334\361\334\301\001 \001(\tH\002\210\001\001\022" - + "\035\n\014ipv6_address\030\234\263\357\242\001 \001(\tH\003\210\001\001B\005\n\003_idB\032\n" - + "\030_interconnect_attachmentB\r\n\013_ip_address" - + "B\017\n\r_ipv6_address\"l\n\034VpnGatewaysGetStatu" - + "sResponse\022A\n\006result\030\235\220\267B \001(\0132).google.cl" - + "oud.compute.v1.VpnGatewayStatusH\000\210\001\001B\t\n\007" - + "_result\"\234\001\n\025VpnGatewaysScopedList\022<\n\014vpn" - + "_gateways\030\232\373\312{ \003(\0132#.google.cloud.comput" - + "e.v1.VpnGateway\0229\n\007warning\030\234\337\226\030 \001(\0132 .go" - + "ogle.cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_w" - + "arning\"\233\014\n\tVpnTunnel\022\"\n\022creation_timesta" - + "mp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(" - + "\tH\001\210\001\001\022 \n\017detailed_status\030\341\244\203\237\001 \001(\tH\002\210\001\001" - + "\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022\033\n\013ike_version\030\234\320\220h \001" - + "(\005H\004\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022!\n\021label_f" - + "ingerprint\030\231\360\367T \001(\tH\006\210\001\001\022B\n\006labels\030\377\277\301\356\001" - + " \003(\0132..google.cloud.compute.v1.VpnTunnel" - + ".LabelsEntry\022\"\n\026local_traffic_selector\030\265" - + "\254\247\227\001 \003(\t\022\024\n\004name\030\213\365\315\001 \001(\tH\007\210\001\001\022&\n\025peer_e" - + "xternal_gateway\030\215\356\307\267\001 \001(\tH\010\210\001\001\0220\n\037peer_e" - + "xternal_gateway_interface\030\207\345\362\327\001 \001(\005H\t\210\001\001" - + "\022!\n\020peer_gcp_gateway\030\274\351\263\206\001 \001(\tH\n\210\001\001\022\030\n\007p" - + "eer_ip\030\244\332\337\266\001 \001(\tH\013\210\001\001\022\026\n\006region\030\364\315\240B \001(\t" - + "H\014\210\001\001\022#\n\027remote_traffic_selector\030\272\335\220\253\001 \003" - + "(\t\022\026\n\006router\030\311\256\356F \001(\tH\r\210\001\001\022\032\n\tself_link\030" - + "\215\222\305\331\001 \001(\tH\016\210\001\001\022\036\n\rshared_secret\030\312\247\217\266\001 \001(" - + "\tH\017\210\001\001\022#\n\022shared_secret_hash\030\343\350\231\276\001 \001(\tH\020" - + "\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\021\210\001\001\022#\n\022target_vp" - + "n_gateway\030\313\200\366\375\001 \001(\tH\022\210\001\001\022\034\n\013vpn_gateway\030" - + "\371\203\366\301\001 \001(\tH\023\210\001\001\022%\n\025vpn_gateway_interface\030" - + "\363\214\342- \001(\005H\024\210\001\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(" - + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\323\002\n\006Status\022\024\n\020UNDEF" - + "INED_STATUS\020\000\022\034\n\024ALLOCATING_RESOURCES\020\300\311" - + "\203\231\001\022\032\n\023AUTHORIZATION_ERROR\020\202\235\237\013\022\026\n\016DEPRO" - + "VISIONING\020\356\223\304\314\001\022\022\n\013ESTABLISHED\020\370\216\257*\022\016\n\006F" - + "AILED\020\275\220\246\331\001\022\026\n\017FIRST_HANDSHAKE\020\350\331\241[\022\033\n\023N" - + "EGOTIATION_FAILURE\020\354\305\350\253\001\022\024\n\rNETWORK_ERRO" - + "R\020\367\300\273\\\022\032\n\023NO_INCOMING_PACKETS\020\360\230\2339\022\024\n\014PR" - + "OVISIONING\020\355\365\332\212\001\022\017\n\010REJECTED\020\376\210\204S\022\017\n\007STO" - + "PPED\020\255\273\354\323\001\022\036\n\027WAITING_FOR_FULL_CONFIG\020\312\304" - + "\355\023B\025\n\023_creation_timestampB\016\n\014_descriptio" - + "nB\022\n\020_detailed_statusB\005\n\003_idB\016\n\014_ike_ver" - + "sionB\007\n\005_kindB\024\n\022_label_fingerprintB\007\n\005_" - + "nameB\030\n\026_peer_external_gatewayB\"\n _peer_" - + "external_gateway_interfaceB\023\n\021_peer_gcp_" - + "gatewayB\n\n\010_peer_ipB\t\n\007_regionB\t\n\007_route" - + "rB\014\n\n_self_linkB\020\n\016_shared_secretB\025\n\023_sh" - + "ared_secret_hashB\t\n\007_statusB\025\n\023_target_v" - + "pn_gatewayB\016\n\014_vpn_gatewayB\030\n\026_vpn_gatew" - + "ay_interface\"\274\003\n\027VpnTunnelAggregatedList" - + "\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022M\n\005items\030\300\317\367/ \003(\0132;.g" - + "oogle.cloud.compute.v1.VpnTunnelAggregat" - + "edList.ItemsEntry\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022" - + "\037\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself" - + "_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\027\n\014unreachables\030\237\240\206" - + "t \003(\t\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud" - + ".compute.v1.WarningH\004\210\001\001\032[\n\nItemsEntry\022\013" - + "\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.google.clou" - + "d.compute.v1.VpnTunnelsScopedList:\0028\001B\005\n" - + "\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_se" - + "lf_linkB\n\n\010_warning\"\243\002\n\rVpnTunnelList\022\020\n" - + "\002id\030\233\032 \001(\tH\000\210\001\001\0224\n\005items\030\300\317\367/ \003(\0132\".goog" - + "le.cloud.compute.v1.VpnTunnel\022\024\n\004kind\030\224\367" - + "\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206& \001(\tH" - + "\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warn" - + "ing\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.W" - + "arningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_pag" - + "e_tokenB\014\n\n_self_linkB\n\n\010_warning\"\231\001\n\024Vp" - + "nTunnelsScopedList\022:\n\013vpn_tunnels\030\300\361\372M \003" - + "(\0132\".google.cloud.compute.v1.VpnTunnel\0229" - + "\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comput" - + "e.v1.WarningH\000\210\001\001B\n\n\010_warning\"\214\001\n\020WafExp" - + "ressionSet\022\022\n\007aliases\030\376\235\365K \003(\t\022K\n\013expres" - + "sions\030\333\201\333S \003(\01323.google.cloud.compute.v1" - + ".WafExpressionSetExpression\022\020\n\002id\030\233\032 \001(\t" - + "H\000\210\001\001B\005\n\003_id\"b\n\032WafExpressionSetExpressi" - + "on\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022\033\n\013sensitivity\030\237\275\220\r" - + " \001(\005H\001\210\001\001B\005\n\003_idB\016\n\014_sensitivity\"P\n\032Wait" - + "GlobalOperationRequest\022\031\n\toperation\030\347\252\353\030" - + " \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"h\n\032Wa" - + "itRegionOperationRequest\022\031\n\toperation\030\347\252" - + "\353\030 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006" - + "region\030\364\315\240B \001(\tB\003\340A\002\"d\n\030WaitZoneOperatio" - + "nRequest\022\031\n\toperation\030\347\252\353\030 \001(\tB\003\340A\002\022\027\n\007p" - + "roject\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340" - + "A\002\"\335\010\n\007Warning\022\024\n\004code\030\355\333\272\001 \001(\tH\000\210\001\001\022.\n\004" - + "data\030\252\337\273\001 \003(\0132\035.google.cloud.compute.v1." - + "Data\022\030\n\007message\030\207\200\254\307\001 \001(\tH\001\210\001\001\"\334\007\n\004Code\022" - + "\022\n\016UNDEFINED_CODE\020\000\022\025\n\016CLEANUP_FAILED\020\330\214" - + "\326G\022 \n\030DEPRECATED_RESOURCE_USED\020\302\337\353\272\001\022\034\n\024" - + "DEPRECATED_TYPE_USED\020\226\244\236\245\001\022(\n DISK_SIZE_" - + "LARGER_THAN_IMAGE_SIZE\020\227\201\225\260\001\022\036\n\026EXPERIME" - + "NTAL_TYPE_USED\020\213\216\301\327\001\022\033\n\024EXTERNAL_API_WAR" - + "NING\020\303\277\332S\022\035\n\025FIELD_VALUE_OVERRIDEN\020\257\266\231\235\001" - + "\022#\n\033INJECTED_KERNELS_DEPRECATED\020\213\331\202\307\001\0224\n" - + ",INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHT" - + "ED_LB\020\316\233\274\277\001\022 \n\030LARGE_DEPLOYMENT_WARNING\020" - + "\246\347\310\345\001\022!\n\032LIST_OVERHEAD_QUOTA_EXCEED\020\305\260\332\026" - + "\022\037\n\027MISSING_TYPE_DEPENDENCY\020\367\370\242\244\001\022%\n\035NEX" - + "T_HOP_ADDRESS_NOT_ASSIGNED\020\207\245\372\232\001\022\"\n\032NEXT" - + "_HOP_CANNOT_IP_FORWARD\020\347\352\347\266\001\022.\n\'NEXT_HOP" - + "_INSTANCE_HAS_NO_IPV6_INTERFACE\020\222\350\374E\022#\n\033" - + "NEXT_HOP_INSTANCE_NOT_FOUND\020\316\314\257\335\001\022\'\n NEX" - + "T_HOP_INSTANCE_NOT_ON_NETWORK\020\302\350\235t\022\034\n\024NE" - + "XT_HOP_NOT_RUNNING\020\261\317\360\306\001\022\031\n\022NOT_CRITICAL" - + "_ERROR\020\324\250\2672\022\031\n\022NO_RESULTS_ON_PAGE\020\210\246\251\016\022\026" - + "\n\017PARTIAL_SUCCESS\020\205\256\207\023\022\035\n\026REQUIRED_TOS_A" - + "GREEMENT\020\203\316\344\001\0221\n)RESOURCE_IN_USE_BY_OTHE" - + "R_RESOURCE_WARNING\020\301\364\355\354\001\022\033\n\024RESOURCE_NOT" - + "_DELETED\020\274\267\262P\022!\n\031SCHEMA_VALIDATION_IGNOR" - + "ED\020\312\324\237\203\001\022(\n!SINGLE_INSTANCE_PROPERTY_TEM" - + "PLATE\020\321\211\370\177\022\035\n\025UNDECLARED_PROPERTIES\020\237\206\233\272" - + "\001\022\022\n\013UNREACHABLE\020\264\275\255\006B\007\n\005_codeB\n\n\010_messa" - + "ge\"\336\010\n\010Warnings\022\024\n\004code\030\355\333\272\001 \001(\tH\000\210\001\001\022.\n" - + "\004data\030\252\337\273\001 \003(\0132\035.google.cloud.compute.v1" - + ".Data\022\030\n\007message\030\207\200\254\307\001 \001(\tH\001\210\001\001\"\334\007\n\004Code" - + "\022\022\n\016UNDEFINED_CODE\020\000\022\025\n\016CLEANUP_FAILED\020\330" - + "\214\326G\022 \n\030DEPRECATED_RESOURCE_USED\020\302\337\353\272\001\022\034\n" - + "\024DEPRECATED_TYPE_USED\020\226\244\236\245\001\022(\n DISK_SIZE" - + "_LARGER_THAN_IMAGE_SIZE\020\227\201\225\260\001\022\036\n\026EXPERIM" - + "ENTAL_TYPE_USED\020\213\216\301\327\001\022\033\n\024EXTERNAL_API_WA" - + "RNING\020\303\277\332S\022\035\n\025FIELD_VALUE_OVERRIDEN\020\257\266\231\235" - + "\001\022#\n\033INJECTED_KERNELS_DEPRECATED\020\213\331\202\307\001\0224" - + "\n,INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGH" - + "TED_LB\020\316\233\274\277\001\022 \n\030LARGE_DEPLOYMENT_WARNING" - + "\020\246\347\310\345\001\022!\n\032LIST_OVERHEAD_QUOTA_EXCEED\020\305\260\332" - + "\026\022\037\n\027MISSING_TYPE_DEPENDENCY\020\367\370\242\244\001\022%\n\035NE" - + "XT_HOP_ADDRESS_NOT_ASSIGNED\020\207\245\372\232\001\022\"\n\032NEX" - + "T_HOP_CANNOT_IP_FORWARD\020\347\352\347\266\001\022.\n\'NEXT_HO" - + "P_INSTANCE_HAS_NO_IPV6_INTERFACE\020\222\350\374E\022#\n" - + "\033NEXT_HOP_INSTANCE_NOT_FOUND\020\316\314\257\335\001\022\'\n NE" - + "XT_HOP_INSTANCE_NOT_ON_NETWORK\020\302\350\235t\022\034\n\024N" - + "EXT_HOP_NOT_RUNNING\020\261\317\360\306\001\022\031\n\022NOT_CRITICA" - + "L_ERROR\020\324\250\2672\022\031\n\022NO_RESULTS_ON_PAGE\020\210\246\251\016\022" - + "\026\n\017PARTIAL_SUCCESS\020\205\256\207\023\022\035\n\026REQUIRED_TOS_" - + "AGREEMENT\020\203\316\344\001\0221\n)RESOURCE_IN_USE_BY_OTH" - + "ER_RESOURCE_WARNING\020\301\364\355\354\001\022\033\n\024RESOURCE_NO" - + "T_DELETED\020\274\267\262P\022!\n\031SCHEMA_VALIDATION_IGNO" - + "RED\020\312\324\237\203\001\022(\n!SINGLE_INSTANCE_PROPERTY_TE" - + "MPLATE\020\321\211\370\177\022\035\n\025UNDECLARED_PROPERTIES\020\237\206\233" - + "\272\001\022\022\n\013UNREACHABLE\020\264\275\255\006B\007\n\005_codeB\n\n\010_mess" - + "age\"\317\001\n\026WeightedBackendService\022 \n\017backen" - + "d_service\030\212\300\256\222\001 \001(\tH\000\210\001\001\022I\n\rheader_actio", - "n\030\250\240\270\234\001 \001(\0132).google.cloud.compute.v1.Ht" - + "tpHeaderActionH\001\210\001\001\022\027\n\006weight\030\370\204\305\206\001 \001(\rH" - + "\002\210\001\001B\022\n\020_backend_serviceB\020\n\016_header_acti" - + "onB\t\n\007_weight\"\240\001\n&WithdrawPublicAdvertis" - + "edPrefixeRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A" - + "\002\362G\007project\022(\n\030public_advertised_prefix\030" - + "\236\367\3110 \001(\tB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001" - + "\001B\r\n\013_request_id\"\277\001\n%WithdrawPublicDeleg" - + "atedPrefixeRequest\022!\n\007project\030\231\226\301l \001(\tB\r" - + "\340A\002\362G\007project\022\'\n\027public_delegated_prefix" - + "\030\350\334\261a \001(\tB\003\340A\002\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G" - + "\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_" - + "request_id\"\237\002\n\013XpnHostList\022\020\n\002id\030\233\032 \001(\tH" - + "\000\210\001\001\0222\n\005items\030\300\317\367/ \003(\0132 .google.cloud.co" - + "mpute.v1.Project\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037" - + "\n\017next_page_token\030\225\272\206& \001(\tH\002\210\001\001\022\032\n\tself_" - + "link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229\n\007warning\030\234\337\226\030 \001(\0132" - + " .google.cloud.compute.v1.WarningH\004\210\001\001B\005" - + "\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_s" - + "elf_linkB\n\n\010_warning\"\232\001\n\rXpnResourceId\022\020" - + "\n\002id\030\233\032 \001(\tH\000\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\001\210\001\001\"Q" - + "\n\004Type\022\022\n\016UNDEFINED_TYPE\020\000\022\017\n\007PROJECT\020\371\255" - + "\357\302\001\022$\n\035XPN_RESOURCE_TYPE_UNSPECIFIED\020\372\255\245" - + "HB\005\n\003_idB\007\n\005_type\"\227\004\n\004Zone\022\"\n\027available_" - + "cpu_platforms\030\223\363\331S \003(\t\022\"\n\022creation_times" - + "tamp\030\266\217\307\016 \001(\tH\000\210\001\001\022G\n\ndeprecated\030\263\313\321\365\001 \001" - + "(\0132*.google.cloud.compute.v1.Deprecation" - + "StatusH\001\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\002\210\001" - + "\001\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\004\210\001" - + "\001\022\024\n\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022\026\n\006region\030\364\315\240B \001" - + "(\tH\006\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\022\026\n\006s" - + "tatus\030\362\237\267V \001(\tH\010\210\001\001\022\034\n\014supports_pzs\030\356\366\205(" - + " \001(\010H\t\210\001\001\"4\n\006Status\022\024\n\020UNDEFINED_STATUS\020" - + "\000\022\013\n\004DOWN\020\242\271\200\001\022\007\n\002UP\020\233\025B\025\n\023_creation_tim" - + "estampB\r\n\013_deprecatedB\016\n\014_descriptionB\005\n" - + "\003_idB\007\n\005_kindB\007\n\005_nameB\t\n\007_regionB\014\n\n_se" - + "lf_linkB\t\n\007_statusB\017\n\r_supports_pzs\"\231\002\n\010" - + "ZoneList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022/\n\005items\030\300\317\367/" - + " \003(\0132\035.google.cloud.compute.v1.Zone\022\024\n\004k" - + "ind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_token\030\225\272\206" - + "& \001(\tH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\0229" - + "\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comput" - + "e.v1.WarningH\004\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_ne" - + "xt_page_tokenB\014\n\n_self_linkB\n\n\010_warning\"" - + "\315\001\n\024ZoneSetLabelsRequest\022!\n\021label_finger" - + "print\030\231\360\367T \001(\tH\000\210\001\001\022M\n\006labels\030\377\277\301\356\001 \003(\0132" - + "9.google.cloud.compute.v1.ZoneSetLabelsR" - + "equest.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key" - + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\024\n\022_label_fing" - + "erprint\"\261\001\n\024ZoneSetPolicyRequest\0226\n\010bind" - + "ings\030\216\305\244\300\001 \003(\0132 .google.cloud.compute.v1" - + ".Binding\022\024\n\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\0227\n\006policy" - + "\030\262\312\266+ \001(\0132\037.google.cloud.compute.v1.Poli" - + "cyH\001\210\001\001B\007\n\005_etagB\t\n\007_policy2\263\006\n\020Accelera" - + "torTypes\022\326\001\n\016AggregatedList\022>.google.clo" - + "ud.compute.v1.AggregatedListAcceleratorT" - + "ypesRequest\0326.google.cloud.compute.v1.Ac" - + "celeratorTypeAggregatedList\"L\332A\007project\202" - + "\323\344\223\002<\022:/compute/v1/projects/{project}/ag" - + "gregated/acceleratorTypes\022\334\001\n\003Get\0222.goog" - + "le.cloud.compute.v1.GetAcceleratorTypeRe" - + "quest\032(.google.cloud.compute.v1.Accelera" - + "torType\"w\332A\035project,zone,accelerator_typ" - + "e\202\323\344\223\002Q\022O/compute/v1/projects/{project}/" - + "zones/{zone}/acceleratorTypes/{accelerat" - + "or_type}\022\277\001\n\004List\0224.google.cloud.compute" - + ".v1.ListAcceleratorTypesRequest\032,.google" - + ".cloud.compute.v1.AcceleratorTypeList\"S\332" - + "A\014project,zone\202\323\344\223\002>\022" + + ".google.cloud.compute.v1.AggregatedListA" + + "cceleratorTypesRequest\0326.google.cloud.co" + + "mpute.v1.AcceleratorTypeAggregatedList\"L" + + "\332A\007project\202\323\344\223\002<\022:/compute/v1/projects/{" + + "project}/aggregated/acceleratorTypes\022\334\001\n" + + "\003Get\0222.google.cloud.compute.v1.GetAccele" + + "ratorTypeRequest\032(.google.cloud.compute." + + "v1.AcceleratorType\"w\332A\035project,zone,acce" + + "lerator_type\202\323\344\223\002Q\022O/compute/v1/projects" + + "/{project}/zones/{zone}/acceleratorTypes" + + "/{accelerator_type}\022\277\001\n\004List\0224.google.cl" + + "oud.compute.v1.ListAcceleratorTypesReque" + + "st\032,.google.cloud.compute.v1.Accelerator" + + "TypeList\"S\332A\014project,zone\202\323\344\223\002>\022proj" - + "ect,zone,disk,disks_add_resource_policie" - + "s_request_resource\212N\016ZoneOperations\202\323\344\223\002" - + "|\"L/compute/v1/projects/{project}/zones/" - + "{zone}/disks/{disk}/addResourcePolicies:" - + ",disks_add_resource_policies_request_res" - + "ource\022\265\001\n\016AggregatedList\0223.google.cloud." - + "compute.v1.AggregatedListDisksRequest\032+." - + "google.cloud.compute.v1.DiskAggregatedLi" - + "st\"A\332A\007project\202\323\344\223\0021\022//compute/v1/projec" - + "ts/{project}/aggregated/disks\022\216\002\n\nBulkIn" - + "sert\022..google.cloud.compute.v1.BulkInser" - + "tDiskRequest\032\".google.cloud.compute.v1.O" - + "peration\"\253\001\332A/project,zone,bulk_insert_d" - + "isk_resource_resource\212N\016ZoneOperations\202\323" - + "\344\223\002b\"project,zone,disk,disks_add_resou" + + "rce_policies_request_resource\212N\016ZoneOper" + + "ations\202\323\344\223\002|\"L/compute/v1/projects/{proj" + + "ect}/zones/{zone}/disks/{disk}/addResour" + + "cePolicies:,disks_add_resource_policies_" + + "request_resource\022\265\001\n\016AggregatedList\0223.go" + + "ogle.cloud.compute.v1.AggregatedListDisk" + + "sRequest\032+.google.cloud.compute.v1.DiskA" + + "ggregatedList\"A\332A\007project\202\323\344\223\0021\022//comput" + + "e/v1/projects/{project}/aggregated/disks" + + "\022\216\002\n\nBulkInsert\022..google.cloud.compute.v" + + "1.BulkInsertDiskRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\253\001\332A/project,zone,bu" + + "lk_insert_disk_resource_resource\212N\016ZoneO" + + "perations\202\323\344\223\002b\".google.cloud.compu" + + "te.v1.ListAssociationsFirewallPolicyRequ" + + "est\032A.google.cloud.compute.v1.FirewallPo" + + "liciesListAssociationsResponse\"I\332A\000\202\323\344\223\002" + + "@\022>/compute/v1/locations/global/firewall" + + "Policies/listAssociations\022\350\001\n\004Move\0222.goo" + + "gle.cloud.compute.v1.MoveFirewallPolicyR" + + "equest\032\".google.cloud.compute.v1.Operati" + + "on\"\207\001\332A\031firewall_policy,parent_id\212N\034Glob" + + "alOrganizationOperations\202\323\344\223\002F\"D/compute" + "/v1/locations/global/firewallPolicies/{f" - + "irewall_policy}/cloneRules\022\334\001\n\006Delete\0224." - + "google.cloud.compute.v1.DeleteFirewallPo" - + "licyRequest\032\".google.cloud.compute.v1.Op" - + "eration\"x\332A\017firewall_policy\212N\034GlobalOrga" - + "nizationOperations\202\323\344\223\002A*?/compute/v1/lo" - + "cations/global/firewallPolicies/{firewal" - + "l_policy}\022\274\001\n\003Get\0221.google.cloud.compute" - + ".v1.GetFirewallPolicyRequest\032\'.google.cl" - + "oud.compute.v1.FirewallPolicy\"Y\332A\017firewa" - + "ll_policy\202\323\344\223\002A\022?/compute/v1/locations/g" + + "irewall_policy}/move\022\216\002\n\005Patch\0223.google." + + "cloud.compute.v1.PatchFirewallPolicyRequ" + + "est\032\".google.cloud.compute.v1.Operation\"" + + "\253\001\332A(firewall_policy,firewall_policy_res" + + "ource\212N\034GlobalOrganizationOperations\202\323\344\223" + + "\002[2?/compute/v1/locations/global/firewal" + + "lPolicies/{firewall_policy}:\030firewall_po" + + "licy_resource\022\252\002\n\tPatchRule\0227.google.clo" + + "ud.compute.v1.PatchRuleFirewallPolicyReq" + + "uest\032\".google.cloud.compute.v1.Operation" + + "\"\277\001\332A-firewall_policy,firewall_policy_ru" + + "le_resource\212N\034GlobalOrganizationOperatio" + + "ns\202\323\344\223\002j\"I/compute/v1/locations/global/f" + + "irewallPolicies/{firewall_policy}/patchR" + + "ule:\035firewall_policy_rule_resource\022\205\002\n\021R" + + "emoveAssociation\022?.google.cloud.compute." + + "v1.RemoveAssociationFirewallPolicyReques" + + "t\032\".google.cloud.compute.v1.Operation\"\212\001" + + "\332A\017firewall_policy\212N\034GlobalOrganizationO" + + "perations\202\323\344\223\002S\"Q/compute/v1/locations/g" + "lobal/firewallPolicies/{firewall_policy}" - + "\022\354\001\n\016GetAssociation\022<.google.cloud.compu" - + "te.v1.GetAssociationFirewallPolicyReques" - + "t\0322.google.cloud.compute.v1.FirewallPoli" - + "cyAssociation\"h\332A\017firewall_policy\202\323\344\223\002P\022" - + "N/compute/v1/locations/global/firewallPo" - + "licies/{firewall_policy}/getAssociation\022" - + "\305\001\n\014GetIamPolicy\022:.google.cloud.compute." - + "v1.GetIamPolicyFirewallPolicyRequest\032\037.g" - + "oogle.cloud.compute.v1.Policy\"X\332A\010resour" - + "ce\202\323\344\223\002G\022E/compute/v1/locations/global/f" - + "irewallPolicies/{resource}/getIamPolicy\022" - + "\320\001\n\007GetRule\0225.google.cloud.compute.v1.Ge" - + "tRuleFirewallPolicyRequest\032+.google.clou" - + "d.compute.v1.FirewallPolicyRule\"a\332A\017fire" - + "wall_policy\202\323\344\223\002I\022G/compute/v1/locations" - + "/global/firewallPolicies/{firewall_polic" - + "y}/getRule\022\370\001\n\006Insert\0224.google.cloud.com" - + "pute.v1.InsertFirewallPolicyRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\223\001\332A\"par" - + "ent_id,firewall_policy_resource\212N\034Global" - + "OrganizationOperations\202\323\344\223\002I\"-/compute/v" - + "1/locations/global/firewallPolicies:\030fir" - + "ewall_policy_resource\022\243\001\n\004List\0224.google." - + "cloud.compute.v1.ListFirewallPoliciesReq" - + "uest\032+.google.cloud.compute.v1.FirewallP" - + "olicyList\"8\332A\000\202\323\344\223\002/\022-/compute/v1/locati" - + "ons/global/firewallPolicies\022\340\001\n\020ListAsso" - + "ciations\022>.google.cloud.compute.v1.ListA" - + "ssociationsFirewallPolicyRequest\032A.googl" - + "e.cloud.compute.v1.FirewallPoliciesListA" - + "ssociationsResponse\"I\332A\000\202\323\344\223\002@\022>/compute" - + "/v1/locations/global/firewallPolicies/li" - + "stAssociations\022\350\001\n\004Move\0222.google.cloud.c" - + "ompute.v1.MoveFirewallPolicyRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\207\001\332A\031fir" - + "ewall_policy,parent_id\212N\034GlobalOrganizat" - + "ionOperations\202\323\344\223\002F\"D/compute/v1/locatio" - + "ns/global/firewallPolicies/{firewall_pol" - + "icy}/move\022\216\002\n\005Patch\0223.google.cloud.compu" - + "te.v1.PatchFirewallPolicyRequest\032\".googl" - + "e.cloud.compute.v1.Operation\"\253\001\332A(firewa" - + "ll_policy,firewall_policy_resource\212N\034Glo" - + "balOrganizationOperations\202\323\344\223\002[2?/comput" - + "e/v1/locations/global/firewallPolicies/{" - + "firewall_policy}:\030firewall_policy_resour" - + "ce\022\252\002\n\tPatchRule\0227.google.cloud.compute." - + "v1.PatchRuleFirewallPolicyRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"\277\001\332A-firew" - + "all_policy,firewall_policy_rule_resource" - + "\212N\034GlobalOrganizationOperations\202\323\344\223\002j\"I/" - + "compute/v1/locations/global/firewallPoli" - + "cies/{firewall_policy}/patchRule:\035firewa" - + "ll_policy_rule_resource\022\205\002\n\021RemoveAssoci" - + "ation\022?.google.cloud.compute.v1.RemoveAs" - + "sociationFirewallPolicyRequest\032\".google." - + "cloud.compute.v1.Operation\"\212\001\332A\017firewall" - + "_policy\212N\034GlobalOrganizationOperations\202\323" - + "\344\223\002S\"Q/compute/v1/locations/global/firew" - + "allPolicies/{firewall_policy}/removeAsso" - + "ciation\022\360\001\n\nRemoveRule\0228.google.cloud.co" - + "mpute.v1.RemoveRuleFirewallPolicyRequest" - + "\032\".google.cloud.compute.v1.Operation\"\203\001\332" - + "A\017firewall_policy\212N\034GlobalOrganizationOp" - + "erations\202\323\344\223\002L\"J/compute/v1/locations/gl" - + "obal/firewallPolicies/{firewall_policy}/" - + "removeRule\022\247\002\n\014SetIamPolicy\022:.google.clo" - + "ud.compute.v1.SetIamPolicyFirewallPolicy" - + "Request\032\037.google.cloud.compute.v1.Policy" - + "\"\271\001\332A8resource,global_organization_set_p" - + "olicy_request_resource\202\323\344\223\002x\"E/compute/v" - + "1/locations/global/firewallPolicies/{res" - + "ource}/setIamPolicy:/global_organization" - + "_set_policy_request_resource\022\256\002\n\022TestIam" - + "Permissions\022@.google.cloud.compute.v1.Te" - + "stIamPermissionsFirewallPolicyRequest\0320." - + "google.cloud.compute.v1.TestPermissionsR" - + "esponse\"\243\001\332A*resource,test_permissions_r" - + "equest_resource\202\323\344\223\002p\"K/compute/v1/locat" - + "ions/global/firewallPolicies/{resource}/" - + "testIamPermissions:!test_permissions_req" - + "uest_resource\032r\312A\026compute.googleapis.com" - + "\322AVhttps://www.googleapis.com/auth/compu" - + "te,https://www.googleapis.com/auth/cloud" - + "-platform2\317\n\n\tFirewalls\022\306\001\n\006Delete\022..goo" - + "gle.cloud.compute.v1.DeleteFirewallReque" - + "st\032\".google.cloud.compute.v1.Operation\"h" - + "\332A\020project,firewall\212N\020GlobalOperations\202\323" - + "\344\223\002<*:/compute/v1/projects/{project}/glo" - + "bal/firewalls/{firewall}\022\254\001\n\003Get\022+.googl" - + "e.cloud.compute.v1.GetFirewallRequest\032!." - + "google.cloud.compute.v1.Firewall\"U\332A\020pro" - + "ject,firewall\202\323\344\223\002<\022:/compute/v1/project" - + "s/{project}/global/firewalls/{firewall}\022" - + "\327\001\n\006Insert\022..google.cloud.compute.v1.Ins" - + "ertFirewallRequest\032\".google.cloud.comput" - + "e.v1.Operation\"y\332A\031project,firewall_reso" - + "urce\212N\020GlobalOperations\202\323\344\223\002D\"//compute/" - + "v1/projects/{project}/global/firewalls:\021" - + "firewall_resource\022\237\001\n\004List\022-.google.clou" - + "d.compute.v1.ListFirewallsRequest\032%.goog" - + "le.cloud.compute.v1.FirewallList\"A\332A\007pro" - + "ject\202\323\344\223\0021\022//compute/v1/projects/{projec" - + "t}/global/firewalls\022\352\001\n\005Patch\022-.google.c" - + "loud.compute.v1.PatchFirewallRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"\215\001\332A\"pr" - + "oject,firewall,firewall_resource\212N\020Globa" - + "lOperations\202\323\344\223\002O2:/compute/v1/projects/" - + "{project}/global/firewalls/{firewall}:\021f" - + "irewall_resource\022\354\001\n\006Update\022..google.clo" - + "ud.compute.v1.UpdateFirewallRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\215\001\332A\"pro" - + "ject,firewall,firewall_resource\212N\020Global" - + "Operations\202\323\344\223\002O\032:/compute/v1/projects/{" - + "project}/global/firewalls/{firewall}:\021fi" - + "rewall_resource\032r\312A\026compute.googleapis.c" - + "om\322AVhttps://www.googleapis.com/auth/com" - + "pute,https://www.googleapis.com/auth/clo" - + "ud-platform2\231\021\n\017ForwardingRules\022\323\001\n\016Aggr" - + "egatedList\022=.google.cloud.compute.v1.Agg" - + "regatedListForwardingRulesRequest\0325.goog" - + "le.cloud.compute.v1.ForwardingRuleAggreg" - + "atedList\"K\332A\007project\202\323\344\223\002;\0229/compute/v1/" - + "projects/{project}/aggregated/forwarding" - + "Rules\022\362\001\n\006Delete\0224.google.cloud.compute." - + "v1.DeleteForwardingRuleRequest\032\".google." - + "cloud.compute.v1.Operation\"\215\001\332A\036project," - + "region,forwarding_rule\212N\020RegionOperation" - + "s\202\323\344\223\002S*Q/compute/v1/projects/{project}/" - + "regions/{region}/forwardingRules/{forwar" - + "ding_rule}\022\335\001\n\003Get\0221.google.cloud.comput" - + "e.v1.GetForwardingRuleRequest\032\'.google.c" - + "loud.compute.v1.ForwardingRule\"z\332A\036proje" - + "ct,region,forwarding_rule\202\323\344\223\002S\022Q/comput" - + "e/v1/projects/{project}/regions/{region}" - + "/forwardingRules/{forwarding_rule}\022\203\002\n\006I" - + "nsert\0224.google.cloud.compute.v1.InsertFo" + + "/removeAssociation\022\360\001\n\nRemoveRule\0228.goog" + + "le.cloud.compute.v1.RemoveRuleFirewallPo" + + "licyRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\203\001\332A\017firewall_policy\212N\034GlobalOrg" + + "anizationOperations\202\323\344\223\002L\"J/compute/v1/l" + + "ocations/global/firewallPolicies/{firewa" + + "ll_policy}/removeRule\022\247\002\n\014SetIamPolicy\022:" + + ".google.cloud.compute.v1.SetIamPolicyFir" + + "ewallPolicyRequest\032\037.google.cloud.comput" + + "e.v1.Policy\"\271\001\332A8resource,global_organiz" + + "ation_set_policy_request_resource\202\323\344\223\002x\"" + + "E/compute/v1/locations/global/firewallPo" + + "licies/{resource}/setIamPolicy:/global_o" + + "rganization_set_policy_request_resource\022" + + "\256\002\n\022TestIamPermissions\022@.google.cloud.co" + + "mpute.v1.TestIamPermissionsFirewallPolic" + + "yRequest\0320.google.cloud.compute.v1.TestP" + + "ermissionsResponse\"\243\001\332A*resource,test_pe" + + "rmissions_request_resource\202\323\344\223\002p\"K/compu" + + "te/v1/locations/global/firewallPolicies/" + + "{resource}/testIamPermissions:!test_perm" + + "issions_request_resource\032r\312A\026compute.goo" + + "gleapis.com\322AVhttps://www.googleapis.com" + + "/auth/compute,https://www.googleapis.com" + + "/auth/cloud-platform2\317\n\n\tFirewalls\022\306\001\n\006D" + + "elete\022..google.cloud.compute.v1.DeleteFi" + + "rewallRequest\032\".google.cloud.compute.v1." + + "Operation\"h\332A\020project,firewall\212N\020GlobalO" + + "perations\202\323\344\223\002<*:/compute/v1/projects/{p" + + "roject}/global/firewalls/{firewall}\022\254\001\n\003" + + "Get\022+.google.cloud.compute.v1.GetFirewal" + + "lRequest\032!.google.cloud.compute.v1.Firew" + + "all\"U\332A\020project,firewall\202\323\344\223\002<\022:/compute" + + "/v1/projects/{project}/global/firewalls/" + + "{firewall}\022\327\001\n\006Insert\022..google.cloud.com" + + "pute.v1.InsertFirewallRequest\032\".google.c" + + "loud.compute.v1.Operation\"y\332A\031project,fi" + + "rewall_resource\212N\020GlobalOperations\202\323\344\223\002D" + + "\"//compute/v1/projects/{project}/global/" + + "firewalls:\021firewall_resource\022\237\001\n\004List\022-." + + "google.cloud.compute.v1.ListFirewallsReq" + + "uest\032%.google.cloud.compute.v1.FirewallL" + + "ist\"A\332A\007project\202\323\344\223\0021\022//compute/v1/proje" + + "cts/{project}/global/firewalls\022\352\001\n\005Patch" + + "\022-.google.cloud.compute.v1.PatchFirewall" + + "Request\032\".google.cloud.compute.v1.Operat" + + "ion\"\215\001\332A\"project,firewall,firewall_resou" + + "rce\212N\020GlobalOperations\202\323\344\223\002O2:/compute/v" + + "1/projects/{project}/global/firewalls/{f" + + "irewall}:\021firewall_resource\022\354\001\n\006Update\022." + + ".google.cloud.compute.v1.UpdateFirewallR" + + "equest\032\".google.cloud.compute.v1.Operati" + + "on\"\215\001\332A\"project,firewall,firewall_resour" + + "ce\212N\020GlobalOperations\202\323\344\223\002O\032:/compute/v1" + + "/projects/{project}/global/firewalls/{fi" + + "rewall}:\021firewall_resource\032r\312A\026compute.g" + + "oogleapis.com\322AVhttps://www.googleapis.c" + + "om/auth/compute,https://www.googleapis.c" + + "om/auth/cloud-platform2\231\021\n\017ForwardingRul" + + "es\022\323\001\n\016AggregatedList\022=.google.cloud.com" + + "pute.v1.AggregatedListForwardingRulesReq" + + "uest\0325.google.cloud.compute.v1.Forwardin" + + "gRuleAggregatedList\"K\332A\007project\202\323\344\223\002;\0229/" + + "compute/v1/projects/{project}/aggregated" + + "/forwardingRules\022\362\001\n\006Delete\0224.google.clo" + + "ud.compute.v1.DeleteForwardingRuleReques" + + "t\032\".google.cloud.compute.v1.Operation\"\215\001" + + "\332A\036project,region,forwarding_rule\212N\020Regi" + + "onOperations\202\323\344\223\002S*Q/compute/v1/projects" + + "/{project}/regions/{region}/forwardingRu" + + "les/{forwarding_rule}\022\335\001\n\003Get\0221.google.c" + + "loud.compute.v1.GetForwardingRuleRequest" + + "\032\'.google.cloud.compute.v1.ForwardingRul" + + "e\"z\332A\036project,region,forwarding_rule\202\323\344\223" + + "\002S\022Q/compute/v1/projects/{project}/regio" + + "ns/{region}/forwardingRules/{forwarding_" + + "rule}\022\203\002\n\006Insert\0224.google.cloud.compute." + + "v1.InsertForwardingRuleRequest\032\".google." + + "cloud.compute.v1.Operation\"\236\001\332A\'project," + + "region,forwarding_rule_resource\212N\020Region" + + "Operations\202\323\344\223\002[\"?/compute/v1/projects/{" + + "project}/regions/{region}/forwardingRule" + + "s:\030forwarding_rule_resource\022\302\001\n\004List\0223.g" + + "oogle.cloud.compute.v1.ListForwardingRul" + + "esRequest\032+.google.cloud.compute.v1.Forw" + + "ardingRuleList\"X\332A\016project,region\202\323\344\223\002A\022" + + "?/compute/v1/projects/{project}/regions/" + + "{region}/forwardingRules\022\243\002\n\005Patch\0223.goo" + + "gle.cloud.compute.v1.PatchForwardingRule" + + "Request\032\".google.cloud.compute.v1.Operat" + + "ion\"\300\001\332A7project,region,forwarding_rule," + + "forwarding_rule_resource\212N\020RegionOperati" + + "ons\202\323\344\223\002m2Q/compute/v1/projects/{project" + + "}/regions/{region}/forwardingRules/{forw" + + "arding_rule}:\030forwarding_rule_resource\022\273" + + "\002\n\tSetLabels\0227.google.cloud.compute.v1.S" + + "etLabelsForwardingRuleRequest\032\".google.c" + + "loud.compute.v1.Operation\"\320\001\332A:project,r" + + "egion,resource,region_set_labels_request" + + "_resource\212N\020RegionOperations\202\323\344\223\002z\"T/com" + + "pute/v1/projects/{project}/regions/{regi" + + "on}/forwardingRules/{resource}/setLabels" + + ":\"region_set_labels_request_resource\022\267\002\n" + + "\tSetTarget\0227.google.cloud.compute.v1.Set" + + "TargetForwardingRuleRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\314\001\332A8project,reg" + + "ion,forwarding_rule,target_reference_res" + + "ource\212N\020RegionOperations\202\323\344\223\002x\"[/compute" + + "/v1/projects/{project}/regions/{region}/" + + "forwardingRules/{forwarding_rule}/setTar" + + "get:\031target_reference_resource\032r\312A\026compu" + + "te.googleapis.com\322AVhttps://www.googleap" + + "is.com/auth/compute,https://www.googleap" + + "is.com/auth/cloud-platform2\311\013\n\017GlobalAdd" + + "resses\022\311\001\n\006Delete\0223.google.cloud.compute" + + ".v1.DeleteGlobalAddressRequest\032\".google." + + "cloud.compute.v1.Operation\"f\332A\017project,a" + + "ddress\212N\020GlobalOperations\202\323\344\223\002;*9/comput" + + "e/v1/projects/{project}/global/addresses" + + "/{address}\022\256\001\n\003Get\0220.google.cloud.comput" + + "e.v1.GetGlobalAddressRequest\032 .google.cl" + + "oud.compute.v1.Address\"S\332A\017project,addre" + + "ss\202\323\344\223\002;\0229/compute/v1/projects/{project}" + + "/global/addresses/{address}\022\332\001\n\006Insert\0223" + + ".google.cloud.compute.v1.InsertGlobalAdd" + + "ressRequest\032\".google.cloud.compute.v1.Op" + + "eration\"w\332A\030project,address_resource\212N\020G" + + "lobalOperations\202\323\344\223\002C\"//compute/v1/proje" + + "cts/{project}/global/addresses:\020address_" + + "resource\022\244\001\n\004List\0223.google.cloud.compute" + + ".v1.ListGlobalAddressesRequest\032$.google." + + "cloud.compute.v1.AddressList\"A\332A\007project" + + "\202\323\344\223\0021\022//compute/v1/projects/{project}/g" + + "lobal/addresses\022\232\002\n\004Move\0221.google.cloud." + + "compute.v1.MoveGlobalAddressRequest\032\".go" + + "ogle.cloud.compute.v1.Operation\"\272\001\332A6pro" + + "ject,address,global_addresses_move_reque" + + "st_resource\212N\020GlobalOperations\202\323\344\223\002h\">/c" + + "ompute/v1/projects/{project}/global/addr" + + "esses/{address}/move:&global_addresses_m" + + "ove_request_resource\022\243\002\n\tSetLabels\0226.goo" + + "gle.cloud.compute.v1.SetLabelsGlobalAddr" + + "essRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"\271\001\332A3project,resource,global_set_" + + "labels_request_resource\212N\020GlobalOperatio" + + "ns\202\323\344\223\002j\"D/compute/v1/projects/{project}" + + "/global/addresses/{resource}/setLabels:\"" + + "global_set_labels_request_resource\032r\312A\026c" + + "ompute.googleapis.com\322AVhttps://www.goog" + + "leapis.com/auth/compute,https://www.goog" + + "leapis.com/auth/cloud-platform2\373\016\n\025Globa" + + "lForwardingRules\022\346\001\n\006Delete\022:.google.clo" + + "ud.compute.v1.DeleteGlobalForwardingRule" + + "Request\032\".google.cloud.compute.v1.Operat" + + "ion\"|\332A\027project,forwarding_rule\212N\020Global" + + "Operations\202\323\344\223\002I*G/compute/v1/projects/{" + + "project}/global/forwardingRules/{forward" + + "ing_rule}\022\322\001\n\003Get\0227.google.cloud.compute" + + ".v1.GetGlobalForwardingRuleRequest\032\'.goo" + + "gle.cloud.compute.v1.ForwardingRule\"i\332A\027" + + "project,forwarding_rule\202\323\344\223\002I\022G/compute/" + + "v1/projects/{project}/global/forwardingR" + + "ules/{forwarding_rule}\022\370\001\n\006Insert\022:.goog" + + "le.cloud.compute.v1.InsertGlobalForwardi" + + "ngRuleRequest\032\".google.cloud.compute.v1." + + "Operation\"\215\001\332A project,forwarding_rule_r" + + "esource\212N\020GlobalOperations\202\323\344\223\002Q\"5/compu" + + "te/v1/projects/{project}/global/forwardi" + + "ngRules:\030forwarding_rule_resource\022\267\001\n\004Li" + + "st\0229.google.cloud.compute.v1.ListGlobalF" + + "orwardingRulesRequest\032+.google.cloud.com", + "pute.v1.ForwardingRuleList\"G\332A\007project\202\323" + + "\344\223\0027\0225/compute/v1/projects/{project}/glo" + + "bal/forwardingRules\022\230\002\n\005Patch\0229.google.c" + + "loud.compute.v1.PatchGlobalForwardingRul" + + "eRequest\032\".google.cloud.compute.v1.Opera" + + "tion\"\257\001\332A0project,forwarding_rule,forwar" + + "ding_rule_resource\212N\020GlobalOperations\202\323\344" + + "\223\002c2G/compute/v1/projects/{project}/glob" + + "al/forwardingRules/{forwarding_rule}:\030fo" + + "rwarding_rule_resource\022\260\002\n\tSetLabels\022=.g" + + "oogle.cloud.compute.v1.SetLabelsGlobalFo" + "rwardingRuleRequest\032\".google.cloud.compu" - + "te.v1.Operation\"\236\001\332A\'project,region,forw" - + "arding_rule_resource\212N\020RegionOperations\202" - + "\323\344\223\002[\"?/compute/v1/projects/{project}/re" - + "gions/{region}/forwardingRules:\030forwardi" - + "ng_rule_resource\022\302\001\n\004List\0223.google.cloud" - + ".compute.v1.ListForwardingRulesRequest\032+" - + ".google.cloud.compute.v1.ForwardingRuleL" - + "ist\"X\332A\016project,region\202\323\344\223\002A\022?/compute/v" - + "1/projects/{project}/regions/{region}/fo" - + "rwardingRules\022\243\002\n\005Patch\0223.google.cloud.c" - + "ompute.v1.PatchForwardingRuleRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"\300\001\332A7pr" - + "oject,region,forwarding_rule,forwarding_" - + "rule_resource\212N\020RegionOperations\202\323\344\223\002m2Q" - + "/compute/v1/projects/{project}/regions/{" - + "region}/forwardingRules/{forwarding_rule" - + "}:\030forwarding_rule_resource\022\273\002\n\tSetLabel" - + "s\0227.google.cloud.compute.v1.SetLabelsFor" - + "wardingRuleRequest\032\".google.cloud.comput" - + "e.v1.Operation\"\320\001\332A:project,region,resou" - + "rce,region_set_labels_request_resource\212N" - + "\020RegionOperations\202\323\344\223\002z\"T/compute/v1/pro" - + "jects/{project}/regions/{region}/forward" - + "ingRules/{resource}/setLabels:\"region_se" - + "t_labels_request_resource\022\267\002\n\tSetTarget\022" - + "7.google.cloud.compute.v1.SetTargetForwa" - + "rdingRuleRequest\032\".google.cloud.compute." - + "v1.Operation\"\314\001\332A8project,region,forward" - + "ing_rule,target_reference_resource\212N\020Reg" - + "ionOperations\202\323\344\223\002x\"[/compute/v1/project" - + "s/{project}/regions/{region}/forwardingR" - + "ules/{forwarding_rule}/setTarget:\031target" - + "_reference_resource\032r\312A\026compute.googleap" - + "is.com\322AVhttps://www.googleapis.com/auth" - + "/compute,https://www.googleapis.com/auth" - + "/cloud-platform2\311\013\n\017GlobalAddresses\022\311\001\n\006" - + "Delete\0223.google.cloud.compute.v1.DeleteG" - + "lobalAddressRequest\032\".google.cloud.compu" - + "te.v1.Operation\"f\332A\017project,address\212N\020Gl" - + "obalOperations\202\323\344\223\002;*9/compute/v1/projec" - + "ts/{project}/global/addresses/{address}\022" - + "\256\001\n\003Get\0220.google.cloud.compute.v1.GetGlo" - + "balAddressRequest\032 .google.cloud.compute" - + ".v1.Address\"S\332A\017project,address\202\323\344\223\002;\0229/" - + "compute/v1/projects/{project}/global/add" - + "resses/{address}\022\332\001\n\006Insert\0223.google.clo" - + "ud.compute.v1.InsertGlobalAddressRequest" - + "\032\".google.cloud.compute.v1.Operation\"w\332A" - + "\030project,address_resource\212N\020GlobalOperat" - + "ions\202\323\344\223\002C\"//compute/v1/projects/{projec" - + "t}/global/addresses:\020address_resource\022\244\001" - + "\n\004List\0223.google.cloud.compute.v1.ListGlo" - + "balAddressesRequest\032$.google.cloud.compu" - + "te.v1.AddressList\"A\332A\007project\202\323\344\223\0021\022//co" - + "mpute/v1/projects/{project}/global/addre" - + "sses\022\232\002\n\004Move\0221.google.cloud.compute.v1." - + "MoveGlobalAddressRequest\032\".google.cloud." - + "compute.v1.Operation\"\272\001\332A6project,addres" - + "s,global_addresses_move_request_resource" - + "\212N\020GlobalOperations\202\323\344\223\002h\">/compute/v1/p" - + "rojects/{project}/global/addresses/{addr" - + "ess}/move:&global_addresses_move_request" - + "_resource\022\243\002\n\tSetLabels\0226.google.cloud.c" - + "ompute.v1.SetLabelsGlobalAddressRequest\032" - + "\".google.cloud.compute.v1.Operation\"\271\001\332A" - + "3project,resource,global_set_labels_requ" - + "est_resource\212N\020GlobalOperations\202\323\344\223\002j\"D/" - + "compute/v1/projects/{project}/global/add" - + "resses/{resource}/setLabels:\"global_set_" - + "labels_request_resource\032r\312A\026compute.goog" + + "te.v1.Operation\"\277\001\332A3project,resource,gl" + + "obal_set_labels_request_resource\212N\020Globa" + + "lOperations\202\323\344\223\002p\"J/compute/v1/projects/" + + "{project}/global/forwardingRules/{resour" + + "ce}/setLabels:\"global_set_labels_request" + + "_resource\022\254\002\n\tSetTarget\022=.google.cloud.c" + + "ompute.v1.SetTargetGlobalForwardingRuleR" + + "equest\032\".google.cloud.compute.v1.Operati" + + "on\"\273\001\332A1project,forwarding_rule,target_r" + + "eference_resource\212N\020GlobalOperations\202\323\344\223" + + "\002n\"Q/compute/v1/projects/{project}/globa" + + "l/forwardingRules/{forwarding_rule}/setT" + + "arget:\031target_reference_resource\032r\312A\026com" + + "pute.googleapis.com\322AVhttps://www.google" + + "apis.com/auth/compute,https://www.google" + + "apis.com/auth/cloud-platform2\254\022\n\033GlobalN" + + "etworkEndpointGroups\022\274\003\n\026AttachNetworkEn" + + "dpoints\022P.google.cloud.compute.v1.Attach" + + "NetworkEndpointsGlobalNetworkEndpointGro" + + "upRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\253\002\332A_project,network_endpoint_grou" + + "p,global_network_endpoint_groups_attach_" + + "endpoints_request_resource\212N\020GlobalOpera" + + "tions\202\323\344\223\002\257\001\"k/compute/v1/projects/{proj" + + "ect}/global/networkEndpointGroups/{netwo" + + "rk_endpoint_group}/attachNetworkEndpoint" + + "s:@global_network_endpoint_groups_attach" + + "_endpoints_request_resource\022\201\002\n\006Delete\022@" + + ".google.cloud.compute.v1.DeleteGlobalNet" + + "workEndpointGroupRequest\032\".google.cloud." + + "compute.v1.Operation\"\220\001\332A\036project,networ" + + "k_endpoint_group\212N\020GlobalOperations\202\323\344\223\002" + + "V*T/compute/v1/projects/{project}/global" + + "/networkEndpointGroups/{network_endpoint" + + "_group}\022\274\003\n\026DetachNetworkEndpoints\022P.goo" + + "gle.cloud.compute.v1.DetachNetworkEndpoi" + + "ntsGlobalNetworkEndpointGroupRequest\032\".g" + + "oogle.cloud.compute.v1.Operation\"\253\002\332A_pr" + + "oject,network_endpoint_group,global_netw" + + "ork_endpoint_groups_detach_endpoints_req" + + "uest_resource\212N\020GlobalOperations\202\323\344\223\002\257\001\"" + + "k/compute/v1/projects/{project}/global/n" + + "etworkEndpointGroups/{network_endpoint_g" + + "roup}/detachNetworkEndpoints:@global_net" + + "work_endpoint_groups_detach_endpoints_re" + + "quest_resource\022\362\001\n\003Get\022=.google.cloud.co" + + "mpute.v1.GetGlobalNetworkEndpointGroupRe" + + "quest\032-.google.cloud.compute.v1.NetworkE" + + "ndpointGroup\"}\332A\036project,network_endpoin" + + "t_group\202\323\344\223\002V\022T/compute/v1/projects/{pro" + + "ject}/global/networkEndpointGroups/{netw" + + "ork_endpoint_group}\022\222\002\n\006Insert\022@.google." + + "cloud.compute.v1.InsertGlobalNetworkEndp" + + "ointGroupRequest\032\".google.cloud.compute." + + "v1.Operation\"\241\001\332A\'project,network_endpoi" + + "nt_group_resource\212N\020GlobalOperations\202\323\344\223" + + "\002^\";/compute/v1/projects/{project}/globa" + + "l/networkEndpointGroups:\037network_endpoin" + + "t_group_resource\022\311\001\n\004List\022?.google.cloud" + + ".compute.v1.ListGlobalNetworkEndpointGro" + + "upsRequest\0321.google.cloud.compute.v1.Net" + + "workEndpointGroupList\"M\332A\007project\202\323\344\223\002=\022" + + ";/compute/v1/projects/{project}/global/n" + + "etworkEndpointGroups\022\300\002\n\024ListNetworkEndp" + + "oints\022O.google.cloud.compute.v1.ListNetw" + + "orkEndpointsGlobalNetworkEndpointGroupsR" + + "equest\032B.google.cloud.compute.v1.Network" + + "EndpointGroupsListNetworkEndpoints\"\222\001\332A\036" + + "project,network_endpoint_group\202\323\344\223\002k\"i/c" + + "ompute/v1/projects/{project}/global/netw" + + "orkEndpointGroups/{network_endpoint_grou" + + "p}/listNetworkEndpoints\032r\312A\026compute.goog" + "leapis.com\322AVhttps://www.googleapis.com/" + "auth/compute,https://www.googleapis.com/" - + "auth/cloud-platform2\373\016\n\025GlobalForwarding" - + "Rules\022\346\001\n\006Delete\022:.google.cloud.compute." - + "v1.DeleteGlobalForwardingRuleRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"|\332A\027pro" - + "ject,forwarding_rule\212N\020GlobalOperations\202" - + "\323\344\223\002I*G/compute/v1/projects/{project}/gl" - + "obal/forwardingRules/{forwarding_rule}\022\322" - + "\001\n\003Get\0227.google.cloud.compute.v1.GetGlob" - + "alForwardingRuleRequest\032\'.google.cloud.c" - + "ompute.v1.ForwardingRule\"i\332A\027project,for" - + "warding_rule\202\323\344\223\002I\022G/compute/v1/projects" - + "/{project}/global/forwardingRules/{forwa" - + "rding_rule}\022\370\001\n\006Insert\022:.google.cloud.co" - + "mpute.v1.InsertGlobalForwardingRuleReque" - + "st\032\".google.cloud.compute.v1.Operation\"\215" - + "\001\332A project,forwarding_rule_resource\212N\020G" - + "lobalOperations\202\323\344\223\002Q\"5/compute/v1/proje" - + "cts/{project}/global/forwardingRules:\030fo" - + "rwarding_rule_resource\022\267\001\n\004List\0229.google" - + ".cloud.compute.v1.ListGlobalForwardingRu" - + "lesRequest\032+.google.cloud.compute.v1.For" - + "wardingRuleList\"G\332A\007project\202\323\344\223\0027\0225/comp" - + "ute/v1/projects/{project}/global/forward" - + "ingRules\022\230\002\n\005Patch\0229.google.cloud.comput" - + "e.v1.PatchGlobalForwardingRuleRequest\032\"." - + "google.cloud.compute.v1.Operation\"\257\001\332A0p" - + "roject,forwarding_rule,forwarding_rule_r" - + "esource\212N\020GlobalOperations\202\323\344\223\002c2G/compu", - "te/v1/projects/{project}/global/forwardi" - + "ngRules/{forwarding_rule}:\030forwarding_ru" - + "le_resource\022\260\002\n\tSetLabels\022=.google.cloud" - + ".compute.v1.SetLabelsGlobalForwardingRul" - + "eRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"\277\001\332A3project,resource,global_set_la" - + "bels_request_resource\212N\020GlobalOperations" - + "\202\323\344\223\002p\"J/compute/v1/projects/{project}/g" - + "lobal/forwardingRules/{resource}/setLabe" - + "ls:\"global_set_labels_request_resource\022\254" - + "\002\n\tSetTarget\022=.google.cloud.compute.v1.S" - + "etTargetGlobalForwardingRuleRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\273\001\332A1pro" - + "ject,forwarding_rule,target_reference_re" - + "source\212N\020GlobalOperations\202\323\344\223\002n\"Q/comput" - + "e/v1/projects/{project}/global/forwardin" - + "gRules/{forwarding_rule}/setTarget:\031targ" - + "et_reference_resource\032r\312A\026compute.google" - + "apis.com\322AVhttps://www.googleapis.com/au" - + "th/compute,https://www.googleapis.com/au" - + "th/cloud-platform2\254\022\n\033GlobalNetworkEndpo" - + "intGroups\022\274\003\n\026AttachNetworkEndpoints\022P.g" - + "oogle.cloud.compute.v1.AttachNetworkEndp" - + "ointsGlobalNetworkEndpointGroupRequest\032\"" - + ".google.cloud.compute.v1.Operation\"\253\002\332A_" - + "project,network_endpoint_group,global_ne" - + "twork_endpoint_groups_attach_endpoints_r" - + "equest_resource\212N\020GlobalOperations\202\323\344\223\002\257" - + "\001\"k/compute/v1/projects/{project}/global" - + "/networkEndpointGroups/{network_endpoint" - + "_group}/attachNetworkEndpoints:@global_n" - + "etwork_endpoint_groups_attach_endpoints_" - + "request_resource\022\201\002\n\006Delete\022@.google.clo" - + "ud.compute.v1.DeleteGlobalNetworkEndpoin" - + "tGroupRequest\032\".google.cloud.compute.v1." - + "Operation\"\220\001\332A\036project,network_endpoint_" - + "group\212N\020GlobalOperations\202\323\344\223\002V*T/compute" - + "/v1/projects/{project}/global/networkEnd" - + "pointGroups/{network_endpoint_group}\022\274\003\n" - + "\026DetachNetworkEndpoints\022P.google.cloud.c" - + "ompute.v1.DetachNetworkEndpointsGlobalNe" - + "tworkEndpointGroupRequest\032\".google.cloud" - + ".compute.v1.Operation\"\253\002\332A_project,netwo" - + "rk_endpoint_group,global_network_endpoin" - + "t_groups_detach_endpoints_request_resour" - + "ce\212N\020GlobalOperations\202\323\344\223\002\257\001\"k/compute/v" - + "1/projects/{project}/global/networkEndpo" - + "intGroups/{network_endpoint_group}/detac" - + "hNetworkEndpoints:@global_network_endpoi" - + "nt_groups_detach_endpoints_request_resou" - + "rce\022\362\001\n\003Get\022=.google.cloud.compute.v1.Ge" - + "tGlobalNetworkEndpointGroupRequest\032-.goo" - + "gle.cloud.compute.v1.NetworkEndpointGrou" - + "p\"}\332A\036project,network_endpoint_group\202\323\344\223" - + "\002V\022T/compute/v1/projects/{project}/globa" - + "l/networkEndpointGroups/{network_endpoin" - + "t_group}\022\222\002\n\006Insert\022@.google.cloud.compu" - + "te.v1.InsertGlobalNetworkEndpointGroupRe" - + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\241\001\332A\'project,network_endpoint_group_re" - + "source\212N\020GlobalOperations\202\323\344\223\002^\";/comput" - + "e/v1/projects/{project}/global/networkEn" - + "dpointGroups:\037network_endpoint_group_res" - + "ource\022\311\001\n\004List\022?.google.cloud.compute.v1" - + ".ListGlobalNetworkEndpointGroupsRequest\032" - + "1.google.cloud.compute.v1.NetworkEndpoin" - + "tGroupList\"M\332A\007project\202\323\344\223\002=\022;/compute/v" - + "1/projects/{project}/global/networkEndpo" - + "intGroups\022\300\002\n\024ListNetworkEndpoints\022O.goo" - + "gle.cloud.compute.v1.ListNetworkEndpoint" - + "sGlobalNetworkEndpointGroupsRequest\032B.go" - + "ogle.cloud.compute.v1.NetworkEndpointGro" - + "upsListNetworkEndpoints\"\222\001\332A\036project,net" - + "work_endpoint_group\202\323\344\223\002k\"i/compute/v1/p" - + "rojects/{project}/global/networkEndpoint" - + "Groups/{network_endpoint_group}/listNetw" - + "orkEndpoints\032r\312A\026compute.googleapis.com\322" - + "AVhttps://www.googleapis.com/auth/comput" - + "e,https://www.googleapis.com/auth/cloud-" - + "platform2\320\010\n\020GlobalOperations\022\312\001\n\016Aggreg" - + "atedList\022>.google.cloud.compute.v1.Aggre" - + "gatedListGlobalOperationsRequest\0320.googl" - + "e.cloud.compute.v1.OperationAggregatedLi" - + "st\"F\332A\007project\202\323\344\223\0026\0224/compute/v1/projec" - + "ts/{project}/aggregated/operations\022\321\001\n\006D" - + "elete\0225.google.cloud.compute.v1.DeleteGl" - + "obalOperationRequest\0326.google.cloud.comp" - + "ute.v1.DeleteGlobalOperationResponse\"X\332A" - + "\021project,operation\202\323\344\223\002>*.google.cloud.compu" + + "te.v1.AggregatedListGlobalOperationsRequ" + + "est\0320.google.cloud.compute.v1.OperationA" + + "ggregatedList\"F\332A\007project\202\323\344\223\0026\0224/comput" + + "e/v1/projects/{project}/aggregated/opera" + + "tions\022\321\001\n\006Delete\0225.google.cloud.compute." + + "v1.DeleteGlobalOperationRequest\0326.google" + + ".cloud.compute.v1.DeleteGlobalOperationR" + + "esponse\"X\332A\021project,operation\202\323\344\223\002>*\022\022.google.cloud.compute.v" - + "1.GetGlobalOrganizationOperationRequest\032" - + "\".google.cloud.compute.v1.Operation\"J\332A\t" - + "operation\220N\001\202\323\344\223\0025\0223/compute/v1/location" - + "s/global/operations/{operation}\022\244\001\n\004List" - + "\022@.google.cloud.compute.v1.ListGlobalOrg" - + "anizationOperationsRequest\032&.google.clou" - + "d.compute.v1.OperationList\"2\332A\000\202\323\344\223\002)\022\'/" - + "compute/v1/locations/global/operations\032r" - + "\312A\026compute.googleapis.com\322AVhttps://www." - + "googleapis.com/auth/compute,https://www." - + "googleapis.com/auth/cloud-platform2\321\013\n\035G" - + "lobalPublicDelegatedPrefixes\022\207\002\n\006Delete\022" - + "B.google.cloud.compute.v1.DeleteGlobalPu" - + "blicDelegatedPrefixeRequest\032\".google.clo" - + "ud.compute.v1.Operation\"\224\001\332A\037project,pub" - + "lic_delegated_prefix\212N\020GlobalOperations\202" - + "\323\344\223\002Y*W/compute/v1/projects/{project}/gl" - + "obal/publicDelegatedPrefixes/{public_del" - + "egated_prefix}\022\372\001\n\003Get\022?.google.cloud.co" - + "mpute.v1.GetGlobalPublicDelegatedPrefixe" - + "Request\032..google.cloud.compute.v1.Public" - + "DelegatedPrefix\"\201\001\332A\037project,public_dele" - + "gated_prefix\202\323\344\223\002Y\022W/compute/v1/projects" - + "/{project}/global/publicDelegatedPrefixe" - + "s/{public_delegated_prefix}\022\230\002\n\006Insert\022B" - + ".google.cloud.compute.v1.InsertGlobalPub" - + "licDelegatedPrefixeRequest\032\".google.clou" - + "d.compute.v1.Operation\"\245\001\332A(project,publ" - + "ic_delegated_prefix_resource\212N\020GlobalOpe" - + "rations\202\323\344\223\002a\"=/compute/v1/projects/{pro" - + "ject}/global/publicDelegatedPrefixes: pu" - + "blic_delegated_prefix_resource\022\316\001\n\004List\022" - + "A.google.cloud.compute.v1.ListGlobalPubl" - + "icDelegatedPrefixesRequest\0322.google.clou" - + "d.compute.v1.PublicDelegatedPrefixList\"O" - + "\332A\007project\202\323\344\223\002?\022=/compute/v1/projects/{" - + "project}/global/publicDelegatedPrefixes\022" - + "\310\002\n\005Patch\022A.google.cloud.compute.v1.Patc" - + "hGlobalPublicDelegatedPrefixeRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"\327\001\332A@pr" - + "oject,public_delegated_prefix,public_del" - + "egated_prefix_resource\212N\020GlobalOperation" - + "s\202\323\344\223\002{2W/compute/v1/projects/{project}/" - + "global/publicDelegatedPrefixes/{public_d" - + "elegated_prefix}: public_delegated_prefi" - + "x_resource\032r\312A\026compute.googleapis.com\322AV" + + "ation}\022\250\001\n\004List\0224.google.cloud.compute.v" + + "1.ListGlobalOperationsRequest\032&.google.c" + + "loud.compute.v1.OperationList\"B\332A\007projec" + + "t\202\323\344\223\0022\0220/compute/v1/projects/{project}/" + + "global/operations\022\276\001\n\004Wait\0223.google.clou" + + "d.compute.v1.WaitGlobalOperationRequest\032" + + "\".google.cloud.compute.v1.Operation\"]\332A\021" + + "project,operation\202\323\344\223\002C\"A/compute/v1/pro" + + "jects/{project}/global/operations/{opera" + + "tion}/wait\032r\312A\026compute.googleapis.com\322AV" + "https://www.googleapis.com/auth/compute," + "https://www.googleapis.com/auth/cloud-pl" - + "atform2\203\r\n\014HealthChecks\022\313\001\n\016AggregatedLi" - + "st\022:.google.cloud.compute.v1.AggregatedL" - + "istHealthChecksRequest\0323.google.cloud.co" - + "mpute.v1.HealthChecksAggregatedList\"H\332A\007" - + "project\202\323\344\223\0028\0226/compute/v1/projects/{pro" - + "ject}/aggregated/healthChecks\022\324\001\n\006Delete" - + "\0221.google.cloud.compute.v1.DeleteHealthC" - + "heckRequest\032\".google.cloud.compute.v1.Op" - + "eration\"s\332A\024project,health_check\212N\020Globa" - + "lOperations\202\323\344\223\002C*A/compute/v1/projects/" - + "{project}/global/healthChecks/{health_ch" - + "eck}\022\275\001\n\003Get\022..google.cloud.compute.v1.G" - + "etHealthCheckRequest\032$.google.cloud.comp" - + "ute.v1.HealthCheck\"`\332A\024project,health_ch" - + "eck\202\323\344\223\002C\022A/compute/v1/projects/{project" - + "}/global/healthChecks/{health_check}\022\346\001\n" - + "\006Insert\0221.google.cloud.compute.v1.Insert" - + "HealthCheckRequest\032\".google.cloud.comput" - + "e.v1.Operation\"\204\001\332A\035project,health_check" - + "_resource\212N\020GlobalOperations\202\323\344\223\002K\"2/com" - + "pute/v1/projects/{project}/global/health" - + "Checks:\025health_check_resource\022\250\001\n\004List\0220" - + ".google.cloud.compute.v1.ListHealthCheck" - + "sRequest\032(.google.cloud.compute.v1.Healt" - + "hCheckList\"D\332A\007project\202\323\344\223\0024\0222/compute/v" + + "atform2\314\005\n\034GlobalOrganizationOperations\022" + + "\330\001\n\006Delete\022A.google.cloud.compute.v1.Del" + + "eteGlobalOrganizationOperationRequest\032B." + + "google.cloud.compute.v1.DeleteGlobalOrga" + + "nizationOperationResponse\"G\332A\toperation\202" + + "\323\344\223\0025*3/compute/v1/locations/global/oper" + + "ations/{operation}\022\265\001\n\003Get\022>.google.clou" + + "d.compute.v1.GetGlobalOrganizationOperat" + + "ionRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"J\332A\toperation\220N\001\202\323\344\223\0025\0223/compute/" + + "v1/locations/global/operations/{operatio" + + "n}\022\244\001\n\004List\022@.google.cloud.compute.v1.Li" + + "stGlobalOrganizationOperationsRequest\032&." + + "google.cloud.compute.v1.OperationList\"2\332" + + "A\000\202\323\344\223\002)\022\'/compute/v1/locations/global/o" + + "perations\032r\312A\026compute.googleapis.com\322AVh" + + "ttps://www.googleapis.com/auth/compute,h" + + "ttps://www.googleapis.com/auth/cloud-pla" + + "tform2\321\013\n\035GlobalPublicDelegatedPrefixes\022" + + "\207\002\n\006Delete\022B.google.cloud.compute.v1.Del" + + "eteGlobalPublicDelegatedPrefixeRequest\032\"" + + ".google.cloud.compute.v1.Operation\"\224\001\332A\037" + + "project,public_delegated_prefix\212N\020Global" + + "Operations\202\323\344\223\002Y*W/compute/v1/projects/{" + + "project}/global/publicDelegatedPrefixes/" + + "{public_delegated_prefix}\022\372\001\n\003Get\022?.goog" + + "le.cloud.compute.v1.GetGlobalPublicDeleg" + + "atedPrefixeRequest\032..google.cloud.comput" + + "e.v1.PublicDelegatedPrefix\"\201\001\332A\037project," + + "public_delegated_prefix\202\323\344\223\002Y\022W/compute/" + + "v1/projects/{project}/global/publicDeleg" + + "atedPrefixes/{public_delegated_prefix}\022\230" + + "\002\n\006Insert\022B.google.cloud.compute.v1.Inse" + + "rtGlobalPublicDelegatedPrefixeRequest\032\"." + + "google.cloud.compute.v1.Operation\"\245\001\332A(p" + + "roject,public_delegated_prefix_resource\212" + + "N\020GlobalOperations\202\323\344\223\002a\"=/compute/v1/pr" + + "ojects/{project}/global/publicDelegatedP" + + "refixes: public_delegated_prefix_resourc" + + "e\022\316\001\n\004List\022A.google.cloud.compute.v1.Lis" + + "tGlobalPublicDelegatedPrefixesRequest\0322." + + "google.cloud.compute.v1.PublicDelegatedP" + + "refixList\"O\332A\007project\202\323\344\223\002?\022=/compute/v1" + + "/projects/{project}/global/publicDelegat" + + "edPrefixes\022\310\002\n\005Patch\022A.google.cloud.comp" + + "ute.v1.PatchGlobalPublicDelegatedPrefixe" + + "Request\032\".google.cloud.compute.v1.Operat" + + "ion\"\327\001\332A@project,public_delegated_prefix" + + ",public_delegated_prefix_resource\212N\020Glob" + + "alOperations\202\323\344\223\002{2W/compute/v1/projects" + + "/{project}/global/publicDelegatedPrefixe" + + "s/{public_delegated_prefix}: public_dele" + + "gated_prefix_resource\032r\312A\026compute.google" + + "apis.com\322AVhttps://www.googleapis.com/au" + + "th/compute,https://www.googleapis.com/au" + + "th/cloud-platform2\203\r\n\014HealthChecks\022\313\001\n\016A" + + "ggregatedList\022:.google.cloud.compute.v1." + + "AggregatedListHealthChecksRequest\0323.goog" + + "le.cloud.compute.v1.HealthChecksAggregat" + + "edList\"H\332A\007project\202\323\344\223\0028\0226/compute/v1/pr" + + "ojects/{project}/aggregated/healthChecks" + + "\022\324\001\n\006Delete\0221.google.cloud.compute.v1.De" + + "leteHealthCheckRequest\032\".google.cloud.co" + + "mpute.v1.Operation\"s\332A\024project,health_ch" + + "eck\212N\020GlobalOperations\202\323\344\223\002C*A/compute/v" + "1/projects/{project}/global/healthChecks" - + "\022\200\002\n\005Patch\0220.google.cloud.compute.v1.Pat" - + "chHealthCheckRequest\032\".google.cloud.comp" - + "ute.v1.Operation\"\240\001\332A*project,health_che" - + "ck,health_check_resource\212N\020GlobalOperati" - + "ons\202\323\344\223\002Z2A/compute/v1/projects/{project" - + "}/global/healthChecks/{health_check}:\025he" - + "alth_check_resource\022\202\002\n\006Update\0221.google." - + "cloud.compute.v1.UpdateHealthCheckReques" - + "t\032\".google.cloud.compute.v1.Operation\"\240\001" - + "\332A*project,health_check,health_check_res" - + "ource\212N\020GlobalOperations\202\323\344\223\002Z\032A/compute" - + "/v1/projects/{project}/global/healthChec" - + "ks/{health_check}:\025health_check_resource" - + "\032r\312A\026compute.googleapis.com\322AVhttps://ww" - + "w.googleapis.com/auth/compute,https://ww" - + "w.googleapis.com/auth/cloud-platform2\204\003\n" - + "\020ImageFamilyViews\022\310\001\n\003Get\0222.google.cloud" - + ".compute.v1.GetImageFamilyViewRequest\032(." - + "google.cloud.compute.v1.ImageFamilyView\"" - + "c\332A\023project,zone,family\202\323\344\223\002G\022E/compute/" - + "v1/projects/{project}/zones/{zone}/image" - + "FamilyViews/{family}\032\244\001\312A\026compute.google" - + "apis.com\322A\207\001https://www.googleapis.com/a" - + "uth/compute.readonly,https://www.googlea" - + "pis.com/auth/compute,https://www.googlea" - + "pis.com/auth/cloud-platform2\374\023\n\006Images\022\272" - + "\001\n\006Delete\022+.google.cloud.compute.v1.Dele" - + "teImageRequest\032\".google.cloud.compute.v1" - + ".Operation\"_\332A\rproject,image\212N\020GlobalOpe" - + "rations\202\323\344\223\0026*4/compute/v1/projects/{pro" - + "ject}/global/images/{image}\022\204\002\n\tDeprecat" - + "e\022..google.cloud.compute.v1.DeprecateIma" - + "geRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"\242\001\332A)project,image,deprecation_sta" - + "tus_resource\212N\020GlobalOperations\202\323\344\223\002]\">/" - + "compute/v1/projects/{project}/global/ima" - + "ges/{image}/deprecate:\033deprecation_statu" - + "s_resource\022\235\001\n\003Get\022(.google.cloud.comput" - + "e.v1.GetImageRequest\032\036.google.cloud.comp" - + "ute.v1.Image\"L\332A\rproject,image\202\323\344\223\0026\0224/c" - + "ompute/v1/projects/{project}/global/imag" - + "es/{image}\022\272\001\n\rGetFromFamily\0222.google.cl" - + "oud.compute.v1.GetFromFamilyImageRequest" - + "\032\036.google.cloud.compute.v1.Image\"U\332A\016pro" - + "ject,family\202\323\344\223\002>\022\",/compute/v1/proje" - + "cts/{project}/global/images:\016image_resou" - + "rce\022\226\001\n\004List\022*.google.cloud.compute.v1.L" - + "istImagesRequest\032\".google.cloud.compute." - + "v1.ImageList\">\332A\007project\202\323\344\223\002.\022,/compute" - + "/v1/projects/{project}/global/images\022\327\001\n" - + "\005Patch\022*.google.cloud.compute.v1.PatchIm" - + "ageRequest\032\".google.cloud.compute.v1.Ope" - + "ration\"~\332A\034project,image,image_resource\212" - + "N\020GlobalOperations\202\323\344\223\002F24/compute/v1/pr" - + "ojects/{project}/global/images/{image}:\016" - + "image_resource\022\213\002\n\014SetIamPolicy\0221.google" - + ".cloud.compute.v1.SetIamPolicyImageReque" - + "st\032\037.google.cloud.compute.v1.Policy\"\246\001\332A" - + "3project,resource,global_set_policy_requ" - + "est_resource\202\323\344\223\002j\"D/compute/v1/projects" - + "/{project}/global/images/{resource}/setI" - + "amPolicy:\"global_set_policy_request_reso" - + "urce\022\230\002\n\tSetLabels\022..google.cloud.comput" - + "e.v1.SetLabelsImageRequest\032\".google.clou" - + "d.compute.v1.Operation\"\266\001\332A3project,reso" - + "urce,global_set_labels_request_resource\212" - + "N\020GlobalOperations\202\323\344\223\002g\"A/compute/v1/pr" - + "ojects/{project}/global/images/{resource" - + "}/setLabels:\"global_set_labels_request_r" - + "esource\022\254\002\n\022TestIamPermissions\0227.google." - + "cloud.compute.v1.TestIamPermissionsImage" - + "Request\0320.google.cloud.compute.v1.TestPe" - + "rmissionsResponse\"\252\001\332A2project,resource," - + "test_permissions_request_resource\202\323\344\223\002o\"" - + "J/compute/v1/projects/{project}/global/i" - + "mages/{resource}/testIamPermissions:!tes" - + "t_permissions_request_resource\032r\312A\026compu" + + "/{health_check}\022\275\001\n\003Get\022..google.cloud.c" + + "ompute.v1.GetHealthCheckRequest\032$.google" + + ".cloud.compute.v1.HealthCheck\"`\332A\024projec" + + "t,health_check\202\323\344\223\002C\022A/compute/v1/projec" + + "ts/{project}/global/healthChecks/{health" + + "_check}\022\346\001\n\006Insert\0221.google.cloud.comput" + + "e.v1.InsertHealthCheckRequest\032\".google.c" + + "loud.compute.v1.Operation\"\204\001\332A\035project,h" + + "ealth_check_resource\212N\020GlobalOperations\202" + + "\323\344\223\002K\"2/compute/v1/projects/{project}/gl" + + "obal/healthChecks:\025health_check_resource" + + "\022\250\001\n\004List\0220.google.cloud.compute.v1.List" + + "HealthChecksRequest\032(.google.cloud.compu" + + "te.v1.HealthCheckList\"D\332A\007project\202\323\344\223\0024\022" + + "2/compute/v1/projects/{project}/global/h" + + "ealthChecks\022\200\002\n\005Patch\0220.google.cloud.com" + + "pute.v1.PatchHealthCheckRequest\032\".google" + + ".cloud.compute.v1.Operation\"\240\001\332A*project" + + ",health_check,health_check_resource\212N\020Gl" + + "obalOperations\202\323\344\223\002Z2A/compute/v1/projec" + + "ts/{project}/global/healthChecks/{health" + + "_check}:\025health_check_resource\022\202\002\n\006Updat" + + "e\0221.google.cloud.compute.v1.UpdateHealth" + + "CheckRequest\032\".google.cloud.compute.v1.O" + + "peration\"\240\001\332A*project,health_check,healt" + + "h_check_resource\212N\020GlobalOperations\202\323\344\223\002" + + "Z\032A/compute/v1/projects/{project}/global" + + "/healthChecks/{health_check}:\025health_che" + + "ck_resource\032r\312A\026compute.googleapis.com\322A" + + "Vhttps://www.googleapis.com/auth/compute" + + ",https://www.googleapis.com/auth/cloud-p" + + "latform2\204\003\n\020ImageFamilyViews\022\310\001\n\003Get\0222.g" + + "oogle.cloud.compute.v1.GetImageFamilyVie" + + "wRequest\032(.google.cloud.compute.v1.Image" + + "FamilyView\"c\332A\023project,zone,family\202\323\344\223\002G" + + "\022E/compute/v1/projects/{project}/zones/{" + + "zone}/imageFamilyViews/{family}\032\244\001\312A\026com" + + "pute.googleapis.com\322A\207\001https://www.googl" + + "eapis.com/auth/compute.readonly,https://" + + "www.googleapis.com/auth/compute,https://" + + "www.googleapis.com/auth/cloud-platform2\374" + + "\023\n\006Images\022\272\001\n\006Delete\022+.google.cloud.comp" + + "ute.v1.DeleteImageRequest\032\".google.cloud" + + ".compute.v1.Operation\"_\332A\rproject,image\212" + + "N\020GlobalOperations\202\323\344\223\0026*4/compute/v1/pr" + + "ojects/{project}/global/images/{image}\022\204" + + "\002\n\tDeprecate\022..google.cloud.compute.v1.D" + + "eprecateImageRequest\032\".google.cloud.comp" + + "ute.v1.Operation\"\242\001\332A)project,image,depr" + + "ecation_status_resource\212N\020GlobalOperatio" + + "ns\202\323\344\223\002]\">/compute/v1/projects/{project}" + + "/global/images/{image}/deprecate:\033deprec" + + "ation_status_resource\022\235\001\n\003Get\022(.google.c" + + "loud.compute.v1.GetImageRequest\032\036.google" + + ".cloud.compute.v1.Image\"L\332A\rproject,imag" + + "e\202\323\344\223\0026\0224/compute/v1/projects/{project}/" + + "global/images/{image}\022\272\001\n\rGetFromFamily\022" + + "2.google.cloud.compute.v1.GetFromFamilyI" + + "mageRequest\032\036.google.cloud.compute.v1.Im" + + "age\"U\332A\016project,family\202\323\344\223\002>\022\",/compu" + + "te/v1/projects/{project}/global/images:\016" + + "image_resource\022\226\001\n\004List\022*.google.cloud.c" + + "ompute.v1.ListImagesRequest\032\".google.clo" + + "ud.compute.v1.ImageList\">\332A\007project\202\323\344\223\002" + + ".\022,/compute/v1/projects/{project}/global" + + "/images\022\327\001\n\005Patch\022*.google.cloud.compute" + + ".v1.PatchImageRequest\032\".google.cloud.com" + + "pute.v1.Operation\"~\332A\034project,image,imag" + + "e_resource\212N\020GlobalOperations\202\323\344\223\002F24/co" + + "mpute/v1/projects/{project}/global/image" + + "s/{image}:\016image_resource\022\213\002\n\014SetIamPoli" + + "cy\0221.google.cloud.compute.v1.SetIamPolic" + + "yImageRequest\032\037.google.cloud.compute.v1." + + "Policy\"\246\001\332A3project,resource,global_set_" + + "policy_request_resource\202\323\344\223\002j\"D/compute/" + + "v1/projects/{project}/global/images/{res" + + "ource}/setIamPolicy:\"global_set_policy_r" + + "equest_resource\022\230\002\n\tSetLabels\022..google.c" + + "loud.compute.v1.SetLabelsImageRequest\032\"." + + "google.cloud.compute.v1.Operation\"\266\001\332A3p" + + "roject,resource,global_set_labels_reques" + + "t_resource\212N\020GlobalOperations\202\323\344\223\002g\"A/co" + + "mpute/v1/projects/{project}/global/image" + + "s/{resource}/setLabels:\"global_set_label" + + "s_request_resource\022\254\002\n\022TestIamPermission" + + "s\0227.google.cloud.compute.v1.TestIamPermi" + + "ssionsImageRequest\0320.google.cloud.comput" + + "e.v1.TestPermissionsResponse\"\252\001\332A2projec" + + "t,resource,test_permissions_request_reso" + + "urce\202\323\344\223\002o\"J/compute/v1/projects/{projec" + + "t}/global/images/{resource}/testIamPermi" + + "ssions:!test_permissions_request_resourc" + + "e\032r\312A\026compute.googleapis.com\322AVhttps://w" + + "ww.googleapis.com/auth/compute,https://w" + + "ww.googleapis.com/auth/cloud-platform2\242\016" + + "\n\"InstanceGroupManagerResizeRequests\022\311\002\n" + + "\006Cancel\022G.google.cloud.compute.v1.Cancel" + + "InstanceGroupManagerResizeRequestRequest" + + "\032\".google.cloud.compute.v1.Operation\"\321\001\332" + + "A2project,zone,instance_group_manager,re" + + "size_request\212N\016ZoneOperations\202\323\344\223\002\204\001\"\201\001/" + + "compute/v1/projects/{project}/zones/{zon" + + "e}/instanceGroupManagers/{instance_group" + + "_manager}/resizeRequests/{resize_request" + + "}/cancel\022\300\002\n\006Delete\022G.google.cloud.compu" + + "te.v1.DeleteInstanceGroupManagerResizeRe" + + "questRequest\032\".google.cloud.compute.v1.O" + + "peration\"\310\001\332A2project,zone,instance_grou" + + "p_manager,resize_request\212N\016ZoneOperation" + + "s\202\323\344\223\002|*z/compute/v1/projects/{project}/" + + "zones/{zone}/instanceGroupManagers/{inst" + + "ance_group_manager}/resizeRequests/{resi" + + "ze_request}\022\301\002\n\003Get\022D.google.cloud.compu" + + "te.v1.GetInstanceGroupManagerResizeReque" + + "stRequest\032:.google.cloud.compute.v1.Inst" + + "anceGroupManagerResizeRequest\"\267\001\332A2proje" + + "ct,zone,instance_group_manager,resize_re" + + "quest\202\323\344\223\002|\022z/compute/v1/projects/{proje" + + "ct}/zones/{zone}/instanceGroupManagers/{" + + "instance_group_manager}/resizeRequests/{" + + "resize_request}\022\200\003\n\006Insert\022G.google.clou" + + "d.compute.v1.InsertInstanceGroupManagerR" + + "esizeRequestRequest\032\".google.cloud.compu" + + "te.v1.Operation\"\210\002\332ARproject,zone,instan" + + "ce_group_manager,instance_group_manager_" + + "resize_request_resource\212N\016ZoneOperations" + + "\202\323\344\223\002\233\001\"i/compute/v1/projects/{project}/" + + "zones/{zone}/instanceGroupManagers/{inst" + + "ance_group_manager}/resizeRequests:.inst" + + "ance_group_manager_resize_request_resour" + + "ce\022\261\002\n\004List\022F.google.cloud.compute.v1.Li" + + "stInstanceGroupManagerResizeRequestsRequ" + + "est\032G.google.cloud.compute.v1.InstanceGr" + + "oupManagerResizeRequestsListResponse\"\227\001\332" + + "A#project,zone,instance_group_manager\202\323\344" + + "\223\002k\022i/compute/v1/projects/{project}/zone" + + "s/{zone}/instanceGroupManagers/{instance" + + "_group_manager}/resizeRequests\032r\312A\026compu" + "te.googleapis.com\322AVhttps://www.googleap" + "is.com/auth/compute,https://www.googleap" + "is.com/auth/cloud-platform2\3438\n\025InstanceG" @@ -18195,8 +18824,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "agers_delete_per_instance_configs_req_re" + "source\022\370\001\n\003Get\0227.google.cloud.compute.v1" + ".GetInstanceGroupManagerRequest\032-.google" - + ".cloud.compute.v1.InstanceGroupManager\"\210" - + "\001\332A#project,zone,instance_group_manager\202" + + ".cloud.compute.v1.InstanceGroupManager\"\210", + "\001\332A#project,zone,instance_group_manager\202" + "\323\344\223\002\\\022Z/compute/v1/projects/{project}/zo" + "nes/{zone}/instanceGroupManagers/{instan" + "ce_group_manager}\022\225\002\n\006Insert\022:.google.cl" @@ -18248,8 +18877,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e.cloud.compute.v1.PatchPerInstanceConfi" + "gsInstanceGroupManagerRequest\032\".google.c" + "loud.compute.v1.Operation\"\263\002\332Acproject,z" - + "one,instance_group_manager,instance_grou", - "p_managers_patch_per_instance_configs_re" + + "one,instance_group_manager,instance_grou" + + "p_managers_patch_per_instance_configs_re" + "q_resource\212N\016ZoneOperations\202\323\344\223\002\265\001\"r/com" + "pute/v1/projects/{project}/zones/{zone}/" + "instanceGroupManagers/{instance_group_ma" @@ -18375,3941 +19004,4049 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "equest_resource\032r\312A\026compute.googleapis.c" + "om\322AVhttps://www.googleapis.com/auth/com" + "pute,https://www.googleapis.com/auth/clo" - + "ud-platform2\244\020\n\021InstanceTemplates\022\331\001\n\016Ag" - + "gregatedList\022?.google.cloud.compute.v1.A" - + "ggregatedListInstanceTemplatesRequest\0327." - + "google.cloud.compute.v1.InstanceTemplate" - + "AggregatedList\"M\332A\007project\202\323\344\223\002=\022;/compu" + + "ud-platform2\313\004\n\027InstanceSettingsService\022" + + "\271\001\n\003Get\0222.google.cloud.compute.v1.GetIns" + + "tanceSettingRequest\032).google.cloud.compu" + + "te.v1.InstanceSettings\"S\332A\014project,zone\202" + + "\323\344\223\002>\022project,zone,instan" + + "ce,network_interface,access_config_resou" + + "rce\212N\016ZoneOperations\202\323\344\223\002j\"P/compute/v1/" + + "projects/{project}/zones/{zone}/instance" + + "s/{instance}/addAccessConfig:\026access_con" + + "fig_resource\022\342\002\n\023AddResourcePolicies\022;.g" + + "oogle.cloud.compute.v1.AddResourcePolici" + + "esInstanceRequest\032\".google.cloud.compute" + + ".v1.Operation\"\351\001\332AFproject,zone,instance" + + ",instances_add_resource_policies_request" + + "_resource\212N\016ZoneOperations\202\323\344\223\002\210\001\"T/comp" + + "ute/v1/projects/{project}/zones/{zone}/i" + + "nstances/{instance}/addResourcePolicies:" + + "0instances_add_resource_policies_request" + + "_resource\022\301\001\n\016AggregatedList\0227.google.cl" + + "oud.compute.v1.AggregatedListInstancesRe" + + "quest\032/.google.cloud.compute.v1.Instance" + + "AggregatedList\"E\332A\007project\202\323\344\223\0025\0223/compu" + "te/v1/projects/{project}/aggregated/inst" - + "anceTemplates\022\351\001\n\006Delete\0226.google.cloud." - + "compute.v1.DeleteInstanceTemplateRequest" - + "\032\".google.cloud.compute.v1.Operation\"\202\001\332" - + "A\031project,instance_template\212N\020GlobalOper" - + "ations\202\323\344\223\002M*K/compute/v1/projects/{proj" - + "ect}/global/instanceTemplates/{instance_" - + "template}\022\326\001\n\003Get\0223.google.cloud.compute" - + ".v1.GetInstanceTemplateRequest\032).google." - + "cloud.compute.v1.InstanceTemplate\"o\332A\031pr" - + "oject,instance_template\202\323\344\223\002M\022K/compute/" - + "v1/projects/{project}/global/instanceTem" - + "plates/{instance_template}\022\331\001\n\014GetIamPol" - + "icy\022<.google.cloud.compute.v1.GetIamPoli" - + "cyInstanceTemplateRequest\032\037.google.cloud" - + ".compute.v1.Policy\"j\332A\020project,resource\202" - + "\323\344\223\002Q\022O/compute/v1/projects/{project}/gl" - + "obal/instanceTemplates/{resource}/getIam" - + "Policy\022\372\001\n\006Insert\0226.google.cloud.compute" - + ".v1.InsertInstanceTemplateRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"\223\001\332A\"proje" - + "ct,instance_template_resource\212N\020GlobalOp" - + "erations\202\323\344\223\002U\"7/compute/v1/projects/{pr" - + "oject}/global/instanceTemplates:\032instanc" - + "e_template_resource\022\267\001\n\004List\0225.google.cl" - + "oud.compute.v1.ListInstanceTemplatesRequ" - + "est\032-.google.cloud.compute.v1.InstanceTe" - + "mplateList\"I\332A\007project\202\323\344\223\0029\0227/compute/v" - + "1/projects/{project}/global/instanceTemp" - + "lates\022\241\002\n\014SetIamPolicy\022<.google.cloud.co" - + "mpute.v1.SetIamPolicyInstanceTemplateReq" - + "uest\032\037.google.cloud.compute.v1.Policy\"\261\001" - + "\332A3project,resource,global_set_policy_re" - + "quest_resource\202\323\344\223\002u\"O/compute/v1/projec" - + "ts/{project}/global/instanceTemplates/{r" - + "esource}/setIamPolicy:\"global_set_policy" - + "_request_resource\022\302\002\n\022TestIamPermissions" - + "\022B.google.cloud.compute.v1.TestIamPermis" - + "sionsInstanceTemplateRequest\0320.google.cl" - + "oud.compute.v1.TestPermissionsResponse\"\265" - + "\001\332A2project,resource,test_permissions_re" - + "quest_resource\202\323\344\223\002z\"U/compute/v1/projec" - + "ts/{project}/global/instanceTemplates/{r" - + "esource}/testIamPermissions:!test_permis" - + "sions_request_resource\032r\312A\026compute.googl" - + "eapis.com\322AVhttps://www.googleapis.com/a" - + "uth/compute,https://www.googleapis.com/a" - + "uth/cloud-platform2\214i\n\tInstances\022\263\002\n\017Add" - + "AccessConfig\0227.google.cloud.compute.v1.A" - + "ddAccessConfigInstanceRequest\032\".google.c" - + "loud.compute.v1.Operation\"\302\001\332A>project,z" - + "one,instance,network_interface,access_co" - + "nfig_resource\212N\016ZoneOperations\202\323\344\223\002j\"P/c" - + "ompute/v1/projects/{project}/zones/{zone" - + "}/instances/{instance}/addAccessConfig:\026" - + "access_config_resource\022\342\002\n\023AddResourcePo" - + "licies\022;.google.cloud.compute.v1.AddReso" - + "urcePoliciesInstanceRequest\032\".google.clo" - + "ud.compute.v1.Operation\"\351\001\332AFproject,zon" - + "e,instance,instances_add_resource_polici" - + "es_request_resource\212N\016ZoneOperations\202\323\344\223" - + "\002\210\001\"T/compute/v1/projects/{project}/zone" - + "s/{zone}/instances/{instance}/addResourc" - + "ePolicies:0instances_add_resource_polici" - + "es_request_resource\022\301\001\n\016AggregatedList\0227" - + ".google.cloud.compute.v1.AggregatedListI" - + "nstancesRequest\032/.google.cloud.compute.v" - + "1.InstanceAggregatedList\"E\332A\007project\202\323\344\223" - + "\0025\0223/compute/v1/projects/{project}/aggre" - + "gated/instances\022\222\002\n\nAttachDisk\0222.google." - + "cloud.compute.v1.AttachDiskInstanceReque" - + "st\032\".google.cloud.compute.v1.Operation\"\253" - + "\001\332A,project,zone,instance,attached_disk_" - + "resource\212N\016ZoneOperations\202\323\344\223\002e\"K/comput" - + "e/v1/projects/{project}/zones/{zone}/ins" - + "tances/{instance}/attachDisk:\026attached_d" - + "isk_resource\022\236\002\n\nBulkInsert\0222.google.clo" - + "ud.compute.v1.BulkInsertInstanceRequest\032" - + "\".google.cloud.compute.v1.Operation\"\267\001\332A" - + "3project,zone,bulk_insert_instance_resou" - + "rce_resource\212N\016ZoneOperations\202\323\344\223\002j\"@/co" + + "ances\022\222\002\n\nAttachDisk\0222.google.cloud.comp" + + "ute.v1.AttachDiskInstanceRequest\032\".googl" + + "e.cloud.compute.v1.Operation\"\253\001\332A,projec" + + "t,zone,instance,attached_disk_resource\212N" + + "\016ZoneOperations\202\323\344\223\002e\"K/compute/v1/proje" + + "cts/{project}/zones/{zone}/instances/{in" + + "stance}/attachDisk:\026attached_disk_resour" + + "ce\022\236\002\n\nBulkInsert\0222.google.cloud.compute" + + ".v1.BulkInsertInstanceRequest\032\".google.c" + + "loud.compute.v1.Operation\"\267\001\332A3project,z" + + "one,bulk_insert_instance_resource_resour" + + "ce\212N\016ZoneOperations\202\323\344\223\002j\"@/compute/v1/p" + + "rojects/{project}/zones/{zone}/instances" + + "/bulkInsert:&bulk_insert_instance_resour" + + "ce_resource\022\317\001\n\006Delete\022..google.cloud.co" + + "mpute.v1.DeleteInstanceRequest\032\".google." + + "cloud.compute.v1.Operation\"q\332A\025project,z" + + "one,instance\212N\016ZoneOperations\202\323\344\223\002B*@/co" + "mpute/v1/projects/{project}/zones/{zone}" - + "/instances/bulkInsert:&bulk_insert_insta" - + "nce_resource_resource\022\317\001\n\006Delete\022..googl" - + "e.cloud.compute.v1.DeleteInstanceRequest" - + "\032\".google.cloud.compute.v1.Operation\"q\332A" - + "\025project,zone,instance\212N\016ZoneOperations\202" - + "\323\344\223\002B*@/compute/v1/projects/{project}/zo" - + "nes/{zone}/instances/{instance}\022\233\002\n\022Dele" - + "teAccessConfig\022:.google.cloud.compute.v1" - + ".DeleteAccessConfigInstanceRequest\032\".goo" - + "gle.cloud.compute.v1.Operation\"\244\001\332A5proj" - + "ect,zone,instance,access_config,network_" - + "interface\212N\016ZoneOperations\202\323\344\223\002U\"S/compu" + + "/instances/{instance}\022\233\002\n\022DeleteAccessCo" + + "nfig\022:.google.cloud.compute.v1.DeleteAcc" + + "essConfigInstanceRequest\032\".google.cloud." + + "compute.v1.Operation\"\244\001\332A5project,zone,i" + + "nstance,access_config,network_interface\212" + + "N\016ZoneOperations\202\323\344\223\002U\"S/compute/v1/proj" + + "ects/{project}/zones/{zone}/instances/{i" + + "nstance}/deleteAccessConfig\022\357\001\n\nDetachDi" + + "sk\0222.google.cloud.compute.v1.DetachDiskI" + + "nstanceRequest\032\".google.cloud.compute.v1" + + ".Operation\"\210\001\332A!project,zone,instance,de" + + "vice_name\212N\016ZoneOperations\202\323\344\223\002M\"K/compu" + "te/v1/projects/{project}/zones/{zone}/in" - + "stances/{instance}/deleteAccessConfig\022\357\001" - + "\n\nDetachDisk\0222.google.cloud.compute.v1.D" - + "etachDiskInstanceRequest\032\".google.cloud." - + "compute.v1.Operation\"\210\001\332A!project,zone,i" - + "nstance,device_name\212N\016ZoneOperations\202\323\344\223" - + "\002M\"K/compute/v1/projects/{project}/zones" - + "/{zone}/instances/{instance}/detachDisk\022" - + "\267\001\n\003Get\022+.google.cloud.compute.v1.GetIns" - + "tanceRequest\032!.google.cloud.compute.v1.I" - + "nstance\"`\332A\025project,zone,instance\202\323\344\223\002B\022" - + "@/compute/v1/projects/{project}/zones/{z" - + "one}/instances/{instance}\022\242\002\n\025GetEffecti" - + "veFirewalls\022=.google.cloud.compute.v1.Ge" - + "tEffectiveFirewallsInstanceRequest\032?.goo" - + "gle.cloud.compute.v1.InstancesGetEffecti" - + "veFirewallsResponse\"\210\001\332A\'project,zone,in" - + "stance,network_interface\202\323\344\223\002X\022V/compute" - + "/v1/projects/{project}/zones/{zone}/inst" - + "ances/{instance}/getEffectiveFirewalls\022\357" - + "\001\n\022GetGuestAttributes\022:.google.cloud.com" - + "pute.v1.GetGuestAttributesInstanceReques" - + "t\032(.google.cloud.compute.v1.GuestAttribu" - + "tes\"s\332A\025project,zone,instance\202\323\344\223\002U\022S/co" - + "mpute/v1/projects/{project}/zones/{zone}" - + "/instances/{instance}/getGuestAttributes" - + "\022\324\001\n\014GetIamPolicy\0224.google.cloud.compute" - + ".v1.GetIamPolicyInstanceRequest\032\037.google" - + ".cloud.compute.v1.Policy\"m\332A\025project,zon" - + "e,resource\202\323\344\223\002O\022M/compute/v1/projects/{" - + "project}/zones/{zone}/instances/{resourc" - + "e}/getIamPolicy\022\330\001\n\rGetScreenshot\0225.goog" - + "le.cloud.compute.v1.GetScreenshotInstanc" - + "eRequest\032#.google.cloud.compute.v1.Scree" - + "nshot\"k\332A\025project,zone,instance\202\323\344\223\002M\022K/" - + "compute/v1/projects/{project}/zones/{zon" - + "e}/instances/{instance}/screenshot\022\352\001\n\023G" - + "etSerialPortOutput\022;.google.cloud.comput" - + "e.v1.GetSerialPortOutputInstanceRequest\032" - + ").google.cloud.compute.v1.SerialPortOutp" - + "ut\"k\332A\025project,zone,instance\202\323\344\223\002M\022K/com" - + "pute/v1/projects/{project}/zones/{zone}/" - + "instances/{instance}/serialPort\022\223\002\n\033GetS" - + "hieldedInstanceIdentity\022C.google.cloud.c" - + "ompute.v1.GetShieldedInstanceIdentityIns" - + "tanceRequest\0321.google.cloud.compute.v1.S" - + "hieldedInstanceIdentity\"|\332A\025project,zone" - + ",instance\202\323\344\223\002^\022\\/compute/v1/projects/{p" - + "roject}/zones/{zone}/instances/{instance" - + "}/getShieldedInstanceIdentity\022\341\001\n\006Insert" - + "\022..google.cloud.compute.v1.InsertInstanc" - + "eRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"\202\001\332A\036project,zone,instance_resource" - + "\212N\016ZoneOperations\202\323\344\223\002J\"5/compute/v1/pro" - + "jects/{project}/zones/{zone}/instances:\021" - + "instance_resource\022\252\001\n\004List\022-.google.clou" - + "d.compute.v1.ListInstancesRequest\032%.goog" - + "le.cloud.compute.v1.InstanceList\"L\332A\014pro" - + "ject,zone\202\323\344\223\0027\0225/compute/v1/projects/{p" - + "roject}/zones/{zone}/instances\022\343\001\n\rListR" - + "eferrers\0226.google.cloud.compute.v1.ListR" - + "eferrersInstancesRequest\032..google.cloud." - + "compute.v1.InstanceListReferrers\"j\332A\025pro" - + "ject,zone,instance\202\323\344\223\002L\022J/compute/v1/pr" - + "ojects/{project}/zones/{zone}/instances/" - + "{instance}/referrers\022\373\001\n\022PerformMaintena" - + "nce\022:.google.cloud.compute.v1.PerformMai" - + "ntenanceInstanceRequest\032\".google.cloud.c" - + "ompute.v1.Operation\"\204\001\332A\025project,zone,in" - + "stance\212N\016ZoneOperations\202\323\344\223\002U\"S/compute/" + + "stances/{instance}/detachDisk\022\267\001\n\003Get\022+." + + "google.cloud.compute.v1.GetInstanceReque" + + "st\032!.google.cloud.compute.v1.Instance\"`\332" + + "A\025project,zone,instance\202\323\344\223\002B\022@/compute/" + "v1/projects/{project}/zones/{zone}/insta" - + "nces/{instance}/performMaintenance\022\361\002\n\026R" - + "emoveResourcePolicies\022>.google.cloud.com" - + "pute.v1.RemoveResourcePoliciesInstanceRe" - + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\362\001\332AIproject,zone,instance,instances_r" - + "emove_resource_policies_request_resource" - + "\212N\016ZoneOperations\202\323\344\223\002\216\001\"W/compute/v1/pr" - + "ojects/{project}/zones/{zone}/instances/" - + "{instance}/removeResourcePolicies:3insta" - + "nces_remove_resource_policies_request_re" - + "source\022\323\001\n\005Reset\022-.google.cloud.compute." - + "v1.ResetInstanceRequest\032\".google.cloud.c" - + "ompute.v1.Operation\"w\332A\025project,zone,ins" - + "tance\212N\016ZoneOperations\202\323\344\223\002H\"F/compute/v" - + "1/projects/{project}/zones/{zone}/instan" - + "ces/{instance}/reset\022\326\001\n\006Resume\022..google" - + ".cloud.compute.v1.ResumeInstanceRequest\032" - + "\".google.cloud.compute.v1.Operation\"x\332A\025" - + "project,zone,instance\212N\016ZoneOperations\202\323" - + "\344\223\002I\"G/compute/v1/projects/{project}/zon" - + "es/{zone}/instances/{instance}/resume\022\226\002" - + "\n\027SendDiagnosticInterrupt\022?.google.cloud" - + ".compute.v1.SendDiagnosticInterruptInsta" - + "nceRequest\032@.google.cloud.compute.v1.Sen" - + "dDiagnosticInterruptInstanceResponse\"x\332A" - + "\025project,zone,instance\202\323\344\223\002Z\"X/compute/v" - + "1/projects/{project}/zones/{zone}/instan" - + "ces/{instance}/sendDiagnosticInterrupt\022\204" - + "\002\n\025SetDeletionProtection\022=.google.cloud." - + "compute.v1.SetDeletionProtectionInstance" - + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\207\001\332A\025project,zone,resource\212N\016ZoneOpe" - + "rations\202\323\344\223\002X\"V/compute/v1/projects/{pro" - + "ject}/zones/{zone}/instances/{resource}/" - + "setDeletionProtection\022\220\002\n\021SetDiskAutoDel" - + "ete\0229.google.cloud.compute.v1.SetDiskAut" - + "oDeleteInstanceRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\233\001\332A-project,zone,ins" - + "tance,auto_delete,device_name\212N\016ZoneOper" - + "ations\202\323\344\223\002T\"R/compute/v1/projects/{proj" - + "ect}/zones/{zone}/instances/{instance}/s" - + "etDiskAutoDelete\022\230\002\n\014SetIamPolicy\0224.goog" - + "le.cloud.compute.v1.SetIamPolicyInstance" - + "Request\032\037.google.cloud.compute.v1.Policy" - + "\"\260\001\332A6project,zone,resource,zone_set_pol" - + "icy_request_resource\202\323\344\223\002q\"M/compute/v1/" - + "projects/{project}/zones/{zone}/instance" - + "s/{resource}/setIamPolicy: zone_set_poli" - + "cy_request_resource\022\255\002\n\tSetLabels\0221.goog" - + "le.cloud.compute.v1.SetLabelsInstanceReq" - + "uest\032\".google.cloud.compute.v1.Operation" - + "\"\310\001\332A;project,zone,instance,instances_se" - + "t_labels_request_resource\212N\016ZoneOperatio" - + "ns\202\323\344\223\002s\"J/compute/v1/projects/{project}" - + "/zones/{zone}/instances/{instance}/setLa" - + "bels:%instances_set_labels_request_resou" - + "rce\022\342\002\n\023SetMachineResources\022;.google.clo" - + "ud.compute.v1.SetMachineResourcesInstanc" - + "eRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"\351\001\332AFproject,zone,instance,instance" - + "s_set_machine_resources_request_resource" - + "\212N\016ZoneOperations\202\323\344\223\002\210\001\"T/compute/v1/pr" - + "ojects/{project}/zones/{zone}/instances/" - + "{instance}/setMachineResources:0instance" - + "s_set_machine_resources_request_resource" - + "\022\310\002\n\016SetMachineType\0226.google.cloud.compu" - + "te.v1.SetMachineTypeInstanceRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\331\001\332AApro" - + "ject,zone,instance,instances_set_machine" - + "_type_request_resource\212N\016ZoneOperations\202" - + "\323\344\223\002~\"O/compute/v1/projects/{project}/zo" - + "nes/{zone}/instances/{instance}/setMachi" - + "neType:+instances_set_machine_type_reque" - + "st_resource\022\213\002\n\013SetMetadata\0223.google.clo" - + "ud.compute.v1.SetMetadataInstanceRequest" - + "\032\".google.cloud.compute.v1.Operation\"\242\001\332" - + "A\'project,zone,instance,metadata_resourc" - + "e\212N\016ZoneOperations\202\323\344\223\002a\"L/compute/v1/pr" + + "nces/{instance}\022\242\002\n\025GetEffectiveFirewall" + + "s\022=.google.cloud.compute.v1.GetEffective" + + "FirewallsInstanceRequest\032?.google.cloud." + + "compute.v1.InstancesGetEffectiveFirewall" + + "sResponse\"\210\001\332A\'project,zone,instance,net" + + "work_interface\202\323\344\223\002X\022V/compute/v1/projec" + + "ts/{project}/zones/{zone}/instances/{ins" + + "tance}/getEffectiveFirewalls\022\357\001\n\022GetGues" + + "tAttributes\022:.google.cloud.compute.v1.Ge" + + "tGuestAttributesInstanceRequest\032(.google" + + ".cloud.compute.v1.GuestAttributes\"s\332A\025pr" + + "oject,zone,instance\202\323\344\223\002U\022S/compute/v1/p" + + "rojects/{project}/zones/{zone}/instances" + + "/{instance}/getGuestAttributes\022\324\001\n\014GetIa" + + "mPolicy\0224.google.cloud.compute.v1.GetIam" + + "PolicyInstanceRequest\032\037.google.cloud.com" + + "pute.v1.Policy\"m\332A\025project,zone,resource" + + "\202\323\344\223\002O\022M/compute/v1/projects/{project}/z" + + "ones/{zone}/instances/{resource}/getIamP" + + "olicy\022\330\001\n\rGetScreenshot\0225.google.cloud.c" + + "ompute.v1.GetScreenshotInstanceRequest\032#" + + ".google.cloud.compute.v1.Screenshot\"k\332A\025" + + "project,zone,instance\202\323\344\223\002M\022K/compute/v1" + + "/projects/{project}/zones/{zone}/instanc" + + "es/{instance}/screenshot\022\352\001\n\023GetSerialPo" + + "rtOutput\022;.google.cloud.compute.v1.GetSe" + + "rialPortOutputInstanceRequest\032).google.c" + + "loud.compute.v1.SerialPortOutput\"k\332A\025pro" + + "ject,zone,instance\202\323\344\223\002M\022K/compute/v1/pr" + "ojects/{project}/zones/{zone}/instances/" - + "{instance}/setMetadata:\021metadata_resourc" - + "e\022\332\002\n\021SetMinCpuPlatform\0229.google.cloud.c" - + "ompute.v1.SetMinCpuPlatformInstanceReque" - + "st\032\".google.cloud.compute.v1.Operation\"\345" - + "\001\332AEproject,zone,instance,instances_set_" - + "min_cpu_platform_request_resource\212N\016Zone" - + "Operations\202\323\344\223\002\205\001\"R/compute/v1/projects/" - + "{project}/zones/{zone}/instances/{instan" - + "ce}/setMinCpuPlatform:/instances_set_min" - + "_cpu_platform_request_resource\022\243\002\n\007SetNa" - + "me\022/.google.cloud.compute.v1.SetNameInst" - + "anceRequest\032\".google.cloud.compute.v1.Op" - + "eration\"\302\001\332A9project,zone,instance,insta" - + "nces_set_name_request_resource\212N\016ZoneOpe" - + "rations\202\323\344\223\002o\"H/compute/v1/projects/{pro" - + "ject}/zones/{zone}/instances/{instance}/" - + "setName:#instances_set_name_request_reso" - + "urce\022\225\002\n\rSetScheduling\0225.google.cloud.co" - + "mpute.v1.SetSchedulingInstanceRequest\032\"." - + "google.cloud.compute.v1.Operation\"\250\001\332A)p" - + "roject,zone,instance,scheduling_resource" - + "\212N\016ZoneOperations\202\323\344\223\002e\"N/compute/v1/pro" - + "jects/{project}/zones/{zone}/instances/{" - + "instance}/setScheduling:\023scheduling_reso" - + "urce\022\330\002\n\021SetSecurityPolicy\0229.google.clou", - "d.compute.v1.SetSecurityPolicyInstanceRe" - + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\343\001\332ADproject,zone,instance,instances_s" - + "et_security_policy_request_resource\212N\016Zo" - + "neOperations\202\323\344\223\002\204\001\"R/compute/v1/project" + + "{instance}/serialPort\022\223\002\n\033GetShieldedIns" + + "tanceIdentity\022C.google.cloud.compute.v1." + + "GetShieldedInstanceIdentityInstanceReque" + + "st\0321.google.cloud.compute.v1.ShieldedIns" + + "tanceIdentity\"|\332A\025project,zone,instance\202" + + "\323\344\223\002^\022\\/compute/v1/projects/{project}/zo" + + "nes/{zone}/instances/{instance}/getShiel" + + "dedInstanceIdentity\022\341\001\n\006Insert\022..google." + + "cloud.compute.v1.InsertInstanceRequest\032\"" + + ".google.cloud.compute.v1.Operation\"\202\001\332A\036" + + "project,zone,instance_resource\212N\016ZoneOpe" + + "rations\202\323\344\223\002J\"5/compute/v1/projects/{pro" + + "ject}/zones/{zone}/instances:\021instance_r" + + "esource\022\252\001\n\004List\022-.google.cloud.compute." + + "v1.ListInstancesRequest\032%.google.cloud.c" + + "ompute.v1.InstanceList\"L\332A\014project,zone\202" + + "\323\344\223\0027\0225/compute/v1/projects/{project}/zo" + + "nes/{zone}/instances\022\343\001\n\rListReferrers\0226" + + ".google.cloud.compute.v1.ListReferrersIn" + + "stancesRequest\032..google.cloud.compute.v1" + + ".InstanceListReferrers\"j\332A\025project,zone," + + "instance\202\323\344\223\002L\022J/compute/v1/projects/{pr" + + "oject}/zones/{zone}/instances/{instance}" + + "/referrers\022\373\001\n\022PerformMaintenance\022:.goog" + + "le.cloud.compute.v1.PerformMaintenanceIn" + + "stanceRequest\032\".google.cloud.compute.v1." + + "Operation\"\204\001\332A\025project,zone,instance\212N\016Z" + + "oneOperations\202\323\344\223\002U\"S/compute/v1/project" + "s/{project}/zones/{zone}/instances/{inst" - + "ance}/setSecurityPolicy:.instances_set_s" - + "ecurity_policy_request_resource\022\330\002\n\021SetS" - + "erviceAccount\0229.google.cloud.compute.v1." - + "SetServiceAccountInstanceRequest\032\".googl" - + "e.cloud.compute.v1.Operation\"\343\001\332ADprojec" - + "t,zone,instance,instances_set_service_ac" - + "count_request_resource\212N\016ZoneOperations\202" - + "\323\344\223\002\204\001\"R/compute/v1/projects/{project}/z" - + "ones/{zone}/instances/{instance}/setServ" - + "iceAccount:.instances_set_service_accoun" - + "t_request_resource\022\205\003\n\"SetShieldedInstan" - + "ceIntegrityPolicy\022J.google.cloud.compute" - + ".v1.SetShieldedInstanceIntegrityPolicyIn" + + "ance}/performMaintenance\022\361\002\n\026RemoveResou" + + "rcePolicies\022>.google.cloud.compute.v1.Re" + + "moveResourcePoliciesInstanceRequest\032\".go" + + "ogle.cloud.compute.v1.Operation\"\362\001\332AIpro" + + "ject,zone,instance,instances_remove_reso" + + "urce_policies_request_resource\212N\016ZoneOpe" + + "rations\202\323\344\223\002\216\001\"W/compute/v1/projects/{pr" + + "oject}/zones/{zone}/instances/{instance}" + + "/removeResourcePolicies:3instances_remov" + + "e_resource_policies_request_resource\022\323\001\n" + + "\005Reset\022-.google.cloud.compute.v1.ResetIn" + "stanceRequest\032\".google.cloud.compute.v1." - + "Operation\"\356\001\332AAproject,zone,instance,shi" - + "elded_instance_integrity_policy_resource" - + "\212N\016ZoneOperations\202\323\344\223\002\222\0012c/compute/v1/pr" - + "ojects/{project}/zones/{zone}/instances/" - + "{instance}/setShieldedInstanceIntegrityP" - + "olicy:+shielded_instance_integrity_polic" - + "y_resource\022\367\001\n\007SetTags\022/.google.cloud.co" - + "mpute.v1.SetTagsInstanceRequest\032\".google" - + ".cloud.compute.v1.Operation\"\226\001\332A#project" - + ",zone,instance,tags_resource\212N\016ZoneOpera" - + "tions\202\323\344\223\002Y\"H/compute/v1/projects/{proje" - + "ct}/zones/{zone}/instances/{instance}/se" - + "tTags:\rtags_resource\022\215\002\n\030SimulateMainten" - + "anceEvent\022@.google.cloud.compute.v1.Simu" - + "lateMaintenanceEventInstanceRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\212\001\332A\025pro" - + "ject,zone,instance\212N\016ZoneOperations\202\323\344\223\002" - + "[\"Y/compute/v1/projects/{project}/zones/" - + "{zone}/instances/{instance}/simulateMain" - + "tenanceEvent\022\323\001\n\005Start\022-.google.cloud.co" - + "mpute.v1.StartInstanceRequest\032\".google.c" - + "loud.compute.v1.Operation\"w\332A\025project,zo" - + "ne,instance\212N\016ZoneOperations\202\323\344\223\002H\"F/com" - + "pute/v1/projects/{project}/zones/{zone}/" - + "instances/{instance}/start\022\363\002\n\026StartWith" - + "EncryptionKey\022>.google.cloud.compute.v1." - + "StartWithEncryptionKeyInstanceRequest\032\"." - + "google.cloud.compute.v1.Operation\"\364\001\332AJp" - + "roject,zone,instance,instances_start_wit" - + "h_encryption_key_request_resource\212N\016Zone" - + "Operations\202\323\344\223\002\217\001\"W/compute/v1/projects/" - + "{project}/zones/{zone}/instances/{instan" - + "ce}/startWithEncryptionKey:4instances_st" - + "art_with_encryption_key_request_resource" - + "\022\320\001\n\004Stop\022,.google.cloud.compute.v1.Stop" - + "InstanceRequest\032\".google.cloud.compute.v" - + "1.Operation\"v\332A\025project,zone,instance\212N\016" - + "ZoneOperations\202\323\344\223\002G\"E/compute/v1/projec" - + "ts/{project}/zones/{zone}/instances/{ins" - + "tance}/stop\022\331\001\n\007Suspend\022/.google.cloud.c" - + "ompute.v1.SuspendInstanceRequest\032\".googl" - + "e.cloud.compute.v1.Operation\"y\332A\025project" - + ",zone,instance\212N\016ZoneOperations\202\323\344\223\002J\"H/" - + "compute/v1/projects/{project}/zones/{zon" - + "e}/instances/{instance}/suspend\022\275\002\n\022Test" - + "IamPermissions\022:.google.cloud.compute.v1" - + ".TestIamPermissionsInstanceRequest\0320.goo" - + "gle.cloud.compute.v1.TestPermissionsResp" - + "onse\"\270\001\332A7project,zone,resource,test_per" - + "missions_request_resource\202\323\344\223\002x\"S/comput" - + "e/v1/projects/{project}/zones/{zone}/ins" - + "tances/{resource}/testIamPermissions:!te" - + "st_permissions_request_resource\022\365\001\n\006Upda" - + "te\022..google.cloud.compute.v1.UpdateInsta" - + "nceRequest\032\".google.cloud.compute.v1.Ope" - + "ration\"\226\001\332A\'project,zone,instance,instan" - + "ce_resource\212N\016ZoneOperations\202\323\344\223\002U\032@/com" + + "Operation\"w\332A\025project,zone,instance\212N\016Zo" + + "neOperations\202\323\344\223\002H\"F/compute/v1/projects" + + "/{project}/zones/{zone}/instances/{insta" + + "nce}/reset\022\326\001\n\006Resume\022..google.cloud.com" + + "pute.v1.ResumeInstanceRequest\032\".google.c" + + "loud.compute.v1.Operation\"x\332A\025project,zo" + + "ne,instance\212N\016ZoneOperations\202\323\344\223\002I\"G/com" + "pute/v1/projects/{project}/zones/{zone}/" - + "instances/{instance}:\021instance_resource\022" - + "\274\002\n\022UpdateAccessConfig\022:.google.cloud.co" - + "mpute.v1.UpdateAccessConfigInstanceReque" - + "st\032\".google.cloud.compute.v1.Operation\"\305" - + "\001\332A>project,zone,instance,network_interf" - + "ace,access_config_resource\212N\016ZoneOperati" - + "ons\202\323\344\223\002m\"S/compute/v1/projects/{project" - + "}/zones/{zone}/instances/{instance}/upda" - + "teAccessConfig:\026access_config_resource\022\257" - + "\002\n\023UpdateDisplayDevice\022;.google.cloud.co" - + "mpute.v1.UpdateDisplayDeviceInstanceRequ" + + "instances/{instance}/resume\022\226\002\n\027SendDiag" + + "nosticInterrupt\022?.google.cloud.compute.v" + + "1.SendDiagnosticInterruptInstanceRequest" + + "\032@.google.cloud.compute.v1.SendDiagnosti" + + "cInterruptInstanceResponse\"x\332A\025project,z" + + "one,instance\202\323\344\223\002Z\"X/compute/v1/projects" + + "/{project}/zones/{zone}/instances/{insta" + + "nce}/sendDiagnosticInterrupt\022\204\002\n\025SetDele" + + "tionProtection\022=.google.cloud.compute.v1" + + ".SetDeletionProtectionInstanceRequest\032\"." + + "google.cloud.compute.v1.Operation\"\207\001\332A\025p" + + "roject,zone,resource\212N\016ZoneOperations\202\323\344" + + "\223\002X\"V/compute/v1/projects/{project}/zone" + + "s/{zone}/instances/{resource}/setDeletio" + + "nProtection\022\220\002\n\021SetDiskAutoDelete\0229.goog" + + "le.cloud.compute.v1.SetDiskAutoDeleteIns", + "tanceRequest\032\".google.cloud.compute.v1.O" + + "peration\"\233\001\332A-project,zone,instance,auto" + + "_delete,device_name\212N\016ZoneOperations\202\323\344\223" + + "\002T\"R/compute/v1/projects/{project}/zones" + + "/{zone}/instances/{instance}/setDiskAuto" + + "Delete\022\230\002\n\014SetIamPolicy\0224.google.cloud.c" + + "ompute.v1.SetIamPolicyInstanceRequest\032\037." + + "google.cloud.compute.v1.Policy\"\260\001\332A6proj" + + "ect,zone,resource,zone_set_policy_reques" + + "t_resource\202\323\344\223\002q\"M/compute/v1/projects/{" + + "project}/zones/{zone}/instances/{resourc" + + "e}/setIamPolicy: zone_set_policy_request" + + "_resource\022\255\002\n\tSetLabels\0221.google.cloud.c" + + "ompute.v1.SetLabelsInstanceRequest\032\".goo" + + "gle.cloud.compute.v1.Operation\"\310\001\332A;proj" + + "ect,zone,instance,instances_set_labels_r" + + "equest_resource\212N\016ZoneOperations\202\323\344\223\002s\"J" + + "/compute/v1/projects/{project}/zones/{zo" + + "ne}/instances/{instance}/setLabels:%inst" + + "ances_set_labels_request_resource\022\342\002\n\023Se" + + "tMachineResources\022;.google.cloud.compute" + + ".v1.SetMachineResourcesInstanceRequest\032\"" + + ".google.cloud.compute.v1.Operation\"\351\001\332AF" + + "project,zone,instance,instances_set_mach" + + "ine_resources_request_resource\212N\016ZoneOpe" + + "rations\202\323\344\223\002\210\001\"T/compute/v1/projects/{pr" + + "oject}/zones/{zone}/instances/{instance}" + + "/setMachineResources:0instances_set_mach" + + "ine_resources_request_resource\022\310\002\n\016SetMa" + + "chineType\0226.google.cloud.compute.v1.SetM" + + "achineTypeInstanceRequest\032\".google.cloud" + + ".compute.v1.Operation\"\331\001\332AAproject,zone," + + "instance,instances_set_machine_type_requ" + + "est_resource\212N\016ZoneOperations\202\323\344\223\002~\"O/co" + + "mpute/v1/projects/{project}/zones/{zone}" + + "/instances/{instance}/setMachineType:+in" + + "stances_set_machine_type_request_resourc" + + "e\022\213\002\n\013SetMetadata\0223.google.cloud.compute" + + ".v1.SetMetadataInstanceRequest\032\".google." + + "cloud.compute.v1.Operation\"\242\001\332A\'project," + + "zone,instance,metadata_resource\212N\016ZoneOp" + + "erations\202\323\344\223\002a\"L/compute/v1/projects/{pr" + + "oject}/zones/{zone}/instances/{instance}" + + "/setMetadata:\021metadata_resource\022\332\002\n\021SetM" + + "inCpuPlatform\0229.google.cloud.compute.v1." + + "SetMinCpuPlatformInstanceRequest\032\".googl" + + "e.cloud.compute.v1.Operation\"\345\001\332AEprojec" + + "t,zone,instance,instances_set_min_cpu_pl" + + "atform_request_resource\212N\016ZoneOperations" + + "\202\323\344\223\002\205\001\"R/compute/v1/projects/{project}/" + + "zones/{zone}/instances/{instance}/setMin" + + "CpuPlatform:/instances_set_min_cpu_platf" + + "orm_request_resource\022\243\002\n\007SetName\022/.googl" + + "e.cloud.compute.v1.SetNameInstanceReques" + + "t\032\".google.cloud.compute.v1.Operation\"\302\001" + + "\332A9project,zone,instance,instances_set_n" + + "ame_request_resource\212N\016ZoneOperations\202\323\344" + + "\223\002o\"H/compute/v1/projects/{project}/zone" + + "s/{zone}/instances/{instance}/setName:#i" + + "nstances_set_name_request_resource\022\225\002\n\rS" + + "etScheduling\0225.google.cloud.compute.v1.S" + + "etSchedulingInstanceRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\250\001\332A)project,zon" + + "e,instance,scheduling_resource\212N\016ZoneOpe" + + "rations\202\323\344\223\002e\"N/compute/v1/projects/{pro" + + "ject}/zones/{zone}/instances/{instance}/" + + "setScheduling:\023scheduling_resource\022\330\002\n\021S" + + "etSecurityPolicy\0229.google.cloud.compute." + + "v1.SetSecurityPolicyInstanceRequest\032\".go" + + "ogle.cloud.compute.v1.Operation\"\343\001\332ADpro" + + "ject,zone,instance,instances_set_securit" + + "y_policy_request_resource\212N\016ZoneOperatio" + + "ns\202\323\344\223\002\204\001\"R/compute/v1/projects/{project" + + "}/zones/{zone}/instances/{instance}/setS" + + "ecurityPolicy:.instances_set_security_po" + + "licy_request_resource\022\330\002\n\021SetServiceAcco" + + "unt\0229.google.cloud.compute.v1.SetService" + + "AccountInstanceRequest\032\".google.cloud.co" + + "mpute.v1.Operation\"\343\001\332ADproject,zone,ins" + + "tance,instances_set_service_account_requ" + + "est_resource\212N\016ZoneOperations\202\323\344\223\002\204\001\"R/c" + + "ompute/v1/projects/{project}/zones/{zone" + + "}/instances/{instance}/setServiceAccount" + + ":.instances_set_service_account_request_" + + "resource\022\205\003\n\"SetShieldedInstanceIntegrit" + + "yPolicy\022J.google.cloud.compute.v1.SetShi" + + "eldedInstanceIntegrityPolicyInstanceRequ" + "est\032\".google.cloud.compute.v1.Operation\"" - + "\266\001\332A-project,zone,instance,display_devic" - + "e_resource\212N\016ZoneOperations\202\323\344\223\002o2T/comp" - + "ute/v1/projects/{project}/zones/{zone}/i" - + "nstances/{instance}/updateDisplayDevice:" - + "\027display_device_resource\022\320\002\n\026UpdateNetwo" - + "rkInterface\022>.google.cloud.compute.v1.Up" - + "dateNetworkInterfaceInstanceRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\321\001\332ABpro" - + "ject,zone,instance,network_interface,net" - + "work_interface_resource\212N\016ZoneOperations" - + "\202\323\344\223\002u2W/compute/v1/projects/{project}/z" - + "ones/{zone}/instances/{instance}/updateN" - + "etworkInterface:\032network_interface_resou" - + "rce\022\337\002\n\034UpdateShieldedInstanceConfig\022D.g" - + "oogle.cloud.compute.v1.UpdateShieldedIns" - + "tanceConfigInstanceRequest\032\".google.clou" - + "d.compute.v1.Operation\"\324\001\332A7project,zone" - + ",instance,shielded_instance_config_resou" - + "rce\212N\016ZoneOperations\202\323\344\223\002\202\0012]/compute/v1" - + "/projects/{project}/zones/{zone}/instanc" - + "es/{instance}/updateShieldedInstanceConf" - + "ig:!shielded_instance_config_resource\032r\312" - + "A\026compute.googleapis.com\322AVhttps://www.g" - + "oogleapis.com/auth/compute,https://www.g" - + "oogleapis.com/auth/cloud-platform2\203\023\n\020In" - + "stantSnapshots\022\326\001\n\016AggregatedList\022>.goog" - + "le.cloud.compute.v1.AggregatedListInstan" - + "tSnapshotsRequest\0326.google.cloud.compute" - + ".v1.InstantSnapshotAggregatedList\"L\332A\007pr" - + "oject\202\323\344\223\002<\022:/compute/v1/projects/{proje" - + "ct}/aggregated/instantSnapshots\022\356\001\n\006Dele" - + "te\0225.google.cloud.compute.v1.DeleteInsta" - + "ntSnapshotRequest\032\".google.cloud.compute" - + ".v1.Operation\"\210\001\332A\035project,zone,instant_" - + "snapshot\212N\016ZoneOperations\202\323\344\223\002Q*O/comput" + + "\356\001\332AAproject,zone,instance,shielded_inst" + + "ance_integrity_policy_resource\212N\016ZoneOpe" + + "rations\202\323\344\223\002\222\0012c/compute/v1/projects/{pr" + + "oject}/zones/{zone}/instances/{instance}" + + "/setShieldedInstanceIntegrityPolicy:+shi" + + "elded_instance_integrity_policy_resource" + + "\022\367\001\n\007SetTags\022/.google.cloud.compute.v1.S" + + "etTagsInstanceRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\226\001\332A#project,zone,inst" + + "ance,tags_resource\212N\016ZoneOperations\202\323\344\223\002" + + "Y\"H/compute/v1/projects/{project}/zones/" + + "{zone}/instances/{instance}/setTags:\rtag" + + "s_resource\022\215\002\n\030SimulateMaintenanceEvent\022" + + "@.google.cloud.compute.v1.SimulateMainte" + + "nanceEventInstanceRequest\032\".google.cloud" + + ".compute.v1.Operation\"\212\001\332A\025project,zone," + + "instance\212N\016ZoneOperations\202\323\344\223\002[\"Y/comput" + "e/v1/projects/{project}/zones/{zone}/ins" - + "tantSnapshots/{instant_snapshot}\022\334\001\n\003Get" - + "\0222.google.cloud.compute.v1.GetInstantSna" - + "pshotRequest\032(.google.cloud.compute.v1.I" - + "nstantSnapshot\"w\332A\035project,zone,instant_" - + "snapshot\202\323\344\223\002Q\022O/compute/v1/projects/{pr" - + "oject}/zones/{zone}/instantSnapshots/{in" - + "stant_snapshot}\022\342\001\n\014GetIamPolicy\022;.googl" - + "e.cloud.compute.v1.GetIamPolicyInstantSn" - + "apshotRequest\032\037.google.cloud.compute.v1." - + "Policy\"t\332A\025project,zone,resource\202\323\344\223\002V\022T" - + "/compute/v1/projects/{project}/zones/{zo" - + "ne}/instantSnapshots/{resource}/getIamPo" - + "licy\022\377\001\n\006Insert\0225.google.cloud.compute.v" - + "1.InsertInstantSnapshotRequest\032\".google." - + "cloud.compute.v1.Operation\"\231\001\332A&project," - + "zone,instant_snapshot_resource\212N\016ZoneOpe" - + "rations\202\323\344\223\002Y\"\022.google.cloud.compute.v1.StartWithE" + + "ncryptionKeyInstanceRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\364\001\332AJproject,zon" + + "e,instance,instances_start_with_encrypti" + + "on_key_request_resource\212N\016ZoneOperations" + + "\202\323\344\223\002\217\001\"W/compute/v1/projects/{project}/" + + "zones/{zone}/instances/{instance}/startW" + + "ithEncryptionKey:4instances_start_with_e" + + "ncryption_key_request_resource\022\320\001\n\004Stop\022" + + ",.google.cloud.compute.v1.StopInstanceRe" + + "quest\032\".google.cloud.compute.v1.Operatio" + + "n\"v\332A\025project,zone,instance\212N\016ZoneOperat" + + "ions\202\323\344\223\002G\"E/compute/v1/projects/{projec" + + "t}/zones/{zone}/instances/{instance}/sto" + + "p\022\331\001\n\007Suspend\022/.google.cloud.compute.v1." + + "SuspendInstanceRequest\032\".google.cloud.co" + + "mpute.v1.Operation\"y\332A\025project,zone,inst" + + "ance\212N\016ZoneOperations\202\323\344\223\002J\"H/compute/v1" + + "/projects/{project}/zones/{zone}/instanc" + + "es/{instance}/suspend\022\275\002\n\022TestIamPermiss" + + "ions\022:.google.cloud.compute.v1.TestIamPe" + + "rmissionsInstanceRequest\0320.google.cloud." + + "compute.v1.TestPermissionsResponse\"\270\001\332A7" + + "project,zone,resource,test_permissions_r" + + "equest_resource\202\323\344\223\002x\"S/compute/v1/proje" + + "cts/{project}/zones/{zone}/instances/{re" + + "source}/testIamPermissions:!test_permiss" + + "ions_request_resource\022\365\001\n\006Update\022..googl" + + "e.cloud.compute.v1.UpdateInstanceRequest" + + "\032\".google.cloud.compute.v1.Operation\"\226\001\332" + + "A\'project,zone,instance,instance_resourc" + + "e\212N\016ZoneOperations\202\323\344\223\002U\032@/compute/v1/pr" + + "ojects/{project}/zones/{zone}/instances/" + + "{instance}:\021instance_resource\022\274\002\n\022Update" + + "AccessConfig\022:.google.cloud.compute.v1.U" + + "pdateAccessConfigInstanceRequest\032\".googl" + + "e.cloud.compute.v1.Operation\"\305\001\332A>projec" + + "t,zone,instance,network_interface,access" + + "_config_resource\212N\016ZoneOperations\202\323\344\223\002m\"" + + "S/compute/v1/projects/{project}/zones/{z" + + "one}/instances/{instance}/updateAccessCo" + + "nfig:\026access_config_resource\022\257\002\n\023UpdateD" + + "isplayDevice\022;.google.cloud.compute.v1.U" + + "pdateDisplayDeviceInstanceRequest\032\".goog" + + "le.cloud.compute.v1.Operation\"\266\001\332A-proje" + + "ct,zone,instance,display_device_resource" + + "\212N\016ZoneOperations\202\323\344\223\002o2T/compute/v1/pro" + + "jects/{project}/zones/{zone}/instances/{" + + "instance}/updateDisplayDevice:\027display_d" + + "evice_resource\022\320\002\n\026UpdateNetworkInterfac" + + "e\022>.google.cloud.compute.v1.UpdateNetwor" + + "kInterfaceInstanceRequest\032\".google.cloud" + + ".compute.v1.Operation\"\321\001\332ABproject,zone," + + "instance,network_interface,network_inter" + + "face_resource\212N\016ZoneOperations\202\323\344\223\002u2W/c" + + "ompute/v1/projects/{project}/zones/{zone" + + "}/instances/{instance}/updateNetworkInte" + + "rface:\032network_interface_resource\022\337\002\n\034Up" + + "dateShieldedInstanceConfig\022D.google.clou" + + "d.compute.v1.UpdateShieldedInstanceConfi" + + "gInstanceRequest\032\".google.cloud.compute." + + "v1.Operation\"\324\001\332A7project,zone,instance," + + "shielded_instance_config_resource\212N\016Zone" + + "Operations\202\323\344\223\002\202\0012]/compute/v1/projects/" + + "{project}/zones/{zone}/instances/{instan" + + "ce}/updateShieldedInstanceConfig:!shield" + + "ed_instance_config_resource\032r\312A\026compute." + + "googleapis.com\322AVhttps://www.googleapis." + + "com/auth/compute,https://www.googleapis." + + "com/auth/cloud-platform2\203\023\n\020InstantSnaps" + + "hots\022\326\001\n\016AggregatedList\022>.google.cloud.c" + + "ompute.v1.AggregatedListInstantSnapshots" + + "Request\0326.google.cloud.compute.v1.Instan" + + "tSnapshotAggregatedList\"L\332A\007project\202\323\344\223\002" + + "<\022:/compute/v1/projects/{project}/aggreg" + + "ated/instantSnapshots\022\356\001\n\006Delete\0225.googl" + + "e.cloud.compute.v1.DeleteInstantSnapshot" + + "Request\032\".google.cloud.compute.v1.Operat" + + "ion\"\210\001\332A\035project,zone,instant_snapshot\212N" + + "\016ZoneOperations\202\323\344\223\002Q*O/compute/v1/proje" + + "cts/{project}/zones/{zone}/instantSnapsh" + + "ots/{instant_snapshot}\022\334\001\n\003Get\0222.google." + + "cloud.compute.v1.GetInstantSnapshotReque" + + "st\032(.google.cloud.compute.v1.InstantSnap" + + "shot\"w\332A\035project,zone,instant_snapshot\202\323" + + "\344\223\002Q\022O/compute/v1/projects/{project}/zon" + + "es/{zone}/instantSnapshots/{instant_snap" + + "shot}\022\342\001\n\014GetIamPolicy\022;.google.cloud.co" + + "mpute.v1.GetIamPolicyInstantSnapshotRequ" + + "est\032\037.google.cloud.compute.v1.Policy\"t\332A" + + "\025project,zone,resource\202\323\344\223\002V\022T/compute/v" + "1/projects/{project}/zones/{zone}/instan" - + "tSnapshots/{resource}/testIamPermissions" - + ":!test_permissions_request_resource\032r\312A\026" - + "compute.googleapis.com\322AVhttps://www.goo" - + "gleapis.com/auth/compute,https://www.goo" - + "gleapis.com/auth/cloud-platform2\302\020\n\027Inte" - + "rconnectAttachments\022\353\001\n\016AggregatedList\022E" - + ".google.cloud.compute.v1.AggregatedListI" - + "nterconnectAttachmentsRequest\032=.google.c" - + "loud.compute.v1.InterconnectAttachmentAg" - + "gregatedList\"S\332A\007project\202\323\344\223\002C\022A/compute" - + "/v1/projects/{project}/aggregated/interc" - + "onnectAttachments\022\222\002\n\006Delete\022<.google.cl" - + "oud.compute.v1.DeleteInterconnectAttachm" - + "entRequest\032\".google.cloud.compute.v1.Ope" - + "ration\"\245\001\332A&project,region,interconnect_" - + "attachment\212N\020RegionOperations\202\323\344\223\002c*a/co" - + "mpute/v1/projects/{project}/regions/{reg" - + "ion}/interconnectAttachments/{interconne" - + "ct_attachment}\022\206\002\n\003Get\0229.google.cloud.co" - + "mpute.v1.GetInterconnectAttachmentReques" - + "t\032/.google.cloud.compute.v1.Interconnect" - + "Attachment\"\222\001\332A&project,region,interconn" - + "ect_attachment\202\323\344\223\002c\022a/compute/v1/projec" - + "ts/{project}/regions/{region}/interconne" - + "ctAttachments/{interconnect_attachment}\022" - + "\243\002\n\006Insert\022<.google.cloud.compute.v1.Ins" - + "ertInterconnectAttachmentRequest\032\".googl" - + "e.cloud.compute.v1.Operation\"\266\001\332A/projec" - + "t,region,interconnect_attachment_resourc" - + "e\212N\020RegionOperations\202\323\344\223\002k\"G/compute/v1/" - + "projects/{project}/regions/{region}/inte" - + "rconnectAttachments: interconnect_attach" - + "ment_resource\022\332\001\n\004List\022;.google.cloud.co" - + "mpute.v1.ListInterconnectAttachmentsRequ" - + "est\0323.google.cloud.compute.v1.Interconne" - + "ctAttachmentList\"`\332A\016project,region\202\323\344\223\002" - + "I\022G/compute/v1/projects/{project}/region" - + "s/{region}/interconnectAttachments\022\324\002\n\005P" - + "atch\022;.google.cloud.compute.v1.PatchInte" - + "rconnectAttachmentRequest\032\".google.cloud" - + ".compute.v1.Operation\"\351\001\332AGproject,regio" - + "n,interconnect_attachment,interconnect_a" - + "ttachment_resource\212N\020RegionOperations\202\323\344" - + "\223\002\205\0012a/compute/v1/projects/{project}/reg" - + "ions/{region}/interconnectAttachments/{i" - + "nterconnect_attachment}: interconnect_at" - + "tachment_resource\022\314\002\n\tSetLabels\022?.google" - + ".cloud.compute.v1.SetLabelsInterconnectA" - + "ttachmentRequest\032\".google.cloud.compute." - + "v1.Operation\"\331\001\332A:project,region,resourc" - + "e,region_set_labels_request_resource\212N\020R" - + "egionOperations\202\323\344\223\002\202\001\"\\/compute/v1/proj" - + "ects/{project}/regions/{region}/intercon" - + "nectAttachments/{resource}/setLabels:\"re" - + "gion_set_labels_request_resource\032r\312A\026com" - + "pute.googleapis.com\322AVhttps://www.google" - + "apis.com/auth/compute,https://www.google" - + "apis.com/auth/cloud-platform2\361\004\n\025Interco" - + "nnectLocations\022\352\001\n\003Get\0227.google.cloud.co" - + "mpute.v1.GetInterconnectLocationRequest\032" - + "-.google.cloud.compute.v1.InterconnectLo" - + "cation\"{\332A\035project,interconnect_location" - + "\202\323\344\223\002U\022S/compute/v1/projects/{project}/g" - + "lobal/interconnectLocations/{interconnec" - + "t_location}\022\303\001\n\004List\0229.google.cloud.comp" - + "ute.v1.ListInterconnectLocationsRequest\032" - + "1.google.cloud.compute.v1.InterconnectLo" - + "cationList\"M\332A\007project\202\323\344\223\002=\022;/compute/v" - + "1/projects/{project}/global/interconnect" - + "Locations\032\244\001\312A\026compute.googleapis.com\322A\207" - + "\001https://www.googleapis.com/auth/compute" - + ".readonly,https://www.googleapis.com/aut" - + "h/compute,https://www.googleapis.com/aut" - + "h/cloud-platform2\252\005\n\033InterconnectRemoteL" - + "ocations\022\213\002\n\003Get\022=.google.cloud.compute." - + "v1.GetInterconnectRemoteLocationRequest\032" - + "3.google.cloud.compute.v1.InterconnectRe" - + "moteLocation\"\217\001\332A$project,interconnect_r" - + "emote_location\202\323\344\223\002b\022`/compute/v1/projec" - + "ts/{project}/global/interconnectRemoteLo" - + "cations/{interconnect_remote_location}\022\325" - + "\001\n\004List\022?.google.cloud.compute.v1.ListIn" - + "terconnectRemoteLocationsRequest\0327.googl" - + "e.cloud.compute.v1.InterconnectRemoteLoc" - + "ationList\"S\332A\007project\202\323\344\223\002C\022A/compute/v1" - + "/projects/{project}/global/interconnectR" - + "emoteLocations\032\244\001\312A\026compute.googleapis.c" - + "om\322A\207\001https://www.googleapis.com/auth/co" - + "mpute.readonly,https://www.googleapis.co" + + "tSnapshots/{resource}/getIamPolicy\022\377\001\n\006I" + + "nsert\0225.google.cloud.compute.v1.InsertIn" + + "stantSnapshotRequest\032\".google.cloud.comp" + + "ute.v1.Operation\"\231\001\332A&project,zone,insta" + + "nt_snapshot_resource\212N\016ZoneOperations\202\323\344" + + "\223\002Y\"\022.google.cloud.compute.v1.TestIamPe" - + "rmissionsMachineImageRequest\0320.google.cl" - + "oud.compute.v1.TestPermissionsResponse\"\261" - + "\001\332A2project,resource,test_permissions_re" - + "quest_resource\202\323\344\223\002v\"Q/compute/v1/projec" - + "ts/{project}/global/machineImages/{resou" - + "rce}/testIamPermissions:!test_permission" - + "s_request_resource\032r\312A\026compute.googleapi" - + "s.com\322AVhttps://www.googleapis.com/auth/" - + "compute,https://www.googleapis.com/auth/" - + "cloud-platform2\203\006\n\014MachineTypes\022\312\001\n\016Aggr" - + "egatedList\022:.google.cloud.compute.v1.Agg" - + "regatedListMachineTypesRequest\0322.google." - + "cloud.compute.v1.MachineTypeAggregatedLi" - + "st\"H\332A\007project\202\323\344\223\0028\0226/compute/v1/projec" - + "ts/{project}/aggregated/machineTypes\022\310\001\n" - + "\003Get\022..google.cloud.compute.v1.GetMachin" - + "eTypeRequest\032$.google.cloud.compute.v1.M" - + "achineType\"k\332A\031project,zone,machine_type" - + "\202\323\344\223\002I\022G/compute/v1/projects/{project}/z" - + "ones/{zone}/machineTypes/{machine_type}\022" - + "\263\001\n\004List\0220.google.cloud.compute.v1.ListM" - + "achineTypesRequest\032(.google.cloud.comput" - + "e.v1.MachineTypeList\"O\332A\014project,zone\202\323\344" - + "\223\002:\0228/compute/v1/projects/{project}/zone" - + "s/{zone}/machineTypes\032\244\001\312A\026compute.googl" - + "eapis.com\322A\207\001https://www.googleapis.com/" - + "auth/compute.readonly,https://www.google" - + "apis.com/auth/compute,https://www.google" - + "apis.com/auth/cloud-platform2\360\023\n\022Network" - + "Attachments\022\334\001\n\016AggregatedList\022@.google." - + "cloud.compute.v1.AggregatedListNetworkAt" - + "tachmentsRequest\0328.google.cloud.compute." - + "v1.NetworkAttachmentAggregatedList\"N\332A\007p" - + "roject\202\323\344\223\002>\022.goo" + + "gle.cloud.compute.v1.TestIamPermissionsM" + + "achineImageRequest\0320.google.cloud.comput" + + "e.v1.TestPermissionsResponse\"\261\001\332A2projec" + + "t,resource,test_permissions_request_reso" + + "urce\202\323\344\223\002v\"Q/compute/v1/projects/{projec" + + "t}/global/machineImages/{resource}/testI" + + "amPermissions:!test_permissions_request_" + + "resource\032r\312A\026compute.googleapis.com\322AVht" + + "tps://www.googleapis.com/auth/compute,ht" + + "tps://www.googleapis.com/auth/cloud-plat" + + "form2\203\006\n\014MachineTypes\022\312\001\n\016AggregatedList" + + "\022:.google.cloud.compute.v1.AggregatedLis" + + "tMachineTypesRequest\0322.google.cloud.comp" + + "ute.v1.MachineTypeAggregatedList\"H\332A\007pro" + + "ject\202\323\344\223\0028\0226/compute/v1/projects/{projec" + + "t}/aggregated/machineTypes\022\310\001\n\003Get\022..goo" + + "gle.cloud.compute.v1.GetMachineTypeReque" + + "st\032$.google.cloud.compute.v1.MachineType" + + "\"k\332A\031project,zone,machine_type\202\323\344\223\002I\022G/c" + + "ompute/v1/projects/{project}/zones/{zone" + + "}/machineTypes/{machine_type}\022\263\001\n\004List\0220" + + ".google.cloud.compute.v1.ListMachineType" + + "sRequest\032(.google.cloud.compute.v1.Machi" + + "neTypeList\"O\332A\014project,zone\202\323\344\223\002:\0228/comp" + + "ute/v1/projects/{project}/zones/{zone}/m" + + "achineTypes\032\244\001\312A\026compute.googleapis.com\322" + + "A\207\001https://www.googleapis.com/auth/compu" + + "te.readonly,https://www.googleapis.com/a" + + "uth/compute,https://www.googleapis.com/a" + + "uth/cloud-platform2\360\023\n\022NetworkAttachment" + + "s\022\334\001\n\016AggregatedList\022@.google.cloud.comp" + + "ute.v1.AggregatedListNetworkAttachmentsR" + + "equest\0328.google.cloud.compute.v1.Network" + + "AttachmentAggregatedList\"N\332A\007project\202\323\344\223" + + "\002>\022.google.cloud.compute.v1.Patc" - + "hRuleNetworkFirewallPolicyRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"\304\001\332A5proje" - + "ct,firewall_policy,firewall_policy_rule_" - + "resource\212N\020GlobalOperations\202\323\344\223\002s\"R/comp" - + "ute/v1/projects/{project}/global/firewal" - + "lPolicies/{firewall_policy}/patchRule:\035f" - + "irewall_policy_rule_resource\022\221\002\n\021RemoveA" - + "ssociation\022F.google.cloud.compute.v1.Rem" - + "oveAssociationNetworkFirewallPolicyReque" - + "st\032\".google.cloud.compute.v1.Operation\"\217" - + "\001\332A\027project,firewall_policy\212N\020GlobalOper" - + "ations\202\323\344\223\002\\\"Z/compute/v1/projects/{proj" - + "ect}/global/firewallPolicies/{firewall_p" - + "olicy}/removeAssociation\022\374\001\n\nRemoveRule\022" - + "?.google.cloud.compute.v1.RemoveRuleNetw" - + "orkFirewallPolicyRequest\032\".google.cloud." - + "compute.v1.Operation\"\210\001\332A\027project,firewa" - + "ll_policy\212N\020GlobalOperations\202\323\344\223\002U\"S/com" - + "pute/v1/projects/{project}/global/firewa" - + "llPolicies/{firewall_policy}/removeRule\022" - + "\245\002\n\014SetIamPolicy\022A.google.cloud.compute." - + "v1.SetIamPolicyNetworkFirewallPolicyRequ" - + "est\032\037.google.cloud.compute.v1.Policy\"\260\001\332" - + "A3project,resource,global_set_policy_req" - + "uest_resource\202\323\344\223\002t\"N/compute/v1/project" - + "s/{project}/global/firewallPolicies/{res" - + "ource}/setIamPolicy:\"global_set_policy_r" - + "equest_resource\022\306\002\n\022TestIamPermissions\022G" - + ".google.cloud.compute.v1.TestIamPermissi" - + "onsNetworkFirewallPolicyRequest\0320.google" - + ".cloud.compute.v1.TestPermissionsRespons" - + "e\"\264\001\332A2project,resource,test_permissions" - + "_request_resource\202\323\344\223\002y\"T/compute/v1/pro" + + "}\022\324\001\n\003Get\0228.google.cloud.compute.v1.GetN" + + "etworkFirewallPolicyRequest\032\'.google.clo" + + "ud.compute.v1.FirewallPolicy\"j\332A\027project" + + ",firewall_policy\202\323\344\223\002J\022H/compute/v1/proj" + + "ects/{project}/global/firewallPolicies/{" + + "firewall_policy}\022\204\002\n\016GetAssociation\022C.go" + + "ogle.cloud.compute.v1.GetAssociationNetw" + + "orkFirewallPolicyRequest\0322.google.cloud." + + "compute.v1.FirewallPolicyAssociation\"y\332A" + + "\027project,firewall_policy\202\323\344\223\002Y\022W/compute" + + "/v1/projects/{project}/global/firewallPo" + + "licies/{firewall_policy}/getAssociation\022" + + "\335\001\n\014GetIamPolicy\022A.google.cloud.compute." + + "v1.GetIamPolicyNetworkFirewallPolicyRequ" + + "est\032\037.google.cloud.compute.v1.Policy\"i\332A" + + "\020project,resource\202\323\344\223\002P\022N/compute/v1/pro" + "jects/{project}/global/firewallPolicies/" - + "{resource}/testIamPermissions:!test_perm" - + "issions_request_resource\032r\312A\026compute.goo" - + "gleapis.com\322AVhttps://www.googleapis.com" - + "/auth/compute,https://www.googleapis.com" - + "/auth/cloud-platform2\267\025\n\010Networks\022\243\002\n\nAd" - + "dPeering\0221.google.cloud.compute.v1.AddPe" - + "eringNetworkRequest\032\".google.cloud.compu" - + "te.v1.Operation\"\275\001\332A5project,network,net" - + "works_add_peering_request_resource\212N\020Glo" - + "balOperations\202\323\344\223\002l\"C/compute/v1/project" - + "s/{project}/global/networks/{network}/ad" - + "dPeering:%networks_add_peering_request_r" - + "esource\022\302\001\n\006Delete\022-.google.cloud.comput" - + "e.v1.DeleteNetworkRequest\032\".google.cloud" - + ".compute.v1.Operation\"e\332A\017project,networ" - + "k\212N\020GlobalOperations\202\323\344\223\002:*8/compute/v1/" + + "{resource}/getIamPolicy\022\350\001\n\007GetRule\022<.go" + + "ogle.cloud.compute.v1.GetRuleNetworkFire" + + "wallPolicyRequest\032+.google.cloud.compute" + + ".v1.FirewallPolicyRule\"r\332A\027project,firew" + + "all_policy\202\323\344\223\002R\022P/compute/v1/projects/{" + + "project}/global/firewallPolicies/{firewa" + + "ll_policy}/getRule\022\372\001\n\006Insert\022;.google.c" + + "loud.compute.v1.InsertNetworkFirewallPol" + + "icyRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"\216\001\332A project,firewall_policy_reso" + + "urce\212N\020GlobalOperations\202\323\344\223\002R\"6/compute/" + + "v1/projects/{project}/global/firewallPol" + + "icies:\030firewall_policy_resource\022\272\001\n\004List" + + "\022;.google.cloud.compute.v1.ListNetworkFi" + + "rewallPoliciesRequest\032+.google.cloud.com" + + "pute.v1.FirewallPolicyList\"H\332A\007project\202\323" + + "\344\223\0028\0226/compute/v1/projects/{project}/glo" + + "bal/firewallPolicies\022\232\002\n\005Patch\022:.google." + + "cloud.compute.v1.PatchNetworkFirewallPol" + + "icyRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"\260\001\332A0project,firewall_policy,fire" + + "wall_policy_resource\212N\020GlobalOperations\202" + + "\323\344\223\002d2H/compute/v1/projects/{project}/gl" + + "obal/firewallPolicies/{firewall_policy}:" + + "\030firewall_policy_resource\022\266\002\n\tPatchRule\022" + + ">.google.cloud.compute.v1.PatchRuleNetwo" + + "rkFirewallPolicyRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\304\001\332A5project,firewal" + + "l_policy,firewall_policy_rule_resource\212N" + + "\020GlobalOperations\202\323\344\223\002s\"R/compute/v1/pro" + + "jects/{project}/global/firewallPolicies/" + + "{firewall_policy}/patchRule:\035firewall_po" + + "licy_rule_resource\022\221\002\n\021RemoveAssociation" + + "\022F.google.cloud.compute.v1.RemoveAssocia" + + "tionNetworkFirewallPolicyRequest\032\".googl" + + "e.cloud.compute.v1.Operation\"\217\001\332A\027projec" + + "t,firewall_policy\212N\020GlobalOperations\202\323\344\223" + + "\002\\\"Z/compute/v1/projects/{project}/globa" + + "l/firewallPolicies/{firewall_policy}/rem" + + "oveAssociation\022\374\001\n\nRemoveRule\022?.google.c" + + "loud.compute.v1.RemoveRuleNetworkFirewal" + + "lPolicyRequest\032\".google.cloud.compute.v1" + + ".Operation\"\210\001\332A\027project,firewall_policy\212" + + "N\020GlobalOperations\202\323\344\223\002U\"S/compute/v1/pr" + + "ojects/{project}/global/firewallPolicies" + + "/{firewall_policy}/removeRule\022\245\002\n\014SetIam" + + "Policy\022A.google.cloud.compute.v1.SetIamP" + + "olicyNetworkFirewallPolicyRequest\032\037.goog" + + "le.cloud.compute.v1.Policy\"\260\001\332A3project," + + "resource,global_set_policy_request_resou" + + "rce\202\323\344\223\002t\"N/compute/v1/projects/{project" + + "}/global/firewallPolicies/{resource}/set" + + "IamPolicy:\"global_set_policy_request_res" + + "ource\022\306\002\n\022TestIamPermissions\022G.google.cl" + + "oud.compute.v1.TestIamPermissionsNetwork" + + "FirewallPolicyRequest\0320.google.cloud.com" + + "pute.v1.TestPermissionsResponse\"\264\001\332A2pro" + + "ject,resource,test_permissions_request_r" + + "esource\202\323\344\223\002y\"T/compute/v1/projects/{pro" + + "ject}/global/firewallPolicies/{resource}" + + "/testIamPermissions:!test_permissions_re" + + "quest_resource\032r\312A\026compute.googleapis.co" + + "m\322AVhttps://www.googleapis.com/auth/comp" + + "ute,https://www.googleapis.com/auth/clou" + + "d-platform2\267\025\n\010Networks\022\243\002\n\nAddPeering\0221" + + ".google.cloud.compute.v1.AddPeeringNetwo" + + "rkRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\275\001\332A5project,network,networks_add_" + + "peering_request_resource\212N\020GlobalOperati" + + "ons\202\323\344\223\002l\"C/compute/v1/projects/{project", + "}/global/networks/{network}/addPeering:%" + + "networks_add_peering_request_resource\022\302\001" + + "\n\006Delete\022-.google.cloud.compute.v1.Delet" + + "eNetworkRequest\032\".google.cloud.compute.v" + + "1.Operation\"e\332A\017project,network\212N\020Global" + + "Operations\202\323\344\223\002:*8/compute/v1/projects/{" + + "project}/global/networks/{network}\022\247\001\n\003G" + + "et\022*.google.cloud.compute.v1.GetNetworkR" + + "equest\032 .google.cloud.compute.v1.Network" + + "\"R\332A\017project,network\202\323\344\223\002:\0228/compute/v1/" + "projects/{project}/global/networks/{netw" - + "ork}\022\247\001\n\003Get\022*.google.cloud.compute.v1.G" - + "etNetworkRequest\032 .google.cloud.compute." - + "v1.Network\"R\332A\017project,network\202\323\344\223\002:\0228/c" - + "ompute/v1/projects/{project}/global/netw" - + "orks/{network}\022\377\001\n\025GetEffectiveFirewalls" - + "\022<.google.cloud.compute.v1.GetEffectiveF" - + "irewallsNetworkRequest\032>.google.cloud.co" - + "mpute.v1.NetworksGetEffectiveFirewallsRe" - + "sponse\"h\332A\017project,network\202\323\344\223\002P\022N/compu" - + "te/v1/projects/{project}/global/networks" - + "/{network}/getEffectiveFirewalls\022\323\001\n\006Ins" - + "ert\022-.google.cloud.compute.v1.InsertNetw" - + "orkRequest\032\".google.cloud.compute.v1.Ope" - + "ration\"v\332A\030project,network_resource\212N\020Gl" - + "obalOperations\202\323\344\223\002B\"./compute/v1/projec" - + "ts/{project}/global/networks:\020network_re" - + "source\022\234\001\n\004List\022,.google.cloud.compute.v" - + "1.ListNetworksRequest\032$.google.cloud.com" - + "pute.v1.NetworkList\"@\332A\007project\202\323\344\223\0020\022./" - + "compute/v1/projects/{project}/global/net" - + "works\022\351\001\n\021ListPeeringRoutes\0229.google.clo" - + "ud.compute.v1.ListPeeringRoutesNetworksR" - + "equest\0323.google.cloud.compute.v1.Exchang" - + "edPeeringRoutesList\"d\332A\017project,network\202" - + "\323\344\223\002L\022J/compute/v1/projects/{project}/gl" - + "obal/networks/{network}/listPeeringRoute" - + "s\022\344\001\n\005Patch\022,.google.cloud.compute.v1.Pa" - + "tchNetworkRequest\032\".google.cloud.compute" - + ".v1.Operation\"\210\001\332A project,network,netwo" - + "rk_resource\212N\020GlobalOperations\202\323\344\223\002L28/c" - + "ompute/v1/projects/{project}/global/netw" - + "orks/{network}:\020network_resource\022\262\002\n\rRem" - + "ovePeering\0224.google.cloud.compute.v1.Rem" - + "ovePeeringNetworkRequest\032\".google.cloud." - + "compute.v1.Operation\"\306\001\332A8project,networ" - + "k,networks_remove_peering_request_resour" - + "ce\212N\020GlobalOperations\202\323\344\223\002r\"F/compute/v1" - + "/projects/{project}/global/networks/{net" - + "work}/removePeering:(networks_remove_pee" - + "ring_request_resource\022\355\001\n\022SwitchToCustom" - + "Mode\0229.google.cloud.compute.v1.SwitchToC" - + "ustomModeNetworkRequest\032\".google.cloud.c" - + "ompute.v1.Operation\"x\332A\017project,network\212" - + "N\020GlobalOperations\202\323\344\223\002M\"K/compute/v1/pr" - + "ojects/{project}/global/networks/{networ" - + "k}/switchToCustomMode\022\262\002\n\rUpdatePeering\022" - + "4.google.cloud.compute.v1.UpdatePeeringN" + + "ork}\022\377\001\n\025GetEffectiveFirewalls\022<.google." + + "cloud.compute.v1.GetEffectiveFirewallsNe" + + "tworkRequest\032>.google.cloud.compute.v1.N" + + "etworksGetEffectiveFirewallsResponse\"h\332A" + + "\017project,network\202\323\344\223\002P\022N/compute/v1/proj" + + "ects/{project}/global/networks/{network}" + + "/getEffectiveFirewalls\022\323\001\n\006Insert\022-.goog" + + "le.cloud.compute.v1.InsertNetworkRequest" + + "\032\".google.cloud.compute.v1.Operation\"v\332A" + + "\030project,network_resource\212N\020GlobalOperat" + + "ions\202\323\344\223\002B\"./compute/v1/projects/{projec" + + "t}/global/networks:\020network_resource\022\234\001\n" + + "\004List\022,.google.cloud.compute.v1.ListNetw" + + "orksRequest\032$.google.cloud.compute.v1.Ne" + + "tworkList\"@\332A\007project\202\323\344\223\0020\022./compute/v1" + + "/projects/{project}/global/networks\022\351\001\n\021" + + "ListPeeringRoutes\0229.google.cloud.compute" + + ".v1.ListPeeringRoutesNetworksRequest\0323.g" + + "oogle.cloud.compute.v1.ExchangedPeeringR" + + "outesList\"d\332A\017project,network\202\323\344\223\002L\022J/co" + + "mpute/v1/projects/{project}/global/netwo" + + "rks/{network}/listPeeringRoutes\022\344\001\n\005Patc" + + "h\022,.google.cloud.compute.v1.PatchNetwork" + + "Request\032\".google.cloud.compute.v1.Operat" + + "ion\"\210\001\332A project,network,network_resourc" + + "e\212N\020GlobalOperations\202\323\344\223\002L28/compute/v1/" + + "projects/{project}/global/networks/{netw" + + "ork}:\020network_resource\022\262\002\n\rRemovePeering" + + "\0224.google.cloud.compute.v1.RemovePeering" + + "NetworkRequest\032\".google.cloud.compute.v1" + + ".Operation\"\306\001\332A8project,network,networks" + + "_remove_peering_request_resource\212N\020Globa" + + "lOperations\202\323\344\223\002r\"F/compute/v1/projects/" + + "{project}/global/networks/{network}/remo" + + "vePeering:(networks_remove_peering_reque" + + "st_resource\022\355\001\n\022SwitchToCustomMode\0229.goo" + + "gle.cloud.compute.v1.SwitchToCustomModeN" + "etworkRequest\032\".google.cloud.compute.v1." - + "Operation\"\306\001\332A8project,network,networks_" - + "update_peering_request_resource\212N\020Global" - + "Operations\202\323\344\223\002r2F/compute/v1/projects/{" - + "project}/global/networks/{network}/updat" - + "ePeering:(networks_update_peering_reques" - + "t_resource\032r\312A\026compute.googleapis.com\322AV" - + "https://www.googleapis.com/auth/compute," - + "https://www.googleapis.com/auth/cloud-pl" - + "atform2\203\036\n\nNodeGroups\022\262\002\n\010AddNodes\0221.goo" - + "gle.cloud.compute.v1.AddNodesNodeGroupRe" + + "Operation\"x\332A\017project,network\212N\020GlobalOp" + + "erations\202\323\344\223\002M\"K/compute/v1/projects/{pr" + + "oject}/global/networks/{network}/switchT" + + "oCustomMode\022\262\002\n\rUpdatePeering\0224.google.c" + + "loud.compute.v1.UpdatePeeringNetworkRequ" + + "est\032\".google.cloud.compute.v1.Operation\"" + + "\306\001\332A8project,network,networks_update_pee" + + "ring_request_resource\212N\020GlobalOperations" + + "\202\323\344\223\002r2F/compute/v1/projects/{project}/g" + + "lobal/networks/{network}/updatePeering:(" + + "networks_update_peering_request_resource" + + "\032r\312A\026compute.googleapis.com\322AVhttps://ww" + + "w.googleapis.com/auth/compute,https://ww" + + "w.googleapis.com/auth/cloud-platform2\353 \n" + + "\nNodeGroups\022\262\002\n\010AddNodes\0221.google.cloud." + + "compute.v1.AddNodesNodeGroupRequest\032\".go" + + "ogle.cloud.compute.v1.Operation\"\316\001\332A>pro" + + "ject,zone,node_group,node_groups_add_nod" + + "es_request_resource\212N\016ZoneOperations\202\323\344\223" + + "\002v\"L/compute/v1/projects/{project}/zones" + + "/{zone}/nodeGroups/{node_group}/addNodes" + + ":&node_groups_add_nodes_request_resource" + + "\022\304\001\n\016AggregatedList\0228.google.cloud.compu" + + "te.v1.AggregatedListNodeGroupsRequest\0320." + + "google.cloud.compute.v1.NodeGroupAggrega" + + "tedList\"F\332A\007project\202\323\344\223\0026\0224/compute/v1/p" + + "rojects/{project}/aggregated/nodeGroups\022" + + "\325\001\n\006Delete\022/.google.cloud.compute.v1.Del" + + "eteNodeGroupRequest\032\".google.cloud.compu" + + "te.v1.Operation\"v\332A\027project,zone,node_gr" + + "oup\212N\016ZoneOperations\202\323\344\223\002E*C/compute/v1/" + + "projects/{project}/zones/{zone}/nodeGrou" + + "ps/{node_group}\022\301\002\n\013DeleteNodes\0224.google" + + ".cloud.compute.v1.DeleteNodesNodeGroupRe" + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\316\001\332A>project,zone,node_group,node_grou" - + "ps_add_nodes_request_resource\212N\016ZoneOper", - "ations\202\323\344\223\002v\"L/compute/v1/projects/{proj" - + "ect}/zones/{zone}/nodeGroups/{node_group" - + "}/addNodes:&node_groups_add_nodes_reques" - + "t_resource\022\304\001\n\016AggregatedList\0228.google.c" - + "loud.compute.v1.AggregatedListNodeGroups" - + "Request\0320.google.cloud.compute.v1.NodeGr" - + "oupAggregatedList\"F\332A\007project\202\323\344\223\0026\0224/co" - + "mpute/v1/projects/{project}/aggregated/n" - + "odeGroups\022\325\001\n\006Delete\022/.google.cloud.comp" - + "ute.v1.DeleteNodeGroupRequest\032\".google.c" - + "loud.compute.v1.Operation\"v\332A\027project,zo" - + "ne,node_group\212N\016ZoneOperations\202\323\344\223\002E*C/c" - + "ompute/v1/projects/{project}/zones/{zone" - + "}/nodeGroups/{node_group}\022\301\002\n\013DeleteNode" - + "s\0224.google.cloud.compute.v1.DeleteNodesN" - + "odeGroupRequest\032\".google.cloud.compute.v" - + "1.Operation\"\327\001\332AAproject,zone,node_group" - + ",node_groups_delete_nodes_request_resour" - + "ce\212N\016ZoneOperations\202\323\344\223\002|\"O/compute/v1/p" - + "rojects/{project}/zones/{zone}/nodeGroup" - + "s/{node_group}/deleteNodes:)node_groups_" - + "delete_nodes_request_resource\022\276\001\n\003Get\022,." - + "google.cloud.compute.v1.GetNodeGroupRequ" - + "est\032\".google.cloud.compute.v1.NodeGroup\"" - + "e\332A\027project,zone,node_group\202\323\344\223\002E\022C/comp" - + "ute/v1/projects/{project}/zones/{zone}/n" - + "odeGroups/{node_group}\022\326\001\n\014GetIamPolicy\022" - + "5.google.cloud.compute.v1.GetIamPolicyNo" - + "deGroupRequest\032\037.google.cloud.compute.v1" - + ".Policy\"n\332A\025project,zone,resource\202\323\344\223\002P\022" - + "N/compute/v1/projects/{project}/zones/{z" - + "one}/nodeGroups/{resource}/getIamPolicy\022" - + "\372\001\n\006Insert\022/.google.cloud.compute.v1.Ins" - + "ertNodeGroupRequest\032\".google.cloud.compu" - + "te.v1.Operation\"\232\001\332A3project,zone,initia" - + "l_node_count,node_group_resource\212N\016ZoneO" - + "perations\202\323\344\223\002M\"6/compute/v1/projects/{p" - + "roject}/zones/{zone}/nodeGroups:\023node_gr" - + "oup_resource\022\255\001\n\004List\022..google.cloud.com" - + "pute.v1.ListNodeGroupsRequest\032&.google.c" - + "loud.compute.v1.NodeGroupList\"M\332A\014projec" - + "t,zone\202\323\344\223\0028\0226/compute/v1/projects/{proj" - + "ect}/zones/{zone}/nodeGroups\022\337\001\n\tListNod" - + "es\0223.google.cloud.compute.v1.ListNodesNo" - + "deGroupsRequest\032,.google.cloud.compute.v" - + "1.NodeGroupsListNodes\"o\332A\027project,zone,n" - + "ode_group\202\323\344\223\002O\"M/compute/v1/projects/{p" + + "n\"\327\001\332AAproject,zone,node_group,node_grou" + + "ps_delete_nodes_request_resource\212N\016ZoneO" + + "perations\202\323\344\223\002|\"O/compute/v1/projects/{p" + "roject}/zones/{zone}/nodeGroups/{node_gr" - + "oup}/listNodes\022\375\001\n\005Patch\022..google.cloud." - + "compute.v1.PatchNodeGroupRequest\032\".googl" - + "e.cloud.compute.v1.Operation\"\237\001\332A+projec" - + "t,zone,node_group,node_group_resource\212N\016" - + "ZoneOperations\202\323\344\223\002Z2C/compute/v1/projec" - + "ts/{project}/zones/{zone}/nodeGroups/{no" - + "de_group}:\023node_group_resource\022\232\002\n\014SetIa" - + "mPolicy\0225.google.cloud.compute.v1.SetIam" - + "PolicyNodeGroupRequest\032\037.google.cloud.co" - + "mpute.v1.Policy\"\261\001\332A6project,zone,resour" - + "ce,zone_set_policy_request_resource\202\323\344\223\002" - + "r\"N/compute/v1/projects/{project}/zones/" - + "{zone}/nodeGroups/{resource}/setIamPolic" - + "y: zone_set_policy_request_resource\022\330\002\n\017" - + "SetNodeTemplate\0228.google.cloud.compute.v" - + "1.SetNodeTemplateNodeGroupRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"\346\001\332AFproje" - + "ct,zone,node_group,node_groups_set_node_" - + "template_request_resource\212N\016ZoneOperatio" - + "ns\202\323\344\223\002\205\001\"S/compute/v1/projects/{project" - + "}/zones/{zone}/nodeGroups/{node_group}/s" - + "etNodeTemplate:.node_groups_set_node_tem" - + "plate_request_resource\022\205\003\n\030SimulateMaint" - + "enanceEvent\022A.google.cloud.compute.v1.Si" - + "mulateMaintenanceEventNodeGroupRequest\032\"" - + ".google.cloud.compute.v1.Operation\"\201\002\332AO" - + "project,zone,node_group,node_groups_simu" - + "late_maintenance_event_request_resource\212" - + "N\016ZoneOperations\202\323\344\223\002\227\001\"\\/compute/v1/pro" + + "oup}/deleteNodes:)node_groups_delete_nod" + + "es_request_resource\022\276\001\n\003Get\022,.google.clo" + + "ud.compute.v1.GetNodeGroupRequest\032\".goog" + + "le.cloud.compute.v1.NodeGroup\"e\332A\027projec" + + "t,zone,node_group\202\323\344\223\002E\022C/compute/v1/pro" + "jects/{project}/zones/{zone}/nodeGroups/" - + "{node_group}/simulateMaintenanceEvent:7n" - + "ode_groups_simulate_maintenance_event_re" - + "quest_resource\022\277\002\n\022TestIamPermissions\022;." + + "{node_group}\022\326\001\n\014GetIamPolicy\0225.google.c" + + "loud.compute.v1.GetIamPolicyNodeGroupReq" + + "uest\032\037.google.cloud.compute.v1.Policy\"n\332" + + "A\025project,zone,resource\202\323\344\223\002P\022N/compute/" + + "v1/projects/{project}/zones/{zone}/nodeG" + + "roups/{resource}/getIamPolicy\022\372\001\n\006Insert" + + "\022/.google.cloud.compute.v1.InsertNodeGro" + + "upRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\232\001\332A3project,zone,initial_node_cou" + + "nt,node_group_resource\212N\016ZoneOperations\202" + + "\323\344\223\002M\"6/compute/v1/projects/{project}/zo" + + "nes/{zone}/nodeGroups:\023node_group_resour" + + "ce\022\255\001\n\004List\022..google.cloud.compute.v1.Li" + + "stNodeGroupsRequest\032&.google.cloud.compu" + + "te.v1.NodeGroupList\"M\332A\014project,zone\202\323\344\223" + + "\0028\0226/compute/v1/projects/{project}/zones" + + "/{zone}/nodeGroups\022\337\001\n\tListNodes\0223.googl" + + "e.cloud.compute.v1.ListNodesNodeGroupsRe" + + "quest\032,.google.cloud.compute.v1.NodeGrou" + + "psListNodes\"o\332A\027project,zone,node_group\202" + + "\323\344\223\002O\"M/compute/v1/projects/{project}/zo" + + "nes/{zone}/nodeGroups/{node_group}/listN" + + "odes\022\375\001\n\005Patch\022..google.cloud.compute.v1" + + ".PatchNodeGroupRequest\032\".google.cloud.co" + + "mpute.v1.Operation\"\237\001\332A+project,zone,nod" + + "e_group,node_group_resource\212N\016ZoneOperat" + + "ions\202\323\344\223\002Z2C/compute/v1/projects/{projec" + + "t}/zones/{zone}/nodeGroups/{node_group}:" + + "\023node_group_resource\022\345\002\n\022PerformMaintena" + + "nce\022;.google.cloud.compute.v1.PerformMai" + + "ntenanceNodeGroupRequest\032\".google.cloud." + + "compute.v1.Operation\"\355\001\332AHproject,zone,n" + + "ode_group,node_groups_perform_maintenanc" + + "e_request_resource\212N\016ZoneOperations\202\323\344\223\002" + + "\212\001\"V/compute/v1/projects/{project}/zones" + + "/{zone}/nodeGroups/{node_group}/performM" + + "aintenance:0node_groups_perform_maintena" + + "nce_request_resource\022\232\002\n\014SetIamPolicy\0225." + + "google.cloud.compute.v1.SetIamPolicyNode" + + "GroupRequest\032\037.google.cloud.compute.v1.P" + + "olicy\"\261\001\332A6project,zone,resource,zone_se" + + "t_policy_request_resource\202\323\344\223\002r\"N/comput" + + "e/v1/projects/{project}/zones/{zone}/nod" + + "eGroups/{resource}/setIamPolicy: zone_se" + + "t_policy_request_resource\022\330\002\n\017SetNodeTem" + + "plate\0228.google.cloud.compute.v1.SetNodeT" + + "emplateNodeGroupRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\346\001\332AFproject,zone,no" + + "de_group,node_groups_set_node_template_r" + + "equest_resource\212N\016ZoneOperations\202\323\344\223\002\205\001\"" + + "S/compute/v1/projects/{project}/zones/{z" + + "one}/nodeGroups/{node_group}/setNodeTemp" + + "late:.node_groups_set_node_template_requ" + + "est_resource\022\205\003\n\030SimulateMaintenanceEven" + + "t\022A.google.cloud.compute.v1.SimulateMain" + + "tenanceEventNodeGroupRequest\032\".google.cl" + + "oud.compute.v1.Operation\"\201\002\332AOproject,zo" + + "ne,node_group,node_groups_simulate_maint" + + "enance_event_request_resource\212N\016ZoneOper" + + "ations\202\323\344\223\002\227\001\"\\/compute/v1/projects/{pro" + + "ject}/zones/{zone}/nodeGroups/{node_grou" + + "p}/simulateMaintenanceEvent:7node_groups" + + "_simulate_maintenance_event_request_reso" + + "urce\022\277\002\n\022TestIamPermissions\022;.google.clo" + + "ud.compute.v1.TestIamPermissionsNodeGrou" + + "pRequest\0320.google.cloud.compute.v1.TestP" + + "ermissionsResponse\"\271\001\332A7project,zone,res" + + "ource,test_permissions_request_resource\202" + + "\323\344\223\002y\"T/compute/v1/projects/{project}/zo" + + "nes/{zone}/nodeGroups/{resource}/testIam" + + "Permissions:!test_permissions_request_re" + + "source\032r\312A\026compute.googleapis.com\322AVhttp" + + "s://www.googleapis.com/auth/compute,http" + + "s://www.googleapis.com/auth/cloud-platfo" + + "rm2\264\020\n\rNodeTemplates\022\315\001\n\016AggregatedList\022" + + ";.google.cloud.compute.v1.AggregatedList" + + "NodeTemplatesRequest\0323.google.cloud.comp" + + "ute.v1.NodeTemplateAggregatedList\"I\332A\007pr" + + "oject\202\323\344\223\0029\0227/compute/v1/projects/{proje" + + "ct}/aggregated/nodeTemplates\022\352\001\n\006Delete\022" + + "2.google.cloud.compute.v1.DeleteNodeTemp" + + "lateRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\207\001\332A\034project,region,node_templat" + + "e\212N\020RegionOperations\202\323\344\223\002O*M/compute/v1/" + + "projects/{project}/regions/{region}/node" + + "Templates/{node_template}\022\323\001\n\003Get\022/.goog" + + "le.cloud.compute.v1.GetNodeTemplateReque" + + "st\032%.google.cloud.compute.v1.NodeTemplat" + + "e\"t\332A\034project,region,node_template\202\323\344\223\002O" + + "\022M/compute/v1/projects/{project}/regions" + + "/{region}/nodeTemplates/{node_template}\022" + + "\342\001\n\014GetIamPolicy\0228.google.cloud.compute." + + "v1.GetIamPolicyNodeTemplateRequest\032\037.goo" + + "gle.cloud.compute.v1.Policy\"w\332A\027project," + + "region,resource\202\323\344\223\002W\022U/compute/v1/proje" + + "cts/{project}/regions/{region}/nodeTempl" + + "ates/{resource}/getIamPolicy\022\373\001\n\006Insert\022" + + "2.google.cloud.compute.v1.InsertNodeTemp" + + "lateRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\230\001\332A%project,region,node_templat" + + "e_resource\212N\020RegionOperations\202\323\344\223\002W\"=/co" + + "mpute/v1/projects/{project}/regions/{reg" + + "ion}/nodeTemplates:\026node_template_resour" + + "ce\022\274\001\n\004List\0221.google.cloud.compute.v1.Li" + + "stNodeTemplatesRequest\032).google.cloud.co" + + "mpute.v1.NodeTemplateList\"V\332A\016project,re" + + "gion\202\323\344\223\002?\022=/compute/v1/projects/{projec" + + "t}/regions/{region}/nodeTemplates\022\252\002\n\014Se" + + "tIamPolicy\0228.google.cloud.compute.v1.Set" + + "IamPolicyNodeTemplateRequest\032\037.google.cl" + + "oud.compute.v1.Policy\"\276\001\332A:project,regio" + + "n,resource,region_set_policy_request_res" + + "ource\202\323\344\223\002{\"U/compute/v1/projects/{proje" + + "ct}/regions/{region}/nodeTemplates/{reso" + + "urce}/setIamPolicy:\"region_set_policy_re" + + "quest_resource\022\314\002\n\022TestIamPermissions\022>." + "google.cloud.compute.v1.TestIamPermissio" - + "nsNodeGroupRequest\0320.google.cloud.comput" - + "e.v1.TestPermissionsResponse\"\271\001\332A7projec" - + "t,zone,resource,test_permissions_request" - + "_resource\202\323\344\223\002y\"T/compute/v1/projects/{p" - + "roject}/zones/{zone}/nodeGroups/{resourc" - + "e}/testIamPermissions:!test_permissions_" - + "request_resource\032r\312A\026compute.googleapis." - + "com\322AVhttps://www.googleapis.com/auth/co" - + "mpute,https://www.googleapis.com/auth/cl" - + "oud-platform2\264\020\n\rNodeTemplates\022\315\001\n\016Aggre" - + "gatedList\022;.google.cloud.compute.v1.Aggr" - + "egatedListNodeTemplatesRequest\0323.google." - + "cloud.compute.v1.NodeTemplateAggregatedL" - + "ist\"I\332A\007project\202\323\344\223\0029\0227/compute/v1/proje" - + "cts/{project}/aggregated/nodeTemplates\022\352" - + "\001\n\006Delete\0222.google.cloud.compute.v1.Dele" - + "teNodeTemplateRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\207\001\332A\034project,region,no" - + "de_template\212N\020RegionOperations\202\323\344\223\002O*M/c" - + "ompute/v1/projects/{project}/regions/{re" - + "gion}/nodeTemplates/{node_template}\022\323\001\n\003" - + "Get\022/.google.cloud.compute.v1.GetNodeTem" - + "plateRequest\032%.google.cloud.compute.v1.N" - + "odeTemplate\"t\332A\034project,region,node_temp" - + "late\202\323\344\223\002O\022M/compute/v1/projects/{projec" - + "t}/regions/{region}/nodeTemplates/{node_" - + "template}\022\342\001\n\014GetIamPolicy\0228.google.clou" - + "d.compute.v1.GetIamPolicyNodeTemplateReq" - + "uest\032\037.google.cloud.compute.v1.Policy\"w\332" - + "A\027project,region,resource\202\323\344\223\002W\022U/comput" - + "e/v1/projects/{project}/regions/{region}" - + "/nodeTemplates/{resource}/getIamPolicy\022\373" - + "\001\n\006Insert\0222.google.cloud.compute.v1.Inse" - + "rtNodeTemplateRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\230\001\332A%project,region,no" - + "de_template_resource\212N\020RegionOperations\202" - + "\323\344\223\002W\"=/compute/v1/projects/{project}/re" - + "gions/{region}/nodeTemplates:\026node_templ" - + "ate_resource\022\274\001\n\004List\0221.google.cloud.com" - + "pute.v1.ListNodeTemplatesRequest\032).googl" - + "e.cloud.compute.v1.NodeTemplateList\"V\332A\016" - + "project,region\202\323\344\223\002?\022=/compute/v1/projec" - + "ts/{project}/regions/{region}/nodeTempla" - + "tes\022\252\002\n\014SetIamPolicy\0228.google.cloud.comp" - + "ute.v1.SetIamPolicyNodeTemplateRequest\032\037" - + ".google.cloud.compute.v1.Policy\"\276\001\332A:pro" - + "ject,region,resource,region_set_policy_r" - + "equest_resource\202\323\344\223\002{\"U/compute/v1/proje" + + "nsNodeTemplateRequest\0320.google.cloud.com" + + "pute.v1.TestPermissionsResponse\"\303\001\332A9pro" + + "ject,region,resource,test_permissions_re" + + "quest_resource\202\323\344\223\002\200\001\"[/compute/v1/proje" + "cts/{project}/regions/{region}/nodeTempl" - + "ates/{resource}/setIamPolicy:\"region_set" - + "_policy_request_resource\022\314\002\n\022TestIamPerm" - + "issions\022>.google.cloud.compute.v1.TestIa" - + "mPermissionsNodeTemplateRequest\0320.google" - + ".cloud.compute.v1.TestPermissionsRespons" - + "e\"\303\001\332A9project,region,resource,test_perm" - + "issions_request_resource\202\323\344\223\002\200\001\"[/comput" - + "e/v1/projects/{project}/regions/{region}" - + "/nodeTemplates/{resource}/testIamPermiss" - + "ions:!test_permissions_request_resource\032" - + "r\312A\026compute.googleapis.com\322AVhttps://www" - + ".googleapis.com/auth/compute,https://www" - + ".googleapis.com/auth/cloud-platform2\337\005\n\t" - + "NodeTypes\022\301\001\n\016AggregatedList\0227.google.cl" - + "oud.compute.v1.AggregatedListNodeTypesRe" - + "quest\032/.google.cloud.compute.v1.NodeType" - + "AggregatedList\"E\332A\007project\202\323\344\223\0025\0223/compu" - + "te/v1/projects/{project}/aggregated/node" - + "Types\022\271\001\n\003Get\022+.google.cloud.compute.v1." - + "GetNodeTypeRequest\032!.google.cloud.comput" - + "e.v1.NodeType\"b\332A\026project,zone,node_type" - + "\202\323\344\223\002C\022A/compute/v1/projects/{project}/z" - + "ones/{zone}/nodeTypes/{node_type}\022\252\001\n\004Li" - + "st\022-.google.cloud.compute.v1.ListNodeTyp" - + "esRequest\032%.google.cloud.compute.v1.Node" - + "TypeList\"L\332A\014project,zone\202\323\344\223\0027\0225/comput" - + "e/v1/projects/{project}/zones/{zone}/nod" - + "eTypes\032\244\001\312A\026compute.googleapis.com\322A\207\001ht" - + "tps://www.googleapis.com/auth/compute.re" - + "adonly,https://www.googleapis.com/auth/c" - + "ompute,https://www.googleapis.com/auth/c" - + "loud-platform2\220\017\n\020PacketMirrorings\022\326\001\n\016A" - + "ggregatedList\022>.google.cloud.compute.v1." - + "AggregatedListPacketMirroringsRequest\0326." - + "google.cloud.compute.v1.PacketMirroringA" - + "ggregatedList\"L\332A\007project\202\323\344\223\002<\022:/comput" - + "e/v1/projects/{project}/aggregated/packe" - + "tMirrorings\022\366\001\n\006Delete\0225.google.cloud.co" - + "mpute.v1.DeletePacketMirroringRequest\032\"." - + "google.cloud.compute.v1.Operation\"\220\001\332A\037p" - + "roject,region,packet_mirroring\212N\020RegionO" - + "perations\202\323\344\223\002U*S/compute/v1/projects/{p" + + "ates/{resource}/testIamPermissions:!test" + + "_permissions_request_resource\032r\312A\026comput" + + "e.googleapis.com\322AVhttps://www.googleapi" + + "s.com/auth/compute,https://www.googleapi" + + "s.com/auth/cloud-platform2\337\005\n\tNodeTypes\022" + + "\301\001\n\016AggregatedList\0227.google.cloud.comput" + + "e.v1.AggregatedListNodeTypesRequest\032/.go" + + "ogle.cloud.compute.v1.NodeTypeAggregated" + + "List\"E\332A\007project\202\323\344\223\0025\0223/compute/v1/proj" + + "ects/{project}/aggregated/nodeTypes\022\271\001\n\003" + + "Get\022+.google.cloud.compute.v1.GetNodeTyp" + + "eRequest\032!.google.cloud.compute.v1.NodeT" + + "ype\"b\332A\026project,zone,node_type\202\323\344\223\002C\022A/c" + + "ompute/v1/projects/{project}/zones/{zone" + + "}/nodeTypes/{node_type}\022\252\001\n\004List\022-.googl" + + "e.cloud.compute.v1.ListNodeTypesRequest\032" + + "%.google.cloud.compute.v1.NodeTypeList\"L" + + "\332A\014project,zone\202\323\344\223\0027\0225/compute/v1/proje" + + "cts/{project}/zones/{zone}/nodeTypes\032\244\001\312" + + "A\026compute.googleapis.com\322A\207\001https://www." + + "googleapis.com/auth/compute.readonly,htt" + + "ps://www.googleapis.com/auth/compute,htt" + + "ps://www.googleapis.com/auth/cloud-platf" + + "orm2\220\017\n\020PacketMirrorings\022\326\001\n\016AggregatedL" + + "ist\022>.google.cloud.compute.v1.Aggregated" + + "ListPacketMirroringsRequest\0326.google.clo" + + "ud.compute.v1.PacketMirroringAggregatedL" + + "ist\"L\332A\007project\202\323\344\223\002<\022:/compute/v1/proje" + + "cts/{project}/aggregated/packetMirroring" + + "s\022\366\001\n\006Delete\0225.google.cloud.compute.v1.D" + + "eletePacketMirroringRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\220\001\332A\037project,reg" + + "ion,packet_mirroring\212N\020RegionOperations\202" + + "\323\344\223\002U*S/compute/v1/projects/{project}/re" + + "gions/{region}/packetMirrorings/{packet_" + + "mirroring}\022\342\001\n\003Get\0222.google.cloud.comput" + + "e.v1.GetPacketMirroringRequest\032(.google." + + "cloud.compute.v1.PacketMirroring\"}\332A\037pro" + + "ject,region,packet_mirroring\202\323\344\223\002U\022S/com" + + "pute/v1/projects/{project}/regions/{regi" + + "on}/packetMirrorings/{packet_mirroring}\022" + + "\207\002\n\006Insert\0225.google.cloud.compute.v1.Ins" + + "ertPacketMirroringRequest\032\".google.cloud" + + ".compute.v1.Operation\"\241\001\332A(project,regio" + + "n,packet_mirroring_resource\212N\020RegionOper" + + "ations\202\323\344\223\002]\"@/compute/v1/projects/{proj" + + "ect}/regions/{region}/packetMirrorings:\031" + + "packet_mirroring_resource\022\305\001\n\004List\0224.goo" + + "gle.cloud.compute.v1.ListPacketMirroring" + + "sRequest\032,.google.cloud.compute.v1.Packe" + + "tMirroringList\"Y\332A\016project,region\202\323\344\223\002B\022" + + "@/compute/v1/projects/{project}/regions/" + + "{region}/packetMirrorings\022\251\002\n\005Patch\0224.go" + + "ogle.cloud.compute.v1.PatchPacketMirrori" + + "ngRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\305\001\332A9project,region,packet_mirrori" + + "ng,packet_mirroring_resource\212N\020RegionOpe" + + "rations\202\323\344\223\002p2S/compute/v1/projects/{pro" + + "ject}/regions/{region}/packetMirrorings/" + + "{packet_mirroring}:\031packet_mirroring_res" + + "ource\022\322\002\n\022TestIamPermissions\022A.google.cl" + + "oud.compute.v1.TestIamPermissionsPacketM" + + "irroringRequest\0320.google.cloud.compute.v" + + "1.TestPermissionsResponse\"\306\001\332A9project,r" + + "egion,resource,test_permissions_request_" + + "resource\202\323\344\223\002\203\001\"^/compute/v1/projects/{p" + "roject}/regions/{region}/packetMirroring" - + "s/{packet_mirroring}\022\342\001\n\003Get\0222.google.cl" - + "oud.compute.v1.GetPacketMirroringRequest" - + "\032(.google.cloud.compute.v1.PacketMirrori" - + "ng\"}\332A\037project,region,packet_mirroring\202\323" - + "\344\223\002U\022S/compute/v1/projects/{project}/reg" - + "ions/{region}/packetMirrorings/{packet_m" - + "irroring}\022\207\002\n\006Insert\0225.google.cloud.comp" - + "ute.v1.InsertPacketMirroringRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\241\001\332A(pro" - + "ject,region,packet_mirroring_resource\212N\020" - + "RegionOperations\202\323\344\223\002]\"@/compute/v1/proj" - + "ects/{project}/regions/{region}/packetMi" - + "rrorings:\031packet_mirroring_resource\022\305\001\n\004" - + "List\0224.google.cloud.compute.v1.ListPacke" - + "tMirroringsRequest\032,.google.cloud.comput" - + "e.v1.PacketMirroringList\"Y\332A\016project,reg" - + "ion\202\323\344\223\002B\022@/compute/v1/projects/{project" - + "}/regions/{region}/packetMirrorings\022\251\002\n\005" - + "Patch\0224.google.cloud.compute.v1.PatchPac" - + "ketMirroringRequest\032\".google.cloud.compu" - + "te.v1.Operation\"\305\001\332A9project,region,pack" - + "et_mirroring,packet_mirroring_resource\212N" - + "\020RegionOperations\202\323\344\223\002p2S/compute/v1/pro" - + "jects/{project}/regions/{region}/packetM" - + "irrorings/{packet_mirroring}:\031packet_mir" - + "roring_resource\022\322\002\n\022TestIamPermissions\022A" - + ".google.cloud.compute.v1.TestIamPermissi" - + "onsPacketMirroringRequest\0320.google.cloud" - + ".compute.v1.TestPermissionsResponse\"\306\001\332A" - + "9project,region,resource,test_permission" - + "s_request_resource\202\323\344\223\002\203\001\"^/compute/v1/p" - + "rojects/{project}/regions/{region}/packe" - + "tMirrorings/{resource}/testIamPermission" - + "s:!test_permissions_request_resource\032r\312A" - + "\026compute.googleapis.com\322AVhttps://www.go" - + "ogleapis.com/auth/compute,https://www.go" - + "ogleapis.com/auth/cloud-platform2\253\033\n\010Pro" - + "jects\022\277\001\n\016DisableXpnHost\0225.google.cloud." - + "compute.v1.DisableXpnHostProjectRequest\032" - + "\".google.cloud.compute.v1.Operation\"R\332A\007" - + "project\212N\020GlobalOperations\202\323\344\223\002/\"-/compu" - + "te/v1/projects/{project}/disableXpnHost\022" - + "\253\002\n\022DisableXpnResource\0229.google.cloud.co" - + "mpute.v1.DisableXpnResourceProjectReques" - + "t\032\".google.cloud.compute.v1.Operation\"\265\001" - + "\332A6project,projects_disable_xpn_resource" + + "s/{resource}/testIamPermissions:!test_pe" + + "rmissions_request_resource\032r\312A\026compute.g" + + "oogleapis.com\322AVhttps://www.googleapis.c" + + "om/auth/compute,https://www.googleapis.c" + + "om/auth/cloud-platform2\253\033\n\010Projects\022\277\001\n\016" + + "DisableXpnHost\0225.google.cloud.compute.v1" + + ".DisableXpnHostProjectRequest\032\".google.c" + + "loud.compute.v1.Operation\"R\332A\007project\212N\020" + + "GlobalOperations\202\323\344\223\002/\"-/compute/v1/proj" + + "ects/{project}/disableXpnHost\022\253\002\n\022Disabl" + + "eXpnResource\0229.google.cloud.compute.v1.D" + + "isableXpnResourceProjectRequest\032\".google" + + ".cloud.compute.v1.Operation\"\265\001\332A6project" + + ",projects_disable_xpn_resource_request_r" + + "esource\212N\020GlobalOperations\202\323\344\223\002c\"1/compu" + + "te/v1/projects/{project}/disableXpnResou" + + "rce:.projects_disable_xpn_resource_reque" + + "st_resource\022\274\001\n\rEnableXpnHost\0224.google.c" + + "loud.compute.v1.EnableXpnHostProjectRequ" + + "est\032\".google.cloud.compute.v1.Operation\"" + + "Q\332A\007project\212N\020GlobalOperations\202\323\344\223\002.\",/c" + + "ompute/v1/projects/{project}/enableXpnHo" + + "st\022\246\002\n\021EnableXpnResource\0228.google.cloud." + + "compute.v1.EnableXpnResourceProjectReque" + + "st\032\".google.cloud.compute.v1.Operation\"\262" + + "\001\332A5project,projects_enable_xpn_resource" + "_request_resource\212N\020GlobalOperations\202\323\344\223" - + "\002c\"1/compute/v1/projects/{project}/disab" - + "leXpnResource:.projects_disable_xpn_reso" - + "urce_request_resource\022\274\001\n\rEnableXpnHost\022" - + "4.google.cloud.compute.v1.EnableXpnHostP" - + "rojectRequest\032\".google.cloud.compute.v1." - + "Operation\"Q\332A\007project\212N\020GlobalOperations" - + "\202\323\344\223\002.\",/compute/v1/projects/{project}/e" - + "nableXpnHost\022\246\002\n\021EnableXpnResource\0228.goo" - + "gle.cloud.compute.v1.EnableXpnResourcePr" - + "ojectRequest\032\".google.cloud.compute.v1.O" - + "peration\"\262\001\332A5project,projects_enable_xp" - + "n_resource_request_resource\212N\020GlobalOper" - + "ations\202\323\344\223\002a\"0/compute/v1/projects/{proj" - + "ect}/enableXpnResource:-projects_enable_" - + "xpn_resource_request_resource\022\205\001\n\003Get\022*." - + "google.cloud.compute.v1.GetProjectReques" - + "t\032 .google.cloud.compute.v1.Project\"0\332A\007" - + "project\202\323\344\223\002 \022\036/compute/v1/projects/{pro" - + "ject}\022\236\001\n\nGetXpnHost\0221.google.cloud.comp" - + "ute.v1.GetXpnHostProjectRequest\032 .google" - + ".cloud.compute.v1.Project\";\332A\007project\202\323\344" - + "\223\002+\022)/compute/v1/projects/{project}/getX" - + "pnHost\022\276\001\n\017GetXpnResources\0227.google.clou" - + "d.compute.v1.GetXpnResourcesProjectsRequ" - + "est\0320.google.cloud.compute.v1.ProjectsGe" - + "tXpnResources\"@\332A\007project\202\323\344\223\0020\022./comput" - + "e/v1/projects/{project}/getXpnResources\022" - + "\375\001\n\014ListXpnHosts\0224.google.cloud.compute." - + "v1.ListXpnHostsProjectsRequest\032$.google." - + "cloud.compute.v1.XpnHostList\"\220\001\332A0projec" - + "t,projects_list_xpn_hosts_request_resour" - + "ce\202\323\344\223\002W\"+/compute/v1/projects/{project}" - + "/listXpnHosts:(projects_list_xpn_hosts_r" - + "equest_resource\022\345\001\n\010MoveDisk\022/.google.cl" - + "oud.compute.v1.MoveDiskProjectRequest\032\"." - + "google.cloud.compute.v1.Operation\"\203\001\332A\"p" - + "roject,disk_move_request_resource\212N\020Glob" - + "alOperations\202\323\344\223\002E\"\'/compute/v1/projects" - + "/{project}/moveDisk:\032disk_move_request_r" - + "esource\022\371\001\n\014MoveInstance\0223.google.cloud." - + "compute.v1.MoveInstanceProjectRequest\032\"." - + "google.cloud.compute.v1.Operation\"\217\001\332A&p" - + "roject,instance_move_request_resource\212N\020" - + "GlobalOperations\202\323\344\223\002M\"+/compute/v1/proj" - + "ects/{project}/moveInstance:\036instance_mo" - + "ve_request_resource\022\250\002\n\021SetCloudArmorTie" - + "r\0228.google.cloud.compute.v1.SetCloudArmo" - + "rTierProjectRequest\032\".google.cloud.compu" - + "te.v1.Operation\"\264\001\332A6project,projects_se" - + "t_cloud_armor_tier_request_resource\212N\020Gl" - + "obalOperations\202\323\344\223\002b\"0/compute/v1/projec" - + "ts/{project}/setCloudArmorTier:.projects" - + "_set_cloud_armor_tier_request_resource\022\206" - + "\002\n\031SetCommonInstanceMetadata\022@.google.cl" - + "oud.compute.v1.SetCommonInstanceMetadata" - + "ProjectRequest\032\".google.cloud.compute.v1" - + ".Operation\"\202\001\332A\031project,metadata_resourc" - + "e\212N\020GlobalOperations\202\323\344\223\002M\"8/compute/v1/" - + "projects/{project}/setCommonInstanceMeta" - + "data:\021metadata_resource\022\274\002\n\025SetDefaultNe" - + "tworkTier\022<.google.cloud.compute.v1.SetD" - + "efaultNetworkTierProjectRequest\032\".google" - + ".cloud.compute.v1.Operation\"\300\001\332A:project" - + ",projects_set_default_network_tier_reque" - + "st_resource\212N\020GlobalOperations\202\323\344\223\002j\"4/c" - + "ompute/v1/projects/{project}/setDefaultN" - + "etworkTier:2projects_set_default_network" - + "_tier_request_resource\022\221\002\n\024SetUsageExpor" - + "tBucket\022;.google.cloud.compute.v1.SetUsa" - + "geExportBucketProjectRequest\032\".google.cl" - + "oud.compute.v1.Operation\"\227\001\332A&project,us" - + "age_export_location_resource\212N\020GlobalOpe" - + "rations\202\323\344\223\002U\"3/compute/v1/projects/{pro" - + "ject}/setUsageExportBucket:\036usage_export" - + "_location_resource\032r\312A\026compute.googleapi" - + "s.com\322AVhttps://www.googleapis.com/auth/" - + "compute,https://www.googleapis.com/auth/" - + "cloud-platform2\356\017\n\030PublicAdvertisedPrefi" - + "xes\022\222\002\n\010Announce\022?.google.cloud.compute." - + "v1.AnnouncePublicAdvertisedPrefixeReques" - + "t\032\".google.cloud.compute.v1.Operation\"\240\001" - + "\332A project,public_advertised_prefix\212N\020Gl" - + "obalOperations\202\323\344\223\002d\"b/compute/v1/projec" - + "ts/{project}/global/publicAdvertisedPref" - + "ixes/{public_advertised_prefix}/announce" - + "\022\205\002\n\006Delete\022=.google.cloud.compute.v1.De" - + "letePublicAdvertisedPrefixeRequest\032\".goo" - + "gle.cloud.compute.v1.Operation\"\227\001\332A proj" - + "ect,public_advertised_prefix\212N\020GlobalOpe" - + "rations\202\323\344\223\002[*Y/compute/v1/projects/{pro" - + "ject}/global/publicAdvertisedPrefixes/{p" - + "ublic_advertised_prefix}\022\371\001\n\003Get\022:.googl" - + "e.cloud.compute.v1.GetPublicAdvertisedPr" - + "efixeRequest\032/.google.cloud.compute.v1.P" - + "ublicAdvertisedPrefix\"\204\001\332A project,publi" - + "c_advertised_prefix\202\323\344\223\002[\022Y/compute/v1/p" - + "rojects/{project}/global/publicAdvertise" - + "dPrefixes/{public_advertised_prefix}\022\226\002\n" - + "\006Insert\022=.google.cloud.compute.v1.Insert" - + "PublicAdvertisedPrefixeRequest\032\".google." - + "cloud.compute.v1.Operation\"\250\001\332A)project," - + "public_advertised_prefix_resource\212N\020Glob" - + "alOperations\202\323\344\223\002c\">/compute/v1/projects" - + "/{project}/global/publicAdvertisedPrefix" - + "es:!public_advertised_prefix_resource\022\313\001" - + "\n\004List\022<.google.cloud.compute.v1.ListPub" - + "licAdvertisedPrefixesRequest\0323.google.cl" - + "oud.compute.v1.PublicAdvertisedPrefixLis" - + "t\"P\332A\007project\202\323\344\223\002@\022>/compute/v1/project" - + "s/{project}/global/publicAdvertisedPrefi" - + "xes\022\310\002\n\005Patch\022<.google.cloud.compute.v1." - + "PatchPublicAdvertisedPrefixeRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\334\001\332ABpro" - + "ject,public_advertised_prefix,public_adv" - + "ertised_prefix_resource\212N\020GlobalOperatio" - + "ns\202\323\344\223\002~2Y/compute/v1/projects/{project}" - + "/global/publicAdvertisedPrefixes/{public" - + "_advertised_prefix}:!public_advertised_p" - + "refix_resource\022\222\002\n\010Withdraw\022?.google.clo" - + "ud.compute.v1.WithdrawPublicAdvertisedPr" - + "efixeRequest\032\".google.cloud.compute.v1.O" - + "peration\"\240\001\332A project,public_advertised_" - + "prefix\212N\020GlobalOperations\202\323\344\223\002d\"b/comput" - + "e/v1/projects/{project}/global/publicAdv" - + "ertisedPrefixes/{public_advertised_prefi" - + "x}/withdraw\032r\312A\026compute.googleapis.com\322A" - + "Vhttps://www.googleapis.com/auth/compute" - + ",https://www.googleapis.com/auth/cloud-p" - + "latform2\264\022\n\027PublicDelegatedPrefixes\022\352\001\n\016" - + "AggregatedList\022E.google.cloud.compute.v1" - + ".AggregatedListPublicDelegatedPrefixesRe" - + "quest\032<.google.cloud.compute.v1.PublicDe" - + "legatedPrefixAggregatedList\"S\332A\007project\202" - + "\323\344\223\002C\022A/compute/v1/projects/{project}/ag" - + "gregated/publicDelegatedPrefixes\022\237\002\n\010Ann" - + "ounce\022>.google.cloud.compute.v1.Announce" - + "PublicDelegatedPrefixeRequest\032\".google.c" - + "loud.compute.v1.Operation\"\256\001\332A&project,r" - + "egion,public_delegated_prefix\212N\020RegionOp" - + "erations\202\323\344\223\002l\"j/compute/v1/projects/{pr" - + "oject}/regions/{region}/publicDelegatedP" - + "refixes/{public_delegated_prefix}/announ" - + "ce\022\222\002\n\006Delete\022<.google.cloud.compute.v1." - + "DeletePublicDelegatedPrefixeRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\245\001\332A&pro" - + "ject,region,public_delegated_prefix\212N\020Re" - + "gionOperations\202\323\344\223\002c*a/compute/v1/projec" - + "ts/{project}/regions/{region}/publicDele" - + "gatedPrefixes/{public_delegated_prefix}\022" - + "\205\002\n\003Get\0229.google.cloud.compute.v1.GetPub" - + "licDelegatedPrefixeRequest\032..google.clou" - + "d.compute.v1.PublicDelegatedPrefix\"\222\001\332A&" - + "project,region,public_delegated_prefix\202\323" - + "\344\223\002c\022a/compute/v1/projects/{project}/reg" + + "\002a\"0/compute/v1/projects/{project}/enabl" + + "eXpnResource:-projects_enable_xpn_resour" + + "ce_request_resource\022\205\001\n\003Get\022*.google.clo" + + "ud.compute.v1.GetProjectRequest\032 .google" + + ".cloud.compute.v1.Project\"0\332A\007project\202\323\344" + + "\223\002 \022\036/compute/v1/projects/{project}\022\236\001\n\n" + + "GetXpnHost\0221.google.cloud.compute.v1.Get" + + "XpnHostProjectRequest\032 .google.cloud.com" + + "pute.v1.Project\";\332A\007project\202\323\344\223\002+\022)/comp" + + "ute/v1/projects/{project}/getXpnHost\022\276\001\n" + + "\017GetXpnResources\0227.google.cloud.compute." + + "v1.GetXpnResourcesProjectsRequest\0320.goog" + + "le.cloud.compute.v1.ProjectsGetXpnResour" + + "ces\"@\332A\007project\202\323\344\223\0020\022./compute/v1/proje" + + "cts/{project}/getXpnResources\022\375\001\n\014ListXp" + + "nHosts\0224.google.cloud.compute.v1.ListXpn" + + "HostsProjectsRequest\032$.google.cloud.comp" + + "ute.v1.XpnHostList\"\220\001\332A0project,projects" + + "_list_xpn_hosts_request_resource\202\323\344\223\002W\"+" + + "/compute/v1/projects/{project}/listXpnHo" + + "sts:(projects_list_xpn_hosts_request_res" + + "ource\022\345\001\n\010MoveDisk\022/.google.cloud.comput" + + "e.v1.MoveDiskProjectRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\203\001\332A\"project,dis" + + "k_move_request_resource\212N\020GlobalOperatio" + + "ns\202\323\344\223\002E\"\'/compute/v1/projects/{project}" + + "/moveDisk:\032disk_move_request_resource\022\371\001" + + "\n\014MoveInstance\0223.google.cloud.compute.v1" + + ".MoveInstanceProjectRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\217\001\332A&project,ins" + + "tance_move_request_resource\212N\020GlobalOper" + + "ations\202\323\344\223\002M\"+/compute/v1/projects/{proj" + + "ect}/moveInstance:\036instance_move_request" + + "_resource\022\250\002\n\021SetCloudArmorTier\0228.google" + + ".cloud.compute.v1.SetCloudArmorTierProje" + + "ctRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\264\001\332A6project,projects_set_cloud_ar" + + "mor_tier_request_resource\212N\020GlobalOperat" + + "ions\202\323\344\223\002b\"0/compute/v1/projects/{projec" + + "t}/setCloudArmorTier:.projects_set_cloud" + + "_armor_tier_request_resource\022\206\002\n\031SetComm" + + "onInstanceMetadata\022@.google.cloud.comput" + + "e.v1.SetCommonInstanceMetadataProjectReq" + + "uest\032\".google.cloud.compute.v1.Operation" + + "\"\202\001\332A\031project,metadata_resource\212N\020Global" + + "Operations\202\323\344\223\002M\"8/compute/v1/projects/{" + + "project}/setCommonInstanceMetadata:\021meta" + + "data_resource\022\274\002\n\025SetDefaultNetworkTier\022" + + "<.google.cloud.compute.v1.SetDefaultNetw" + + "orkTierProjectRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\300\001\332A:project,projects_" + + "set_default_network_tier_request_resourc" + + "e\212N\020GlobalOperations\202\323\344\223\002j\"4/compute/v1/" + + "projects/{project}/setDefaultNetworkTier" + + ":2projects_set_default_network_tier_requ" + + "est_resource\022\221\002\n\024SetUsageExportBucket\022;." + + "google.cloud.compute.v1.SetUsageExportBu" + + "cketProjectRequest\032\".google.cloud.comput" + + "e.v1.Operation\"\227\001\332A&project,usage_export" + + "_location_resource\212N\020GlobalOperations\202\323\344" + + "\223\002U\"3/compute/v1/projects/{project}/setU" + + "sageExportBucket:\036usage_export_location_" + + "resource\032r\312A\026compute.googleapis.com\322AVht" + + "tps://www.googleapis.com/auth/compute,ht" + + "tps://www.googleapis.com/auth/cloud-plat" + + "form2\356\017\n\030PublicAdvertisedPrefixes\022\222\002\n\010An" + + "nounce\022?.google.cloud.compute.v1.Announc" + + "ePublicAdvertisedPrefixeRequest\032\".google" + + ".cloud.compute.v1.Operation\"\240\001\332A project" + + ",public_advertised_prefix\212N\020GlobalOperat" + + "ions\202\323\344\223\002d\"b/compute/v1/projects/{projec" + + "t}/global/publicAdvertisedPrefixes/{publ" + + "ic_advertised_prefix}/announce\022\205\002\n\006Delet" + + "e\022=.google.cloud.compute.v1.DeletePublic" + + "AdvertisedPrefixeRequest\032\".google.cloud." + + "compute.v1.Operation\"\227\001\332A project,public" + + "_advertised_prefix\212N\020GlobalOperations\202\323\344" + + "\223\002[*Y/compute/v1/projects/{project}/glob" + + "al/publicAdvertisedPrefixes/{public_adve" + + "rtised_prefix}\022\371\001\n\003Get\022:.google.cloud.co" + + "mpute.v1.GetPublicAdvertisedPrefixeReque" + + "st\032/.google.cloud.compute.v1.PublicAdver" + + "tisedPrefix\"\204\001\332A project,public_advertis" + + "ed_prefix\202\323\344\223\002[\022Y/compute/v1/projects/{p" + + "roject}/global/publicAdvertisedPrefixes/" + + "{public_advertised_prefix}\022\226\002\n\006Insert\022=." + + "google.cloud.compute.v1.InsertPublicAdve" + + "rtisedPrefixeRequest\032\".google.cloud.comp" + + "ute.v1.Operation\"\250\001\332A)project,public_adv" + + "ertised_prefix_resource\212N\020GlobalOperatio", + "ns\202\323\344\223\002c\">/compute/v1/projects/{project}" + + "/global/publicAdvertisedPrefixes:!public" + + "_advertised_prefix_resource\022\313\001\n\004List\022<.g" + + "oogle.cloud.compute.v1.ListPublicAdverti" + + "sedPrefixesRequest\0323.google.cloud.comput" + + "e.v1.PublicAdvertisedPrefixList\"P\332A\007proj" + + "ect\202\323\344\223\002@\022>/compute/v1/projects/{project" + + "}/global/publicAdvertisedPrefixes\022\310\002\n\005Pa" + + "tch\022<.google.cloud.compute.v1.PatchPubli" + + "cAdvertisedPrefixeRequest\032\".google.cloud" + + ".compute.v1.Operation\"\334\001\332ABproject,publi" + + "c_advertised_prefix,public_advertised_pr" + + "efix_resource\212N\020GlobalOperations\202\323\344\223\002~2Y" + + "/compute/v1/projects/{project}/global/pu" + + "blicAdvertisedPrefixes/{public_advertise" + + "d_prefix}:!public_advertised_prefix_reso" + + "urce\022\222\002\n\010Withdraw\022?.google.cloud.compute" + + ".v1.WithdrawPublicAdvertisedPrefixeReque" + + "st\032\".google.cloud.compute.v1.Operation\"\240" + + "\001\332A project,public_advertised_prefix\212N\020G" + + "lobalOperations\202\323\344\223\002d\"b/compute/v1/proje" + + "cts/{project}/global/publicAdvertisedPre" + + "fixes/{public_advertised_prefix}/withdra" + + "w\032r\312A\026compute.googleapis.com\322AVhttps://w" + + "ww.googleapis.com/auth/compute,https://w" + + "ww.googleapis.com/auth/cloud-platform2\264\022" + + "\n\027PublicDelegatedPrefixes\022\352\001\n\016Aggregated" + + "List\022E.google.cloud.compute.v1.Aggregate" + + "dListPublicDelegatedPrefixesRequest\032<.go" + + "ogle.cloud.compute.v1.PublicDelegatedPre" + + "fixAggregatedList\"S\332A\007project\202\323\344\223\002C\022A/co" + + "mpute/v1/projects/{project}/aggregated/p" + + "ublicDelegatedPrefixes\022\237\002\n\010Announce\022>.go" + + "ogle.cloud.compute.v1.AnnouncePublicDele" + + "gatedPrefixeRequest\032\".google.cloud.compu" + + "te.v1.Operation\"\256\001\332A&project,region,publ" + + "ic_delegated_prefix\212N\020RegionOperations\202\323" + + "\344\223\002l\"j/compute/v1/projects/{project}/reg" + "ions/{region}/publicDelegatedPrefixes/{p" - + "ublic_delegated_prefix}\022\243\002\n\006Insert\022<.goo" - + "gle.cloud.compute.v1.InsertPublicDelegat" - + "edPrefixeRequest\032\".google.cloud.compute." - + "v1.Operation\"\266\001\332A/project,region,public_" - + "delegated_prefix_resource\212N\020RegionOperat" - + "ions\202\323\344\223\002k\"G/compute/v1/projects/{projec" + + "ublic_delegated_prefix}/announce\022\222\002\n\006Del" + + "ete\022<.google.cloud.compute.v1.DeletePubl" + + "icDelegatedPrefixeRequest\032\".google.cloud" + + ".compute.v1.Operation\"\245\001\332A&project,regio" + + "n,public_delegated_prefix\212N\020RegionOperat" + + "ions\202\323\344\223\002c*a/compute/v1/projects/{projec" + "t}/regions/{region}/publicDelegatedPrefi" - + "xes: public_delegated_prefix_resource\022\331\001" - + "\n\004List\022;.google.cloud.compute.v1.ListPub" - + "licDelegatedPrefixesRequest\0322.google.clo" - + "ud.compute.v1.PublicDelegatedPrefixList\"" - + "`\332A\016project,region\202\323\344\223\002I\022G/compute/v1/pr" - + "ojects/{project}/regions/{region}/public" - + "DelegatedPrefixes\022\324\002\n\005Patch\022;.google.clo" - + "ud.compute.v1.PatchPublicDelegatedPrefix" - + "eRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"\351\001\332AGproject,region,public_delegate" - + "d_prefix,public_delegated_prefix_resourc" - + "e\212N\020RegionOperations\202\323\344\223\002\205\0012a/compute/v1" - + "/projects/{project}/regions/{region}/pub" - + "licDelegatedPrefixes/{public_delegated_p" - + "refix}: public_delegated_prefix_resource" - + "\022\237\002\n\010Withdraw\022>.google.cloud.compute.v1." - + "WithdrawPublicDelegatedPrefixeRequest\032\".", - "google.cloud.compute.v1.Operation\"\256\001\332A&p" - + "roject,region,public_delegated_prefix\212N\020" - + "RegionOperations\202\323\344\223\002l\"j/compute/v1/proj" - + "ects/{project}/regions/{region}/publicDe" - + "legatedPrefixes/{public_delegated_prefix" - + "}/withdraw\032r\312A\026compute.googleapis.com\322AV" - + "https://www.googleapis.com/auth/compute," - + "https://www.googleapis.com/auth/cloud-pl" - + "atform2\360\013\n\021RegionAutoscalers\022\345\001\n\006Delete\022" - + "6.google.cloud.compute.v1.DeleteRegionAu" - + "toscalerRequest\032\".google.cloud.compute.v" - + "1.Operation\"\177\332A\031project,region,autoscale" - + "r\212N\020RegionOperations\202\323\344\223\002J*H/compute/v1/" - + "projects/{project}/regions/{region}/auto" - + "scalers/{autoscaler}\022\315\001\n\003Get\0223.google.cl" - + "oud.compute.v1.GetRegionAutoscalerReques" - + "t\032#.google.cloud.compute.v1.Autoscaler\"l" - + "\332A\031project,region,autoscaler\202\323\344\223\002J\022H/com" + + "xes/{public_delegated_prefix}\022\205\002\n\003Get\0229." + + "google.cloud.compute.v1.GetPublicDelegat" + + "edPrefixeRequest\032..google.cloud.compute." + + "v1.PublicDelegatedPrefix\"\222\001\332A&project,re" + + "gion,public_delegated_prefix\202\323\344\223\002c\022a/com" + "pute/v1/projects/{project}/regions/{regi" - + "on}/autoscalers/{autoscaler}\022\367\001\n\006Insert\022" - + "6.google.cloud.compute.v1.InsertRegionAu" - + "toscalerRequest\032\".google.cloud.compute.v" - + "1.Operation\"\220\001\332A\"project,region,autoscal" - + "er_resource\212N\020RegionOperations\202\323\344\223\002R\";/c" - + "ompute/v1/projects/{project}/regions/{re" - + "gion}/autoscalers:\023autoscaler_resource\022\302" - + "\001\n\004List\0225.google.cloud.compute.v1.ListRe" - + "gionAutoscalersRequest\032-.google.cloud.co" - + "mpute.v1.RegionAutoscalerList\"T\332A\016projec" - + "t,region\202\323\344\223\002=\022;/compute/v1/projects/{pr" - + "oject}/regions/{region}/autoscalers\022\365\001\n\005" - + "Patch\0225.google.cloud.compute.v1.PatchReg" + + "on}/publicDelegatedPrefixes/{public_dele" + + "gated_prefix}\022\243\002\n\006Insert\022<.google.cloud." + + "compute.v1.InsertPublicDelegatedPrefixeR" + + "equest\032\".google.cloud.compute.v1.Operati" + + "on\"\266\001\332A/project,region,public_delegated_" + + "prefix_resource\212N\020RegionOperations\202\323\344\223\002k" + + "\"G/compute/v1/projects/{project}/regions" + + "/{region}/publicDelegatedPrefixes: publi" + + "c_delegated_prefix_resource\022\331\001\n\004List\022;.g" + + "oogle.cloud.compute.v1.ListPublicDelegat" + + "edPrefixesRequest\0322.google.cloud.compute" + + ".v1.PublicDelegatedPrefixList\"`\332A\016projec" + + "t,region\202\323\344\223\002I\022G/compute/v1/projects/{pr" + + "oject}/regions/{region}/publicDelegatedP" + + "refixes\022\324\002\n\005Patch\022;.google.cloud.compute" + + ".v1.PatchPublicDelegatedPrefixeRequest\032\"" + + ".google.cloud.compute.v1.Operation\"\351\001\332AG" + + "project,region,public_delegated_prefix,p" + + "ublic_delegated_prefix_resource\212N\020Region" + + "Operations\202\323\344\223\002\205\0012a/compute/v1/projects/" + + "{project}/regions/{region}/publicDelegat" + + "edPrefixes/{public_delegated_prefix}: pu" + + "blic_delegated_prefix_resource\022\237\002\n\010Withd" + + "raw\022>.google.cloud.compute.v1.WithdrawPu" + + "blicDelegatedPrefixeRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\256\001\332A&project,reg" + + "ion,public_delegated_prefix\212N\020RegionOper" + + "ations\202\323\344\223\002l\"j/compute/v1/projects/{proj" + + "ect}/regions/{region}/publicDelegatedPre" + + "fixes/{public_delegated_prefix}/withdraw" + + "\032r\312A\026compute.googleapis.com\322AVhttps://ww" + + "w.googleapis.com/auth/compute,https://ww" + + "w.googleapis.com/auth/cloud-platform2\360\013\n" + + "\021RegionAutoscalers\022\345\001\n\006Delete\0226.google.c" + + "loud.compute.v1.DeleteRegionAutoscalerRe" + + "quest\032\".google.cloud.compute.v1.Operatio" + + "n\"\177\332A\031project,region,autoscaler\212N\020Region" + + "Operations\202\323\344\223\002J*H/compute/v1/projects/{" + + "project}/regions/{region}/autoscalers/{a" + + "utoscaler}\022\315\001\n\003Get\0223.google.cloud.comput" + + "e.v1.GetRegionAutoscalerRequest\032#.google" + + ".cloud.compute.v1.Autoscaler\"l\332A\031project" + + ",region,autoscaler\202\323\344\223\002J\022H/compute/v1/pr" + + "ojects/{project}/regions/{region}/autosc" + + "alers/{autoscaler}\022\367\001\n\006Insert\0226.google.c" + + "loud.compute.v1.InsertRegionAutoscalerRe" + + "quest\032\".google.cloud.compute.v1.Operatio" + + "n\"\220\001\332A\"project,region,autoscaler_resourc" + + "e\212N\020RegionOperations\202\323\344\223\002R\";/compute/v1/" + + "projects/{project}/regions/{region}/auto" + + "scalers:\023autoscaler_resource\022\302\001\n\004List\0225." + + "google.cloud.compute.v1.ListRegionAutosc" + + "alersRequest\032-.google.cloud.compute.v1.R" + + "egionAutoscalerList\"T\332A\016project,region\202\323" + + "\344\223\002=\022;/compute/v1/projects/{project}/reg" + + "ions/{region}/autoscalers\022\365\001\n\005Patch\0225.go" + + "ogle.cloud.compute.v1.PatchRegionAutosca" + + "lerRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"\220\001\332A\"project,region,autoscaler_re" + + "source\212N\020RegionOperations\202\323\344\223\002R2;/comput" + + "e/v1/projects/{project}/regions/{region}" + + "/autoscalers:\023autoscaler_resource\022\367\001\n\006Up" + + "date\0226.google.cloud.compute.v1.UpdateReg" + "ionAutoscalerRequest\032\".google.cloud.comp" + "ute.v1.Operation\"\220\001\332A\"project,region,aut" + "oscaler_resource\212N\020RegionOperations\202\323\344\223\002" - + "R2;/compute/v1/projects/{project}/region" + + "R\032;/compute/v1/projects/{project}/region" + "s/{region}/autoscalers:\023autoscaler_resou" - + "rce\022\367\001\n\006Update\0226.google.cloud.compute.v1" - + ".UpdateRegionAutoscalerRequest\032\".google." - + "cloud.compute.v1.Operation\"\220\001\332A\"project," - + "region,autoscaler_resource\212N\020RegionOpera" - + "tions\202\323\344\223\002R\032;/compute/v1/projects/{proje" - + "ct}/regions/{region}/autoscalers:\023autosc" - + "aler_resource\032r\312A\026compute.googleapis.com" - + "\322AVhttps://www.googleapis.com/auth/compu" - + "te,https://www.googleapis.com/auth/cloud" - + "-platform2\275\033\n\025RegionBackendServices\022\370\001\n\006" - + "Delete\022:.google.cloud.compute.v1.DeleteR" - + "egionBackendServiceRequest\032\".google.clou" - + "d.compute.v1.Operation\"\215\001\332A\036project,regi" - + "on,backend_service\212N\020RegionOperations\202\323\344" - + "\223\002S*Q/compute/v1/projects/{project}/regi" - + "ons/{region}/backendServices/{backend_se" - + "rvice}\022\343\001\n\003Get\0227.google.cloud.compute.v1" - + ".GetRegionBackendServiceRequest\032\'.google" - + ".cloud.compute.v1.BackendService\"z\332A\036pro" - + "ject,region,backend_service\202\323\344\223\002S\022Q/comp" + + "rce\032r\312A\026compute.googleapis.com\322AVhttps:/" + + "/www.googleapis.com/auth/compute,https:/" + + "/www.googleapis.com/auth/cloud-platform2" + + "\275\033\n\025RegionBackendServices\022\370\001\n\006Delete\022:.g" + + "oogle.cloud.compute.v1.DeleteRegionBacke" + + "ndServiceRequest\032\".google.cloud.compute." + + "v1.Operation\"\215\001\332A\036project,region,backend" + + "_service\212N\020RegionOperations\202\323\344\223\002S*Q/comp" + "ute/v1/projects/{project}/regions/{regio" - + "n}/backendServices/{backend_service}\022\313\002\n" - + "\tGetHealth\022=.google.cloud.compute.v1.Get" - + "HealthRegionBackendServiceRequest\0322.goog" - + "le.cloud.compute.v1.BackendServiceGroupH" - + "ealth\"\312\001\332A@project,region,backend_servic" - + "e,resource_group_reference_resource\202\323\344\223\002" - + "\200\001\"[/compute/v1/projects/{project}/regio" - + "ns/{region}/backendServices/{backend_ser" - + "vice}/getHealth:!resource_group_referenc" - + "e_resource\022\354\001\n\014GetIamPolicy\022@.google.clo" - + "ud.compute.v1.GetIamPolicyRegionBackendS" - + "erviceRequest\032\037.google.cloud.compute.v1." - + "Policy\"y\332A\027project,region,resource\202\323\344\223\002Y" - + "\022W/compute/v1/projects/{project}/regions" - + "/{region}/backendServices/{resource}/get" - + "IamPolicy\022\211\002\n\006Insert\022:.google.cloud.comp" - + "ute.v1.InsertRegionBackendServiceRequest" - + "\032\".google.cloud.compute.v1.Operation\"\236\001\332" - + "A\'project,region,backend_service_resourc" - + "e\212N\020RegionOperations\202\323\344\223\002[\"?/compute/v1/" - + "projects/{project}/regions/{region}/back" - + "endServices:\030backend_service_resource\022\310\001" - + "\n\004List\0229.google.cloud.compute.v1.ListReg" - + "ionBackendServicesRequest\032+.google.cloud" - + ".compute.v1.BackendServiceList\"X\332A\016proje" - + "ct,region\202\323\344\223\002A\022?/compute/v1/projects/{p" - + "roject}/regions/{region}/backendServices" - + "\022\345\001\n\nListUsable\022?.google.cloud.compute.v" - + "1.ListUsableRegionBackendServicesRequest" - + "\0321.google.cloud.compute.v1.BackendServic" - + "eListUsable\"c\332A\016project,region\202\323\344\223\002L\022J/c" - + "ompute/v1/projects/{project}/regions/{re" - + "gion}/backendServices/listUsable\022\251\002\n\005Pat" - + "ch\0229.google.cloud.compute.v1.PatchRegion" - + "BackendServiceRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\300\001\332A7project,region,ba" - + "ckend_service,backend_service_resource\212N" - + "\020RegionOperations\202\323\344\223\002m2Q/compute/v1/pro" + + "n}/backendServices/{backend_service}\022\343\001\n" + + "\003Get\0227.google.cloud.compute.v1.GetRegion" + + "BackendServiceRequest\032\'.google.cloud.com" + + "pute.v1.BackendService\"z\332A\036project,regio" + + "n,backend_service\202\323\344\223\002S\022Q/compute/v1/pro" + "jects/{project}/regions/{region}/backend" - + "Services/{backend_service}:\030backend_serv" - + "ice_resource\022\264\002\n\014SetIamPolicy\022@.google.c" - + "loud.compute.v1.SetIamPolicyRegionBacken" - + "dServiceRequest\032\037.google.cloud.compute.v" - + "1.Policy\"\300\001\332A:project,region,resource,re" - + "gion_set_policy_request_resource\202\323\344\223\002}\"W" - + "/compute/v1/projects/{project}/regions/{" - + "region}/backendServices/{resource}/setIa" - + "mPolicy:\"region_set_policy_request_resou" - + "rce\022\350\002\n\021SetSecurityPolicy\022E.google.cloud" - + ".compute.v1.SetSecurityPolicyRegionBacke" - + "ndServiceRequest\032\".google.cloud.compute." - + "v1.Operation\"\347\001\332AAproject,region,backend" - + "_service,security_policy_reference_resou" - + "rce\212N\020RegionOperations\202\323\344\223\002\211\001\"c/compute/" - + "v1/projects/{project}/regions/{region}/b" - + "ackendServices/{backend_service}/setSecu" - + "rityPolicy:\"security_policy_reference_re" - + "source\022\326\002\n\022TestIamPermissions\022F.google.c" - + "loud.compute.v1.TestIamPermissionsRegion" - + "BackendServiceRequest\0320.google.cloud.com" - + "pute.v1.TestPermissionsResponse\"\305\001\332A9pro" - + "ject,region,resource,test_permissions_re" - + "quest_resource\202\323\344\223\002\202\001\"]/compute/v1/proje" - + "cts/{project}/regions/{region}/backendSe" - + "rvices/{resource}/testIamPermissions:!te" - + "st_permissions_request_resource\022\253\002\n\006Upda" - + "te\022:.google.cloud.compute.v1.UpdateRegio" - + "nBackendServiceRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\300\001\332A7project,region,b" - + "ackend_service,backend_service_resource\212" - + "N\020RegionOperations\202\323\344\223\002m\032Q/compute/v1/pr" - + "ojects/{project}/regions/{region}/backen" - + "dServices/{backend_service}:\030backend_ser" - + "vice_resource\032r\312A\026compute.googleapis.com" - + "\322AVhttps://www.googleapis.com/auth/compu" - + "te,https://www.googleapis.com/auth/cloud" - + "-platform2\362\t\n\021RegionCommitments\022\315\001\n\016Aggr" - + "egatedList\022?.google.cloud.compute.v1.Agg" - + "regatedListRegionCommitmentsRequest\0321.go" - + "ogle.cloud.compute.v1.CommitmentAggregat" - + "edList\"G\332A\007project\202\323\344\223\0027\0225/compute/v1/pr" - + "ojects/{project}/aggregated/commitments\022" - + "\315\001\n\003Get\0223.google.cloud.compute.v1.GetReg" - + "ionCommitmentRequest\032#.google.cloud.comp" - + "ute.v1.Commitment\"l\332A\031project,region,com" - + "mitment\202\323\344\223\002J\022H/compute/v1/projects/{pro" - + "ject}/regions/{region}/commitments/{comm" - + "itment}\022\367\001\n\006Insert\0226.google.cloud.comput" - + "e.v1.InsertRegionCommitmentRequest\032\".goo" - + "gle.cloud.compute.v1.Operation\"\220\001\332A\"proj" - + "ect,region,commitment_resource\212N\020RegionO" - + "perations\202\323\344\223\002R\";/compute/v1/projects/{p" - + "roject}/regions/{region}/commitments:\023co" - + "mmitment_resource\022\274\001\n\004List\0225.google.clou" - + "d.compute.v1.ListRegionCommitmentsReques" - + "t\032\'.google.cloud.compute.v1.CommitmentLi" - + "st\"T\332A\016project,region\202\323\344\223\002=\022;/compute/v1" - + "/projects/{project}/regions/{region}/com" - + "mitments\022\217\002\n\006Update\0226.google.cloud.compu" - + "te.v1.UpdateRegionCommitmentRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\250\001\332A-pro" - + "ject,region,commitment,commitment_resour" - + "ce\212N\020RegionOperations\202\323\344\223\002_2H/compute/v1" - + "/projects/{project}/regions/{region}/com" - + "mitments/{commitment}:\023commitment_resour" - + "ce\032r\312A\026compute.googleapis.com\322AVhttps://" - + "www.googleapis.com/auth/compute,https://" - + "www.googleapis.com/auth/cloud-platform2\277" - + "\004\n\017RegionDiskTypes\022\305\001\n\003Get\0221.google.clou" - + "d.compute.v1.GetRegionDiskTypeRequest\032!." - + "google.cloud.compute.v1.DiskType\"h\332A\030pro" - + "ject,region,disk_type\202\323\344\223\002G\022E/compute/v1" - + "/projects/{project}/regions/{region}/dis" - + "kTypes/{disk_type}\022\274\001\n\004List\0223.google.clo" - + "ud.compute.v1.ListRegionDiskTypesRequest" - + "\032+.google.cloud.compute.v1.RegionDiskTyp" - + "eList\"R\332A\016project,region\202\323\344\223\002;\0229/compute" + + "Services/{backend_service}\022\313\002\n\tGetHealth" + + "\022=.google.cloud.compute.v1.GetHealthRegi" + + "onBackendServiceRequest\0322.google.cloud.c" + + "ompute.v1.BackendServiceGroupHealth\"\312\001\332A" + + "@project,region,backend_service,resource" + + "_group_reference_resource\202\323\344\223\002\200\001\"[/compu" + + "te/v1/projects/{project}/regions/{region" + + "}/backendServices/{backend_service}/getH" + + "ealth:!resource_group_reference_resource" + + "\022\354\001\n\014GetIamPolicy\022@.google.cloud.compute" + + ".v1.GetIamPolicyRegionBackendServiceRequ" + + "est\032\037.google.cloud.compute.v1.Policy\"y\332A" + + "\027project,region,resource\202\323\344\223\002Y\022W/compute" + "/v1/projects/{project}/regions/{region}/" - + "diskTypes\032\244\001\312A\026compute.googleapis.com\322A\207" - + "\001https://www.googleapis.com/auth/compute" - + ".readonly,https://www.googleapis.com/aut" - + "h/compute,https://www.googleapis.com/aut" - + "h/cloud-platform2\217&\n\013RegionDisks\022\346\002\n\023Add" - + "ResourcePolicies\022=.google.cloud.compute." - + "v1.AddResourcePoliciesRegionDiskRequest\032" - + "\".google.cloud.compute.v1.Operation\"\353\001\332A" - + "Gproject,region,disk,region_disks_add_re" - + "source_policies_request_resource\212N\020Regio" - + "nOperations\202\323\344\223\002\207\001\"P/compute/v1/projects" - + "/{project}/regions/{region}/disks/{disk}" - + "/addResourcePolicies:3region_disks_add_r" - + "esource_policies_request_resource\022\234\002\n\nBu" - + "lkInsert\0224.google.cloud.compute.v1.BulkI" - + "nsertRegionDiskRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\263\001\332A1project,region,b" - + "ulk_insert_disk_resource_resource\212N\020Regi" - + "onOperations\202\323\344\223\002f\"@/compute/v1/projects" - + "/{project}/regions/{region}/disks/bulkIn" - + "sert:\"bulk_insert_disk_resource_resource" - + "\022\222\002\n\016CreateSnapshot\0228.google.cloud.compu" - + "te.v1.CreateSnapshotRegionDiskRequest\032\"." - + "google.cloud.compute.v1.Operation\"\241\001\332A%p" - + "roject,region,disk,snapshot_resource\212N\020R" - + "egionOperations\202\323\344\223\002`\"K/compute/v1/proje" - + "cts/{project}/regions/{region}/disks/{di" - + "sk}/createSnapshot:\021snapshot_resource\022\315\001" - + "\n\006Delete\0220.google.cloud.compute.v1.Delet" - + "eRegionDiskRequest\032\".google.cloud.comput" - + "e.v1.Operation\"m\332A\023project,region,disk\212N" - + "\020RegionOperations\202\323\344\223\002>*\022*\022.google.cloud.comput" - + "e.v1.StopAsyncReplicationRegionDiskReque" - + "st\032\".google.cloud.compute.v1.Operation\"\202" - + "\001\332A\023project,region,disk\212N\020RegionOperatio" - + "ns\202\323\344\223\002S\"Q/compute/v1/projects/{project}" - + "/regions/{region}/disks/{disk}/stopAsync" - + "Replication\022\356\002\n\031StopGroupAsyncReplicatio" - + "n\022C.google.cloud.compute.v1.StopGroupAsy" - + "ncReplicationRegionDiskRequest\032\".google." - + "cloud.compute.v1.Operation\"\347\001\332ACproject," - + "region,disks_stop_group_async_replicatio" - + "n_resource_resource\212N\020RegionOperations\202\323" - + "\344\223\002\207\001\"O/compute/v1/projects/{project}/re" - + "gions/{region}/disks/stopGroupAsyncRepli" - + "cation:4disks_stop_group_async_replicati" - + "on_resource_resource\022\301\002\n\022TestIamPermissi" - + "ons\022<.google.cloud.compute.v1.TestIamPer" - + "missionsRegionDiskRequest\0320.google.cloud" - + ".compute.v1.TestPermissionsResponse\"\272\001\332A" - + "9project,region,resource,test_permission" - + "s_request_resource\202\323\344\223\002x\"S/compute/v1/pr" - + "ojects/{project}/regions/{region}/disks/" - + "{resource}/testIamPermissions:!test_perm" - + "issions_request_resource\022\353\001\n\006Update\0220.go" - + "ogle.cloud.compute.v1.UpdateRegionDiskRe" - + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\212\001\332A!project,region,disk,disk_resource" - + "\212N\020RegionOperations\202\323\344\223\002M2.google.cloud.compu" - + "te.v1.DeleteRegionHealthCheckServiceRequ" + + "Operation\"~\332A\034project,region,disk_resour" + + "ce\212N\020RegionOperations\202\323\344\223\002F\"5/compute/v1" + + "/projects/{project}/regions/{region}/dis" + + "ks:\rdisk_resource\022\252\001\n\004List\022/.google.clou" + + "d.compute.v1.ListRegionDisksRequest\032!.go" + + "ogle.cloud.compute.v1.DiskList\"N\332A\016proje" + + "ct,region\202\323\344\223\0027\0225/compute/v1/projects/{p" + + "roject}/regions/{region}/disks\022\365\002\n\026Remov" + + "eResourcePolicies\022@.google.cloud.compute" + + ".v1.RemoveResourcePoliciesRegionDiskRequ" + "est\032\".google.cloud.compute.v1.Operation\"" - + "\233\001\332A#project,region,health_check_service" - + "\212N\020RegionOperations\202\323\344\223\002\\*Z/compute/v1/p" - + "rojects/{project}/regions/{region}/healt" - + "hCheckServices/{health_check_service}\022\372\001" - + "\n\003Get\022;.google.cloud.compute.v1.GetRegio" - + "nHealthCheckServiceRequest\032+.google.clou" - + "d.compute.v1.HealthCheckService\"\210\001\332A#pro" - + "ject,region,health_check_service\202\323\344\223\002\\\022Z" + + "\364\001\332AJproject,region,disk,region_disks_re" + + "move_resource_policies_request_resource\212" + + "N\020RegionOperations\202\323\344\223\002\215\001\"S/compute/v1/p" + + "rojects/{project}/regions/{region}/disks" + + "/{disk}/removeResourcePolicies:6region_d" + + "isks_remove_resource_policies_request_re" + + "source\022\240\002\n\006Resize\0220.google.cloud.compute" + + ".v1.ResizeRegionDiskRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\277\001\332A8project,reg" + + "ion,disk,region_disks_resize_request_res" + + "ource\212N\020RegionOperations\202\323\344\223\002k\"C/compute" + + "/v1/projects/{project}/regions/{region}/" + + "disks/{disk}/resize:$region_disks_resize" + + "_request_resource\022\240\002\n\014SetIamPolicy\0226.goo" + + "gle.cloud.compute.v1.SetIamPolicyRegionD" + + "iskRequest\032\037.google.cloud.compute.v1.Pol" + + "icy\"\266\001\332A:project,region,resource,region_" + + "set_policy_request_resource\202\323\344\223\002s\"M/comp" + + "ute/v1/projects/{project}/regions/{regio" + + "n}/disks/{resource}/setIamPolicy:\"region" + + "_set_policy_request_resource\022\255\002\n\tSetLabe" + + "ls\0223.google.cloud.compute.v1.SetLabelsRe" + + "gionDiskRequest\032\".google.cloud.compute.v" + + "1.Operation\"\306\001\332A:project,region,resource" + + ",region_set_labels_request_resource\212N\020Re" + + "gionOperations\202\323\344\223\002p\"J/compute/v1/projec" + + "ts/{project}/regions/{region}/disks/{res" + + "ource}/setLabels:\"region_set_labels_requ" + + "est_resource\022\360\002\n\025StartAsyncReplication\022?" + + ".google.cloud.compute.v1.StartAsyncRepli" + + "cationRegionDiskRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\361\001\332AIproject,region," + + "disk,region_disks_start_async_replicatio" + + "n_request_resource\212N\020RegionOperations\202\323\344" + + "\223\002\213\001\"R/compute/v1/projects/{project}/reg" + + "ions/{region}/disks/{disk}/startAsyncRep" + + "lication:5region_disks_start_async_repli" + + "cation_request_resource\022\377\001\n\024StopAsyncRep" + + "lication\022>.google.cloud.compute.v1.StopA" + + "syncReplicationRegionDiskRequest\032\".googl" + + "e.cloud.compute.v1.Operation\"\202\001\332A\023projec" + + "t,region,disk\212N\020RegionOperations\202\323\344\223\002S\"Q" + "/compute/v1/projects/{project}/regions/{" - + "region}/healthCheckServices/{health_chec" - + "k_service}\022\233\002\n\006Insert\022>.google.cloud.com" - + "pute.v1.InsertRegionHealthCheckServiceRe" - + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\254\001\332A,project,region,health_check_servi" - + "ce_resource\212N\020RegionOperations\202\323\344\223\002d\"C/c" - + "ompute/v1/projects/{project}/regions/{re" - + "gion}/healthCheckServices:\035health_check_" - + "service_resource\022\325\001\n\004List\022=.google.cloud" - + ".compute.v1.ListRegionHealthCheckService" - + "sRequest\0320.google.cloud.compute.v1.Healt" - + "hCheckServicesList\"\\\332A\016project,region\202\323\344" - + "\223\002E\022C/compute/v1/projects/{project}/regi" - + "ons/{region}/healthCheckServices\022\305\002\n\005Pat" - + "ch\022=.google.cloud.compute.v1.PatchRegion" - + "HealthCheckServiceRequest\032\".google.cloud" - + ".compute.v1.Operation\"\330\001\332AAproject,regio" - + "n,health_check_service,health_check_serv" - + "ice_resource\212N\020RegionOperations\202\323\344\223\002{2Z/" - + "compute/v1/projects/{project}/regions/{r" - + "egion}/healthCheckServices/{health_check" - + "_service}:\035health_check_service_resource" - + "\032r\312A\026compute.googleapis.com\322AVhttps://ww" - + "w.googleapis.com/auth/compute,https://ww" - + "w.googleapis.com/auth/cloud-platform2\306\014\n" - + "\022RegionHealthChecks\022\354\001\n\006Delete\0227.google." - + "cloud.compute.v1.DeleteRegionHealthCheck" - + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\204\001\332A\033project,region,health_check\212N\020R" - + "egionOperations\202\323\344\223\002M*K/compute/v1/proje" - + "cts/{project}/regions/{region}/healthChe" - + "cks/{health_check}\022\324\001\n\003Get\0224.google.clou" - + "d.compute.v1.GetRegionHealthCheckRequest" - + "\032$.google.cloud.compute.v1.HealthCheck\"q" - + "\332A\033project,region,health_check\202\323\344\223\002M\022K/c" - + "ompute/v1/projects/{project}/regions/{re" - + "gion}/healthChecks/{health_check}\022\375\001\n\006In" - + "sert\0227.google.cloud.compute.v1.InsertReg" - + "ionHealthCheckRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\225\001\332A$project,region,he" - + "alth_check_resource\212N\020RegionOperations\202\323" - + "\344\223\002U\"\022.google.cloud.compute.v1.Dele" + + "teRegionHealthCheckServiceRequest\032\".goog" + + "le.cloud.compute.v1.Operation\"\233\001\332A#proje" + + "ct,region,health_check_service\212N\020RegionO" + + "perations\202\323\344\223\002\\*Z/compute/v1/projects/{p" + + "roject}/regions/{region}/healthCheckServ" + + "ices/{health_check_service}\022\372\001\n\003Get\022;.go" + + "ogle.cloud.compute.v1.GetRegionHealthChe" + + "ckServiceRequest\032+.google.cloud.compute." + + "v1.HealthCheckService\"\210\001\332A#project,regio" + + "n,health_check_service\202\323\344\223\002\\\022Z/compute/v" + + "1/projects/{project}/regions/{region}/he" + + "althCheckServices/{health_check_service}" + + "\022\233\002\n\006Insert\022>.google.cloud.compute.v1.In" + + "sertRegionHealthCheckServiceRequest\032\".go" + + "ogle.cloud.compute.v1.Operation\"\254\001\332A,pro" + + "ject,region,health_check_service_resourc" + + "e\212N\020RegionOperations\202\323\344\223\002d\"C/compute/v1/" + + "projects/{project}/regions/{region}/heal" + + "thCheckServices:\035health_check_service_re", + "source\022\325\001\n\004List\022=.google.cloud.compute.v" + + "1.ListRegionHealthCheckServicesRequest\0320" + + ".google.cloud.compute.v1.HealthCheckServ" + + "icesList\"\\\332A\016project,region\202\323\344\223\002E\022C/comp" + "ute/v1/projects/{project}/regions/{regio" - + "n}/instanceGroupManagers/{instance_group" - + "_manager}/deletePerInstanceConfigs:Aregi" - + "on_instance_group_manager_delete_instanc" - + "e_config_req_resource\022\204\002\n\003Get\022=.google.c" - + "loud.compute.v1.GetRegionInstanceGroupMa" - + "nagerRequest\032-.google.cloud.compute.v1.I" - + "nstanceGroupManager\"\216\001\332A%project,region," - + "instance_group_manager\202\323\344\223\002`\022^/compute/v" - + "1/projects/{project}/regions/{region}/in" - + "stanceGroupManagers/{instance_group_mana" - + "ger}\022\243\002\n\006Insert\022@.google.cloud.compute.v" - + "1.InsertRegionInstanceGroupManagerReques" - + "t\032\".google.cloud.compute.v1.Operation\"\262\001" - + "\332A.project,region,instance_group_manager" - + "_resource\212N\020RegionOperations\202\323\344\223\002h\"E/com" + + "n}/healthCheckServices\022\305\002\n\005Patch\022=.googl" + + "e.cloud.compute.v1.PatchRegionHealthChec" + + "kServiceRequest\032\".google.cloud.compute.v" + + "1.Operation\"\330\001\332AAproject,region,health_c" + + "heck_service,health_check_service_resour" + + "ce\212N\020RegionOperations\202\323\344\223\002{2Z/compute/v1" + + "/projects/{project}/regions/{region}/hea" + + "lthCheckServices/{health_check_service}:" + + "\035health_check_service_resource\032r\312A\026compu" + + "te.googleapis.com\322AVhttps://www.googleap" + + "is.com/auth/compute,https://www.googleap" + + "is.com/auth/cloud-platform2\306\014\n\022RegionHea" + + "lthChecks\022\354\001\n\006Delete\0227.google.cloud.comp" + + "ute.v1.DeleteRegionHealthCheckRequest\032\"." + + "google.cloud.compute.v1.Operation\"\204\001\332A\033p" + + "roject,region,health_check\212N\020RegionOpera" + + "tions\202\323\344\223\002M*K/compute/v1/projects/{proje" + + "ct}/regions/{region}/healthChecks/{healt" + + "h_check}\022\324\001\n\003Get\0224.google.cloud.compute." + + "v1.GetRegionHealthCheckRequest\032$.google." + + "cloud.compute.v1.HealthCheck\"q\332A\033project" + + ",region,health_check\202\323\344\223\002M\022K/compute/v1/" + + "projects/{project}/regions/{region}/heal" + + "thChecks/{health_check}\022\375\001\n\006Insert\0227.goo" + + "gle.cloud.compute.v1.InsertRegionHealthC" + + "heckRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\225\001\332A$project,region,health_check" + + "_resource\212N\020RegionOperations\202\323\344\223\002U\"\022/compute/v1/projects" + + "stance_group_managers_create_instances_r" + + "equest_resource\212N\020RegionOperations\202\323\344\223\002\262" + + "\001\"n/compute/v1/projects/{project}/region" + + "s/{region}/instanceGroupManagers/{instan" + + "ce_group_manager}/createInstances:@regio" + + "n_instance_group_managers_create_instanc" + + "es_request_resource\022\222\002\n\006Delete\022@.google." + + "cloud.compute.v1.DeleteRegionInstanceGro" + + "upManagerRequest\032\".google.cloud.compute." + + "v1.Operation\"\241\001\332A%project,region,instanc" + + "e_group_manager\212N\020RegionOperations\202\323\344\223\002`" + + "*^/compute/v1/projects/{project}/regions" + + "/{region}/instanceGroupManagers/{instanc" + + "e_group_manager}\022\270\003\n\017DeleteInstances\022I.g" + + "oogle.cloud.compute.v1.DeleteInstancesRe" + + "gionInstanceGroupManagerRequest\032\".google" + + ".cloud.compute.v1.Operation\"\265\002\332Afproject" + + ",region,instance_group_manager,region_in" + + "stance_group_managers_delete_instances_r" + + "equest_resource\212N\020RegionOperations\202\323\344\223\002\262" + + "\001\"n/compute/v1/projects/{project}/region" + + "s/{region}/instanceGroupManagers/{instan" + + "ce_group_manager}/deleteInstances:@regio" + + "n_instance_group_managers_delete_instanc" + + "es_request_resource\022\325\003\n\030DeletePerInstanc" + + "eConfigs\022R.google.cloud.compute.v1.Delet" + + "ePerInstanceConfigsRegionInstanceGroupMa" + + "nagerRequest\032\".google.cloud.compute.v1.O" + + "peration\"\300\002\332Agproject,region,instance_gr" + + "oup_manager,region_instance_group_manage" + + "r_delete_instance_config_req_resource\212N\020" + + "RegionOperations\202\323\344\223\002\274\001\"w/compute/v1/pro" + + "jects/{project}/regions/{region}/instanc" + + "eGroupManagers/{instance_group_manager}/" + + "deletePerInstanceConfigs:Aregion_instanc" + + "e_group_manager_delete_instance_config_r" + + "eq_resource\022\204\002\n\003Get\022=.google.cloud.compu" + + "te.v1.GetRegionInstanceGroupManagerReque" + + "st\032-.google.cloud.compute.v1.InstanceGro" + + "upManager\"\216\001\332A%project,region,instance_g" + + "roup_manager\202\323\344\223\002`\022^/compute/v1/projects" + "/{project}/regions/{region}/instanceGrou" - + "ps\022\206\003\n\rListInstances\022A.google.cloud.comp" - + "ute.v1.ListInstancesRegionInstanceGroups" - + "Request\032:.google.cloud.compute.v1.Region" - + "InstanceGroupsListInstances\"\365\001\332ATproject" - + ",region,instance_group,region_instance_g" - + "roups_list_instances_request_resource\202\323\344" - + "\223\002\227\001\"]/compute/v1/projects/{project}/reg" - + "ions/{region}/instanceGroups/{instance_g" - + "roup}/listInstances:6region_instance_gro" - + "ups_list_instances_request_resource\022\202\003\n\r" - + "SetNamedPorts\022@.google.cloud.compute.v1." - + "SetNamedPortsRegionInstanceGroupRequest\032" - + "\".google.cloud.compute.v1.Operation\"\212\002\332A" - + "Uproject,region,instance_group,region_in" - + "stance_groups_set_named_ports_request_re" - + "source\212N\020RegionOperations\202\323\344\223\002\230\001\"]/compu" + + "pManagers/{instance_group_manager}\022\243\002\n\006I" + + "nsert\022@.google.cloud.compute.v1.InsertRe" + + "gionInstanceGroupManagerRequest\032\".google" + + ".cloud.compute.v1.Operation\"\262\001\332A.project" + + ",region,instance_group_manager_resource\212" + + "N\020RegionOperations\202\323\344\223\002h\"E/compute/v1/pr" + + "ojects/{project}/regions/{region}/instan" + + "ceGroupManagers:\037instance_group_manager_" + + "resource\022\340\001\n\004List\022?.google.cloud.compute" + + ".v1.ListRegionInstanceGroupManagersReque" + + "st\0327.google.cloud.compute.v1.RegionInsta" + + "nceGroupManagerList\"^\332A\016project,region\202\323" + + "\344\223\002G\022E/compute/v1/projects/{project}/reg" + + "ions/{region}/instanceGroupManagers\022\267\002\n\n" + + "ListErrors\022E.google.cloud.compute.v1.Lis" + + "tErrorsRegionInstanceGroupManagersReques" + + "t\032F.google.cloud.compute.v1.RegionInstan" + + "ceGroupManagersListErrorsResponse\"\231\001\332A%p" + + "roject,region,instance_group_manager\202\323\344\223" + + "\002k\022i/compute/v1/projects/{project}/regio" + + "ns/{region}/instanceGroupManagers/{insta" + + "nce_group_manager}/listErrors\022\330\002\n\024ListMa" + + "nagedInstances\022O.google.cloud.compute.v1" + + ".ListManagedInstancesRegionInstanceGroup" + + "ManagersRequest\032I.google.cloud.compute.v" + + "1.RegionInstanceGroupManagersListInstanc" + + "esResponse\"\243\001\332A%project,region,instance_" + + "group_manager\202\323\344\223\002u\"s/compute/v1/project" + + "s/{project}/regions/{region}/instanceGro" + + "upManagers/{instance_group_manager}/list" + + "ManagedInstances\022\340\002\n\026ListPerInstanceConf" + + "igs\022Q.google.cloud.compute.v1.ListPerIns" + + "tanceConfigsRegionInstanceGroupManagersR" + + "equest\032K.google.cloud.compute.v1.RegionI" + + "nstanceGroupManagersListInstanceConfigsR" + + "esp\"\245\001\332A%project,region,instance_group_m" + + "anager\202\323\344\223\002w\"u/compute/v1/projects/{proj" + + "ect}/regions/{region}/instanceGroupManag" + + "ers/{instance_group_manager}/listPerInst" + + "anceConfigs\022\322\002\n\005Patch\022?.google.cloud.com" + + "pute.v1.PatchRegionInstanceGroupManagerR" + + "equest\032\".google.cloud.compute.v1.Operati" + + "on\"\343\001\332AEproject,region,instance_group_ma" + + "nager,instance_group_manager_resource\212N\020" + + "RegionOperations\202\323\344\223\002\201\0012^/compute/v1/pro" + + "jects/{project}/regions/{region}/instanc" + + "eGroupManagers/{instance_group_manager}:" + + "\037instance_group_manager_resource\022\320\003\n\027Pat" + + "chPerInstanceConfigs\022Q.google.cloud.comp" + + "ute.v1.PatchPerInstanceConfigsRegionInst" + + "anceGroupManagerRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\275\002\332Afproject,region," + + "instance_group_manager,region_instance_g" + + "roup_manager_patch_instance_config_req_r" + + "esource\212N\020RegionOperations\202\323\344\223\002\272\001\"v/comp" + + "ute/v1/projects/{project}/regions/{regio" + + "n}/instanceGroupManagers/{instance_group" + + "_manager}/patchPerInstanceConfigs:@regio" + + "n_instance_group_manager_patch_instance_" + + "config_req_resource\022\256\003\n\021RecreateInstance" + + "s\022K.google.cloud.compute.v1.RecreateInst" + + "ancesRegionInstanceGroupManagerRequest\032\"" + + ".google.cloud.compute.v1.Operation\"\247\002\332A^" + + "project,region,instance_group_manager,re" + + "gion_instance_group_managers_recreate_re" + + "quest_resource\212N\020RegionOperations\202\323\344\223\002\254\001" + + "\"p/compute/v1/projects/{project}/regions" + + "/{region}/instanceGroupManagers/{instanc" + + "e_group_manager}/recreateInstances:8regi" + + "on_instance_group_managers_recreate_requ" + + "est_resource\022\236\002\n\006Resize\022@.google.cloud.c" + + "ompute.v1.ResizeRegionInstanceGroupManag" + + "erRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\255\001\332A*project,region,instance_group" + + "_manager,size\212N\020RegionOperations\202\323\344\223\002g\"e" + + "/compute/v1/projects/{project}/regions/{" + + "region}/instanceGroupManagers/{instance_" + + "group_manager}/resize\022\274\003\n\023SetInstanceTem" + + "plate\022M.google.cloud.compute.v1.SetInsta" + + "nceTemplateRegionInstanceGroupManagerReq" + + "uest\032\".google.cloud.compute.v1.Operation" + + "\"\261\002\332Abproject,region,instance_group_mana" + + "ger,region_instance_group_managers_set_t" + + "emplate_request_resource\212N\020RegionOperati" + + "ons\202\323\344\223\002\262\001\"r/compute/v1/projects/{projec" + + "t}/regions/{region}/instanceGroupManager" + + "s/{instance_group_manager}/setInstanceTe" + + "mplate:.google" - + ".cloud.compute.v1.SetLabelsRegionInstant" - + "SnapshotRequest\032\".google.cloud.compute.v" - + "1.Operation\"\321\001\332A:project,region,resource" - + ",region_set_labels_request_resource\212N\020Re" - + "gionOperations\202\323\344\223\002{\"U/compute/v1/projec" - + "ts/{project}/regions/{region}/instantSna" - + "pshots/{resource}/setLabels:\"region_set_" - + "labels_request_resource\022\330\002\n\022TestIamPermi" - + "ssions\022G.google.cloud.compute.v1.TestIam" - + "PermissionsRegionInstantSnapshotRequest\032" - + "0.google.cloud.compute.v1.TestPermission" - + "sResponse\"\306\001\332A9project,region,resource,t" - + "est_permissions_request_resource\202\323\344\223\002\203\001\"" - + "^/compute/v1/projects/{project}/regions/" - + "{region}/instantSnapshots/{resource}/tes" - + "tIamPermissions:!test_permissions_reques" - + "t_resource\032r\312A\026compute.googleapis.com\322AV" - + "https://www.googleapis.com/auth/compute," - + "https://www.googleapis.com/auth/cloud-pl" - + "atform2\244\023\n\033RegionNetworkEndpointGroups\022\315" - + "\003\n\026AttachNetworkEndpoints\022P.google.cloud" - + ".compute.v1.AttachNetworkEndpointsRegion" - + "NetworkEndpointGroupRequest\032\".google.clo" - + "ud.compute.v1.Operation\"\274\002\332Afproject,reg" - + "ion,network_endpoint_group,region_networ" - + "k_endpoint_groups_attach_endpoints_reque" - + "st_resource\212N\020RegionOperations\202\323\344\223\002\271\001\"u/" - + "compute/v1/projects/{project}/regions/{r" - + "egion}/networkEndpointGroups/{network_en" - + "dpoint_group}/attachNetworkEndpoints:@re" - + "gion_network_endpoint_groups_attach_endp" - + "oints_request_resource\022\222\002\n\006Delete\022@.goog" - + "le.cloud.compute.v1.DeleteRegionNetworkE" - + "ndpointGroupRequest\032\".google.cloud.compu" - + "te.v1.Operation\"\241\001\332A%project,region,netw" - + "ork_endpoint_group\212N\020RegionOperations\202\323\344" - + "\223\002`*^/compute/v1/projects/{project}/regi" - + "ons/{region}/networkEndpointGroups/{netw" - + "ork_endpoint_group}\022\315\003\n\026DetachNetworkEnd" - + "points\022P.google.cloud.compute.v1.DetachN" - + "etworkEndpointsRegionNetworkEndpointGrou" - + "pRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"\274\002\332Afproject,region,network_endpoin" - + "t_group,region_network_endpoint_groups_d" - + "etach_endpoints_request_resource\212N\020Regio" - + "nOperations\202\323\344\223\002\271\001\"u/compute/v1/projects" - + "/{project}/regions/{region}/networkEndpo" - + "intGroups/{network_endpoint_group}/detac" - + "hNetworkEndpoints:@region_network_endpoi" - + "nt_groups_detach_endpoints_request_resou" - + "rce\022\204\002\n\003Get\022=.google.cloud.compute.v1.Ge" - + "tRegionNetworkEndpointGroupRequest\032-.goo" - + "gle.cloud.compute.v1.NetworkEndpointGrou" - + "p\"\216\001\332A%project,region,network_endpoint_g" - + "roup\202\323\344\223\002`\022^/compute/v1/projects/{projec" - + "t}/regions/{region}/networkEndpointGroup" - + "s/{network_endpoint_group}\022\243\002\n\006Insert\022@." - + "google.cloud.compute.v1.InsertRegionNetw" - + "orkEndpointGroupRequest\032\".google.cloud.c" - + "ompute.v1.Operation\"\262\001\332A.project,region," - + "network_endpoint_group_resource\212N\020Region" - + "Operations\202\323\344\223\002h\"E/compute/v1/projects/{" - + "project}/regions/{region}/networkEndpoin" - + "tGroups:\037network_endpoint_group_resource" - + "\022\332\001\n\004List\022?.google.cloud.compute.v1.List" - + "RegionNetworkEndpointGroupsRequest\0321.goo" - + "gle.cloud.compute.v1.NetworkEndpointGrou" - + "pList\"^\332A\016project,region\202\323\344\223\002G\022E/compute" - + "/v1/projects/{project}/regions/{region}/" - + "networkEndpointGroups\022\321\002\n\024ListNetworkEnd" - + "points\022O.google.cloud.compute.v1.ListNet" - + "workEndpointsRegionNetworkEndpointGroups" - + "Request\032B.google.cloud.compute.v1.Networ" - + "kEndpointGroupsListNetworkEndpoints\"\243\001\332A" - + "%project,region,network_endpoint_group\202\323" - + "\344\223\002u\"s/compute/v1/projects/{project}/reg" - + "ions/{region}/networkEndpointGroups/{net" - + "work_endpoint_group}/listNetworkEndpoint" - + "s\032r\312A\026compute.googleapis.com\322AVhttps://w" - + "ww.googleapis.com/auth/compute,https://w" - + "ww.googleapis.com/auth/cloud-platform2\362\'" - + "\n\035RegionNetworkFirewallPolicies\022\353\002\n\016AddA" - + "ssociation\022I.google.cloud.compute.v1.Add" - + "AssociationRegionNetworkFirewallPolicyRe" + + "nceGroups/{instance_group}\022\313\001\n\004List\0228.go" + + "ogle.cloud.compute.v1.ListRegionInstance" + + "GroupsRequest\0320.google.cloud.compute.v1." + + "RegionInstanceGroupList\"W\332A\016project,regi" + + "on\202\323\344\223\002@\022>/compute/v1/projects/{project}" + + "/regions/{region}/instanceGroups\022\206\003\n\rLis" + + "tInstances\022A.google.cloud.compute.v1.Lis" + + "tInstancesRegionInstanceGroupsRequest\032:." + + "google.cloud.compute.v1.RegionInstanceGr" + + "oupsListInstances\"\365\001\332ATproject,region,in" + + "stance_group,region_instance_groups_list" + + "_instances_request_resource\202\323\344\223\002\227\001\"]/com" + + "pute/v1/projects/{project}/regions/{regi" + + "on}/instanceGroups/{instance_group}/list" + + "Instances:6region_instance_groups_list_i" + + "nstances_request_resource\022\202\003\n\rSetNamedPo" + + "rts\022@.google.cloud.compute.v1.SetNamedPo" + + "rtsRegionInstanceGroupRequest\032\".google.c" + + "loud.compute.v1.Operation\"\212\002\332AUproject,r" + + "egion,instance_group,region_instance_gro" + + "ups_set_named_ports_request_resource\212N\020R" + + "egionOperations\202\323\344\223\002\230\001\"]/compute/v1/proj" + + "ects/{project}/regions/{region}/instance" + + "Groups/{instance_group}/setNamedPorts:7r" + + "egion_instance_groups_set_named_ports_re" + + "quest_resource\032r\312A\026compute.googleapis.co" + + "m\322AVhttps://www.googleapis.com/auth/comp" + + "ute,https://www.googleapis.com/auth/clou" + + "d-platform2\346\010\n\027RegionInstanceTemplates\022\200" + + "\002\n\006Delete\022<.google.cloud.compute.v1.Dele" + + "teRegionInstanceTemplateRequest\032\".google" + + ".cloud.compute.v1.Operation\"\223\001\332A project" + + ",region,instance_template\212N\020RegionOperat" + + "ions\202\323\344\223\002W*U/compute/v1/projects/{projec" + + "t}/regions/{region}/instanceTemplates/{i" + + "nstance_template}\022\356\001\n\003Get\0229.google.cloud" + + ".compute.v1.GetRegionInstanceTemplateReq" + + "uest\032).google.cloud.compute.v1.InstanceT" + + "emplate\"\200\001\332A project,region,instance_tem" + + "plate\202\323\344\223\002W\022U/compute/v1/projects/{proje" + + "ct}/regions/{region}/instanceTemplates/{" + + "instance_template}\022\221\002\n\006Insert\022<.google.c" + + "loud.compute.v1.InsertRegionInstanceTemp" + + "lateRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\244\001\332A)project,region,instance_tem" + + "plate_resource\212N\020RegionOperations\202\323\344\223\002_\"" + + "A/compute/v1/projects/{project}/regions/" + + "{region}/instanceTemplates:\032instance_tem" + + "plate_resource\022\316\001\n\004List\022;.google.cloud.c" + + "ompute.v1.ListRegionInstanceTemplatesReq" + + "uest\032-.google.cloud.compute.v1.InstanceT" + + "emplateList\"Z\332A\016project,region\202\323\344\223\002C\022A/c" + + "ompute/v1/projects/{project}/regions/{re" + + "gion}/instanceTemplates\032r\312A\026compute.goog" + + "leapis.com\322AVhttps://www.googleapis.com/" + + "auth/compute,https://www.googleapis.com/" + + "auth/cloud-platform2\264\003\n\017RegionInstances\022" + + "\254\002\n\nBulkInsert\0228.google.cloud.compute.v1" + + ".BulkInsertRegionInstanceRequest\032\".googl" + + "e.cloud.compute.v1.Operation\"\277\001\332A5projec" + + "t,region,bulk_insert_instance_resource_r" + + "esource\212N\020RegionOperations\202\323\344\223\002n\"D/compu" + + "te/v1/projects/{project}/regions/{region" + + "}/instances/bulkInsert:&bulk_insert_inst" + + "ance_resource_resource\032r\312A\026compute.googl" + + "eapis.com\322AVhttps://www.googleapis.com/a" + + "uth/compute,https://www.googleapis.com/a" + + "uth/cloud-platform2\237\022\n\026RegionInstantSnap" + + "shots\022\374\001\n\006Delete\022;.google.cloud.compute." + + "v1.DeleteRegionInstantSnapshotRequest\032\"." + + "google.cloud.compute.v1.Operation\"\220\001\332A\037p" + + "roject,region,instant_snapshot\212N\020RegionO" + + "perations\202\323\344\223\002U*S/compute/v1/projects/{p" + + "roject}/regions/{region}/instantSnapshot" + + "s/{instant_snapshot}\022\350\001\n\003Get\0228.google.cl" + + "oud.compute.v1.GetRegionInstantSnapshotR" + + "equest\032(.google.cloud.compute.v1.Instant" + + "Snapshot\"}\332A\037project,region,instant_snap" + + "shot\202\323\344\223\002U\022S/compute/v1/projects/{projec" + + "t}/regions/{region}/instantSnapshots/{in" + + "stant_snapshot}\022\356\001\n\014GetIamPolicy\022A.googl" + + "e.cloud.compute.v1.GetIamPolicyRegionIns" + + "tantSnapshotRequest\032\037.google.cloud.compu" + + "te.v1.Policy\"z\332A\027project,region,resource" + + "\202\323\344\223\002Z\022X/compute/v1/projects/{project}/r" + + "egions/{region}/instantSnapshots/{resour" + + "ce}/getIamPolicy\022\215\002\n\006Insert\022;.google.clo" + + "ud.compute.v1.InsertRegionInstantSnapsho" + + "tRequest\032\".google.cloud.compute.v1.Opera" + + "tion\"\241\001\332A(project,region,instant_snapsho" + + "t_resource\212N\020RegionOperations\202\323\344\223\002]\"@/co" + + "mpute/v1/projects/{project}/regions/{reg" + + "ion}/instantSnapshots:\031instant_snapshot_" + + "resource\022\313\001\n\004List\022:.google.cloud.compute" + + ".v1.ListRegionInstantSnapshotsRequest\032,." + + "google.cloud.compute.v1.InstantSnapshotL" + + "ist\"Y\332A\016project,region\202\323\344\223\002B\022@/compute/v" + + "1/projects/{project}/regions/{region}/in" + + "stantSnapshots\022\266\002\n\014SetIamPolicy\022A.google" + + ".cloud.compute.v1.SetIamPolicyRegionInst" + + "antSnapshotRequest\032\037.google.cloud.comput" + + "e.v1.Policy\"\301\001\332A:project,region,resource" + + ",region_set_policy_request_resource\202\323\344\223\002" + + "~\"X/compute/v1/projects/{project}/region" + + "s/{region}/instantSnapshots/{resource}/s" + + "etIamPolicy:\"region_set_policy_request_r" + + "esource\022\303\002\n\tSetLabels\022>.google.cloud.com" + + "pute.v1.SetLabelsRegionInstantSnapshotRe" + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\351\001\332ACproject,region,firewall_policy,fi" - + "rewall_policy_association_resource\212N\020Reg" - + "ionOperations\202\323\344\223\002\211\001\"a/compute/v1/projec" - + "ts/{project}/regions/{region}/firewallPo" - + "licies/{firewall_policy}/addAssociation:" - + "$firewall_policy_association_resource\022\307\002" - + "\n\007AddRule\022B.google.cloud.compute.v1.AddR" - + "uleRegionNetworkFirewallPolicyRequest\032\"." - + "google.cloud.compute.v1.Operation\"\323\001\332A.googl" - + "e.cloud.compute.v1.GetRegionNetworkFirew" - + "allPolicyRequest\032\'.google.cloud.compute." - + "v1.FirewallPolicy\"{\332A\036project,region,fir" - + "ewall_policy\202\323\344\223\002T\022R/compute/v1/projects" - + "/{project}/regions/{region}/firewallPoli" - + "cies/{firewall_policy}\022\234\002\n\016GetAssociatio" - + "n\022I.google.cloud.compute.v1.GetAssociati" - + "onRegionNetworkFirewallPolicyRequest\0322.g" - + "oogle.cloud.compute.v1.FirewallPolicyAss" - + "ociation\"\212\001\332A\036project,region,firewall_po", - "licy\202\323\344\223\002c\022a/compute/v1/projects/{projec" + + "licies/{firewall_policy}/cloneRules\022\200\002\n\006" + + "Delete\022A.google.cloud.compute.v1.DeleteR" + + "egionNetworkFirewallPolicyRequest\032\".goog" + + "le.cloud.compute.v1.Operation\"\216\001\332A\036proje" + + "ct,region,firewall_policy\212N\020RegionOperat" + + "ions\202\323\344\223\002T*R/compute/v1/projects/{projec" + "t}/regions/{region}/firewallPolicies/{fi" - + "rewall_policy}/getAssociation\022\267\002\n\025GetEff" - + "ectiveFirewalls\022P.google.cloud.compute.v" - + "1.GetEffectiveFirewallsRegionNetworkFire" - + "wallPolicyRequest\032S.google.cloud.compute" - + ".v1.RegionNetworkFirewallPoliciesGetEffe" - + "ctiveFirewallsResponse\"w\332A\026project,regio" - + "n,network\202\323\344\223\002X\022V/compute/v1/projects/{p" - + "roject}/regions/{region}/firewallPolicie" - + "s/getEffectiveFirewalls\022\364\001\n\014GetIamPolicy" - + "\022G.google.cloud.compute.v1.GetIamPolicyR" - + "egionNetworkFirewallPolicyRequest\032\037.goog" - + "le.cloud.compute.v1.Policy\"z\332A\027project,r" - + "egion,resource\202\323\344\223\002Z\022X/compute/v1/projec" - + "ts/{project}/regions/{region}/firewallPo" - + "licies/{resource}/getIamPolicy\022\200\002\n\007GetRu" - + "le\022B.google.cloud.compute.v1.GetRuleRegi" - + "onNetworkFirewallPolicyRequest\032+.google." - + "cloud.compute.v1.FirewallPolicyRule\"\203\001\332A" - + "\036project,region,firewall_policy\202\323\344\223\002\\\022Z/" - + "compute/v1/projects/{project}/regions/{r" - + "egion}/firewallPolicies/{firewall_policy" - + "}/getRule\022\221\002\n\006Insert\022A.google.cloud.comp" - + "ute.v1.InsertRegionNetworkFirewallPolicy" - + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\237\001\332A\'project,region,firewall_policy_" - + "resource\212N\020RegionOperations\202\323\344\223\002\\\"@/comp" - + "ute/v1/projects/{project}/regions/{regio" - + "n}/firewallPolicies:\030firewall_policy_res" - + "ource\022\321\001\n\004List\022A.google.cloud.compute.v1" - + ".ListRegionNetworkFirewallPoliciesReques" - + "t\032+.google.cloud.compute.v1.FirewallPoli" - + "cyList\"Y\332A\016project,region\202\323\344\223\002B\022@/comput" - + "e/v1/projects/{project}/regions/{region}" - + "/firewallPolicies\022\261\002\n\005Patch\022@.google.clo" - + "ud.compute.v1.PatchRegionNetworkFirewall" - + "PolicyRequest\032\".google.cloud.compute.v1." - + "Operation\"\301\001\332A7project,region,firewall_p" - + "olicy,firewall_policy_resource\212N\020RegionO" - + "perations\202\323\344\223\002n2R/compute/v1/projects/{p" - + "roject}/regions/{region}/firewallPolicie" - + "s/{firewall_policy}:\030firewall_policy_res" - + "ource\022\315\002\n\tPatchRule\022D.google.cloud.compu" - + "te.v1.PatchRuleRegionNetworkFirewallPoli" - + "cyRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"\325\001\332A.google.cloud.co" + + "mpute.v1.GetRegionNetworkFirewallPolicyR" + + "equest\032\'.google.cloud.compute.v1.Firewal" + + "lPolicy\"{\332A\036project,region,firewall_poli" + + "cy\202\323\344\223\002T\022R/compute/v1/projects/{project}" + + "/regions/{region}/firewallPolicies/{fire" + + "wall_policy}\022\234\002\n\016GetAssociation\022I.google" + + ".cloud.compute.v1.GetAssociationRegionNe" + + "tworkFirewallPolicyRequest\0322.google.clou" + + "d.compute.v1.FirewallPolicyAssociation\"\212" + + "\001\332A\036project,region,firewall_policy\202\323\344\223\002c" + + "\022a/compute/v1/projects/{project}/regions" + + "/{region}/firewallPolicies/{firewall_pol" + + "icy}/getAssociation\022\267\002\n\025GetEffectiveFire" + + "walls\022P.google.cloud.compute.v1.GetEffec" + + "tiveFirewallsRegionNetworkFirewallPolicy" + + "Request\032S.google.cloud.compute.v1.Region" + + "NetworkFirewallPoliciesGetEffectiveFirew" + + "allsResponse\"w\332A\026project,region,network\202" + + "\323\344\223\002X\022V/compute/v1/projects/{project}/re" + + "gions/{region}/firewallPolicies/getEffec" + + "tiveFirewalls\022\364\001\n\014GetIamPolicy\022G.google." + + "cloud.compute.v1.GetIamPolicyRegionNetwo" + + "rkFirewallPolicyRequest\032\037.google.cloud.c" + + "ompute.v1.Policy\"z\332A\027project,region,reso" + + "urce\202\323\344\223\002Z\022X/compute/v1/projects/{projec" + + "t}/regions/{region}/firewallPolicies/{re" + + "source}/getIamPolicy\022\200\002\n\007GetRule\022B.googl" + + "e.cloud.compute.v1.GetRuleRegionNetworkF" + + "irewallPolicyRequest\032+.google.cloud.comp" + + "ute.v1.FirewallPolicyRule\"\203\001\332A\036project,r" + + "egion,firewall_policy\202\323\344\223\002\\\022Z/compute/v1" + + "/projects/{project}/regions/{region}/fir" + + "ewallPolicies/{firewall_policy}/getRule\022" + + "\221\002\n\006Insert\022A.google.cloud.compute.v1.Ins" + + "ertRegionNetworkFirewallPolicyRequest\032\"." + + "google.cloud.compute.v1.Operation\"\237\001\332A\'p" + + "roject,region,firewall_policy_resource\212N" + + "\020RegionOperations\202\323\344\223\002\\\"@/compute/v1/pro" + "jects/{project}/regions/{region}/firewal" - + "lPolicies/{firewall_policy}/removeRule\022\274" - + "\002\n\014SetIamPolicy\022G.google.cloud.compute.v" - + "1.SetIamPolicyRegionNetworkFirewallPolic" - + "yRequest\032\037.google.cloud.compute.v1.Polic" - + "y\"\301\001\332A:project,region,resource,region_se" - + "t_policy_request_resource\202\323\344\223\002~\"X/comput" - + "e/v1/projects/{project}/regions/{region}" - + "/firewallPolicies/{resource}/setIamPolic" - + "y:\"region_set_policy_request_resource\022\336\002" - + "\n\022TestIamPermissions\022M.google.cloud.comp" - + "ute.v1.TestIamPermissionsRegionNetworkFi" - + "rewallPolicyRequest\0320.google.cloud.compu" - + "te.v1.TestPermissionsResponse\"\306\001\332A9proje" - + "ct,region,resource,test_permissions_requ" - + "est_resource\202\323\344\223\002\203\001\"^/compute/v1/project" - + "s/{project}/regions/{region}/firewallPol" - + "icies/{resource}/testIamPermissions:!tes" - + "t_permissions_request_resource\032r\312A\026compu" - + "te.googleapis.com\322AVhttps://www.googleap" - + "is.com/auth/compute,https://www.googleap" - + "is.com/auth/cloud-platform2\252\t\n\033RegionNot" - + "ificationEndpoints\022\220\002\n\006Delete\022@.google.c" - + "loud.compute.v1.DeleteRegionNotification" - + "EndpointRequest\032\".google.cloud.compute.v" - + "1.Operation\"\237\001\332A$project,region,notifica" - + "tion_endpoint\212N\020RegionOperations\202\323\344\223\002_*]" - + "/compute/v1/projects/{project}/regions/{" - + "region}/notificationEndpoints/{notificat" - + "ion_endpoint}\022\202\002\n\003Get\022=.google.cloud.com" - + "pute.v1.GetRegionNotificationEndpointReq" - + "uest\032-.google.cloud.compute.v1.Notificat" - + "ionEndpoint\"\214\001\332A$project,region,notifica" - + "tion_endpoint\202\323\344\223\002_\022]/compute/v1/project" - + "s/{project}/regions/{region}/notificatio" - + "nEndpoints/{notification_endpoint}\022\241\002\n\006I" - + "nsert\022@.google.cloud.compute.v1.InsertRe" - + "gionNotificationEndpointRequest\032\".google" - + ".cloud.compute.v1.Operation\"\260\001\332A-project" - + ",region,notification_endpoint_resource\212N" - + "\020RegionOperations\202\323\344\223\002g\"E/compute/v1/pro" - + "jects/{project}/regions/{region}/notific" - + "ationEndpoints:\036notification_endpoint_re" - + "source\022\332\001\n\004List\022?.google.cloud.compute.v" - + "1.ListRegionNotificationEndpointsRequest" - + "\0321.google.cloud.compute.v1.NotificationE" - + "ndpointList\"^\332A\016project,region\202\323\344\223\002G\022E/c" - + "ompute/v1/projects/{project}/regions/{re" - + "gion}/notificationEndpoints\032r\312A\026compute." - + "googleapis.com\322AVhttps://www.googleapis." - + "com/auth/compute,https://www.googleapis." - + "com/auth/cloud-platform2\307\007\n\020RegionOperat" - + "ions\022\342\001\n\006Delete\0225.google.cloud.compute.v" - + "1.DeleteRegionOperationRequest\0326.google." - + "cloud.compute.v1.DeleteRegionOperationRe" - + "sponse\"i\332A\030project,region,operation\202\323\344\223\002" - + "H*F/compute/v1/projects/{project}/region" - + "s/{region}/operations/{operation}\022\313\001\n\003Ge" - + "t\0222.google.cloud.compute.v1.GetRegionOpe" - + "rationRequest\032\".google.cloud.compute.v1." - + "Operation\"l\332A\030project,region,operation\220N" - + "\001\202\323\344\223\002H\022F/compute/v1/projects/{project}/" - + "regions/{region}/operations/{operation}\022" - + "\271\001\n\004List\0224.google.cloud.compute.v1.ListR" - + "egionOperationsRequest\032&.google.cloud.co" - + "mpute.v1.OperationList\"S\332A\016project,regio" - + "n\202\323\344\223\002<\022:/compute/v1/projects/{project}/" - + "regions/{region}/operations\022\317\001\n\004Wait\0223.g" - + "oogle.cloud.compute.v1.WaitRegionOperati" - + "onRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"n\332A\030project,region,operation\202\323\344\223\002M" - + "\"K/compute/v1/projects/{project}/regions" - + "/{region}/operations/{operation}/wait\032r\312" - + "A\026compute.googleapis.com\322AVhttps://www.g" - + "oogleapis.com/auth/compute,https://www.g" - + "oogleapis.com/auth/cloud-platform2\215\024\n\026Re" - + "gionSecurityPolicies\022\300\002\n\007AddRule\022;.googl" - + "e.cloud.compute.v1.AddRuleRegionSecurity" - + "PolicyRequest\032\".google.cloud.compute.v1." - + "Operation\"\323\001\332A." - + "google.cloud.compute.v1.RemoveRuleRegion" - + "SecurityPolicyRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\231\001\332A\036project,region,se" - + "curity_policy\212N\020RegionOperations\202\323\344\223\002_\"]" - + "/compute/v1/projects/{project}/regions/{" - + "region}/securityPolicies/{security_polic" - + "y}/removeRule\032r\312A\026compute.googleapis.com" - + "\322AVhttps://www.googleapis.com/auth/compu" - + "te,https://www.googleapis.com/auth/cloud" - + "-platform2\303\010\n\025RegionSslCertificates\022\370\001\n\006" - + "Delete\022:.google.cloud.compute.v1.DeleteR" - + "egionSslCertificateRequest\032\".google.clou" - + "d.compute.v1.Operation\"\215\001\332A\036project,regi" - + "on,ssl_certificate\212N\020RegionOperations\202\323\344" - + "\223\002S*Q/compute/v1/projects/{project}/regi" - + "ons/{region}/sslCertificates/{ssl_certif" - + "icate}\022\343\001\n\003Get\0227.google.cloud.compute.v1" - + ".GetRegionSslCertificateRequest\032\'.google" - + ".cloud.compute.v1.SslCertificate\"z\332A\036pro" - + "ject,region,ssl_certificate\202\323\344\223\002S\022Q/comp" - + "ute/v1/projects/{project}/regions/{regio" - + "n}/sslCertificates/{ssl_certificate}\022\211\002\n" - + "\006Insert\022:.google.cloud.compute.v1.Insert" - + "RegionSslCertificateRequest\032\".google.clo" - + "ud.compute.v1.Operation\"\236\001\332A\'project,reg" - + "ion,ssl_certificate_resource\212N\020RegionOpe" - + "rations\202\323\344\223\002[\"?/compute/v1/projects/{pro" - + "ject}/regions/{region}/sslCertificates:\030" - + "ssl_certificate_resource\022\310\001\n\004List\0229.goog" - + "le.cloud.compute.v1.ListRegionSslCertifi" - + "catesRequest\032+.google.cloud.compute.v1.S" - + "slCertificateList\"X\332A\016project,region\202\323\344\223" - + "\002A\022?/compute/v1/projects/{project}/regio" - + "ns/{region}/sslCertificates\032r\312A\026compute." - + "googleapis.com\322AVhttps://www.googleapis." - + "com/auth/compute,https://www.googleapis." - + "com/auth/cloud-platform2\225\014\n\021RegionSslPol" - + "icies\022\344\001\n\006Delete\0225.google.cloud.compute." - + "v1.DeleteRegionSslPolicyRequest\032\".google" - + ".cloud.compute.v1.Operation\"\177\332A\031project," - + "region,ssl_policy\212N\020RegionOperations\202\323\344\223" - + "\002J*H/compute/v1/projects/{project}/regio" - + "ns/{region}/sslPolicies/{ssl_policy}\022\313\001\n" - + "\003Get\0222.google.cloud.compute.v1.GetRegion" - + "SslPolicyRequest\032\".google.cloud.compute." - + "v1.SslPolicy\"l\332A\031project,region,ssl_poli" - + "cy\202\323\344\223\002J\022H/compute/v1/projects/{project}" - + "/regions/{region}/sslPolicies/{ssl_polic" - + "y}\022\366\001\n\006Insert\0225.google.cloud.compute.v1." - + "InsertRegionSslPolicyRequest\032\".google.cl" - + "oud.compute.v1.Operation\"\220\001\332A\"project,re" - + "gion,ssl_policy_resource\212N\020RegionOperati" - + "ons\202\323\344\223\002R\";/compute/v1/projects/{project" - + "}/regions/{region}/sslPolicies:\023ssl_poli" - + "cy_resource\022\275\001\n\004List\0225.google.cloud.comp" - + "ute.v1.ListRegionSslPoliciesRequest\032(.go" - + "ogle.cloud.compute.v1.SslPoliciesList\"T\332" - + "A\016project,region\202\323\344\223\002=\022;/compute/v1/proj" - + "ects/{project}/regions/{region}/sslPolic" - + "ies\022\216\002\n\025ListAvailableFeatures\022F.google.c" - + "loud.compute.v1.ListAvailableFeaturesReg" - + "ionSslPoliciesRequest\032A.google.cloud.com" - + "pute.v1.SslPoliciesListAvailableFeatures" - + "Response\"j\332A\016project,region\202\323\344\223\002S\022Q/comp" - + "ute/v1/projects/{project}/regions/{regio" - + "n}/sslPolicies/listAvailableFeatures\022\214\002\n" - + "\005Patch\0224.google.cloud.compute.v1.PatchRe" - + "gionSslPolicyRequest\032\".google.cloud.comp" - + "ute.v1.Operation\"\250\001\332A-project,region,ssl" - + "_policy,ssl_policy_resource\212N\020RegionOper" - + "ations\202\323\344\223\002_2H/compute/v1/projects/{proj" - + "ect}/regions/{region}/sslPolicies/{ssl_p" - + "olicy}:\023ssl_policy_resource\032r\312A\026compute." + + "/operations/{operation}\022\313\001\n\003Get\0222.google" + + ".cloud.compute.v1.GetRegionOperationRequ" + + "est\032\".google.cloud.compute.v1.Operation\"" + + "l\332A\030project,region,operation\220N\001\202\323\344\223\002H\022F/" + + "compute/v1/projects/{project}/regions/{r" + + "egion}/operations/{operation}\022\271\001\n\004List\0224" + + ".google.cloud.compute.v1.ListRegionOpera" + + "tionsRequest\032&.google.cloud.compute.v1.O" + + "perationList\"S\332A\016project,region\202\323\344\223\002<\022:/" + + "compute/v1/projects/{project}/regions/{r" + + "egion}/operations\022\317\001\n\004Wait\0223.google.clou" + + "d.compute.v1.WaitRegionOperationRequest\032" + + "\".google.cloud.compute.v1.Operation\"n\332A\030" + + "project,region,operation\202\323\344\223\002M\"K/compute" + + "/v1/projects/{project}/regions/{region}/" + + "operations/{operation}/wait\032r\312A\026compute." + "googleapis.com\322AVhttps://www.googleapis." + "com/auth/compute,https://www.googleapis." - + "com/auth/cloud-platform2\252\013\n\027RegionTarget" - + "HttpProxies\022\377\001\n\006Delete\022;.google.cloud.co" - + "mpute.v1.DeleteRegionTargetHttpProxyRequ" + + "com/auth/cloud-platform2\215\024\n\026RegionSecuri" + + "tyPolicies\022\300\002\n\007AddRule\022;.google.cloud.co" + + "mpute.v1.AddRuleRegionSecurityPolicyRequ" + "est\032\".google.cloud.compute.v1.Operation\"" - + "\223\001\332A project,region,target_http_proxy\212N\020" - + "RegionOperations\202\323\344\223\002W*U/compute/v1/proj" - + "ects/{project}/regions/{region}/targetHt" - + "tpProxies/{target_http_proxy}\022\354\001\n\003Get\0228." - + "google.cloud.compute.v1.GetRegionTargetH" - + "ttpProxyRequest\032(.google.cloud.compute.v" - + "1.TargetHttpProxy\"\200\001\332A project,region,ta" - + "rget_http_proxy\202\323\344\223\002W\022U/compute/v1/proje" - + "cts/{project}/regions/{region}/targetHtt" - + "pProxies/{target_http_proxy}\022\220\002\n\006Insert\022" - + ";.google.cloud.compute.v1.InsertRegionTa" - + "rgetHttpProxyRequest\032\".google.cloud.comp" - + "ute.v1.Operation\"\244\001\332A)project,region,tar" - + "get_http_proxy_resource\212N\020RegionOperatio" - + "ns\202\323\344\223\002_\"A/compute/v1/projects/{project}" - + "/regions/{region}/targetHttpProxies:\032tar" - + "get_http_proxy_resource\022\315\001\n\004List\022;.googl" - + "e.cloud.compute.v1.ListRegionTargetHttpP" - + "roxiesRequest\032,.google.cloud.compute.v1." - + "TargetHttpProxyList\"Z\332A\016project,region\202\323" - + "\344\223\002C\022A/compute/v1/projects/{project}/reg" - + "ions/{region}/targetHttpProxies\022\306\002\n\tSetU" - + "rlMap\022>.google.cloud.compute.v1.SetUrlMa" - + "pRegionTargetHttpProxyRequest\032\".google.c" - + "loud.compute.v1.Operation\"\324\001\332A;project,r" - + "egion,target_http_proxy,url_map_referenc" - + "e_resource\212N\020RegionOperations\202\323\344\223\002}\"_/co" - + "mpute/v1/projects/{project}/regions/{reg" - + "ion}/targetHttpProxies/{target_http_prox" - + "y}/setUrlMap:\032url_map_reference_resource" - + "\032r\312A\026compute.googleapis.com\322AVhttps://ww" - + "w.googleapis.com/auth/compute,https://ww" - + "w.googleapis.com/auth/cloud-platform2\263\021\n" - + "\030RegionTargetHttpsProxies\022\203\002\n\006Delete\022<.g" - + "oogle.cloud.compute.v1.DeleteRegionTarge" - + "tHttpsProxyRequest\032\".google.cloud.comput" - + "e.v1.Operation\"\226\001\332A!project,region,targe" - + "t_https_proxy\212N\020RegionOperations\202\323\344\223\002Y*W" - + "/compute/v1/projects/{project}/regions/{" - + "region}/targetHttpsProxies/{target_https" - + "_proxy}\022\361\001\n\003Get\0229.google.cloud.compute.v" - + "1.GetRegionTargetHttpsProxyRequest\032).goo" - + "gle.cloud.compute.v1.TargetHttpsProxy\"\203\001" - + "\332A!project,region,target_https_proxy\202\323\344\223" - + "\002Y\022W/compute/v1/projects/{project}/regio" - + "ns/{region}/targetHttpsProxies/{target_h" - + "ttps_proxy}\022\224\002\n\006Insert\022<.google.cloud.co" - + "mpute.v1.InsertRegionTargetHttpsProxyReq" + + "\323\001\332A.google.clo" + + "ud.compute.v1.RemoveRuleRegionSecurityPo" + + "licyRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\231\001\332A\036project,region,security_pol" + + "icy\212N\020RegionOperations\202\323\344\223\002_\"]/compute/v" + + "1/projects/{project}/regions/{region}/se" + + "curityPolicies/{security_policy}/removeR" + + "ule\032r\312A\026compute.googleapis.com\322AVhttps:/" + + "/www.googleapis.com/auth/compute,https:/" + + "/www.googleapis.com/auth/cloud-platform2" + + "\303\010\n\025RegionSslCertificates\022\370\001\n\006Delete\022:.g" + + "oogle.cloud.compute.v1.DeleteRegionSslCe" + + "rtificateRequest\032\".google.cloud.compute." + + "v1.Operation\"\215\001\332A\036project,region,ssl_cer" + + "tificate\212N\020RegionOperations\202\323\344\223\002S*Q/comp" + "ute/v1/projects/{project}/regions/{regio" - + "n}/targetHttpsProxies\022\272\002\n\005Patch\022;.google" - + ".cloud.compute.v1.PatchRegionTargetHttps" - + "ProxyRequest\032\".google.cloud.compute.v1.O" - + "peration\"\317\001\332A=project,region,target_http" - + "s_proxy,target_https_proxy_resource\212N\020Re" - + "gionOperations\202\323\344\223\002v2W/compute/v1/projec" - + "ts/{project}/regions/{region}/targetHttp" - + "sProxies/{target_https_proxy}:\033target_ht" - + "tps_proxy_resource\022\264\003\n\022SetSslCertificate" - + "s\022H.google.cloud.compute.v1.SetSslCertif" - + "icatesRegionTargetHttpsProxyRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\257\002\332Acpro" - + "ject,region,target_https_proxy,region_ta" - + "rget_https_proxies_set_ssl_certificates_" - + "request_resource\212N\020RegionOperations\202\323\344\223\002" - + "\257\001\"j/compute/v1/projects/{project}/regio" - + "ns/{region}/targetHttpsProxies/{target_h" - + "ttps_proxy}/setSslCertificates:Aregion_t" - + "arget_https_proxies_set_ssl_certificates" - + "_request_resource\022\312\002\n\tSetUrlMap\022?.google" - + ".cloud.compute.v1.SetUrlMapRegionTargetH" - + "ttpsProxyRequest\032\".google.cloud.compute." - + "v1.Operation\"\327\001\332A.go" + + "ogle.cloud.compute.v1.SetUrlMapRegionTar" + + "getHttpProxyRequest\032\".google.cloud.compu" + + "te.v1.Operation\"\324\001\332A;project,region,targ" + + "et_http_proxy,url_map_reference_resource" + + "\212N\020RegionOperations\202\323\344\223\002}\"_/compute/v1/p" + + "rojects/{project}/regions/{region}/targe" + + "tHttpProxies/{target_http_proxy}/setUrlM" + "ap:\032url_map_reference_resource\032r\312A\026compu" + "te.googleapis.com\322AVhttps://www.googleap" + "is.com/auth/compute,https://www.googleap" - + "is.com/auth/cloud-platform2\317\010\n\026RegionTar" - + "getTcpProxies\022\373\001\n\006Delete\022:.google.cloud." - + "compute.v1.DeleteRegionTargetTcpProxyReq" - + "uest\032\".google.cloud.compute.v1.Operation" - + "\"\220\001\332A\037project,region,target_tcp_proxy\212N\020" - + "RegionOperations\202\323\344\223\002U*S/compute/v1/proj" - + "ects/{project}/regions/{region}/targetTc" - + "pProxies/{target_tcp_proxy}\022\346\001\n\003Get\0227.go" - + "ogle.cloud.compute.v1.GetRegionTargetTcp" - + "ProxyRequest\032\'.google.cloud.compute.v1.T" - + "argetTcpProxy\"}\332A\037project,region,target_" - + "tcp_proxy\202\323\344\223\002U\022S/compute/v1/projects/{p" - + "roject}/regions/{region}/targetTcpProxie" - + "s/{target_tcp_proxy}\022\214\002\n\006Insert\022:.google" - + ".cloud.compute.v1.InsertRegionTargetTcpP" - + "roxyRequest\032\".google.cloud.compute.v1.Op" - + "eration\"\241\001\332A(project,region,target_tcp_p" - + "roxy_resource\212N\020RegionOperations\202\323\344\223\002]\"@" - + "/compute/v1/projects/{project}/regions/{" - + "region}/targetTcpProxies:\031target_tcp_pro" - + "xy_resource\022\312\001\n\004List\022:.google.cloud.comp" - + "ute.v1.ListRegionTargetTcpProxiesRequest" - + "\032+.google.cloud.compute.v1.TargetTcpProx" - + "yList\"Y\332A\016project,region\202\323\344\223\002B\022@/compute" - + "/v1/projects/{project}/regions/{region}/" - + "targetTcpProxies\032r\312A\026compute.googleapis." - + "com\322AVhttps://www.googleapis.com/auth/co" - + "mpute,https://www.googleapis.com/auth/cl" - + "oud-platform2\354\r\n\rRegionUrlMaps\022\327\001\n\006Delet" - + "e\0222.google.cloud.compute.v1.DeleteRegion" - + "UrlMapRequest\032\".google.cloud.compute.v1." - + "Operation\"u\332A\026project,region,url_map\212N\020R" - + "egionOperations\202\323\344\223\002C*A/compute/v1/proje" - + "cts/{project}/regions/{region}/urlMaps/{" - + "url_map}\022\273\001\n\003Get\022/.google.cloud.compute." - + "v1.GetRegionUrlMapRequest\032\037.google.cloud" - + ".compute.v1.UrlMap\"b\332A\026project,region,ur" - + "l_map\202\323\344\223\002C\022A/compute/v1/projects/{proje", - "ct}/regions/{region}/urlMaps/{url_map}\022\351" - + "\001\n\006Insert\0222.google.cloud.compute.v1.Inse" - + "rtRegionUrlMapRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\206\001\332A\037project,region,ur" - + "l_map_resource\212N\020RegionOperations\202\323\344\223\002K\"" - + "7/compute/v1/projects/{project}/regions/" - + "{region}/urlMaps:\020url_map_resource\022\260\001\n\004L" - + "ist\0221.google.cloud.compute.v1.ListRegion" - + "UrlMapsRequest\032#.google.cloud.compute.v1" - + ".UrlMapList\"P\332A\016project,region\202\323\344\223\0029\0227/c" - + "ompute/v1/projects/{project}/regions/{re" - + "gion}/urlMaps\022\371\001\n\005Patch\0221.google.cloud.c" - + "ompute.v1.PatchRegionUrlMapRequest\032\".goo" - + "gle.cloud.compute.v1.Operation\"\230\001\332A\'proj" - + "ect,region,url_map,url_map_resource\212N\020Re" - + "gionOperations\202\323\344\223\002U2A/compute/v1/projec" - + "ts/{project}/regions/{region}/urlMaps/{u" - + "rl_map}:\020url_map_resource\022\373\001\n\006Update\0222.g" - + "oogle.cloud.compute.v1.UpdateRegionUrlMa" - + "pRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"\230\001\332A\'project,region,url_map,url_map" - + "_resource\212N\020RegionOperations\202\323\344\223\002U\032A/com" - + "pute/v1/projects/{project}/regions/{regi" - + "on}/urlMaps/{url_map}:\020url_map_resource\022" - + "\265\002\n\010Validate\0224.google.cloud.compute.v1.V" - + "alidateRegionUrlMapRequest\0320.google.clou" - + "d.compute.v1.UrlMapsValidateResponse\"\300\001\332" - + "A@project,region,url_map,region_url_maps" - + "_validate_request_resource\202\323\344\223\002w\"J/compu" + + "is.com/auth/cloud-platform2\263\021\n\030RegionTar" + + "getHttpsProxies\022\203\002\n\006Delete\022<.google.clou" + + "d.compute.v1.DeleteRegionTargetHttpsProx" + + "yRequest\032\".google.cloud.compute.v1.Opera" + + "tion\"\226\001\332A!project,region,target_https_pr" + + "oxy\212N\020RegionOperations\202\323\344\223\002Y*W/compute/v" + + "1/projects/{project}/regions/{region}/ta" + + "rgetHttpsProxies/{target_https_proxy}\022\361\001" + + "\n\003Get\0229.google.cloud.compute.v1.GetRegio" + + "nTargetHttpsProxyRequest\032).google.cloud." + + "compute.v1.TargetHttpsProxy\"\203\001\332A!project" + + ",region,target_https_proxy\202\323\344\223\002Y\022W/compu" + "te/v1/projects/{project}/regions/{region" - + "}/urlMaps/{url_map}/validate:)region_url" - + "_maps_validate_request_resource\032r\312A\026comp" - + "ute.googleapis.com\322AVhttps://www.googlea" - + "pis.com/auth/compute,https://www.googlea" - + "pis.com/auth/cloud-platform2\341\002\n\013RegionZo" - + "nes\022\252\001\n\004List\022/.google.cloud.compute.v1.L" - + "istRegionZonesRequest\032!.google.cloud.com" - + "pute.v1.ZoneList\"N\332A\016project,region\202\323\344\223\002" - + "7\0225/compute/v1/projects/{project}/region" - + "s/{region}/zones\032\244\001\312A\026compute.googleapis" - + ".com\322A\207\001https://www.googleapis.com/auth/" - + "compute.readonly,https://www.googleapis." - + "com/auth/compute,https://www.googleapis." - + "com/auth/cloud-platform2\343\003\n\007Regions\022\233\001\n\003" - + "Get\022).google.cloud.compute.v1.GetRegionR" - + "equest\032\037.google.cloud.compute.v1.Region\"" - + "H\332A\016project,region\202\323\344\223\0021\022//compute/v1/pr" - + "ojects/{project}/regions/{region}\022\222\001\n\004Li" - + "st\022+.google.cloud.compute.v1.ListRegions" - + "Request\032#.google.cloud.compute.v1.Region" - + "List\"8\332A\007project\202\323\344\223\002(\022&/compute/v1/proj" - + "ects/{project}/regions\032\244\001\312A\026compute.goog" - + "leapis.com\322A\207\001https://www.googleapis.com" - + "/auth/compute.readonly,https://www.googl" - + "eapis.com/auth/compute,https://www.googl" - + "eapis.com/auth/cloud-platform2\233\024\n\014Reserv" - + "ations\022\312\001\n\016AggregatedList\022:.google.cloud" - + ".compute.v1.AggregatedListReservationsRe" - + "quest\0322.google.cloud.compute.v1.Reservat" - + "ionAggregatedList\"H\332A\007project\202\323\344\223\0028\0226/co" - + "mpute/v1/projects/{project}/aggregated/r" - + "eservations\022\333\001\n\006Delete\0221.google.cloud.co" - + "mpute.v1.DeleteReservationRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"z\332A\030projec" - + "t,zone,reservation\212N\016ZoneOperations\202\323\344\223\002" - + "H*F/compute/v1/projects/{project}/zones/" - + "{zone}/reservations/{reservation}\022\306\001\n\003Ge" - + "t\022..google.cloud.compute.v1.GetReservati" - + "onRequest\032$.google.cloud.compute.v1.Rese" - + "rvation\"i\332A\030project,zone,reservation\202\323\344\223" - + "\002H\022F/compute/v1/projects/{project}/zones" - + "/{zone}/reservations/{reservation}\022\332\001\n\014G" - + "etIamPolicy\0227.google.cloud.compute.v1.Ge" - + "tIamPolicyReservationRequest\032\037.google.cl" - + "oud.compute.v1.Policy\"p\332A\025project,zone,r" - + "esource\202\323\344\223\002R\022P/compute/v1/projects/{pro" - + "ject}/zones/{zone}/reservations/{resourc" - + "e}/getIamPolicy\022\355\001\n\006Insert\0221.google.clou" - + "d.compute.v1.InsertReservationRequest\032\"." - + "google.cloud.compute.v1.Operation\"\213\001\332A!p" - + "roject,zone,reservation_resource\212N\016ZoneO" - + "perations\202\323\344\223\002P\"8/compute/v1/projects/{p" - + "roject}/zones/{zone}/reservations:\024reser" - + "vation_resource\022\263\001\n\004List\0220.google.cloud." - + "compute.v1.ListReservationsRequest\032(.goo" - + "gle.cloud.compute.v1.ReservationList\"O\332A" - + "\014project,zone\202\323\344\223\002:\0228/compute/v1/project" - + "s/{project}/zones/{zone}/reservations\022\256\002" - + "\n\006Resize\0221.google.cloud.compute.v1.Resiz" - + "eReservationRequest\032\".google.cloud.compu" - + "te.v1.Operation\"\314\001\332A=project,zone,reserv" - + "ation,reservations_resize_request_resour" - + "ce\212N\016ZoneOperations\202\323\344\223\002u\"M/compute/v1/p" - + "rojects/{project}/zones/{zone}/reservati" - + "ons/{reservation}/resize:$reservations_r" - + "esize_request_resource\022\236\002\n\014SetIamPolicy\022" - + "7.google.cloud.compute.v1.SetIamPolicyRe" - + "servationRequest\032\037.google.cloud.compute." - + "v1.Policy\"\263\001\332A6project,zone,resource,zon" - + "e_set_policy_request_resource\202\323\344\223\002t\"P/co" - + "mpute/v1/projects/{project}/zones/{zone}" - + "/reservations/{resource}/setIamPolicy: z" - + "one_set_policy_request_resource\022\303\002\n\022Test" - + "IamPermissions\022=.google.cloud.compute.v1" - + ".TestIamPermissionsReservationRequest\0320." - + "google.cloud.compute.v1.TestPermissionsR" - + "esponse\"\273\001\332A7project,zone,resource,test_" - + "permissions_request_resource\202\323\344\223\002{\"V/com" - + "pute/v1/projects/{project}/zones/{zone}/" - + "reservations/{resource}/testIamPermissio" - + "ns:!test_permissions_request_resource\022\207\002" - + "\n\006Update\0221.google.cloud.compute.v1.Updat" - + "eReservationRequest\032\".google.cloud.compu" - + "te.v1.Operation\"\245\001\332A-project,zone,reserv" - + "ation,reservation_resource\212N\016ZoneOperati" - + "ons\202\323\344\223\002^2F/compute/v1/projects/{project" - + "}/zones/{zone}/reservations/{reservation" - + "}:\024reservation_resource\032r\312A\026compute.goog" - + "leapis.com\322AVhttps://www.googleapis.com/" - + "auth/compute,https://www.googleapis.com/" - + "auth/cloud-platform2\232\023\n\020ResourcePolicies" - + "\022\325\001\n\016AggregatedList\022>.google.cloud.compu" - + "te.v1.AggregatedListResourcePoliciesRequ" - + "est\0325.google.cloud.compute.v1.ResourcePo" - + "licyAggregatedList\"L\332A\007project\202\323\344\223\002<\022:/c" - + "ompute/v1/projects/{project}/aggregated/" - + "resourcePolicies\022\363\001\n\006Delete\0224.google.clo" - + "ud.compute.v1.DeleteResourcePolicyReques" - + "t\032\".google.cloud.compute.v1.Operation\"\216\001" - + "\332A\036project,region,resource_policy\212N\020Regi" - + "onOperations\202\323\344\223\002T*R/compute/v1/projects" - + "/{project}/regions/{region}/resourcePoli" - + "cies/{resource_policy}\022\336\001\n\003Get\0221.google." - + "cloud.compute.v1.GetResourcePolicyReques" - + "t\032\'.google.cloud.compute.v1.ResourcePoli" - + "cy\"{\332A\036project,region,resource_policy\202\323\344" - + "\223\002T\022R/compute/v1/projects/{project}/regi" - + "ons/{region}/resourcePolicies/{resource_" - + "policy}\022\347\001\n\014GetIamPolicy\022:.google.cloud." - + "compute.v1.GetIamPolicyResourcePolicyReq" - + "uest\032\037.google.cloud.compute.v1.Policy\"z\332" - + "A\027project,region,resource\202\323\344\223\002Z\022X/comput" - + "e/v1/projects/{project}/regions/{region}" - + "/resourcePolicies/{resource}/getIamPolic" - + "y\022\204\002\n\006Insert\0224.google.cloud.compute.v1.I" - + "nsertResourcePolicyRequest\032\".google.clou" - + "d.compute.v1.Operation\"\237\001\332A\'project,regi" - + "on,resource_policy_resource\212N\020RegionOper" - + "ations\202\323\344\223\002\\\"@/compute/v1/projects/{proj" - + "ect}/regions/{region}/resourcePolicies:\030" - + "resource_policy_resource\022\304\001\n\004List\0224.goog" - + "le.cloud.compute.v1.ListResourcePolicies" - + "Request\032+.google.cloud.compute.v1.Resour" - + "cePolicyList\"Y\332A\016project,region\202\323\344\223\002B\022@/" - + "compute/v1/projects/{project}/regions/{r" - + "egion}/resourcePolicies\022\244\002\n\005Patch\0223.goog" - + "le.cloud.compute.v1.PatchResourcePolicyR" + + "}/targetHttpsProxies/{target_https_proxy" + + "}\022\224\002\n\006Insert\022<.google.cloud.compute.v1.I" + + "nsertRegionTargetHttpsProxyRequest\032\".goo" + + "gle.cloud.compute.v1.Operation\"\247\001\332A*proj", + "ect,region,target_https_proxy_resource\212N" + + "\020RegionOperations\202\323\344\223\002a\"B/compute/v1/pro" + + "jects/{project}/regions/{region}/targetH" + + "ttpsProxies:\033target_https_proxy_resource" + + "\022\320\001\n\004List\022<.google.cloud.compute.v1.List" + + "RegionTargetHttpsProxiesRequest\032-.google" + + ".cloud.compute.v1.TargetHttpsProxyList\"[" + + "\332A\016project,region\202\323\344\223\002D\022B/compute/v1/pro" + + "jects/{project}/regions/{region}/targetH" + + "ttpsProxies\022\272\002\n\005Patch\022;.google.cloud.com" + + "pute.v1.PatchRegionTargetHttpsProxyReque" + + "st\032\".google.cloud.compute.v1.Operation\"\317" + + "\001\332A=project,region,target_https_proxy,ta" + + "rget_https_proxy_resource\212N\020RegionOperat" + + "ions\202\323\344\223\002v2W/compute/v1/projects/{projec" + + "t}/regions/{region}/targetHttpsProxies/{" + + "target_https_proxy}:\033target_https_proxy_" + + "resource\022\264\003\n\022SetSslCertificates\022H.google" + + ".cloud.compute.v1.SetSslCertificatesRegi" + + "onTargetHttpsProxyRequest\032\".google.cloud" + + ".compute.v1.Operation\"\257\002\332Acproject,regio" + + "n,target_https_proxy,region_target_https" + + "_proxies_set_ssl_certificates_request_re" + + "source\212N\020RegionOperations\202\323\344\223\002\257\001\"j/compu" + + "te/v1/projects/{project}/regions/{region" + + "}/targetHttpsProxies/{target_https_proxy" + + "}/setSslCertificates:Aregion_target_http" + + "s_proxies_set_ssl_certificates_request_r" + + "esource\022\312\002\n\tSetUrlMap\022?.google.cloud.com" + + "pute.v1.SetUrlMapRegionTargetHttpsProxyR" + "equest\032\".google.cloud.compute.v1.Operati" - + "on\"\301\001\332A7project,region,resource_policy,r" - + "esource_policy_resource\212N\020RegionOperatio" - + "ns\202\323\344\223\002n2R/compute/v1/projects/{project}" + + "on\"\327\001\332A.google.cloud.compute.v1.Aggr" + + "egatedListResourcePoliciesRequest\0325.goog" + + "le.cloud.compute.v1.ResourcePolicyAggreg" + + "atedList\"L\332A\007project\202\323\344\223\002<\022:/compute/v1/" + + "projects/{project}/aggregated/resourcePo" + + "licies\022\363\001\n\006Delete\0224.google.cloud.compute" + + ".v1.DeleteResourcePolicyRequest\032\".google" + + ".cloud.compute.v1.Operation\"\216\001\332A\036project" + + ",region,resource_policy\212N\020RegionOperatio" + + "ns\202\323\344\223\002T*R/compute/v1/projects/{project}" + "/regions/{region}/resourcePolicies/{reso" - + "urce_policy}:\030resource_policy_resource\022\257" - + "\002\n\014SetIamPolicy\022:.google.cloud.compute.v" - + "1.SetIamPolicyResourcePolicyRequest\032\037.go" - + "ogle.cloud.compute.v1.Policy\"\301\001\332A:projec" - + "t,region,resource,region_set_policy_requ" - + "est_resource\202\323\344\223\002~\"X/compute/v1/projects" - + "/{project}/regions/{region}/resourcePoli" - + "cies/{resource}/setIamPolicy:\"region_set" - + "_policy_request_resource\022\321\002\n\022TestIamPerm" - + "issions\022@.google.cloud.compute.v1.TestIa" - + "mPermissionsResourcePolicyRequest\0320.goog" - + "le.cloud.compute.v1.TestPermissionsRespo" - + "nse\"\306\001\332A9project,region,resource,test_pe" - + "rmissions_request_resource\202\323\344\223\002\203\001\"^/comp" + + "urce_policy}\022\336\001\n\003Get\0221.google.cloud.comp" + + "ute.v1.GetResourcePolicyRequest\032\'.google" + + ".cloud.compute.v1.ResourcePolicy\"{\332A\036pro" + + "ject,region,resource_policy\202\323\344\223\002T\022R/comp" + "ute/v1/projects/{project}/regions/{regio" - + "n}/resourcePolicies/{resource}/testIamPe" - + "rmissions:!test_permissions_request_reso" - + "urce\032r\312A\026compute.googleapis.com\322AVhttps:" - + "//www.googleapis.com/auth/compute,https:" - + "//www.googleapis.com/auth/cloud-platform" - + "2\366\023\n\007Routers\022\273\001\n\016AggregatedList\0225.google" - + ".cloud.compute.v1.AggregatedListRoutersR" - + "equest\032-.google.cloud.compute.v1.RouterA" - + "ggregatedList\"C\332A\007project\202\323\344\223\0023\0221/comput" - + "e/v1/projects/{project}/aggregated/route" - + "rs\022\317\001\n\006Delete\022,.google.cloud.compute.v1." - + "DeleteRouterRequest\032\".google.cloud.compu" - + "te.v1.Operation\"s\332A\025project,region,route" - + "r\212N\020RegionOperations\202\323\344\223\002B*@/compute/v1/" - + "projects/{project}/regions/{region}/rout" - + "ers/{router}\022\263\001\n\003Get\022).google.cloud.comp" - + "ute.v1.GetRouterRequest\032\037.google.cloud.c" - + "ompute.v1.Router\"`\332A\025project,region,rout" - + "er\202\323\344\223\002B\022@/compute/v1/projects/{project}" - + "/regions/{region}/routers/{router}\022\335\001\n\014G" - + "etNatIpInfo\0222.google.cloud.compute.v1.Ge" - + "tNatIpInfoRouterRequest\032*.google.cloud.c" - + "ompute.v1.NatIpInfoResponse\"m\332A\025project," - + "region,router\202\323\344\223\002O\022M/compute/v1/project" - + "s/{project}/regions/{region}/routers/{ro" - + "uter}/getNatIpInfo\022\365\001\n\021GetNatMappingInfo" - + "\0228.google.cloud.compute.v1.GetNatMapping" - + "InfoRoutersRequest\0322.google.cloud.comput" - + "e.v1.VmEndpointNatMappingsList\"r\332A\025proje" - + "ct,region,router\202\323\344\223\002T\022R/compute/v1/proj" - + "ects/{project}/regions/{region}/routers/" - + "{router}/getNatMappingInfo\022\351\001\n\017GetRouter" - + "Status\0225.google.cloud.compute.v1.GetRout" - + "erStatusRouterRequest\032-.google.cloud.com" - + "pute.v1.RouterStatusResponse\"p\332A\025project" - + ",region,router\202\323\344\223\002R\022P/compute/v1/projec" - + "ts/{project}/regions/{region}/routers/{r" - + "outer}/getRouterStatus\022\341\001\n\006Insert\022,.goog" - + "le.cloud.compute.v1.InsertRouterRequest\032" - + "\".google.cloud.compute.v1.Operation\"\204\001\332A" - + "\036project,region,router_resource\212N\020Region" - + "Operations\202\323\344\223\002J\"7/compute/v1/projects/{" - + "project}/regions/{region}/routers:\017route" - + "r_resource\022\252\001\n\004List\022+.google.cloud.compu" - + "te.v1.ListRoutersRequest\032#.google.cloud." - + "compute.v1.RouterList\"P\332A\016project,region" - + "\202\323\344\223\0029\0227/compute/v1/projects/{project}/r" - + "egions/{region}/routers\022\357\001\n\005Patch\022+.goog" - + "le.cloud.compute.v1.PatchRouterRequest\032\"" - + ".google.cloud.compute.v1.Operation\"\224\001\332A%" - + "project,region,router,router_resource\212N\020" - + "RegionOperations\202\323\344\223\002S2@/compute/v1/proj" - + "ects/{project}/regions/{region}/routers/" - + "{router}:\017router_resource\022\365\001\n\007Preview\022-." - + "google.cloud.compute.v1.PreviewRouterReq" - + "uest\032/.google.cloud.compute.v1.RoutersPr" - + "eviewResponse\"\211\001\332A%project,region,router" - + ",router_resource\202\323\344\223\002[\"H/compute/v1/proj" - + "ects/{project}/regions/{region}/routers/" - + "{router}/preview:\017router_resource\022\361\001\n\006Up" - + "date\022,.google.cloud.compute.v1.UpdateRou" - + "terRequest\032\".google.cloud.compute.v1.Ope" - + "ration\"\224\001\332A%project,region,router,router" - + "_resource\212N\020RegionOperations\202\323\344\223\002S\032@/com" - + "pute/v1/projects/{project}/regions/{regi" - + "on}/routers/{router}:\017router_resource\032r\312" - + "A\026compute.googleapis.com\322AVhttps://www.g" - + "oogleapis.com/auth/compute,https://www.g" - + "oogleapis.com/auth/cloud-platform2\300\006\n\006Ro" - + "utes\022\272\001\n\006Delete\022+.google.cloud.compute.v" - + "1.DeleteRouteRequest\032\".google.cloud.comp" - + "ute.v1.Operation\"_\332A\rproject,route\212N\020Glo" - + "balOperations\202\323\344\223\0026*4/compute/v1/project" - + "s/{project}/global/routes/{route}\022\235\001\n\003Ge" - + "t\022(.google.cloud.compute.v1.GetRouteRequ" - + "est\032\036.google.cloud.compute.v1.Route\"L\332A\r" - + "project,route\202\323\344\223\0026\0224/compute/v1/project" - + "s/{project}/global/routes/{route}\022\313\001\n\006In" - + "sert\022+.google.cloud.compute.v1.InsertRou" - + "teRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"p\332A\026project,route_resource\212N\020Globa" - + "lOperations\202\323\344\223\002>\",/compute/v1/projects/" - + "{project}/global/routes:\016route_resource\022" - + "\226\001\n\004List\022*.google.cloud.compute.v1.ListR" - + "outesRequest\032\".google.cloud.compute.v1.R" - + "outeList\">\332A\007project\202\323\344\223\002.\022,/compute/v1/" - + "projects/{project}/global/routes\032r\312A\026com" - + "pute.googleapis.com\322AVhttps://www.google" - + "apis.com/auth/compute,https://www.google" - + "apis.com/auth/cloud-platform2\357\030\n\020Securit" - + "yPolicies\022\251\002\n\007AddRule\0225.google.cloud.com" - + "pute.v1.AddRuleSecurityPolicyRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"\302\001\332A5pr" - + "oject,security_policy,security_policy_ru" - + "le_resource\212N\020GlobalOperations\202\323\344\223\002q\"P/c" - + "ompute/v1/projects/{project}/global/secu" - + "rityPolicies/{security_policy}/addRule:\035" - + "security_policy_rule_resource\022\327\001\n\016Aggreg" - + "atedList\022>.google.cloud.compute.v1.Aggre" - + "gatedListSecurityPoliciesRequest\0327.googl" - + "e.cloud.compute.v1.SecurityPoliciesAggre" - + "gatedList\"L\332A\007project\202\323\344\223\002<\022:/compute/v1" - + "/projects/{project}/aggregated/securityP" - + "olicies\022\341\001\n\006Delete\0224.google.cloud.comput" - + "e.v1.DeleteSecurityPolicyRequest\032\".googl" - + "e.cloud.compute.v1.Operation\"}\332A\027project" - + ",security_policy\212N\020GlobalOperations\202\323\344\223\002" - + "J*H/compute/v1/projects/{project}/global" - + "/securityPolicies/{security_policy}\022\315\001\n\003" - + "Get\0221.google.cloud.compute.v1.GetSecurit" - + "yPolicyRequest\032\'.google.cloud.compute.v1" - + ".SecurityPolicy\"j\332A\027project,security_pol" - + "icy\202\323\344\223\002J\022H/compute/v1/projects/{project" - + "}/global/securityPolicies/{security_poli" - + "cy}\022\341\001\n\007GetRule\0225.google.cloud.compute.v" - + "1.GetRuleSecurityPolicyRequest\032+.google." - + "cloud.compute.v1.SecurityPolicyRule\"r\332A\027" - + "project,security_policy\202\323\344\223\002R\022P/compute/" - + "v1/projects/{project}/global/securityPol" - + "icies/{security_policy}/getRule\022\363\001\n\006Inse" - + "rt\0224.google.cloud.compute.v1.InsertSecur" - + "ityPolicyRequest\032\".google.cloud.compute." - + "v1.Operation\"\216\001\332A project,security_polic" - + "y_resource\212N\020GlobalOperations\202\323\344\223\002R\"6/co" - + "mpute/v1/projects/{project}/global/secur" - + "ityPolicies:\030security_policy_resource\022\263\001" - + "\n\004List\0224.google.cloud.compute.v1.ListSec" - + "urityPoliciesRequest\032+.google.cloud.comp" - + "ute.v1.SecurityPolicyList\"H\332A\007project\202\323\344" - + "\223\0028\0226/compute/v1/projects/{project}/glob" - + "al/securityPolicies\022\256\002\n\037ListPreconfigure" - + "dExpressionSets\022O.google.cloud.compute.v" - + "1.ListPreconfiguredExpressionSetsSecurit" - + "yPoliciesRequest\032P.google.cloud.compute." - + "v1.SecurityPoliciesListPreconfiguredExpr" - + "essionSetsResponse\"h\332A\007project\202\323\344\223\002X\022V/c" - + "ompute/v1/projects/{project}/global/secu" - + "rityPolicies/listPreconfiguredExpression" - + "Sets\022\223\002\n\005Patch\0223.google.cloud.compute.v1" - + ".PatchSecurityPolicyRequest\032\".google.clo" - + "ud.compute.v1.Operation\"\260\001\332A0project,sec" - + "urity_policy,security_policy_resource\212N\020" - + "GlobalOperations\202\323\344\223\002d2H/compute/v1/proj" - + "ects/{project}/global/securityPolicies/{" - + "security_policy}:\030security_policy_resour" - + "ce\022\257\002\n\tPatchRule\0227.google.cloud.compute." - + "v1.PatchRuleSecurityPolicyRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"\304\001\332A5proje" - + "ct,security_policy,security_policy_rule_" - + "resource\212N\020GlobalOperations\202\323\344\223\002s\"R/comp" - + "ute/v1/projects/{project}/global/securit" - + "yPolicies/{security_policy}/patchRule:\035s" - + "ecurity_policy_rule_resource\022\365\001\n\nRemoveR" - + "ule\0228.google.cloud.compute.v1.RemoveRule" - + "SecurityPolicyRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\210\001\332A\027project,security_" - + "policy\212N\020GlobalOperations\202\323\344\223\002U\"S/comput" + + "n}/resourcePolicies/{resource_policy}\022\347\001" + + "\n\014GetIamPolicy\022:.google.cloud.compute.v1" + + ".GetIamPolicyResourcePolicyRequest\032\037.goo" + + "gle.cloud.compute.v1.Policy\"z\332A\027project," + + "region,resource\202\323\344\223\002Z\022X/compute/v1/proje" + + "cts/{project}/regions/{region}/resourceP" + + "olicies/{resource}/getIamPolicy\022\204\002\n\006Inse" + + "rt\0224.google.cloud.compute.v1.InsertResou" + + "rcePolicyRequest\032\".google.cloud.compute." + + "v1.Operation\"\237\001\332A\'project,region,resourc" + + "e_policy_resource\212N\020RegionOperations\202\323\344\223" + + "\002\\\"@/compute/v1/projects/{project}/regio" + + "ns/{region}/resourcePolicies:\030resource_p" + + "olicy_resource\022\304\001\n\004List\0224.google.cloud.c" + + "ompute.v1.ListResourcePoliciesRequest\032+." + + "google.cloud.compute.v1.ResourcePolicyLi" + + "st\"Y\332A\016project,region\202\323\344\223\002B\022@/compute/v1" + + "/projects/{project}/regions/{region}/res" + + "ourcePolicies\022\244\002\n\005Patch\0223.google.cloud.c" + + "ompute.v1.PatchResourcePolicyRequest\032\".g" + + "oogle.cloud.compute.v1.Operation\"\301\001\332A7pr" + + "oject,region,resource_policy,resource_po" + + "licy_resource\212N\020RegionOperations\202\323\344\223\002n2R" + + "/compute/v1/projects/{project}/regions/{" + + "region}/resourcePolicies/{resource_polic" + + "y}:\030resource_policy_resource\022\257\002\n\014SetIamP" + + "olicy\022:.google.cloud.compute.v1.SetIamPo" + + "licyResourcePolicyRequest\032\037.google.cloud" + + ".compute.v1.Policy\"\301\001\332A:project,region,r" + + "esource,region_set_policy_request_resour" + + "ce\202\323\344\223\002~\"X/compute/v1/projects/{project}" + + "/regions/{region}/resourcePolicies/{reso" + + "urce}/setIamPolicy:\"region_set_policy_re" + + "quest_resource\022\321\002\n\022TestIamPermissions\022@." + + "google.cloud.compute.v1.TestIamPermissio" + + "nsResourcePolicyRequest\0320.google.cloud.c" + + "ompute.v1.TestPermissionsResponse\"\306\001\332A9p" + + "roject,region,resource,test_permissions_" + + "request_resource\202\323\344\223\002\203\001\"^/compute/v1/pro" + + "jects/{project}/regions/{region}/resourc" + + "ePolicies/{resource}/testIamPermissions:" + + "!test_permissions_request_resource\032r\312A\026c" + + "ompute.googleapis.com\322AVhttps://www.goog" + + "leapis.com/auth/compute,https://www.goog" + + "leapis.com/auth/cloud-platform2\366\023\n\007Route" + + "rs\022\273\001\n\016AggregatedList\0225.google.cloud.com" + + "pute.v1.AggregatedListRoutersRequest\032-.g" + + "oogle.cloud.compute.v1.RouterAggregatedL" + + "ist\"C\332A\007project\202\323\344\223\0023\0221/compute/v1/proje" + + "cts/{project}/aggregated/routers\022\317\001\n\006Del" + + "ete\022,.google.cloud.compute.v1.DeleteRout" + + "erRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"s\332A\025project,region,router\212N\020Region" + + "Operations\202\323\344\223\002B*@/compute/v1/projects/{" + + "project}/regions/{region}/routers/{route" + + "r}\022\263\001\n\003Get\022).google.cloud.compute.v1.Get" + + "RouterRequest\032\037.google.cloud.compute.v1." + + "Router\"`\332A\025project,region,router\202\323\344\223\002B\022@" + + "/compute/v1/projects/{project}/regions/{" + + "region}/routers/{router}\022\335\001\n\014GetNatIpInf" + + "o\0222.google.cloud.compute.v1.GetNatIpInfo" + + "RouterRequest\032*.google.cloud.compute.v1." + + "NatIpInfoResponse\"m\332A\025project,region,rou" + + "ter\202\323\344\223\002O\022M/compute/v1/projects/{project" + + "}/regions/{region}/routers/{router}/getN" + + "atIpInfo\022\365\001\n\021GetNatMappingInfo\0228.google." + + "cloud.compute.v1.GetNatMappingInfoRouter" + + "sRequest\0322.google.cloud.compute.v1.VmEnd" + + "pointNatMappingsList\"r\332A\025project,region," + + "router\202\323\344\223\002T\022R/compute/v1/projects/{proj" + + "ect}/regions/{region}/routers/{router}/g" + + "etNatMappingInfo\022\351\001\n\017GetRouterStatus\0225.g" + + "oogle.cloud.compute.v1.GetRouterStatusRo" + + "uterRequest\032-.google.cloud.compute.v1.Ro" + + "uterStatusResponse\"p\332A\025project,region,ro" + + "uter\202\323\344\223\002R\022P/compute/v1/projects/{projec" + + "t}/regions/{region}/routers/{router}/get" + + "RouterStatus\022\341\001\n\006Insert\022,.google.cloud.c" + + "ompute.v1.InsertRouterRequest\032\".google.c" + + "loud.compute.v1.Operation\"\204\001\332A\036project,r" + + "egion,router_resource\212N\020RegionOperations" + + "\202\323\344\223\002J\"7/compute/v1/projects/{project}/r" + + "egions/{region}/routers:\017router_resource" + + "\022\252\001\n\004List\022+.google.cloud.compute.v1.List" + + "RoutersRequest\032#.google.cloud.compute.v1" + + ".RouterList\"P\332A\016project,region\202\323\344\223\0029\0227/c" + + "ompute/v1/projects/{project}/regions/{re" + + "gion}/routers\022\357\001\n\005Patch\022+.google.cloud.c" + + "ompute.v1.PatchRouterRequest\032\".google.cl" + + "oud.compute.v1.Operation\"\224\001\332A%project,re" + + "gion,router,router_resource\212N\020RegionOper" + + "ations\202\323\344\223\002S2@/compute/v1/projects/{proj" + + "ect}/regions/{region}/routers/{router}:\017" + + "router_resource\022\365\001\n\007Preview\022-.google.clo" + + "ud.compute.v1.PreviewRouterRequest\032/.goo" + + "gle.cloud.compute.v1.RoutersPreviewRespo" + + "nse\"\211\001\332A%project,region,router,router_re" + + "source\202\323\344\223\002[\"H/compute/v1/projects/{proj" + + "ect}/regions/{region}/routers/{router}/p" + + "review:\017router_resource\022\361\001\n\006Update\022,.goo" + + "gle.cloud.compute.v1.UpdateRouterRequest" + + "\032\".google.cloud.compute.v1.Operation\"\224\001\332" + + "A%project,region,router,router_resource\212" + + "N\020RegionOperations\202\323\344\223\002S\032@/compute/v1/pr" + + "ojects/{project}/regions/{region}/router" + + "s/{router}:\017router_resource\032r\312A\026compute." + + "googleapis.com\322AVhttps://www.googleapis." + + "com/auth/compute,https://www.googleapis." + + "com/auth/cloud-platform2\300\006\n\006Routes\022\272\001\n\006D" + + "elete\022+.google.cloud.compute.v1.DeleteRo" + + "uteRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"_\332A\rproject,route\212N\020GlobalOperati" + + "ons\202\323\344\223\0026*4/compute/v1/projects/{project" + + "}/global/routes/{route}\022\235\001\n\003Get\022(.google" + + ".cloud.compute.v1.GetRouteRequest\032\036.goog" + + "le.cloud.compute.v1.Route\"L\332A\rproject,ro" + + "ute\202\323\344\223\0026\0224/compute/v1/projects/{project" + + "}/global/routes/{route}\022\313\001\n\006Insert\022+.goo" + + "gle.cloud.compute.v1.InsertRouteRequest\032" + + "\".google.cloud.compute.v1.Operation\"p\332A\026" + + "project,route_resource\212N\020GlobalOperation" + + "s\202\323\344\223\002>\",/compute/v1/projects/{project}/" + + "global/routes:\016route_resource\022\226\001\n\004List\022*" + + ".google.cloud.compute.v1.ListRoutesReque" + + "st\032\".google.cloud.compute.v1.RouteList\">" + + "\332A\007project\202\323\344\223\002.\022,/compute/v1/projects/{" + + "project}/global/routes\032r\312A\026compute.googl" + + "eapis.com\322AVhttps://www.googleapis.com/a" + + "uth/compute,https://www.googleapis.com/a" + + "uth/cloud-platform2\357\030\n\020SecurityPolicies\022" + + "\251\002\n\007AddRule\0225.google.cloud.compute.v1.Ad" + + "dRuleSecurityPolicyRequest\032\".google.clou" + + "d.compute.v1.Operation\"\302\001\332A5project,secu" + + "rity_policy,security_policy_rule_resourc" + + "e\212N\020GlobalOperations\202\323\344\223\002q\"P/compute/v1/" + + "projects/{project}/global/securityPolici" + + "es/{security_policy}/addRule:\035security_p" + + "olicy_rule_resource\022\327\001\n\016AggregatedList\022>" + + ".google.cloud.compute.v1.AggregatedListS" + + "ecurityPoliciesRequest\0327.google.cloud.co" + + "mpute.v1.SecurityPoliciesAggregatedList\"" + + "L\332A\007project\202\323\344\223\002<\022:/compute/v1/projects/" + + "{project}/aggregated/securityPolicies\022\341\001" + + "\n\006Delete\0224.google.cloud.compute.v1.Delet" + + "eSecurityPolicyRequest\032\".google.cloud.co" + + "mpute.v1.Operation\"}\332A\027project,security_" + + "policy\212N\020GlobalOperations\202\323\344\223\002J*H/comput" + "e/v1/projects/{project}/global/securityP" - + "olicies/{security_policy}/removeRule\022\253\002\n" - + "\tSetLabels\0227.google.cloud.compute.v1.Set" - + "LabelsSecurityPolicyRequest\032\".google.clo" - + "ud.compute.v1.Operation\"\300\001\332A3project,res" - + "ource,global_set_labels_request_resource" - + "\212N\020GlobalOperations\202\323\344\223\002q\"K/compute/v1/p" + + "olicies/{security_policy}\022\315\001\n\003Get\0221.goog" + + "le.cloud.compute.v1.GetSecurityPolicyReq" + + "uest\032\'.google.cloud.compute.v1.SecurityP" + + "olicy\"j\332A\027project,security_policy\202\323\344\223\002J\022" + + "H/compute/v1/projects/{project}/global/s" + + "ecurityPolicies/{security_policy}\022\341\001\n\007Ge" + + "tRule\0225.google.cloud.compute.v1.GetRuleS" + + "ecurityPolicyRequest\032+.google.cloud.comp" + + "ute.v1.SecurityPolicyRule\"r\332A\027project,se" + + "curity_policy\202\323\344\223\002R\022P/compute/v1/project" + + "s/{project}/global/securityPolicies/{sec" + + "urity_policy}/getRule\022\363\001\n\006Insert\0224.googl" + + "e.cloud.compute.v1.InsertSecurityPolicyR" + + "equest\032\".google.cloud.compute.v1.Operati" + + "on\"\216\001\332A project,security_policy_resource" + + "\212N\020GlobalOperations\202\323\344\223\002R\"6/compute/v1/p" + "rojects/{project}/global/securityPolicie" - + "s/{resource}/setLabels:\"global_set_label" - + "s_request_resource\032r\312A\026compute.googleapi" - + "s.com\322AVhttps://www.googleapis.com/auth/" - + "compute,https://www.googleapis.com/auth/" - + "cloud-platform2\360\023\n\022ServiceAttachments\022\334\001" - + "\n\016AggregatedList\022@.google.cloud.compute." - + "v1.AggregatedListServiceAttachmentsReque" - + "st\0328.google.cloud.compute.v1.ServiceAtta" - + "chmentAggregatedList\"N\332A\007project\202\323\344\223\002>\022<" - + "/compute/v1/projects/{project}/aggregate" - + "d/serviceAttachments\022\376\001\n\006Delete\0227.google" - + ".cloud.compute.v1.DeleteServiceAttachmen" - + "tRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"\226\001\332A!project,region,service_attachm" - + "ent\212N\020RegionOperations\202\323\344\223\002Y*W/compute/v" - + "1/projects/{project}/regions/{region}/se" - + "rviceAttachments/{service_attachment}\022\355\001" - + "\n\003Get\0224.google.cloud.compute.v1.GetServi" - + "ceAttachmentRequest\032*.google.cloud.compu" - + "te.v1.ServiceAttachment\"\203\001\332A!project,reg" - + "ion,service_attachment\202\323\344\223\002Y\022W/compute/v" - + "1/projects/{project}/regions/{region}/se" - + "rviceAttachments/{service_attachment}\022\354\001" - + "\n\014GetIamPolicy\022=.google.cloud.compute.v1" - + ".GetIamPolicyServiceAttachmentRequest\032\037." - + "google.cloud.compute.v1.Policy\"|\332A\027proje" - + "ct,region,resource\202\323\344\223\002\\\022Z/compute/v1/pr" - + "ojects/{project}/regions/{region}/servic" - + "eAttachments/{resource}/getIamPolicy\022\217\002\n" - + "\006Insert\0227.google.cloud.compute.v1.Insert" - + "ServiceAttachmentRequest\032\".google.cloud." - + "compute.v1.Operation\"\247\001\332A*project,region" - + ",service_attachment_resource\212N\020RegionOpe" - + "rations\202\323\344\223\002a\"B/compute/v1/projects/{pro" - + "ject}/regions/{region}/serviceAttachment" - + "s:\033service_attachment_resource\022\313\001\n\004List\022" - + "6.google.cloud.compute.v1.ListServiceAtt" - + "achmentsRequest\032..google.cloud.compute.v" - + "1.ServiceAttachmentList\"[\332A\016project,regi" - + "on\202\323\344\223\002D\022B/compute/v1/projects/{project}" - + "/regions/{region}/serviceAttachments\022\265\002\n" - + "\005Patch\0226.google.cloud.compute.v1.PatchSe" - + "rviceAttachmentRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\317\001\332A=project,region,s" - + "ervice_attachment,service_attachment_res" - + "ource\212N\020RegionOperations\202\323\344\223\002v2W/compute" - + "/v1/projects/{project}/regions/{region}/" - + "serviceAttachments/{service_attachment}:" - + "\033service_attachment_resource\022\265\002\n\014SetIamP" - + "olicy\022=.google.cloud.compute.v1.SetIamPo" - + "licyServiceAttachmentRequest\032\037.google.cl" - + "oud.compute.v1.Policy\"\304\001\332A:project,regio" - + "n,resource,region_set_policy_request_res" - + "ource\202\323\344\223\002\200\001\"Z/compute/v1/projects/{proj" - + "ect}/regions/{region}/serviceAttachments" - + "/{resource}/setIamPolicy:\"region_set_pol" - + "icy_request_resource\022\326\002\n\022TestIamPermissi" - + "ons\022C.google.cloud.compute.v1.TestIamPer", - "missionsServiceAttachmentRequest\0320.googl" - + "e.cloud.compute.v1.TestPermissionsRespon" - + "se\"\310\001\332A9project,region,resource,test_per" - + "missions_request_resource\202\323\344\223\002\205\001\"`/compu" - + "te/v1/projects/{project}/regions/{region" - + "}/serviceAttachments/{resource}/testIamP" - + "ermissions:!test_permissions_request_res" + + "s:\030security_policy_resource\022\263\001\n\004List\0224.g" + + "oogle.cloud.compute.v1.ListSecurityPolic" + + "iesRequest\032+.google.cloud.compute.v1.Sec" + + "urityPolicyList\"H\332A\007project\202\323\344\223\0028\0226/comp" + + "ute/v1/projects/{project}/global/securit" + + "yPolicies\022\256\002\n\037ListPreconfiguredExpressio" + + "nSets\022O.google.cloud.compute.v1.ListPrec" + + "onfiguredExpressionSetsSecurityPoliciesR" + + "equest\032P.google.cloud.compute.v1.Securit" + + "yPoliciesListPreconfiguredExpressionSets" + + "Response\"h\332A\007project\202\323\344\223\002X\022V/compute/v1/" + + "projects/{project}/global/securityPolici" + + "es/listPreconfiguredExpressionSets\022\223\002\n\005P" + + "atch\0223.google.cloud.compute.v1.PatchSecu" + + "rityPolicyRequest\032\".google.cloud.compute" + + ".v1.Operation\"\260\001\332A0project,security_poli" + + "cy,security_policy_resource\212N\020GlobalOper" + + "ations\202\323\344\223\002d2H/compute/v1/projects/{proj" + + "ect}/global/securityPolicies/{security_p" + + "olicy}:\030security_policy_resource\022\257\002\n\tPat" + + "chRule\0227.google.cloud.compute.v1.PatchRu", + "leSecurityPolicyRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\304\001\332A5project,securit" + + "y_policy,security_policy_rule_resource\212N" + + "\020GlobalOperations\202\323\344\223\002s\"R/compute/v1/pro" + + "jects/{project}/global/securityPolicies/" + + "{security_policy}/patchRule:\035security_po" + + "licy_rule_resource\022\365\001\n\nRemoveRule\0228.goog" + + "le.cloud.compute.v1.RemoveRuleSecurityPo" + + "licyRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\210\001\332A\027project,security_policy\212N\020G" + + "lobalOperations\202\323\344\223\002U\"S/compute/v1/proje" + + "cts/{project}/global/securityPolicies/{s" + + "ecurity_policy}/removeRule\022\253\002\n\tSetLabels" + + "\0227.google.cloud.compute.v1.SetLabelsSecu" + + "rityPolicyRequest\032\".google.cloud.compute" + + ".v1.Operation\"\300\001\332A3project,resource,glob" + + "al_set_labels_request_resource\212N\020GlobalO" + + "perations\202\323\344\223\002q\"K/compute/v1/projects/{p" + + "roject}/global/securityPolicies/{resourc" + + "e}/setLabels:\"global_set_labels_request_" + + "resource\032r\312A\026compute.googleapis.com\322AVht" + + "tps://www.googleapis.com/auth/compute,ht" + + "tps://www.googleapis.com/auth/cloud-plat" + + "form2\360\023\n\022ServiceAttachments\022\334\001\n\016Aggregat" + + "edList\022@.google.cloud.compute.v1.Aggrega" + + "tedListServiceAttachmentsRequest\0328.googl" + + "e.cloud.compute.v1.ServiceAttachmentAggr" + + "egatedList\"N\332A\007project\202\323\344\223\002>\022/compute/v1/projects/" + + "{project}/global/sslPolicies/{ssl_policy" + + "}\022\264\001\n\003Get\022,.google.cloud.compute.v1.GetS" + + "slPolicyRequest\032\".google.cloud.compute.v" + + "1.SslPolicy\"[\332A\022project,ssl_policy\202\323\344\223\002@" + + "\022>/compute/v1/projects/{project}/global/" + + "sslPolicies/{ssl_policy}\022\336\001\n\006Insert\022/.go" + + "ogle.cloud.compute.v1.InsertSslPolicyReq" + "uest\032\".google.cloud.compute.v1.Operation" - + "\"h\332A\020project,snapshot\212N\020GlobalOperations" - + "\202\323\344\223\002<*:/compute/v1/projects/{project}/g" - + "lobal/snapshots/{snapshot}\022\254\001\n\003Get\022+.goo" - + "gle.cloud.compute.v1.GetSnapshotRequest\032" - + "!.google.cloud.compute.v1.Snapshot\"U\332A\020p" - + "roject,snapshot\202\323\344\223\002<\022:/compute/v1/proje" - + "cts/{project}/global/snapshots/{snapshot" - + "}\022\311\001\n\014GetIamPolicy\0224.google.cloud.comput" - + "e.v1.GetIamPolicySnapshotRequest\032\037.googl" - + "e.cloud.compute.v1.Policy\"b\332A\020project,re" - + "source\202\323\344\223\002I\022G/compute/v1/projects/{proj" - + "ect}/global/snapshots/{resource}/getIamP" - + "olicy\022\327\001\n\006Insert\022..google.cloud.compute." - + "v1.InsertSnapshotRequest\032\".google.cloud." - + "compute.v1.Operation\"y\332A\031project,snapsho" - + "t_resource\212N\020GlobalOperations\202\323\344\223\002D\"//co" - + "mpute/v1/projects/{project}/global/snaps" - + "hots:\021snapshot_resource\022\237\001\n\004List\022-.googl" - + "e.cloud.compute.v1.ListSnapshotsRequest\032" - + "%.google.cloud.compute.v1.SnapshotList\"A" - + "\332A\007project\202\323\344\223\0021\022//compute/v1/projects/{" - + "project}/global/snapshots\022\221\002\n\014SetIamPoli" - + "cy\0224.google.cloud.compute.v1.SetIamPolic" - + "ySnapshotRequest\032\037.google.cloud.compute." - + "v1.Policy\"\251\001\332A3project,resource,global_s" - + "et_policy_request_resource\202\323\344\223\002m\"G/compu" - + "te/v1/projects/{project}/global/snapshot" - + "s/{resource}/setIamPolicy:\"global_set_po" - + "licy_request_resource\022\236\002\n\tSetLabels\0221.go" - + "ogle.cloud.compute.v1.SetLabelsSnapshotR" + + "\"\177\332A\033project,ssl_policy_resource\212N\020Globa" + + "lOperations\202\323\344\223\002H\"1/compute/v1/projects/" + + "{project}/global/sslPolicies:\023ssl_policy" + + "_resource\022\246\001\n\004List\022/.google.cloud.comput" + + "e.v1.ListSslPoliciesRequest\032(.google.clo" + + "ud.compute.v1.SslPoliciesList\"C\332A\007projec" + + "t\202\323\344\223\0023\0221/compute/v1/projects/{project}/" + + "global/sslPolicies\022\367\001\n\025ListAvailableFeat" + + "ures\022@.google.cloud.compute.v1.ListAvail" + + "ableFeaturesSslPoliciesRequest\032A.google." + + "cloud.compute.v1.SslPoliciesListAvailabl" + + "eFeaturesResponse\"Y\332A\007project\202\323\344\223\002I\022G/co" + + "mpute/v1/projects/{project}/global/sslPo" + + "licies/listAvailableFeatures\022\365\001\n\005Patch\022." + + ".google.cloud.compute.v1.PatchSslPolicyR" + "equest\032\".google.cloud.compute.v1.Operati" - + "on\"\271\001\332A3project,resource,global_set_labe" - + "ls_request_resource\212N\020GlobalOperations\202\323" - + "\344\223\002j\"D/compute/v1/projects/{project}/glo" - + "bal/snapshots/{resource}/setLabels:\"glob" - + "al_set_labels_request_resource\022\262\002\n\022TestI" - + "amPermissions\022:.google.cloud.compute.v1." - + "TestIamPermissionsSnapshotRequest\0320.goog" - + "le.cloud.compute.v1.TestPermissionsRespo" - + "nse\"\255\001\332A2project,resource,test_permissio" - + "ns_request_resource\202\323\344\223\002r\"M/compute/v1/p" - + "rojects/{project}/global/snapshots/{reso" - + "urce}/testIamPermissions:!test_permissio" - + "ns_request_resource\032r\312A\026compute.googleap" - + "is.com\322AVhttps://www.googleapis.com/auth" - + "/compute,https://www.googleapis.com/auth" - + "/cloud-platform2\266\t\n\017SslCertificates\022\323\001\n\016" - + "AggregatedList\022=.google.cloud.compute.v1" - + ".AggregatedListSslCertificatesRequest\0325." - + "google.cloud.compute.v1.SslCertificateAg" - + "gregatedList\"K\332A\007project\202\323\344\223\002;\0229/compute" - + "/v1/projects/{project}/aggregated/sslCer" - + "tificates\022\340\001\n\006Delete\0224.google.cloud.comp" - + "ute.v1.DeleteSslCertificateRequest\032\".goo" - + "gle.cloud.compute.v1.Operation\"|\332A\027proje" - + "ct,ssl_certificate\212N\020GlobalOperations\202\323\344" - + "\223\002I*G/compute/v1/projects/{project}/glob" - + "al/sslCertificates/{ssl_certificate}\022\314\001\n" - + "\003Get\0221.google.cloud.compute.v1.GetSslCer" - + "tificateRequest\032\'.google.cloud.compute.v" - + "1.SslCertificate\"i\332A\027project,ssl_certifi" - + "cate\202\323\344\223\002I\022G/compute/v1/projects/{projec" - + "t}/global/sslCertificates/{ssl_certifica" - + "te}\022\362\001\n\006Insert\0224.google.cloud.compute.v1" - + ".InsertSslCertificateRequest\032\".google.cl" - + "oud.compute.v1.Operation\"\215\001\332A project,ss" - + "l_certificate_resource\212N\020GlobalOperation" - + "s\202\323\344\223\002Q\"5/compute/v1/projects/{project}/" - + "global/sslCertificates:\030ssl_certificate_" - + "resource\022\261\001\n\004List\0223.google.cloud.compute" - + ".v1.ListSslCertificatesRequest\032+.google." - + "cloud.compute.v1.SslCertificateList\"G\332A\007" - + "project\202\323\344\223\0027\0225/compute/v1/projects/{pro" - + "ject}/global/sslCertificates\032r\312A\026compute" - + ".googleapis.com\322AVhttps://www.googleapis" - + ".com/auth/compute,https://www.googleapis" - + ".com/auth/cloud-platform2\317\014\n\013SslPolicies" - + "\022\310\001\n\016AggregatedList\0229.google.cloud.compu" - + "te.v1.AggregatedListSslPoliciesRequest\0322" - + ".google.cloud.compute.v1.SslPoliciesAggr" - + "egatedList\"G\332A\007project\202\323\344\223\0027\0225/compute/v" - + "1/projects/{project}/aggregated/sslPolic" - + "ies\022\315\001\n\006Delete\022/.google.cloud.compute.v1" - + ".DeleteSslPolicyRequest\032\".google.cloud.c" - + "ompute.v1.Operation\"n\332A\022project,ssl_poli" - + "cy\212N\020GlobalOperations\202\323\344\223\002@*>/compute/v1" - + "/projects/{project}/global/sslPolicies/{" - + "ssl_policy}\022\264\001\n\003Get\022,.google.cloud.compu" - + "te.v1.GetSslPolicyRequest\032\".google.cloud" - + ".compute.v1.SslPolicy\"[\332A\022project,ssl_po" - + "licy\202\323\344\223\002@\022>/compute/v1/projects/{projec" - + "t}/global/sslPolicies/{ssl_policy}\022\336\001\n\006I" - + "nsert\022/.google.cloud.compute.v1.InsertSs" - + "lPolicyRequest\032\".google.cloud.compute.v1" - + ".Operation\"\177\332A\033project,ssl_policy_resour" - + "ce\212N\020GlobalOperations\202\323\344\223\002H\"1/compute/v1" - + "/projects/{project}/global/sslPolicies:\023" - + "ssl_policy_resource\022\246\001\n\004List\022/.google.cl" - + "oud.compute.v1.ListSslPoliciesRequest\032(." - + "google.cloud.compute.v1.SslPoliciesList\"" - + "C\332A\007project\202\323\344\223\0023\0221/compute/v1/projects/" - + "{project}/global/sslPolicies\022\367\001\n\025ListAva" - + "ilableFeatures\022@.google.cloud.compute.v1" - + ".ListAvailableFeaturesSslPoliciesRequest" - + "\032A.google.cloud.compute.v1.SslPoliciesLi" - + "stAvailableFeaturesResponse\"Y\332A\007project\202" - + "\323\344\223\002I\022G/compute/v1/projects/{project}/gl" - + "obal/sslPolicies/listAvailableFeatures\022\365" - + "\001\n\005Patch\022..google.cloud.compute.v1.Patch" - + "SslPolicyRequest\032\".google.cloud.compute." - + "v1.Operation\"\227\001\332A&project,ssl_policy,ssl" - + "_policy_resource\212N\020GlobalOperations\202\323\344\223\002" - + "U2>/compute/v1/projects/{project}/global" - + "/sslPolicies/{ssl_policy}:\023ssl_policy_re" - + "source\032r\312A\026compute.googleapis.com\322AVhttp" - + "s://www.googleapis.com/auth/compute,http" - + "s://www.googleapis.com/auth/cloud-platfo" - + "rm2\335\031\n\013Subnetworks\022\307\001\n\016AggregatedList\0229." - + "google.cloud.compute.v1.AggregatedListSu" - + "bnetworksRequest\0321.google.cloud.compute." - + "v1.SubnetworkAggregatedList\"G\332A\007project\202" - + "\323\344\223\0027\0225/compute/v1/projects/{project}/ag" - + "gregated/subnetworks\022\337\001\n\006Delete\0220.google" - + ".cloud.compute.v1.DeleteSubnetworkReques" - + "t\032\".google.cloud.compute.v1.Operation\"\177\332" - + "A\031project,region,subnetwork\212N\020RegionOper" - + "ations\202\323\344\223\002J*H/compute/v1/projects/{proj" - + "ect}/regions/{region}/subnetworks/{subne" - + "twork}\022\356\002\n\021ExpandIpCidrRange\022;.google.cl" - + "oud.compute.v1.ExpandIpCidrRangeSubnetwo" - + "rkRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"\367\001\332AKproject,region,subnetwork,sub" - + "networks_expand_ip_cidr_range_request_re" - + "source\212N\020RegionOperations\202\323\344\223\002\217\001\"Z/compu" - + "te/v1/projects/{project}/regions/{region" - + "}/subnetworks/{subnetwork}/expandIpCidrR" - + "ange:1subnetworks_expand_ip_cidr_range_r" - + "equest_resource\022\307\001\n\003Get\022-.google.cloud.c" - + "ompute.v1.GetSubnetworkRequest\032#.google." - + "cloud.compute.v1.Subnetwork\"l\332A\031project," - + "region,subnetwork\202\323\344\223\002J\022H/compute/v1/pro" - + "jects/{project}/regions/{region}/subnetw" - + "orks/{subnetwork}\022\336\001\n\014GetIamPolicy\0226.goo" - + "gle.cloud.compute.v1.GetIamPolicySubnetw" - + "orkRequest\032\037.google.cloud.compute.v1.Pol" - + "icy\"u\332A\027project,region,resource\202\323\344\223\002U\022S/" - + "compute/v1/projects/{project}/regions/{r" - + "egion}/subnetworks/{resource}/getIamPoli" - + "cy\022\361\001\n\006Insert\0220.google.cloud.compute.v1." - + "InsertSubnetworkRequest\032\".google.cloud.c" - + "ompute.v1.Operation\"\220\001\332A\"project,region," - + "subnetwork_resource\212N\020RegionOperations\202\323" - + "\344\223\002R\";/compute/v1/projects/{project}/reg" - + "ions/{region}/subnetworks:\023subnetwork_re" - + "source\022\266\001\n\004List\022/.google.cloud.compute.v" - + "1.ListSubnetworksRequest\032\'.google.cloud." - + "compute.v1.SubnetworkList\"T\332A\016project,re" - + "gion\202\323\344\223\002=\022;/compute/v1/projects/{projec" - + "t}/regions/{region}/subnetworks\022\321\001\n\nList" - + "Usable\0225.google.cloud.compute.v1.ListUsa" - + "bleSubnetworksRequest\0328.google.cloud.com" - + "pute.v1.UsableSubnetworksAggregatedList\"" - + "R\332A\007project\202\323\344\223\002B\022@/compute/v1/projects/" - + "{project}/aggregated/subnetworks/listUsa" - + "ble\022\207\002\n\005Patch\022/.google.cloud.compute.v1." - + "PatchSubnetworkRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\250\001\332A-project,region,s" - + "ubnetwork,subnetwork_resource\212N\020RegionOp" - + "erations\202\323\344\223\002_2H/compute/v1/projects/{pr" - + "oject}/regions/{region}/subnetworks/{sub" - + "network}:\023subnetwork_resource\022\246\002\n\014SetIam" - + "Policy\0226.google.cloud.compute.v1.SetIamP" - + "olicySubnetworkRequest\032\037.google.cloud.co" - + "mpute.v1.Policy\"\274\001\332A:project,region,reso" - + "urce,region_set_policy_request_resource\202" - + "\323\344\223\002y\"S/compute/v1/projects/{project}/re" - + "gions/{region}/subnetworks/{resource}/se" - + "tIamPolicy:\"region_set_policy_request_re" - + "source\022\223\003\n\030SetPrivateIpGoogleAccess\022B.go" - + "ogle.cloud.compute.v1.SetPrivateIpGoogle" - + "AccessSubnetworkRequest\032\".google.cloud.c" - + "ompute.v1.Operation\"\216\002\332ASproject,region," - + "subnetwork,subnetworks_set_private_ip_go" - + "ogle_access_request_resource\212N\020RegionOpe" - + "rations\202\323\344\223\002\236\001\"a/compute/v1/projects/{pr" - + "oject}/regions/{region}/subnetworks/{sub" - + "network}/setPrivateIpGoogleAccess:9subne" + + "on\"\227\001\332A&project,ssl_policy,ssl_policy_re" + + "source\212N\020GlobalOperations\202\323\344\223\002U2>/comput" + + "e/v1/projects/{project}/global/sslPolici" + + "es/{ssl_policy}:\023ssl_policy_resource\032r\312A" + + "\026compute.googleapis.com\322AVhttps://www.go" + + "ogleapis.com/auth/compute,https://www.go" + + "ogleapis.com/auth/cloud-platform2\265\006\n\020Sto" + + "ragePoolTypes\022\326\001\n\016AggregatedList\022>.googl" + + "e.cloud.compute.v1.AggregatedListStorage" + + "PoolTypesRequest\0326.google.cloud.compute." + + "v1.StoragePoolTypeAggregatedList\"L\332A\007pro" + + "ject\202\323\344\223\002<\022:/compute/v1/projects/{projec" + + "t}/aggregated/storagePoolTypes\022\336\001\n\003Get\0222" + + ".google.cloud.compute.v1.GetStoragePoolT" + + "ypeRequest\032(.google.cloud.compute.v1.Sto" + + "ragePoolType\"y\332A\036project,zone,storage_po" + + "ol_type\202\323\344\223\002R\022P/compute/v1/projects/{pro" + + "ject}/zones/{zone}/storagePoolTypes/{sto" + + "rage_pool_type}\022\277\001\n\004List\0224.google.cloud." + + "compute.v1.ListStoragePoolTypesRequest\032," + + ".google.cloud.compute.v1.StoragePoolType" + + "List\"S\332A\014project,zone\202\323\344\223\002>\022\022\022.google.cloud.compute.v" - + "1.AggregatedListTargetTcpProxiesRequest\032" - + "5.google.cloud.compute.v1.TargetTcpProxy" - + "AggregatedList\"L\332A\007project\202\323\344\223\002<\022:/compu" - + "te/v1/projects/{project}/aggregated/targ" - + "etTcpProxies\022\343\001\n\006Delete\0224.google.cloud.c" - + "ompute.v1.DeleteTargetTcpProxyRequest\032\"." - + "google.cloud.compute.v1.Operation\"\177\332A\030pr" - + "oject,target_tcp_proxy\212N\020GlobalOperation" - + "s\202\323\344\223\002K*I/compute/v1/projects/{project}/" - + "global/targetTcpProxies/{target_tcp_prox" - + "y}\022\317\001\n\003Get\0221.google.cloud.compute.v1.Get" - + "TargetTcpProxyRequest\032\'.google.cloud.com" - + "pute.v1.TargetTcpProxy\"l\332A\030project,targe" - + "t_tcp_proxy\202\323\344\223\002K\022I/compute/v1/projects/" - + "{project}/global/targetTcpProxies/{targe" - + "t_tcp_proxy}\022\365\001\n\006Insert\0224.google.cloud.c" - + "ompute.v1.InsertTargetTcpProxyRequest\032\"." - + "google.cloud.compute.v1.Operation\"\220\001\332A!p" - + "roject,target_tcp_proxy_resource\212N\020Globa" - + "lOperations\202\323\344\223\002S\"6/compute/v1/projects/" - + "{project}/global/targetTcpProxies:\031targe" - + "t_tcp_proxy_resource\022\263\001\n\004List\0224.google.c" - + "loud.compute.v1.ListTargetTcpProxiesRequ" - + "est\032+.google.cloud.compute.v1.TargetTcpP" - + "roxyList\"H\332A\007project\202\323\344\223\0028\0226/compute/v1/" - + "projects/{project}/global/targetTcpProxi" - + "es\022\376\002\n\021SetBackendService\022?.google.cloud." - + "compute.v1.SetBackendServiceTargetTcpPro" - + "xyRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"\203\002\332APproject,target_tcp_proxy,targ" + + "lProxies/{target_ssl_proxy}/setProxyHead" + + "er:4target_ssl_proxies_set_proxy_header_" + + "request_resource\022\203\003\n\022SetSslCertificates\022" + + "@.google.cloud.compute.v1.SetSslCertific" + + "atesTargetSslProxyRequest\032\".google.cloud" + + ".compute.v1.Operation\"\206\002\332AQproject,targe" + + "t_ssl_proxy,target_ssl_proxies_set_ssl_c" + + "ertificates_request_resource\212N\020GlobalOpe" + + "rations\202\323\344\223\002\230\001\"\\/compute/v1/projects/{pr" + + "oject}/global/targetSslProxies/{target_s" + + "sl_proxy}/setSslCertificates:8target_ssl" + + "_proxies_set_ssl_certificates_request_re" + + "source\022\272\002\n\014SetSslPolicy\022:.google.cloud.c" + + "ompute.v1.SetSslPolicyTargetSslProxyRequ" + + "est\032\".google.cloud.compute.v1.Operation\"" + + "\311\001\332A6project,target_ssl_proxy,ssl_policy" + + "_reference_resource\212N\020GlobalOperations\202\323" + + "\344\223\002w\"V/compute/v1/projects/{project}/glo" + + "bal/targetSslProxies/{target_ssl_proxy}/" + + "setSslPolicy:\035ssl_policy_reference_resou" + + "rce\032r\312A\026compute.googleapis.com\322AVhttps:/" + + "/www.googleapis.com/auth/compute,https:/" + + "/www.googleapis.com/auth/cloud-platform2" + + "\267\017\n\020TargetTcpProxies\022\325\001\n\016AggregatedList\022" + + ">.google.cloud.compute.v1.AggregatedList" + + "TargetTcpProxiesRequest\0325.google.cloud.c" + + "ompute.v1.TargetTcpProxyAggregatedList\"L" + + "\332A\007project\202\323\344\223\002<\022:/compute/v1/projects/{" + + "project}/aggregated/targetTcpProxies\022\343\001\n" + + "\006Delete\0224.google.cloud.compute.v1.Delete" + + "TargetTcpProxyRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\177\332A\030project,target_tcp" + + "_proxy\212N\020GlobalOperations\202\323\344\223\002K*I/comput" + + "e/v1/projects/{project}/global/targetTcp" + + "Proxies/{target_tcp_proxy}\022\317\001\n\003Get\0221.goo" + + "gle.cloud.compute.v1.GetTargetTcpProxyRe" + + "quest\032\'.google.cloud.compute.v1.TargetTc" + + "pProxy\"l\332A\030project,target_tcp_proxy\202\323\344\223\002" + + "K\022I/compute/v1/projects/{project}/global" + + "/targetTcpProxies/{target_tcp_proxy}\022\365\001\n" + + "\006Insert\0224.google.cloud.compute.v1.Insert" + + "TargetTcpProxyRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\220\001\332A!project,target_tc" + + "p_proxy_resource\212N\020GlobalOperations\202\323\344\223\002" + + "S\"6/compute/v1/projects/{project}/global" + + "/targetTcpProxies:\031target_tcp_proxy_reso" + + "urce\022\263\001\n\004List\0224.google.cloud.compute.v1." + + "ListTargetTcpProxiesRequest\032+.google.clo" + + "ud.compute.v1.TargetTcpProxyList\"H\332A\007pro" + + "ject\202\323\344\223\0028\0226/compute/v1/projects/{projec" + + "t}/global/targetTcpProxies\022\376\002\n\021SetBacken" + + "dService\022?.google.cloud.compute.v1.SetBa" + + "ckendServiceTargetTcpProxyRequest\032\".goog" + + "le.cloud.compute.v1.Operation\"\203\002\332APproje" + + "ct,target_tcp_proxy,target_tcp_proxies_s" + + "et_backend_service_request_resource\212N\020Gl" + + "obalOperations\202\323\344\223\002\226\001\"[/compute/v1/proje" + + "cts/{project}/global/targetTcpProxies/{t" + + "arget_tcp_proxy}/setBackendService:7targ" + "et_tcp_proxies_set_backend_service_reque" - + "st_resource\212N\020GlobalOperations\202\323\344\223\002\226\001\"[/" + + "st_resource\022\357\002\n\016SetProxyHeader\022<.google." + + "cloud.compute.v1.SetProxyHeaderTargetTcp" + + "ProxyRequest\032\".google.cloud.compute.v1.O" + + "peration\"\372\001\332AMproject,target_tcp_proxy,t" + + "arget_tcp_proxies_set_proxy_header_reque" + + "st_resource\212N\020GlobalOperations\202\323\344\223\002\220\001\"X/" + "compute/v1/projects/{project}/global/tar" - + "getTcpProxies/{target_tcp_proxy}/setBack" - + "endService:7target_tcp_proxies_set_backe" - + "nd_service_request_resource\022\357\002\n\016SetProxy" - + "Header\022<.google.cloud.compute.v1.SetProx" - + "yHeaderTargetTcpProxyRequest\032\".google.cl" - + "oud.compute.v1.Operation\"\372\001\332AMproject,ta" - + "rget_tcp_proxy,target_tcp_proxies_set_pr" - + "oxy_header_request_resource\212N\020GlobalOper" - + "ations\202\323\344\223\002\220\001\"X/compute/v1/projects/{pro" - + "ject}/global/targetTcpProxies/{target_tc" - + "p_proxy}/setProxyHeader:4target_tcp_prox" - + "ies_set_proxy_header_request_resource\032r\312" - + "A\026compute.googleapis.com\322AVhttps://www.g" - + "oogleapis.com/auth/compute,https://www.g" - + "oogleapis.com/auth/cloud-platform2\354\014\n\021Ta" - + "rgetVpnGateways\022\331\001\n\016AggregatedList\022?.goo" - + "gle.cloud.compute.v1.AggregatedListTarge" - + "tVpnGatewaysRequest\0327.google.cloud.compu" - + "te.v1.TargetVpnGatewayAggregatedList\"M\332A" - + "\007project\202\323\344\223\002=\022;/compute/v1/projects/{pr" - + "oject}/aggregated/targetVpnGateways\022\374\001\n\006" - + "Delete\0226.google.cloud.compute.v1.DeleteT" - + "argetVpnGatewayRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\225\001\332A!project,region,t" - + "arget_vpn_gateway\212N\020RegionOperations\202\323\344\223" - + "\002X*V/compute/v1/projects/{project}/regio" - + "ns/{region}/targetVpnGateways/{target_vp" - + "n_gateway}\022\352\001\n\003Get\0223.google.cloud.comput" - + "e.v1.GetTargetVpnGatewayRequest\032).google" - + ".cloud.compute.v1.TargetVpnGateway\"\202\001\332A!" - + "project,region,target_vpn_gateway\202\323\344\223\002X\022" - + "V/compute/v1/projects/{project}/regions/" - + "{region}/targetVpnGateways/{target_vpn_g" - + "ateway}\022\215\002\n\006Insert\0226.google.cloud.comput" - + "e.v1.InsertTargetVpnGatewayRequest\032\".goo" - + "gle.cloud.compute.v1.Operation\"\246\001\332A*proj" - + "ect,region,target_vpn_gateway_resource\212N" - + "\020RegionOperations\202\323\344\223\002`\"A/compute/v1/pro" + + "getTcpProxies/{target_tcp_proxy}/setProx" + + "yHeader:4target_tcp_proxies_set_proxy_he" + + "ader_request_resource\032r\312A\026compute.google" + + "apis.com\322AVhttps://www.googleapis.com/au" + + "th/compute,https://www.googleapis.com/au" + + "th/cloud-platform2\354\014\n\021TargetVpnGateways\022", + "\331\001\n\016AggregatedList\022?.google.cloud.comput" + + "e.v1.AggregatedListTargetVpnGatewaysRequ" + + "est\0327.google.cloud.compute.v1.TargetVpnG" + + "atewayAggregatedList\"M\332A\007project\202\323\344\223\002=\022;" + + "/compute/v1/projects/{project}/aggregate" + + "d/targetVpnGateways\022\374\001\n\006Delete\0226.google." + + "cloud.compute.v1.DeleteTargetVpnGatewayR" + + "equest\032\".google.cloud.compute.v1.Operati" + + "on\"\225\001\332A!project,region,target_vpn_gatewa" + + "y\212N\020RegionOperations\202\323\344\223\002X*V/compute/v1/" + + "projects/{project}/regions/{region}/targ" + + "etVpnGateways/{target_vpn_gateway}\022\352\001\n\003G" + + "et\0223.google.cloud.compute.v1.GetTargetVp" + + "nGatewayRequest\032).google.cloud.compute.v" + + "1.TargetVpnGateway\"\202\001\332A!project,region,t" + + "arget_vpn_gateway\202\323\344\223\002X\022V/compute/v1/pro" + "jects/{project}/regions/{region}/targetV" - + "pnGateways:\033target_vpn_gateway_resource\022" - + "\310\001\n\004List\0225.google.cloud.compute.v1.ListT" - + "argetVpnGatewaysRequest\032-.google.cloud.c" - + "ompute.v1.TargetVpnGatewayList\"Z\332A\016proje" - + "ct,region\202\323\344\223\002C\022A/compute/v1/projects/{p" - + "roject}/regions/{region}/targetVpnGatewa" - + "ys\022\277\002\n\tSetLabels\0229.google.cloud.compute." - + "v1.SetLabelsTargetVpnGatewayRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\322\001\332A:pro" - + "ject,region,resource,region_set_labels_r" - + "equest_resource\212N\020RegionOperations\202\323\344\223\002|" - + "\"V/compute/v1/projects/{project}/regions" - + "/{region}/targetVpnGateways/{resource}/s" - + "etLabels:\"region_set_labels_request_reso" - + "urce\032r\312A\026compute.googleapis.com\322AVhttps:" - + "//www.googleapis.com/auth/compute,https:" - + "//www.googleapis.com/auth/cloud-platform" - + "2\236\020\n\007UrlMaps\022\274\001\n\016AggregatedList\0225.google" - + ".cloud.compute.v1.AggregatedListUrlMapsR" - + "equest\032..google.cloud.compute.v1.UrlMaps" - + "AggregatedList\"C\332A\007project\202\323\344\223\0023\0221/compu" - + "te/v1/projects/{project}/aggregated/urlM" - + "aps\022\300\001\n\006Delete\022,.google.cloud.compute.v1" - + ".DeleteUrlMapRequest\032\".google.cloud.comp" - + "ute.v1.Operation\"d\332A\017project,url_map\212N\020G" - + "lobalOperations\202\323\344\223\0029*7/compute/v1/proje" - + "cts/{project}/global/urlMaps/{url_map}\022\244" - + "\001\n\003Get\022).google.cloud.compute.v1.GetUrlM" - + "apRequest\032\037.google.cloud.compute.v1.UrlM" - + "ap\"Q\332A\017project,url_map\202\323\344\223\0029\0227/compute/v" - + "1/projects/{project}/global/urlMaps/{url" - + "_map}\022\321\001\n\006Insert\022,.google.cloud.compute." - + "v1.InsertUrlMapRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"u\332A\030project,url_map_r" - + "esource\212N\020GlobalOperations\202\323\344\223\002A\"-/compu" - + "te/v1/projects/{project}/global/urlMaps:" - + "\020url_map_resource\022\246\002\n\017InvalidateCache\0225." - + "google.cloud.compute.v1.InvalidateCacheU" - + "rlMapRequest\032\".google.cloud.compute.v1.O" - + "peration\"\267\001\332A0project,url_map,cache_inva" - + "lidation_rule_resource\212N\020GlobalOperation" - + "s\202\323\344\223\002k\"G/compute/v1/projects/{project}/" - + "global/urlMaps/{url_map}/invalidateCache" - + ": cache_invalidation_rule_resource\022\231\001\n\004L" - + "ist\022+.google.cloud.compute.v1.ListUrlMap" - + "sRequest\032#.google.cloud.compute.v1.UrlMa" - + "pList\"?\332A\007project\202\323\344\223\002/\022-/compute/v1/pro" - + "jects/{project}/global/urlMaps\022\342\001\n\005Patch" - + "\022+.google.cloud.compute.v1.PatchUrlMapRe" - + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\207\001\332A project,url_map,url_map_resource\212" - + "N\020GlobalOperations\202\323\344\223\002K27/compute/v1/pr" - + "ojects/{project}/global/urlMaps/{url_map" - + "}:\020url_map_resource\022\344\001\n\006Update\022,.google." - + "cloud.compute.v1.UpdateUrlMapRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"\207\001\332A pr" - + "oject,url_map,url_map_resource\212N\020GlobalO" - + "perations\202\323\344\223\002K\0327/compute/v1/projects/{p" - + "roject}/global/urlMaps/{url_map}:\020url_ma" - + "p_resource\022\220\002\n\010Validate\022..google.cloud.c" - + "ompute.v1.ValidateUrlMapRequest\0320.google" - + ".cloud.compute.v1.UrlMapsValidateRespons" - + "e\"\241\001\332A2project,url_map,url_maps_validate" - + "_request_resource\202\323\344\223\002f\"@/compute/v1/pro" - + "jects/{project}/global/urlMaps/{url_map}" - + "/validate:\"url_maps_validate_request_res" - + "ource\032r\312A\026compute.googleapis.com\322AVhttps" - + "://www.googleapis.com/auth/compute,https" - + "://www.googleapis.com/auth/cloud-platfor" - + "m2\237\020\n\013VpnGateways\022\307\001\n\016AggregatedList\0229.g" - + "oogle.cloud.compute.v1.AggregatedListVpn" - + "GatewaysRequest\0321.google.cloud.compute.v" - + "1.VpnGatewayAggregatedList\"G\332A\007project\202\323" - + "\344\223\0027\0225/compute/v1/projects/{project}/agg" - + "regated/vpnGateways\022\342\001\n\006Delete\0220.google." - + "cloud.compute.v1.DeleteVpnGatewayRequest" - + "\032\".google.cloud.compute.v1.Operation\"\201\001\332" - + "A\032project,region,vpn_gateway\212N\020RegionOpe" - + "rations\202\323\344\223\002K*I/compute/v1/projects/{pro" - + "ject}/regions/{region}/vpnGateways/{vpn_" - + "gateway}\022\311\001\n\003Get\022-.google.cloud.compute." - + "v1.GetVpnGatewayRequest\032#.google.cloud.c" - + "ompute.v1.VpnGateway\"n\332A\032project,region," - + "vpn_gateway\202\323\344\223\002K\022I/compute/v1/projects/" - + "{project}/regions/{region}/vpnGateways/{" - + "vpn_gateway}\022\361\001\n\tGetStatus\0223.google.clou" - + "d.compute.v1.GetStatusVpnGatewayRequest\032" - + "5.google.cloud.compute.v1.VpnGatewaysGet" - + "StatusResponse\"x\332A\032project,region,vpn_ga" - + "teway\202\323\344\223\002U\022S/compute/v1/projects/{proje" - + "ct}/regions/{region}/vpnGateways/{vpn_ga" - + "teway}/getStatus\022\363\001\n\006Insert\0220.google.clo" - + "ud.compute.v1.InsertVpnGatewayRequest\032\"." - + "google.cloud.compute.v1.Operation\"\222\001\332A#p" - + "roject,region,vpn_gateway_resource\212N\020Reg" - + "ionOperations\202\323\344\223\002S\";/compute/v1/project" - + "s/{project}/regions/{region}/vpnGateways" - + ":\024vpn_gateway_resource\022\266\001\n\004List\022/.google" - + ".cloud.compute.v1.ListVpnGatewaysRequest" - + "\032\'.google.cloud.compute.v1.VpnGatewayLis" - + "t\"T\332A\016project,region\202\323\344\223\002=\022;/compute/v1/" - + "projects/{project}/regions/{region}/vpnG" - + "ateways\022\263\002\n\tSetLabels\0223.google.cloud.com" - + "pute.v1.SetLabelsVpnGatewayRequest\032\".goo" - + "gle.cloud.compute.v1.Operation\"\314\001\332A:proj" - + "ect,region,resource,region_set_labels_re" - + "quest_resource\212N\020RegionOperations\202\323\344\223\002v\"" - + "P/compute/v1/projects/{project}/regions/" - + "{region}/vpnGateways/{resource}/setLabel" - + "s:\"region_set_labels_request_resource\022\307\002" - + "\n\022TestIamPermissions\022<.google.cloud.comp" - + "ute.v1.TestIamPermissionsVpnGatewayReque" - + "st\0320.google.cloud.compute.v1.TestPermiss" - + "ionsResponse\"\300\001\332A9project,region,resourc" - + "e,test_permissions_request_resource\202\323\344\223\002" - + "~\"Y/compute/v1/projects/{project}/region" - + "s/{region}/vpnGateways/{resource}/testIa" - + "mPermissions:!test_permissions_request_r" - + "esource\032r\312A\026compute.googleapis.com\322AVhtt" - + "ps://www.googleapis.com/auth/compute,htt" - + "ps://www.googleapis.com/auth/cloud-platf" - + "orm2\312\013\n\nVpnTunnels\022\304\001\n\016AggregatedList\0228." - + "google.cloud.compute.v1.AggregatedListVp" - + "nTunnelsRequest\0320.google.cloud.compute.v" - + "1.VpnTunnelAggregatedList\"F\332A\007project\202\323\344" - + "\223\0026\0224/compute/v1/projects/{project}/aggr" - + "egated/vpnTunnels\022\335\001\n\006Delete\022/.google.cl" - + "oud.compute.v1.DeleteVpnTunnelRequest\032\"." - + "google.cloud.compute.v1.Operation\"~\332A\031pr" - + "oject,region,vpn_tunnel\212N\020RegionOperatio" - + "ns\202\323\344\223\002I*G/compute/v1/projects/{project}" - + "/regions/{region}/vpnTunnels/{vpn_tunnel" - + "}\022\304\001\n\003Get\022,.google.cloud.compute.v1.GetV" - + "pnTunnelRequest\032\".google.cloud.compute.v" - + "1.VpnTunnel\"k\332A\031project,region,vpn_tunne" - + "l\202\323\344\223\002I\022G/compute/v1/projects/{project}/" - + "regions/{region}/vpnTunnels/{vpn_tunnel}", - "\022\357\001\n\006Insert\022/.google.cloud.compute.v1.In" - + "sertVpnTunnelRequest\032\".google.cloud.comp" - + "ute.v1.Operation\"\217\001\332A\"project,region,vpn" - + "_tunnel_resource\212N\020RegionOperations\202\323\344\223\002" - + "Q\":/compute/v1/projects/{project}/region" - + "s/{region}/vpnTunnels:\023vpn_tunnel_resour" - + "ce\022\263\001\n\004List\022..google.cloud.compute.v1.Li" - + "stVpnTunnelsRequest\032&.google.cloud.compu" - + "te.v1.VpnTunnelList\"S\332A\016project,region\202\323" - + "\344\223\002<\022:/compute/v1/projects/{project}/reg" - + "ions/{region}/vpnTunnels\022\261\002\n\tSetLabels\0222" - + ".google.cloud.compute.v1.SetLabelsVpnTun" - + "nelRequest\032\".google.cloud.compute.v1.Ope" - + "ration\"\313\001\332A:project,region,resource,regi" - + "on_set_labels_request_resource\212N\020RegionO" - + "perations\202\323\344\223\002u\"O/compute/v1/projects/{p" - + "roject}/regions/{region}/vpnTunnels/{res" - + "ource}/setLabels:\"region_set_labels_requ" - + "est_resource\032r\312A\026compute.googleapis.com\322" - + "AVhttps://www.googleapis.com/auth/comput" - + "e,https://www.googleapis.com/auth/cloud-" - + "platform2\243\007\n\016ZoneOperations\022\330\001\n\006Delete\0223" - + ".google.cloud.compute.v1.DeleteZoneOpera" - + "tionRequest\0324.google.cloud.compute.v1.De" - + "leteZoneOperationResponse\"c\332A\026project,zo" - + "ne,operation\202\323\344\223\002D*B/compute/v1/projects" - + "/{project}/zones/{zone}/operations/{oper" - + "ation}\022\303\001\n\003Get\0220.google.cloud.compute.v1" - + ".GetZoneOperationRequest\032\".google.cloud." - + "compute.v1.Operation\"f\332A\026project,zone,op" - + "eration\220N\001\202\323\344\223\002D\022B/compute/v1/projects/{" - + "project}/zones/{zone}/operations/{operat" - + "ion}\022\261\001\n\004List\0222.google.cloud.compute.v1." - + "ListZoneOperationsRequest\032&.google.cloud" - + ".compute.v1.OperationList\"M\332A\014project,zo" - + "ne\202\323\344\223\0028\0226/compute/v1/projects/{project}" - + "/zones/{zone}/operations\022\307\001\n\004Wait\0221.goog" - + "le.cloud.compute.v1.WaitZoneOperationReq" + + "pnGateways/{target_vpn_gateway}\022\215\002\n\006Inse" + + "rt\0226.google.cloud.compute.v1.InsertTarge" + + "tVpnGatewayRequest\032\".google.cloud.comput" + + "e.v1.Operation\"\246\001\332A*project,region,targe" + + "t_vpn_gateway_resource\212N\020RegionOperation" + + "s\202\323\344\223\002`\"A/compute/v1/projects/{project}/" + + "regions/{region}/targetVpnGateways:\033targ" + + "et_vpn_gateway_resource\022\310\001\n\004List\0225.googl" + + "e.cloud.compute.v1.ListTargetVpnGateways" + + "Request\032-.google.cloud.compute.v1.Target" + + "VpnGatewayList\"Z\332A\016project,region\202\323\344\223\002C\022" + + "A/compute/v1/projects/{project}/regions/" + + "{region}/targetVpnGateways\022\277\002\n\tSetLabels" + + "\0229.google.cloud.compute.v1.SetLabelsTarg" + + "etVpnGatewayRequest\032\".google.cloud.compu" + + "te.v1.Operation\"\322\001\332A:project,region,reso" + + "urce,region_set_labels_request_resource\212" + + "N\020RegionOperations\202\323\344\223\002|\"V/compute/v1/pr" + + "ojects/{project}/regions/{region}/target" + + "VpnGateways/{resource}/setLabels:\"region" + + "_set_labels_request_resource\032r\312A\026compute" + + ".googleapis.com\322AVhttps://www.googleapis" + + ".com/auth/compute,https://www.googleapis" + + ".com/auth/cloud-platform2\236\020\n\007UrlMaps\022\274\001\n" + + "\016AggregatedList\0225.google.cloud.compute.v" + + "1.AggregatedListUrlMapsRequest\032..google." + + "cloud.compute.v1.UrlMapsAggregatedList\"C" + + "\332A\007project\202\323\344\223\0023\0221/compute/v1/projects/{" + + "project}/aggregated/urlMaps\022\300\001\n\006Delete\022," + + ".google.cloud.compute.v1.DeleteUrlMapReq" + + "uest\032\".google.cloud.compute.v1.Operation" + + "\"d\332A\017project,url_map\212N\020GlobalOperations\202" + + "\323\344\223\0029*7/compute/v1/projects/{project}/gl" + + "obal/urlMaps/{url_map}\022\244\001\n\003Get\022).google." + + "cloud.compute.v1.GetUrlMapRequest\032\037.goog" + + "le.cloud.compute.v1.UrlMap\"Q\332A\017project,u" + + "rl_map\202\323\344\223\0029\0227/compute/v1/projects/{proj" + + "ect}/global/urlMaps/{url_map}\022\321\001\n\006Insert" + + "\022,.google.cloud.compute.v1.InsertUrlMapR" + + "equest\032\".google.cloud.compute.v1.Operati" + + "on\"u\332A\030project,url_map_resource\212N\020Global" + + "Operations\202\323\344\223\002A\"-/compute/v1/projects/{" + + "project}/global/urlMaps:\020url_map_resourc" + + "e\022\246\002\n\017InvalidateCache\0225.google.cloud.com" + + "pute.v1.InvalidateCacheUrlMapRequest\032\".g" + + "oogle.cloud.compute.v1.Operation\"\267\001\332A0pr" + + "oject,url_map,cache_invalidation_rule_re" + + "source\212N\020GlobalOperations\202\323\344\223\002k\"G/comput" + + "e/v1/projects/{project}/global/urlMaps/{" + + "url_map}/invalidateCache: cache_invalida" + + "tion_rule_resource\022\231\001\n\004List\022+.google.clo" + + "ud.compute.v1.ListUrlMapsRequest\032#.googl" + + "e.cloud.compute.v1.UrlMapList\"?\332A\007projec" + + "t\202\323\344\223\002/\022-/compute/v1/projects/{project}/" + + "global/urlMaps\022\342\001\n\005Patch\022+.google.cloud." + + "compute.v1.PatchUrlMapRequest\032\".google.c" + + "loud.compute.v1.Operation\"\207\001\332A project,u" + + "rl_map,url_map_resource\212N\020GlobalOperatio" + + "ns\202\323\344\223\002K27/compute/v1/projects/{project}" + + "/global/urlMaps/{url_map}:\020url_map_resou" + + "rce\022\344\001\n\006Update\022,.google.cloud.compute.v1" + + ".UpdateUrlMapRequest\032\".google.cloud.comp" + + "ute.v1.Operation\"\207\001\332A project,url_map,ur" + + "l_map_resource\212N\020GlobalOperations\202\323\344\223\002K\032" + + "7/compute/v1/projects/{project}/global/u" + + "rlMaps/{url_map}:\020url_map_resource\022\220\002\n\010V" + + "alidate\022..google.cloud.compute.v1.Valida" + + "teUrlMapRequest\0320.google.cloud.compute.v" + + "1.UrlMapsValidateResponse\"\241\001\332A2project,u" + + "rl_map,url_maps_validate_request_resourc" + + "e\202\323\344\223\002f\"@/compute/v1/projects/{project}/" + + "global/urlMaps/{url_map}/validate:\"url_m" + + "aps_validate_request_resource\032r\312A\026comput" + + "e.googleapis.com\322AVhttps://www.googleapi" + + "s.com/auth/compute,https://www.googleapi" + + "s.com/auth/cloud-platform2\237\020\n\013VpnGateway" + + "s\022\307\001\n\016AggregatedList\0229.google.cloud.comp" + + "ute.v1.AggregatedListVpnGatewaysRequest\032" + + "1.google.cloud.compute.v1.VpnGatewayAggr" + + "egatedList\"G\332A\007project\202\323\344\223\0027\0225/compute/v" + + "1/projects/{project}/aggregated/vpnGatew" + + "ays\022\342\001\n\006Delete\0220.google.cloud.compute.v1" + + ".DeleteVpnGatewayRequest\032\".google.cloud." + + "compute.v1.Operation\"\201\001\332A\032project,region" + + ",vpn_gateway\212N\020RegionOperations\202\323\344\223\002K*I/" + + "compute/v1/projects/{project}/regions/{r" + + "egion}/vpnGateways/{vpn_gateway}\022\311\001\n\003Get" + + "\022-.google.cloud.compute.v1.GetVpnGateway" + + "Request\032#.google.cloud.compute.v1.VpnGat" + + "eway\"n\332A\032project,region,vpn_gateway\202\323\344\223\002" + + "K\022I/compute/v1/projects/{project}/region" + + "s/{region}/vpnGateways/{vpn_gateway}\022\361\001\n" + + "\tGetStatus\0223.google.cloud.compute.v1.Get" + + "StatusVpnGatewayRequest\0325.google.cloud.c" + + "ompute.v1.VpnGatewaysGetStatusResponse\"x" + + "\332A\032project,region,vpn_gateway\202\323\344\223\002U\022S/co" + + "mpute/v1/projects/{project}/regions/{reg" + + "ion}/vpnGateways/{vpn_gateway}/getStatus" + + "\022\363\001\n\006Insert\0220.google.cloud.compute.v1.In" + + "sertVpnGatewayRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\222\001\332A#project,region,vp" + + "n_gateway_resource\212N\020RegionOperations\202\323\344" + + "\223\002S\";/compute/v1/projects/{project}/regi" + + "ons/{region}/vpnGateways:\024vpn_gateway_re" + + "source\022\266\001\n\004List\022/.google.cloud.compute.v" + + "1.ListVpnGatewaysRequest\032\'.google.cloud." + + "compute.v1.VpnGatewayList\"T\332A\016project,re" + + "gion\202\323\344\223\002=\022;/compute/v1/projects/{projec" + + "t}/regions/{region}/vpnGateways\022\263\002\n\tSetL" + + "abels\0223.google.cloud.compute.v1.SetLabel" + + "sVpnGatewayRequest\032\".google.cloud.comput" + + "e.v1.Operation\"\314\001\332A:project,region,resou" + + "rce,region_set_labels_request_resource\212N" + + "\020RegionOperations\202\323\344\223\002v\"P/compute/v1/pro" + + "jects/{project}/regions/{region}/vpnGate" + + "ways/{resource}/setLabels:\"region_set_la" + + "bels_request_resource\022\307\002\n\022TestIamPermiss" + + "ions\022<.google.cloud.compute.v1.TestIamPe" + + "rmissionsVpnGatewayRequest\0320.google.clou" + + "d.compute.v1.TestPermissionsResponse\"\300\001\332" + + "A9project,region,resource,test_permissio" + + "ns_request_resource\202\323\344\223\002~\"Y/compute/v1/p" + + "rojects/{project}/regions/{region}/vpnGa" + + "teways/{resource}/testIamPermissions:!te" + + "st_permissions_request_resource\032r\312A\026comp" + + "ute.googleapis.com\322AVhttps://www.googlea" + + "pis.com/auth/compute,https://www.googlea" + + "pis.com/auth/cloud-platform2\312\013\n\nVpnTunne" + + "ls\022\304\001\n\016AggregatedList\0228.google.cloud.com" + + "pute.v1.AggregatedListVpnTunnelsRequest\032" + + "0.google.cloud.compute.v1.VpnTunnelAggre" + + "gatedList\"F\332A\007project\202\323\344\223\0026\0224/compute/v1" + + "/projects/{project}/aggregated/vpnTunnel" + + "s\022\335\001\n\006Delete\022/.google.cloud.compute.v1.D" + + "eleteVpnTunnelRequest\032\".google.cloud.com" + + "pute.v1.Operation\"~\332A\031project,region,vpn" + + "_tunnel\212N\020RegionOperations\202\323\344\223\002I*G/compu" + + "te/v1/projects/{project}/regions/{region" + + "}/vpnTunnels/{vpn_tunnel}\022\304\001\n\003Get\022,.goog" + + "le.cloud.compute.v1.GetVpnTunnelRequest\032" + + "\".google.cloud.compute.v1.VpnTunnel\"k\332A\031" + + "project,region,vpn_tunnel\202\323\344\223\002I\022G/comput" + + "e/v1/projects/{project}/regions/{region}" + + "/vpnTunnels/{vpn_tunnel}\022\357\001\n\006Insert\022/.go" + + "ogle.cloud.compute.v1.InsertVpnTunnelReq" + "uest\032\".google.cloud.compute.v1.Operation" - + "\"h\332A\026project,zone,operation\202\323\344\223\002I\"G/comp" - + "ute/v1/projects/{project}/zones/{zone}/o" - + "perations/{operation}/wait\032r\312A\026compute.g" - + "oogleapis.com\322AVhttps://www.googleapis.c" - + "om/auth/compute,https://www.googleapis.c" - + "om/auth/cloud-platform2\321\003\n\005Zones\022\221\001\n\003Get" - + "\022\'.google.cloud.compute.v1.GetZoneReques" - + "t\032\035.google.cloud.compute.v1.Zone\"B\332A\014pro" - + "ject,zone\202\323\344\223\002-\022+/compute/v1/projects/{p" - + "roject}/zones/{zone}\022\214\001\n\004List\022).google.c" - + "loud.compute.v1.ListZonesRequest\032!.googl" - + "e.cloud.compute.v1.ZoneList\"6\332A\007project\202" - + "\323\344\223\002&\022$/compute/v1/projects/{project}/zo" - + "nes\032\244\001\312A\026compute.googleapis.com\322A\207\001https" - + "://www.googleapis.com/auth/compute.reado" - + "nly,https://www.googleapis.com/auth/comp" - + "ute,https://www.googleapis.com/auth/clou" - + "d-platformB\247\001\n\033com.google.cloud.compute." - + "v1P\001Z5cloud.google.com/go/compute/apiv1/" - + "computepb;computepb\252\002\027Google.Cloud.Compu" - + "te.V1\312\002\027Google\\Cloud\\Compute\\V1\352\002\032Google" - + "::Cloud::Compute::V1b\006proto3" + + "\"\217\001\332A\"project,region,vpn_tunnel_resource" + + "\212N\020RegionOperations\202\323\344\223\002Q\":/compute/v1/p" + + "rojects/{project}/regions/{region}/vpnTu" + + "nnels:\023vpn_tunnel_resource\022\263\001\n\004List\022..go" + + "ogle.cloud.compute.v1.ListVpnTunnelsRequ" + + "est\032&.google.cloud.compute.v1.VpnTunnelL" + + "ist\"S\332A\016project,region\202\323\344\223\002<\022:/compute/v" + + "1/projects/{project}/regions/{region}/vp" + + "nTunnels\022\261\002\n\tSetLabels\0222.google.cloud.co" + + "mpute.v1.SetLabelsVpnTunnelRequest\032\".goo" + + "gle.cloud.compute.v1.Operation\"\313\001\332A:proj" + + "ect,region,resource,region_set_labels_re" + + "quest_resource\212N\020RegionOperations\202\323\344\223\002u\"" + + "O/compute/v1/projects/{project}/regions/" + + "{region}/vpnTunnels/{resource}/setLabels" + + ":\"region_set_labels_request_resource\032r\312A" + + "\026compute.googleapis.com\322AVhttps://www.go" + + "ogleapis.com/auth/compute,https://www.go" + + "ogleapis.com/auth/cloud-platform2\243\007\n\016Zon" + + "eOperations\022\330\001\n\006Delete\0223.google.cloud.co" + + "mpute.v1.DeleteZoneOperationRequest\0324.go" + + "ogle.cloud.compute.v1.DeleteZoneOperatio" + + "nResponse\"c\332A\026project,zone,operation\202\323\344\223" + + "\002D*B/compute/v1/projects/{project}/zones" + + "/{zone}/operations/{operation}\022\303\001\n\003Get\0220" + + ".google.cloud.compute.v1.GetZoneOperatio" + + "nRequest\032\".google.cloud.compute.v1.Opera" + + "tion\"f\332A\026project,zone,operation\220N\001\202\323\344\223\002D" + + "\022B/compute/v1/projects/{project}/zones/{" + + "zone}/operations/{operation}\022\261\001\n\004List\0222." + + "google.cloud.compute.v1.ListZoneOperatio" + + "nsRequest\032&.google.cloud.compute.v1.Oper" + + "ationList\"M\332A\014project,zone\202\323\344\223\0028\0226/compu" + + "te/v1/projects/{project}/zones/{zone}/op" + + "erations\022\307\001\n\004Wait\0221.google.cloud.compute" + + ".v1.WaitZoneOperationRequest\032\".google.cl" + + "oud.compute.v1.Operation\"h\332A\026project,zon" + + "e,operation\202\323\344\223\002I\"G/compute/v1/projects/" + + "{project}/zones/{zone}/operations/{opera" + + "tion}/wait\032r\312A\026compute.googleapis.com\322AV" + + "https://www.googleapis.com/auth/compute," + + "https://www.googleapis.com/auth/cloud-pl" + + "atform2\321\003\n\005Zones\022\221\001\n\003Get\022\'.google.cloud." + + "compute.v1.GetZoneRequest\032\035.google.cloud" + + ".compute.v1.Zone\"B\332A\014project,zone\202\323\344\223\002-\022" + + "+/compute/v1/projects/{project}/zones/{z" + + "one}\022\214\001\n\004List\022).google.cloud.compute.v1." + + "ListZonesRequest\032!.google.cloud.compute." + + "v1.ZoneList\"6\332A\007project\202\323\344\223\002&\022$/compute/" + + "v1/projects/{project}/zones\032\244\001\312A\026compute" + + ".googleapis.com\322A\207\001https://www.googleapi" + + "s.com/auth/compute.readonly,https://www." + + "googleapis.com/auth/compute,https://www." + + "googleapis.com/auth/cloud-platformB\247\001\n\033c" + + "om.google.cloud.compute.v1P\001Z5cloud.goog" + + "le.com/go/compute/apiv1/computepb;comput" + + "epb\252\002\027Google.Cloud.Compute.V1\312\002\027Google\\C" + + "loud\\Compute\\V1\352\002\032Google::Cloud::Compute" + + "::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -23197,8 +23934,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", "ServiceProjectNumber", }); - internal_static_google_cloud_compute_v1_AggregatedListSubnetworksRequest_descriptor = + internal_static_google_cloud_compute_v1_AggregatedListStoragePoolTypesRequest_descriptor = getDescriptor().getMessageTypes().get(66); + internal_static_google_cloud_compute_v1_AggregatedListStoragePoolTypesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_AggregatedListStoragePoolTypesRequest_descriptor, + new java.lang.String[] { + "Filter", + "IncludeAllScopes", + "MaxResults", + "OrderBy", + "PageToken", + "Project", + "ReturnPartialSuccess", + "ServiceProjectNumber", + }); + internal_static_google_cloud_compute_v1_AggregatedListStoragePoolsRequest_descriptor = + getDescriptor().getMessageTypes().get(67); + internal_static_google_cloud_compute_v1_AggregatedListStoragePoolsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_AggregatedListStoragePoolsRequest_descriptor, + new java.lang.String[] { + "Filter", + "IncludeAllScopes", + "MaxResults", + "OrderBy", + "PageToken", + "Project", + "ReturnPartialSuccess", + "ServiceProjectNumber", + }); + internal_static_google_cloud_compute_v1_AggregatedListSubnetworksRequest_descriptor = + getDescriptor().getMessageTypes().get(68); internal_static_google_cloud_compute_v1_AggregatedListSubnetworksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListSubnetworksRequest_descriptor, @@ -23213,7 +23980,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ServiceProjectNumber", }); internal_static_google_cloud_compute_v1_AggregatedListTargetHttpProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(67); + getDescriptor().getMessageTypes().get(69); internal_static_google_cloud_compute_v1_AggregatedListTargetHttpProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListTargetHttpProxiesRequest_descriptor, @@ -23228,7 +23995,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ServiceProjectNumber", }); internal_static_google_cloud_compute_v1_AggregatedListTargetHttpsProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(68); + getDescriptor().getMessageTypes().get(70); internal_static_google_cloud_compute_v1_AggregatedListTargetHttpsProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListTargetHttpsProxiesRequest_descriptor, @@ -23243,7 +24010,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ServiceProjectNumber", }); internal_static_google_cloud_compute_v1_AggregatedListTargetInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(69); + getDescriptor().getMessageTypes().get(71); internal_static_google_cloud_compute_v1_AggregatedListTargetInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListTargetInstancesRequest_descriptor, @@ -23258,7 +24025,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ServiceProjectNumber", }); internal_static_google_cloud_compute_v1_AggregatedListTargetPoolsRequest_descriptor = - getDescriptor().getMessageTypes().get(70); + getDescriptor().getMessageTypes().get(72); internal_static_google_cloud_compute_v1_AggregatedListTargetPoolsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListTargetPoolsRequest_descriptor, @@ -23273,7 +24040,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ServiceProjectNumber", }); internal_static_google_cloud_compute_v1_AggregatedListTargetTcpProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(71); + getDescriptor().getMessageTypes().get(73); internal_static_google_cloud_compute_v1_AggregatedListTargetTcpProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListTargetTcpProxiesRequest_descriptor, @@ -23288,7 +24055,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ServiceProjectNumber", }); internal_static_google_cloud_compute_v1_AggregatedListTargetVpnGatewaysRequest_descriptor = - getDescriptor().getMessageTypes().get(72); + getDescriptor().getMessageTypes().get(74); internal_static_google_cloud_compute_v1_AggregatedListTargetVpnGatewaysRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListTargetVpnGatewaysRequest_descriptor, @@ -23303,7 +24070,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ServiceProjectNumber", }); internal_static_google_cloud_compute_v1_AggregatedListUrlMapsRequest_descriptor = - getDescriptor().getMessageTypes().get(73); + getDescriptor().getMessageTypes().get(75); internal_static_google_cloud_compute_v1_AggregatedListUrlMapsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListUrlMapsRequest_descriptor, @@ -23318,7 +24085,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ServiceProjectNumber", }); internal_static_google_cloud_compute_v1_AggregatedListVpnGatewaysRequest_descriptor = - getDescriptor().getMessageTypes().get(74); + getDescriptor().getMessageTypes().get(76); internal_static_google_cloud_compute_v1_AggregatedListVpnGatewaysRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListVpnGatewaysRequest_descriptor, @@ -23333,7 +24100,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ServiceProjectNumber", }); internal_static_google_cloud_compute_v1_AggregatedListVpnTunnelsRequest_descriptor = - getDescriptor().getMessageTypes().get(75); + getDescriptor().getMessageTypes().get(77); internal_static_google_cloud_compute_v1_AggregatedListVpnTunnelsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListVpnTunnelsRequest_descriptor, @@ -23348,7 +24115,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ServiceProjectNumber", }); internal_static_google_cloud_compute_v1_AliasIpRange_descriptor = - getDescriptor().getMessageTypes().get(76); + getDescriptor().getMessageTypes().get(78); internal_static_google_cloud_compute_v1_AliasIpRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AliasIpRange_descriptor, @@ -23356,7 +24123,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IpCidrRange", "SubnetworkRangeName", }); internal_static_google_cloud_compute_v1_AllocationAggregateReservation_descriptor = - getDescriptor().getMessageTypes().get(77); + getDescriptor().getMessageTypes().get(79); internal_static_google_cloud_compute_v1_AllocationAggregateReservation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AllocationAggregateReservation_descriptor, @@ -23364,7 +24131,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InUseResources", "ReservedResources", "VmFamily", "WorkloadType", }); internal_static_google_cloud_compute_v1_AllocationAggregateReservationReservedResourceInfo_descriptor = - getDescriptor().getMessageTypes().get(78); + getDescriptor().getMessageTypes().get(80); internal_static_google_cloud_compute_v1_AllocationAggregateReservationReservedResourceInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AllocationAggregateReservationReservedResourceInfo_descriptor, @@ -23372,7 +24139,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Accelerator", }); internal_static_google_cloud_compute_v1_AllocationAggregateReservationReservedResourceInfoAccelerator_descriptor = - getDescriptor().getMessageTypes().get(79); + getDescriptor().getMessageTypes().get(81); internal_static_google_cloud_compute_v1_AllocationAggregateReservationReservedResourceInfoAccelerator_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AllocationAggregateReservationReservedResourceInfoAccelerator_descriptor, @@ -23380,7 +24147,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AcceleratorCount", "AcceleratorType", }); internal_static_google_cloud_compute_v1_AllocationResourceStatus_descriptor = - getDescriptor().getMessageTypes().get(80); + getDescriptor().getMessageTypes().get(82); internal_static_google_cloud_compute_v1_AllocationResourceStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AllocationResourceStatus_descriptor, @@ -23388,7 +24155,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SpecificSkuAllocation", }); internal_static_google_cloud_compute_v1_AllocationResourceStatusSpecificSKUAllocation_descriptor = - getDescriptor().getMessageTypes().get(81); + getDescriptor().getMessageTypes().get(83); internal_static_google_cloud_compute_v1_AllocationResourceStatusSpecificSKUAllocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AllocationResourceStatusSpecificSKUAllocation_descriptor, @@ -23396,7 +24163,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SourceInstanceTemplateId", }); internal_static_google_cloud_compute_v1_AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk_descriptor = - getDescriptor().getMessageTypes().get(82); + getDescriptor().getMessageTypes().get(84); internal_static_google_cloud_compute_v1_AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk_descriptor, @@ -23404,7 +24171,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DiskSizeGb", "Interface", }); internal_static_google_cloud_compute_v1_AllocationSpecificSKUAllocationReservedInstanceProperties_descriptor = - getDescriptor().getMessageTypes().get(83); + getDescriptor().getMessageTypes().get(85); internal_static_google_cloud_compute_v1_AllocationSpecificSKUAllocationReservedInstanceProperties_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AllocationSpecificSKUAllocationReservedInstanceProperties_descriptor, @@ -23412,7 +24179,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "GuestAccelerators", "LocalSsds", "LocationHint", "MachineType", "MinCpuPlatform", }); internal_static_google_cloud_compute_v1_AllocationSpecificSKUReservation_descriptor = - getDescriptor().getMessageTypes().get(84); + getDescriptor().getMessageTypes().get(86); internal_static_google_cloud_compute_v1_AllocationSpecificSKUReservation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AllocationSpecificSKUReservation_descriptor, @@ -23420,7 +24187,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AssuredCount", "Count", "InUseCount", "InstanceProperties", "SourceInstanceTemplate", }); internal_static_google_cloud_compute_v1_Allowed_descriptor = - getDescriptor().getMessageTypes().get(85); + getDescriptor().getMessageTypes().get(87); internal_static_google_cloud_compute_v1_Allowed_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Allowed_descriptor, @@ -23428,7 +24195,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IPProtocol", "Ports", }); internal_static_google_cloud_compute_v1_AnnouncePublicAdvertisedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(86); + getDescriptor().getMessageTypes().get(88); internal_static_google_cloud_compute_v1_AnnouncePublicAdvertisedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AnnouncePublicAdvertisedPrefixeRequest_descriptor, @@ -23436,7 +24203,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PublicAdvertisedPrefix", "RequestId", }); internal_static_google_cloud_compute_v1_AnnouncePublicDelegatedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(87); + getDescriptor().getMessageTypes().get(89); internal_static_google_cloud_compute_v1_AnnouncePublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AnnouncePublicDelegatedPrefixeRequest_descriptor, @@ -23444,7 +24211,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PublicDelegatedPrefix", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_ApplyUpdatesToInstancesInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(88); + getDescriptor().getMessageTypes().get(90); internal_static_google_cloud_compute_v1_ApplyUpdatesToInstancesInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ApplyUpdatesToInstancesInstanceGroupManagerRequest_descriptor, @@ -23455,7 +24222,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Zone", }); internal_static_google_cloud_compute_v1_ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(89); + getDescriptor().getMessageTypes().get(91); internal_static_google_cloud_compute_v1_ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest_descriptor, @@ -23466,7 +24233,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RegionInstanceGroupManagersApplyUpdatesRequestResource", }); internal_static_google_cloud_compute_v1_AttachDiskInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(90); + getDescriptor().getMessageTypes().get(92); internal_static_google_cloud_compute_v1_AttachDiskInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AttachDiskInstanceRequest_descriptor, @@ -23474,7 +24241,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AttachedDiskResource", "ForceAttach", "Instance", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(91); + getDescriptor().getMessageTypes().get(93); internal_static_google_cloud_compute_v1_AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest_descriptor, @@ -23485,7 +24252,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_AttachNetworkEndpointsNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(92); + getDescriptor().getMessageTypes().get(94); internal_static_google_cloud_compute_v1_AttachNetworkEndpointsNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AttachNetworkEndpointsNetworkEndpointGroupRequest_descriptor, @@ -23497,7 +24264,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Zone", }); internal_static_google_cloud_compute_v1_AttachNetworkEndpointsRegionNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(93); + getDescriptor().getMessageTypes().get(95); internal_static_google_cloud_compute_v1_AttachNetworkEndpointsRegionNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AttachNetworkEndpointsRegionNetworkEndpointGroupRequest_descriptor, @@ -23509,7 +24276,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_AttachedDisk_descriptor = - getDescriptor().getMessageTypes().get(94); + getDescriptor().getMessageTypes().get(96); internal_static_google_cloud_compute_v1_AttachedDisk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AttachedDisk_descriptor, @@ -23534,7 +24301,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Type", }); internal_static_google_cloud_compute_v1_AttachedDiskInitializeParams_descriptor = - getDescriptor().getMessageTypes().get(95); + getDescriptor().getMessageTypes().get(97); internal_static_google_cloud_compute_v1_AttachedDiskInitializeParams_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AttachedDiskInitializeParams_descriptor, @@ -23557,6 +24324,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SourceImageEncryptionKey", "SourceSnapshot", "SourceSnapshotEncryptionKey", + "StoragePool", }); internal_static_google_cloud_compute_v1_AttachedDiskInitializeParams_LabelsEntry_descriptor = internal_static_google_cloud_compute_v1_AttachedDiskInitializeParams_descriptor @@ -23579,7 +24347,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_AuditConfig_descriptor = - getDescriptor().getMessageTypes().get(96); + getDescriptor().getMessageTypes().get(98); internal_static_google_cloud_compute_v1_AuditConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AuditConfig_descriptor, @@ -23587,7 +24355,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AuditLogConfigs", "ExemptedMembers", "Service", }); internal_static_google_cloud_compute_v1_AuditLogConfig_descriptor = - getDescriptor().getMessageTypes().get(97); + getDescriptor().getMessageTypes().get(99); internal_static_google_cloud_compute_v1_AuditLogConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AuditLogConfig_descriptor, @@ -23595,7 +24363,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ExemptedMembers", "IgnoreChildExemptions", "LogType", }); internal_static_google_cloud_compute_v1_AuthorizationLoggingOptions_descriptor = - getDescriptor().getMessageTypes().get(98); + getDescriptor().getMessageTypes().get(100); internal_static_google_cloud_compute_v1_AuthorizationLoggingOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AuthorizationLoggingOptions_descriptor, @@ -23603,7 +24371,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PermissionType", }); internal_static_google_cloud_compute_v1_Autoscaler_descriptor = - getDescriptor().getMessageTypes().get(99); + getDescriptor().getMessageTypes().get(101); internal_static_google_cloud_compute_v1_Autoscaler_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Autoscaler_descriptor, @@ -23632,7 +24400,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_AutoscalerAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(100); + getDescriptor().getMessageTypes().get(102); internal_static_google_cloud_compute_v1_AutoscalerAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalerAggregatedList_descriptor, @@ -23650,7 +24418,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_AutoscalerList_descriptor = - getDescriptor().getMessageTypes().get(101); + getDescriptor().getMessageTypes().get(103); internal_static_google_cloud_compute_v1_AutoscalerList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalerList_descriptor, @@ -23658,7 +24426,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_AutoscalerStatusDetails_descriptor = - getDescriptor().getMessageTypes().get(102); + getDescriptor().getMessageTypes().get(104); internal_static_google_cloud_compute_v1_AutoscalerStatusDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalerStatusDetails_descriptor, @@ -23666,7 +24434,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Message", "Type", }); internal_static_google_cloud_compute_v1_AutoscalersScopedList_descriptor = - getDescriptor().getMessageTypes().get(103); + getDescriptor().getMessageTypes().get(105); internal_static_google_cloud_compute_v1_AutoscalersScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalersScopedList_descriptor, @@ -23674,7 +24442,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Autoscalers", "Warning", }); internal_static_google_cloud_compute_v1_AutoscalingPolicy_descriptor = - getDescriptor().getMessageTypes().get(104); + getDescriptor().getMessageTypes().get(106); internal_static_google_cloud_compute_v1_AutoscalingPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalingPolicy_descriptor, @@ -23700,7 +24468,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_AutoscalingPolicyCpuUtilization_descriptor = - getDescriptor().getMessageTypes().get(105); + getDescriptor().getMessageTypes().get(107); internal_static_google_cloud_compute_v1_AutoscalingPolicyCpuUtilization_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalingPolicyCpuUtilization_descriptor, @@ -23708,7 +24476,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PredictiveMethod", "UtilizationTarget", }); internal_static_google_cloud_compute_v1_AutoscalingPolicyCustomMetricUtilization_descriptor = - getDescriptor().getMessageTypes().get(106); + getDescriptor().getMessageTypes().get(108); internal_static_google_cloud_compute_v1_AutoscalingPolicyCustomMetricUtilization_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalingPolicyCustomMetricUtilization_descriptor, @@ -23720,7 +24488,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UtilizationTargetType", }); internal_static_google_cloud_compute_v1_AutoscalingPolicyLoadBalancingUtilization_descriptor = - getDescriptor().getMessageTypes().get(107); + getDescriptor().getMessageTypes().get(109); internal_static_google_cloud_compute_v1_AutoscalingPolicyLoadBalancingUtilization_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalingPolicyLoadBalancingUtilization_descriptor, @@ -23728,7 +24496,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UtilizationTarget", }); internal_static_google_cloud_compute_v1_AutoscalingPolicyScaleInControl_descriptor = - getDescriptor().getMessageTypes().get(108); + getDescriptor().getMessageTypes().get(110); internal_static_google_cloud_compute_v1_AutoscalingPolicyScaleInControl_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalingPolicyScaleInControl_descriptor, @@ -23736,7 +24504,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MaxScaledInReplicas", "TimeWindowSec", }); internal_static_google_cloud_compute_v1_AutoscalingPolicyScalingSchedule_descriptor = - getDescriptor().getMessageTypes().get(109); + getDescriptor().getMessageTypes().get(111); internal_static_google_cloud_compute_v1_AutoscalingPolicyScalingSchedule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalingPolicyScalingSchedule_descriptor, @@ -23749,7 +24517,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "TimeZone", }); internal_static_google_cloud_compute_v1_Backend_descriptor = - getDescriptor().getMessageTypes().get(110); + getDescriptor().getMessageTypes().get(112); internal_static_google_cloud_compute_v1_Backend_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Backend_descriptor, @@ -23769,7 +24537,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Preference", }); internal_static_google_cloud_compute_v1_BackendBucket_descriptor = - getDescriptor().getMessageTypes().get(111); + getDescriptor().getMessageTypes().get(113); internal_static_google_cloud_compute_v1_BackendBucket_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendBucket_descriptor, @@ -23788,7 +24556,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SelfLink", }); internal_static_google_cloud_compute_v1_BackendBucketCdnPolicy_descriptor = - getDescriptor().getMessageTypes().get(112); + getDescriptor().getMessageTypes().get(114); internal_static_google_cloud_compute_v1_BackendBucketCdnPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendBucketCdnPolicy_descriptor, @@ -23807,7 +24575,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SignedUrlKeyNames", }); internal_static_google_cloud_compute_v1_BackendBucketCdnPolicyBypassCacheOnRequestHeader_descriptor = - getDescriptor().getMessageTypes().get(113); + getDescriptor().getMessageTypes().get(115); internal_static_google_cloud_compute_v1_BackendBucketCdnPolicyBypassCacheOnRequestHeader_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendBucketCdnPolicyBypassCacheOnRequestHeader_descriptor, @@ -23815,7 +24583,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "HeaderName", }); internal_static_google_cloud_compute_v1_BackendBucketCdnPolicyCacheKeyPolicy_descriptor = - getDescriptor().getMessageTypes().get(114); + getDescriptor().getMessageTypes().get(116); internal_static_google_cloud_compute_v1_BackendBucketCdnPolicyCacheKeyPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendBucketCdnPolicyCacheKeyPolicy_descriptor, @@ -23823,7 +24591,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IncludeHttpHeaders", "QueryStringWhitelist", }); internal_static_google_cloud_compute_v1_BackendBucketCdnPolicyNegativeCachingPolicy_descriptor = - getDescriptor().getMessageTypes().get(115); + getDescriptor().getMessageTypes().get(117); internal_static_google_cloud_compute_v1_BackendBucketCdnPolicyNegativeCachingPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendBucketCdnPolicyNegativeCachingPolicy_descriptor, @@ -23831,7 +24599,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Code", "Ttl", }); internal_static_google_cloud_compute_v1_BackendBucketList_descriptor = - getDescriptor().getMessageTypes().get(116); + getDescriptor().getMessageTypes().get(118); internal_static_google_cloud_compute_v1_BackendBucketList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendBucketList_descriptor, @@ -23839,7 +24607,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_BackendService_descriptor = - getDescriptor().getMessageTypes().get(117); + getDescriptor().getMessageTypes().get(119); internal_static_google_cloud_compute_v1_BackendService_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendService_descriptor, @@ -23896,7 +24664,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_BackendServiceAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(118); + getDescriptor().getMessageTypes().get(120); internal_static_google_cloud_compute_v1_BackendServiceAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceAggregatedList_descriptor, @@ -23914,7 +24682,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_BackendServiceCdnPolicy_descriptor = - getDescriptor().getMessageTypes().get(119); + getDescriptor().getMessageTypes().get(121); internal_static_google_cloud_compute_v1_BackendServiceCdnPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceCdnPolicy_descriptor, @@ -23933,7 +24701,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SignedUrlKeyNames", }); internal_static_google_cloud_compute_v1_BackendServiceCdnPolicyBypassCacheOnRequestHeader_descriptor = - getDescriptor().getMessageTypes().get(120); + getDescriptor().getMessageTypes().get(122); internal_static_google_cloud_compute_v1_BackendServiceCdnPolicyBypassCacheOnRequestHeader_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceCdnPolicyBypassCacheOnRequestHeader_descriptor, @@ -23941,7 +24709,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "HeaderName", }); internal_static_google_cloud_compute_v1_BackendServiceCdnPolicyNegativeCachingPolicy_descriptor = - getDescriptor().getMessageTypes().get(121); + getDescriptor().getMessageTypes().get(123); internal_static_google_cloud_compute_v1_BackendServiceCdnPolicyNegativeCachingPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceCdnPolicyNegativeCachingPolicy_descriptor, @@ -23949,7 +24717,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Code", "Ttl", }); internal_static_google_cloud_compute_v1_BackendServiceConnectionTrackingPolicy_descriptor = - getDescriptor().getMessageTypes().get(122); + getDescriptor().getMessageTypes().get(124); internal_static_google_cloud_compute_v1_BackendServiceConnectionTrackingPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceConnectionTrackingPolicy_descriptor, @@ -23960,7 +24728,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "TrackingMode", }); internal_static_google_cloud_compute_v1_BackendServiceFailoverPolicy_descriptor = - getDescriptor().getMessageTypes().get(123); + getDescriptor().getMessageTypes().get(125); internal_static_google_cloud_compute_v1_BackendServiceFailoverPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceFailoverPolicy_descriptor, @@ -23968,7 +24736,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DisableConnectionDrainOnFailover", "DropTrafficIfUnhealthy", "FailoverRatio", }); internal_static_google_cloud_compute_v1_BackendServiceGroupHealth_descriptor = - getDescriptor().getMessageTypes().get(124); + getDescriptor().getMessageTypes().get(126); internal_static_google_cloud_compute_v1_BackendServiceGroupHealth_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceGroupHealth_descriptor, @@ -23986,7 +24754,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_BackendServiceIAP_descriptor = - getDescriptor().getMessageTypes().get(125); + getDescriptor().getMessageTypes().get(127); internal_static_google_cloud_compute_v1_BackendServiceIAP_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceIAP_descriptor, @@ -23994,7 +24762,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Enabled", "Oauth2ClientId", "Oauth2ClientSecret", "Oauth2ClientSecretSha256", }); internal_static_google_cloud_compute_v1_BackendServiceList_descriptor = - getDescriptor().getMessageTypes().get(126); + getDescriptor().getMessageTypes().get(128); internal_static_google_cloud_compute_v1_BackendServiceList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceList_descriptor, @@ -24002,7 +24770,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_BackendServiceListUsable_descriptor = - getDescriptor().getMessageTypes().get(127); + getDescriptor().getMessageTypes().get(129); internal_static_google_cloud_compute_v1_BackendServiceListUsable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceListUsable_descriptor, @@ -24010,7 +24778,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfig_descriptor = - getDescriptor().getMessageTypes().get(128); + getDescriptor().getMessageTypes().get(130); internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfig_descriptor, @@ -24018,7 +24786,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "CustomPolicy", "Policy", }); internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_descriptor = - getDescriptor().getMessageTypes().get(129); + getDescriptor().getMessageTypes().get(131); internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_descriptor, @@ -24026,7 +24794,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Data", "Name", }); internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_descriptor = - getDescriptor().getMessageTypes().get(130); + getDescriptor().getMessageTypes().get(132); internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_descriptor, @@ -24034,7 +24802,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_compute_v1_BackendServiceLogConfig_descriptor = - getDescriptor().getMessageTypes().get(131); + getDescriptor().getMessageTypes().get(133); internal_static_google_cloud_compute_v1_BackendServiceLogConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceLogConfig_descriptor, @@ -24042,7 +24810,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Enable", "OptionalFields", "OptionalMode", "SampleRate", }); internal_static_google_cloud_compute_v1_BackendServiceReference_descriptor = - getDescriptor().getMessageTypes().get(132); + getDescriptor().getMessageTypes().get(134); internal_static_google_cloud_compute_v1_BackendServiceReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceReference_descriptor, @@ -24050,7 +24818,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendService", }); internal_static_google_cloud_compute_v1_BackendServiceUsedBy_descriptor = - getDescriptor().getMessageTypes().get(133); + getDescriptor().getMessageTypes().get(135); internal_static_google_cloud_compute_v1_BackendServiceUsedBy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceUsedBy_descriptor, @@ -24058,7 +24826,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Reference", }); internal_static_google_cloud_compute_v1_BackendServicesScopedList_descriptor = - getDescriptor().getMessageTypes().get(134); + getDescriptor().getMessageTypes().get(136); internal_static_google_cloud_compute_v1_BackendServicesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServicesScopedList_descriptor, @@ -24066,7 +24834,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendServices", "Warning", }); internal_static_google_cloud_compute_v1_BfdPacket_descriptor = - getDescriptor().getMessageTypes().get(135); + getDescriptor().getMessageTypes().get(137); internal_static_google_cloud_compute_v1_BfdPacket_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BfdPacket_descriptor, @@ -24089,7 +24857,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "YourDiscriminator", }); internal_static_google_cloud_compute_v1_BfdStatus_descriptor = - getDescriptor().getMessageTypes().get(136); + getDescriptor().getMessageTypes().get(138); internal_static_google_cloud_compute_v1_BfdStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BfdStatus_descriptor, @@ -24106,7 +24874,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UptimeMs", }); internal_static_google_cloud_compute_v1_BfdStatusPacketCounts_descriptor = - getDescriptor().getMessageTypes().get(137); + getDescriptor().getMessageTypes().get(139); internal_static_google_cloud_compute_v1_BfdStatusPacketCounts_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BfdStatusPacketCounts_descriptor, @@ -24114,7 +24882,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NumRx", "NumRxRejected", "NumRxSuccessful", "NumTx", }); internal_static_google_cloud_compute_v1_Binding_descriptor = - getDescriptor().getMessageTypes().get(138); + getDescriptor().getMessageTypes().get(140); internal_static_google_cloud_compute_v1_Binding_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Binding_descriptor, @@ -24122,7 +24890,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BindingId", "Condition", "Members", "Role", }); internal_static_google_cloud_compute_v1_BulkInsertDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(139); + getDescriptor().getMessageTypes().get(141); internal_static_google_cloud_compute_v1_BulkInsertDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BulkInsertDiskRequest_descriptor, @@ -24130,7 +24898,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BulkInsertDiskResourceResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_BulkInsertDiskResource_descriptor = - getDescriptor().getMessageTypes().get(140); + getDescriptor().getMessageTypes().get(142); internal_static_google_cloud_compute_v1_BulkInsertDiskResource_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BulkInsertDiskResource_descriptor, @@ -24138,7 +24906,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SourceConsistencyGroupPolicy", }); internal_static_google_cloud_compute_v1_BulkInsertInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(141); + getDescriptor().getMessageTypes().get(143); internal_static_google_cloud_compute_v1_BulkInsertInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BulkInsertInstanceRequest_descriptor, @@ -24146,7 +24914,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BulkInsertInstanceResourceResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_BulkInsertInstanceResource_descriptor = - getDescriptor().getMessageTypes().get(142); + getDescriptor().getMessageTypes().get(144); internal_static_google_cloud_compute_v1_BulkInsertInstanceResource_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BulkInsertInstanceResource_descriptor, @@ -24170,7 +24938,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_BulkInsertInstanceResourcePerInstanceProperties_descriptor = - getDescriptor().getMessageTypes().get(143); + getDescriptor().getMessageTypes().get(145); internal_static_google_cloud_compute_v1_BulkInsertInstanceResourcePerInstanceProperties_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BulkInsertInstanceResourcePerInstanceProperties_descriptor, @@ -24178,7 +24946,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Hostname", "Name", }); internal_static_google_cloud_compute_v1_BulkInsertOperationStatus_descriptor = - getDescriptor().getMessageTypes().get(144); + getDescriptor().getMessageTypes().get(146); internal_static_google_cloud_compute_v1_BulkInsertOperationStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BulkInsertOperationStatus_descriptor, @@ -24190,7 +24958,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "TargetVmCount", }); internal_static_google_cloud_compute_v1_BulkInsertRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(145); + getDescriptor().getMessageTypes().get(147); internal_static_google_cloud_compute_v1_BulkInsertRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BulkInsertRegionDiskRequest_descriptor, @@ -24198,7 +24966,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BulkInsertDiskResourceResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_BulkInsertRegionInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(146); + getDescriptor().getMessageTypes().get(148); internal_static_google_cloud_compute_v1_BulkInsertRegionInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BulkInsertRegionInstanceRequest_descriptor, @@ -24206,7 +24974,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BulkInsertInstanceResourceResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_CacheInvalidationRule_descriptor = - getDescriptor().getMessageTypes().get(147); + getDescriptor().getMessageTypes().get(149); internal_static_google_cloud_compute_v1_CacheInvalidationRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CacheInvalidationRule_descriptor, @@ -24214,7 +24982,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Host", "Path", }); internal_static_google_cloud_compute_v1_CacheKeyPolicy_descriptor = - getDescriptor().getMessageTypes().get(148); + getDescriptor().getMessageTypes().get(150); internal_static_google_cloud_compute_v1_CacheKeyPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CacheKeyPolicy_descriptor, @@ -24227,8 +24995,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "QueryStringBlacklist", "QueryStringWhitelist", }); + internal_static_google_cloud_compute_v1_CancelInstanceGroupManagerResizeRequestRequest_descriptor = + getDescriptor().getMessageTypes().get(151); + internal_static_google_cloud_compute_v1_CancelInstanceGroupManagerResizeRequestRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_CancelInstanceGroupManagerResizeRequestRequest_descriptor, + new java.lang.String[] { + "InstanceGroupManager", "Project", "RequestId", "ResizeRequest", "Zone", + }); internal_static_google_cloud_compute_v1_CircuitBreakers_descriptor = - getDescriptor().getMessageTypes().get(149); + getDescriptor().getMessageTypes().get(152); internal_static_google_cloud_compute_v1_CircuitBreakers_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CircuitBreakers_descriptor, @@ -24240,7 +25016,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MaxRetries", }); internal_static_google_cloud_compute_v1_CloneRulesFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(150); + getDescriptor().getMessageTypes().get(153); internal_static_google_cloud_compute_v1_CloneRulesFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CloneRulesFirewallPolicyRequest_descriptor, @@ -24248,7 +25024,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FirewallPolicy", "RequestId", "SourceFirewallPolicy", }); internal_static_google_cloud_compute_v1_CloneRulesNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(151); + getDescriptor().getMessageTypes().get(154); internal_static_google_cloud_compute_v1_CloneRulesNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CloneRulesNetworkFirewallPolicyRequest_descriptor, @@ -24256,7 +25032,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FirewallPolicy", "Project", "RequestId", "SourceFirewallPolicy", }); internal_static_google_cloud_compute_v1_CloneRulesRegionNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(152); + getDescriptor().getMessageTypes().get(155); internal_static_google_cloud_compute_v1_CloneRulesRegionNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CloneRulesRegionNetworkFirewallPolicyRequest_descriptor, @@ -24264,7 +25040,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FirewallPolicy", "Project", "Region", "RequestId", "SourceFirewallPolicy", }); internal_static_google_cloud_compute_v1_Commitment_descriptor = - getDescriptor().getMessageTypes().get(153); + getDescriptor().getMessageTypes().get(156); internal_static_google_cloud_compute_v1_Commitment_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Commitment_descriptor, @@ -24292,7 +25068,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Type", }); internal_static_google_cloud_compute_v1_CommitmentAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(154); + getDescriptor().getMessageTypes().get(157); internal_static_google_cloud_compute_v1_CommitmentAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CommitmentAggregatedList_descriptor, @@ -24310,7 +25086,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_CommitmentList_descriptor = - getDescriptor().getMessageTypes().get(155); + getDescriptor().getMessageTypes().get(158); internal_static_google_cloud_compute_v1_CommitmentList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CommitmentList_descriptor, @@ -24318,7 +25094,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_CommitmentsScopedList_descriptor = - getDescriptor().getMessageTypes().get(156); + getDescriptor().getMessageTypes().get(159); internal_static_google_cloud_compute_v1_CommitmentsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CommitmentsScopedList_descriptor, @@ -24326,7 +25102,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Commitments", "Warning", }); internal_static_google_cloud_compute_v1_Condition_descriptor = - getDescriptor().getMessageTypes().get(157); + getDescriptor().getMessageTypes().get(160); internal_static_google_cloud_compute_v1_Condition_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Condition_descriptor, @@ -24334,7 +25110,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Iam", "Op", "Svc", "Sys", "Values", }); internal_static_google_cloud_compute_v1_ConfidentialInstanceConfig_descriptor = - getDescriptor().getMessageTypes().get(158); + getDescriptor().getMessageTypes().get(161); internal_static_google_cloud_compute_v1_ConfidentialInstanceConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ConfidentialInstanceConfig_descriptor, @@ -24342,7 +25118,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "EnableConfidentialCompute", }); internal_static_google_cloud_compute_v1_ConnectionDraining_descriptor = - getDescriptor().getMessageTypes().get(159); + getDescriptor().getMessageTypes().get(162); internal_static_google_cloud_compute_v1_ConnectionDraining_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ConnectionDraining_descriptor, @@ -24350,7 +25126,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DrainingTimeoutSec", }); internal_static_google_cloud_compute_v1_ConsistentHashLoadBalancerSettings_descriptor = - getDescriptor().getMessageTypes().get(160); + getDescriptor().getMessageTypes().get(163); internal_static_google_cloud_compute_v1_ConsistentHashLoadBalancerSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ConsistentHashLoadBalancerSettings_descriptor, @@ -24358,7 +25134,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "HttpCookie", "HttpHeaderName", "MinimumRingSize", }); internal_static_google_cloud_compute_v1_ConsistentHashLoadBalancerSettingsHttpCookie_descriptor = - getDescriptor().getMessageTypes().get(161); + getDescriptor().getMessageTypes().get(164); internal_static_google_cloud_compute_v1_ConsistentHashLoadBalancerSettingsHttpCookie_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ConsistentHashLoadBalancerSettingsHttpCookie_descriptor, @@ -24366,7 +25142,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "Path", "Ttl", }); internal_static_google_cloud_compute_v1_CorsPolicy_descriptor = - getDescriptor().getMessageTypes().get(162); + getDescriptor().getMessageTypes().get(165); internal_static_google_cloud_compute_v1_CorsPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CorsPolicy_descriptor, @@ -24381,7 +25157,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MaxAge", }); internal_static_google_cloud_compute_v1_CreateInstancesInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(163); + getDescriptor().getMessageTypes().get(166); internal_static_google_cloud_compute_v1_CreateInstancesInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CreateInstancesInstanceGroupManagerRequest_descriptor, @@ -24393,7 +25169,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Zone", }); internal_static_google_cloud_compute_v1_CreateInstancesRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(164); + getDescriptor().getMessageTypes().get(167); internal_static_google_cloud_compute_v1_CreateInstancesRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CreateInstancesRegionInstanceGroupManagerRequest_descriptor, @@ -24405,7 +25181,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_CreateSnapshotDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(165); + getDescriptor().getMessageTypes().get(168); internal_static_google_cloud_compute_v1_CreateSnapshotDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CreateSnapshotDiskRequest_descriptor, @@ -24413,7 +25189,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Disk", "GuestFlush", "Project", "RequestId", "SnapshotResource", "Zone", }); internal_static_google_cloud_compute_v1_CreateSnapshotRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(166); + getDescriptor().getMessageTypes().get(169); internal_static_google_cloud_compute_v1_CreateSnapshotRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CreateSnapshotRegionDiskRequest_descriptor, @@ -24421,7 +25197,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Disk", "Project", "Region", "RequestId", "SnapshotResource", }); internal_static_google_cloud_compute_v1_CustomerEncryptionKey_descriptor = - getDescriptor().getMessageTypes().get(167); + getDescriptor().getMessageTypes().get(170); internal_static_google_cloud_compute_v1_CustomerEncryptionKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CustomerEncryptionKey_descriptor, @@ -24429,7 +25205,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "KmsKeyName", "KmsKeyServiceAccount", "RawKey", "RsaEncryptedKey", "Sha256", }); internal_static_google_cloud_compute_v1_CustomerEncryptionKeyProtectedDisk_descriptor = - getDescriptor().getMessageTypes().get(168); + getDescriptor().getMessageTypes().get(171); internal_static_google_cloud_compute_v1_CustomerEncryptionKeyProtectedDisk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CustomerEncryptionKeyProtectedDisk_descriptor, @@ -24437,7 +25213,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DiskEncryptionKey", "Source", }); internal_static_google_cloud_compute_v1_Data_descriptor = - getDescriptor().getMessageTypes().get(169); + getDescriptor().getMessageTypes().get(172); internal_static_google_cloud_compute_v1_Data_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Data_descriptor, @@ -24445,7 +25221,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_DeleteAccessConfigInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(170); + getDescriptor().getMessageTypes().get(173); internal_static_google_cloud_compute_v1_DeleteAccessConfigInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteAccessConfigInstanceRequest_descriptor, @@ -24453,7 +25229,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AccessConfig", "Instance", "NetworkInterface", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_DeleteAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(171); + getDescriptor().getMessageTypes().get(174); internal_static_google_cloud_compute_v1_DeleteAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteAddressRequest_descriptor, @@ -24461,7 +25237,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Address", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(172); + getDescriptor().getMessageTypes().get(175); internal_static_google_cloud_compute_v1_DeleteAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteAutoscalerRequest_descriptor, @@ -24469,7 +25245,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Autoscaler", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_DeleteBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(173); + getDescriptor().getMessageTypes().get(176); internal_static_google_cloud_compute_v1_DeleteBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteBackendBucketRequest_descriptor, @@ -24477,7 +25253,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendBucket", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(174); + getDescriptor().getMessageTypes().get(177); internal_static_google_cloud_compute_v1_DeleteBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteBackendServiceRequest_descriptor, @@ -24485,7 +25261,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendService", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(175); + getDescriptor().getMessageTypes().get(178); internal_static_google_cloud_compute_v1_DeleteDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteDiskRequest_descriptor, @@ -24493,7 +25269,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Disk", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_DeleteExternalVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(176); + getDescriptor().getMessageTypes().get(179); internal_static_google_cloud_compute_v1_DeleteExternalVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteExternalVpnGatewayRequest_descriptor, @@ -24501,7 +25277,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ExternalVpnGateway", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(177); + getDescriptor().getMessageTypes().get(180); internal_static_google_cloud_compute_v1_DeleteFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteFirewallPolicyRequest_descriptor, @@ -24509,7 +25285,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FirewallPolicy", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteFirewallRequest_descriptor = - getDescriptor().getMessageTypes().get(178); + getDescriptor().getMessageTypes().get(181); internal_static_google_cloud_compute_v1_DeleteFirewallRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteFirewallRequest_descriptor, @@ -24517,7 +25293,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Firewall", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(179); + getDescriptor().getMessageTypes().get(182); internal_static_google_cloud_compute_v1_DeleteForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteForwardingRuleRequest_descriptor, @@ -24525,7 +25301,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ForwardingRule", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteGlobalAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(180); + getDescriptor().getMessageTypes().get(183); internal_static_google_cloud_compute_v1_DeleteGlobalAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteGlobalAddressRequest_descriptor, @@ -24533,7 +25309,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Address", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteGlobalForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(181); + getDescriptor().getMessageTypes().get(184); internal_static_google_cloud_compute_v1_DeleteGlobalForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteGlobalForwardingRuleRequest_descriptor, @@ -24541,7 +25317,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ForwardingRule", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteGlobalNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(182); + getDescriptor().getMessageTypes().get(185); internal_static_google_cloud_compute_v1_DeleteGlobalNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteGlobalNetworkEndpointGroupRequest_descriptor, @@ -24549,7 +25325,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkEndpointGroup", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteGlobalOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(183); + getDescriptor().getMessageTypes().get(186); internal_static_google_cloud_compute_v1_DeleteGlobalOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteGlobalOperationRequest_descriptor, @@ -24557,13 +25333,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Operation", "Project", }); internal_static_google_cloud_compute_v1_DeleteGlobalOperationResponse_descriptor = - getDescriptor().getMessageTypes().get(184); + getDescriptor().getMessageTypes().get(187); internal_static_google_cloud_compute_v1_DeleteGlobalOperationResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteGlobalOperationResponse_descriptor, new java.lang.String[] {}); internal_static_google_cloud_compute_v1_DeleteGlobalOrganizationOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(185); + getDescriptor().getMessageTypes().get(188); internal_static_google_cloud_compute_v1_DeleteGlobalOrganizationOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteGlobalOrganizationOperationRequest_descriptor, @@ -24571,13 +25347,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Operation", "ParentId", }); internal_static_google_cloud_compute_v1_DeleteGlobalOrganizationOperationResponse_descriptor = - getDescriptor().getMessageTypes().get(186); + getDescriptor().getMessageTypes().get(189); internal_static_google_cloud_compute_v1_DeleteGlobalOrganizationOperationResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteGlobalOrganizationOperationResponse_descriptor, new java.lang.String[] {}); internal_static_google_cloud_compute_v1_DeleteGlobalPublicDelegatedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(187); + getDescriptor().getMessageTypes().get(190); internal_static_google_cloud_compute_v1_DeleteGlobalPublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteGlobalPublicDelegatedPrefixeRequest_descriptor, @@ -24585,7 +25361,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PublicDelegatedPrefix", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(188); + getDescriptor().getMessageTypes().get(191); internal_static_google_cloud_compute_v1_DeleteHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteHealthCheckRequest_descriptor, @@ -24593,7 +25369,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "HealthCheck", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteImageRequest_descriptor = - getDescriptor().getMessageTypes().get(189); + getDescriptor().getMessageTypes().get(192); internal_static_google_cloud_compute_v1_DeleteImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteImageRequest_descriptor, @@ -24601,15 +25377,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Image", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(190); + getDescriptor().getMessageTypes().get(193); internal_static_google_cloud_compute_v1_DeleteInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteInstanceGroupManagerRequest_descriptor, new java.lang.String[] { "InstanceGroupManager", "Project", "RequestId", "Zone", }); + internal_static_google_cloud_compute_v1_DeleteInstanceGroupManagerResizeRequestRequest_descriptor = + getDescriptor().getMessageTypes().get(194); + internal_static_google_cloud_compute_v1_DeleteInstanceGroupManagerResizeRequestRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_DeleteInstanceGroupManagerResizeRequestRequest_descriptor, + new java.lang.String[] { + "InstanceGroupManager", "Project", "RequestId", "ResizeRequest", "Zone", + }); internal_static_google_cloud_compute_v1_DeleteInstanceGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(191); + getDescriptor().getMessageTypes().get(195); internal_static_google_cloud_compute_v1_DeleteInstanceGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteInstanceGroupRequest_descriptor, @@ -24617,7 +25401,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceGroup", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_DeleteInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(192); + getDescriptor().getMessageTypes().get(196); internal_static_google_cloud_compute_v1_DeleteInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteInstanceRequest_descriptor, @@ -24625,7 +25409,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Instance", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_DeleteInstanceTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(193); + getDescriptor().getMessageTypes().get(197); internal_static_google_cloud_compute_v1_DeleteInstanceTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteInstanceTemplateRequest_descriptor, @@ -24633,7 +25417,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceTemplate", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteInstancesInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(194); + getDescriptor().getMessageTypes().get(198); internal_static_google_cloud_compute_v1_DeleteInstancesInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteInstancesInstanceGroupManagerRequest_descriptor, @@ -24645,7 +25429,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Zone", }); internal_static_google_cloud_compute_v1_DeleteInstancesRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(195); + getDescriptor().getMessageTypes().get(199); internal_static_google_cloud_compute_v1_DeleteInstancesRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteInstancesRegionInstanceGroupManagerRequest_descriptor, @@ -24657,7 +25441,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_DeleteInstantSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(196); + getDescriptor().getMessageTypes().get(200); internal_static_google_cloud_compute_v1_DeleteInstantSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteInstantSnapshotRequest_descriptor, @@ -24665,7 +25449,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstantSnapshot", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_DeleteInterconnectAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(197); + getDescriptor().getMessageTypes().get(201); internal_static_google_cloud_compute_v1_DeleteInterconnectAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteInterconnectAttachmentRequest_descriptor, @@ -24673,7 +25457,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InterconnectAttachment", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteInterconnectRequest_descriptor = - getDescriptor().getMessageTypes().get(198); + getDescriptor().getMessageTypes().get(202); internal_static_google_cloud_compute_v1_DeleteInterconnectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteInterconnectRequest_descriptor, @@ -24681,7 +25465,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Interconnect", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteLicenseRequest_descriptor = - getDescriptor().getMessageTypes().get(199); + getDescriptor().getMessageTypes().get(203); internal_static_google_cloud_compute_v1_DeleteLicenseRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteLicenseRequest_descriptor, @@ -24689,7 +25473,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "License", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteMachineImageRequest_descriptor = - getDescriptor().getMessageTypes().get(200); + getDescriptor().getMessageTypes().get(204); internal_static_google_cloud_compute_v1_DeleteMachineImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteMachineImageRequest_descriptor, @@ -24697,7 +25481,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MachineImage", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteNetworkAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(201); + getDescriptor().getMessageTypes().get(205); internal_static_google_cloud_compute_v1_DeleteNetworkAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteNetworkAttachmentRequest_descriptor, @@ -24705,7 +25489,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkAttachment", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteNetworkEdgeSecurityServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(202); + getDescriptor().getMessageTypes().get(206); internal_static_google_cloud_compute_v1_DeleteNetworkEdgeSecurityServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteNetworkEdgeSecurityServiceRequest_descriptor, @@ -24713,7 +25497,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkEdgeSecurityService", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(203); + getDescriptor().getMessageTypes().get(207); internal_static_google_cloud_compute_v1_DeleteNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteNetworkEndpointGroupRequest_descriptor, @@ -24721,7 +25505,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkEndpointGroup", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_DeleteNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(204); + getDescriptor().getMessageTypes().get(208); internal_static_google_cloud_compute_v1_DeleteNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteNetworkFirewallPolicyRequest_descriptor, @@ -24729,7 +25513,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FirewallPolicy", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(205); + getDescriptor().getMessageTypes().get(209); internal_static_google_cloud_compute_v1_DeleteNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteNetworkRequest_descriptor, @@ -24737,7 +25521,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Network", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(206); + getDescriptor().getMessageTypes().get(210); internal_static_google_cloud_compute_v1_DeleteNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteNodeGroupRequest_descriptor, @@ -24745,7 +25529,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NodeGroup", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_DeleteNodeTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(207); + getDescriptor().getMessageTypes().get(211); internal_static_google_cloud_compute_v1_DeleteNodeTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteNodeTemplateRequest_descriptor, @@ -24753,7 +25537,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NodeTemplate", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteNodesNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(208); + getDescriptor().getMessageTypes().get(212); internal_static_google_cloud_compute_v1_DeleteNodesNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteNodesNodeGroupRequest_descriptor, @@ -24761,7 +25545,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NodeGroup", "NodeGroupsDeleteNodesRequestResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_DeletePacketMirroringRequest_descriptor = - getDescriptor().getMessageTypes().get(209); + getDescriptor().getMessageTypes().get(213); internal_static_google_cloud_compute_v1_DeletePacketMirroringRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeletePacketMirroringRequest_descriptor, @@ -24769,7 +25553,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PacketMirroring", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeletePerInstanceConfigsInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(210); + getDescriptor().getMessageTypes().get(214); internal_static_google_cloud_compute_v1_DeletePerInstanceConfigsInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeletePerInstanceConfigsInstanceGroupManagerRequest_descriptor, @@ -24780,7 +25564,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Zone", }); internal_static_google_cloud_compute_v1_DeletePerInstanceConfigsRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(211); + getDescriptor().getMessageTypes().get(215); internal_static_google_cloud_compute_v1_DeletePerInstanceConfigsRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeletePerInstanceConfigsRegionInstanceGroupManagerRequest_descriptor, @@ -24791,7 +25575,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RegionInstanceGroupManagerDeleteInstanceConfigReqResource", }); internal_static_google_cloud_compute_v1_DeletePublicAdvertisedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(212); + getDescriptor().getMessageTypes().get(216); internal_static_google_cloud_compute_v1_DeletePublicAdvertisedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeletePublicAdvertisedPrefixeRequest_descriptor, @@ -24799,7 +25583,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PublicAdvertisedPrefix", "RequestId", }); internal_static_google_cloud_compute_v1_DeletePublicDelegatedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(213); + getDescriptor().getMessageTypes().get(217); internal_static_google_cloud_compute_v1_DeletePublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeletePublicDelegatedPrefixeRequest_descriptor, @@ -24807,7 +25591,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PublicDelegatedPrefix", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(214); + getDescriptor().getMessageTypes().get(218); internal_static_google_cloud_compute_v1_DeleteRegionAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionAutoscalerRequest_descriptor, @@ -24815,7 +25599,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Autoscaler", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(215); + getDescriptor().getMessageTypes().get(219); internal_static_google_cloud_compute_v1_DeleteRegionBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionBackendServiceRequest_descriptor, @@ -24823,7 +25607,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendService", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(216); + getDescriptor().getMessageTypes().get(220); internal_static_google_cloud_compute_v1_DeleteRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionDiskRequest_descriptor, @@ -24831,7 +25615,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Disk", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(217); + getDescriptor().getMessageTypes().get(221); internal_static_google_cloud_compute_v1_DeleteRegionHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionHealthCheckRequest_descriptor, @@ -24839,7 +25623,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "HealthCheck", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionHealthCheckServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(218); + getDescriptor().getMessageTypes().get(222); internal_static_google_cloud_compute_v1_DeleteRegionHealthCheckServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionHealthCheckServiceRequest_descriptor, @@ -24847,7 +25631,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "HealthCheckService", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(219); + getDescriptor().getMessageTypes().get(223); internal_static_google_cloud_compute_v1_DeleteRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionInstanceGroupManagerRequest_descriptor, @@ -24855,7 +25639,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceGroupManager", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionInstanceTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(220); + getDescriptor().getMessageTypes().get(224); internal_static_google_cloud_compute_v1_DeleteRegionInstanceTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionInstanceTemplateRequest_descriptor, @@ -24863,7 +25647,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceTemplate", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionInstantSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(221); + getDescriptor().getMessageTypes().get(225); internal_static_google_cloud_compute_v1_DeleteRegionInstantSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionInstantSnapshotRequest_descriptor, @@ -24871,7 +25655,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstantSnapshot", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(222); + getDescriptor().getMessageTypes().get(226); internal_static_google_cloud_compute_v1_DeleteRegionNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionNetworkEndpointGroupRequest_descriptor, @@ -24879,7 +25663,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkEndpointGroup", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(223); + getDescriptor().getMessageTypes().get(227); internal_static_google_cloud_compute_v1_DeleteRegionNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionNetworkFirewallPolicyRequest_descriptor, @@ -24887,7 +25671,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FirewallPolicy", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionNotificationEndpointRequest_descriptor = - getDescriptor().getMessageTypes().get(224); + getDescriptor().getMessageTypes().get(228); internal_static_google_cloud_compute_v1_DeleteRegionNotificationEndpointRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionNotificationEndpointRequest_descriptor, @@ -24895,7 +25679,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NotificationEndpoint", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(225); + getDescriptor().getMessageTypes().get(229); internal_static_google_cloud_compute_v1_DeleteRegionOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionOperationRequest_descriptor, @@ -24903,13 +25687,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Operation", "Project", "Region", }); internal_static_google_cloud_compute_v1_DeleteRegionOperationResponse_descriptor = - getDescriptor().getMessageTypes().get(226); + getDescriptor().getMessageTypes().get(230); internal_static_google_cloud_compute_v1_DeleteRegionOperationResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionOperationResponse_descriptor, new java.lang.String[] {}); internal_static_google_cloud_compute_v1_DeleteRegionSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(227); + getDescriptor().getMessageTypes().get(231); internal_static_google_cloud_compute_v1_DeleteRegionSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionSecurityPolicyRequest_descriptor, @@ -24917,7 +25701,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "SecurityPolicy", }); internal_static_google_cloud_compute_v1_DeleteRegionSslCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(228); + getDescriptor().getMessageTypes().get(232); internal_static_google_cloud_compute_v1_DeleteRegionSslCertificateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionSslCertificateRequest_descriptor, @@ -24925,7 +25709,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "SslCertificate", }); internal_static_google_cloud_compute_v1_DeleteRegionSslPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(229); + getDescriptor().getMessageTypes().get(233); internal_static_google_cloud_compute_v1_DeleteRegionSslPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionSslPolicyRequest_descriptor, @@ -24933,7 +25717,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "SslPolicy", }); internal_static_google_cloud_compute_v1_DeleteRegionTargetHttpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(230); + getDescriptor().getMessageTypes().get(234); internal_static_google_cloud_compute_v1_DeleteRegionTargetHttpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionTargetHttpProxyRequest_descriptor, @@ -24941,7 +25725,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "TargetHttpProxy", }); internal_static_google_cloud_compute_v1_DeleteRegionTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(231); + getDescriptor().getMessageTypes().get(235); internal_static_google_cloud_compute_v1_DeleteRegionTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionTargetHttpsProxyRequest_descriptor, @@ -24949,7 +25733,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "TargetHttpsProxy", }); internal_static_google_cloud_compute_v1_DeleteRegionTargetTcpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(232); + getDescriptor().getMessageTypes().get(236); internal_static_google_cloud_compute_v1_DeleteRegionTargetTcpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionTargetTcpProxyRequest_descriptor, @@ -24957,7 +25741,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "TargetTcpProxy", }); internal_static_google_cloud_compute_v1_DeleteRegionUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(233); + getDescriptor().getMessageTypes().get(237); internal_static_google_cloud_compute_v1_DeleteRegionUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionUrlMapRequest_descriptor, @@ -24965,7 +25749,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "UrlMap", }); internal_static_google_cloud_compute_v1_DeleteReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(234); + getDescriptor().getMessageTypes().get(238); internal_static_google_cloud_compute_v1_DeleteReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteReservationRequest_descriptor, @@ -24973,7 +25757,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "Reservation", "Zone", }); internal_static_google_cloud_compute_v1_DeleteResourcePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(235); + getDescriptor().getMessageTypes().get(239); internal_static_google_cloud_compute_v1_DeleteResourcePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteResourcePolicyRequest_descriptor, @@ -24981,7 +25765,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "ResourcePolicy", }); internal_static_google_cloud_compute_v1_DeleteRouteRequest_descriptor = - getDescriptor().getMessageTypes().get(236); + getDescriptor().getMessageTypes().get(240); internal_static_google_cloud_compute_v1_DeleteRouteRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRouteRequest_descriptor, @@ -24989,7 +25773,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "Route", }); internal_static_google_cloud_compute_v1_DeleteRouterRequest_descriptor = - getDescriptor().getMessageTypes().get(237); + getDescriptor().getMessageTypes().get(241); internal_static_google_cloud_compute_v1_DeleteRouterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRouterRequest_descriptor, @@ -24997,7 +25781,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "Router", }); internal_static_google_cloud_compute_v1_DeleteSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(238); + getDescriptor().getMessageTypes().get(242); internal_static_google_cloud_compute_v1_DeleteSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteSecurityPolicyRequest_descriptor, @@ -25005,7 +25789,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "SecurityPolicy", }); internal_static_google_cloud_compute_v1_DeleteServiceAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(239); + getDescriptor().getMessageTypes().get(243); internal_static_google_cloud_compute_v1_DeleteServiceAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteServiceAttachmentRequest_descriptor, @@ -25013,7 +25797,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "ServiceAttachment", }); internal_static_google_cloud_compute_v1_DeleteSignedUrlKeyBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(240); + getDescriptor().getMessageTypes().get(244); internal_static_google_cloud_compute_v1_DeleteSignedUrlKeyBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteSignedUrlKeyBackendBucketRequest_descriptor, @@ -25021,7 +25805,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendBucket", "KeyName", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteSignedUrlKeyBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(241); + getDescriptor().getMessageTypes().get(245); internal_static_google_cloud_compute_v1_DeleteSignedUrlKeyBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteSignedUrlKeyBackendServiceRequest_descriptor, @@ -25029,7 +25813,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendService", "KeyName", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(242); + getDescriptor().getMessageTypes().get(246); internal_static_google_cloud_compute_v1_DeleteSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteSnapshotRequest_descriptor, @@ -25037,7 +25821,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "Snapshot", }); internal_static_google_cloud_compute_v1_DeleteSslCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(243); + getDescriptor().getMessageTypes().get(247); internal_static_google_cloud_compute_v1_DeleteSslCertificateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteSslCertificateRequest_descriptor, @@ -25045,15 +25829,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "SslCertificate", }); internal_static_google_cloud_compute_v1_DeleteSslPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(244); + getDescriptor().getMessageTypes().get(248); internal_static_google_cloud_compute_v1_DeleteSslPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteSslPolicyRequest_descriptor, new java.lang.String[] { "Project", "RequestId", "SslPolicy", }); + internal_static_google_cloud_compute_v1_DeleteStoragePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(249); + internal_static_google_cloud_compute_v1_DeleteStoragePoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_DeleteStoragePoolRequest_descriptor, + new java.lang.String[] { + "Project", "RequestId", "StoragePool", "Zone", + }); internal_static_google_cloud_compute_v1_DeleteSubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(245); + getDescriptor().getMessageTypes().get(250); internal_static_google_cloud_compute_v1_DeleteSubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteSubnetworkRequest_descriptor, @@ -25061,7 +25853,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "Subnetwork", }); internal_static_google_cloud_compute_v1_DeleteTargetGrpcProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(246); + getDescriptor().getMessageTypes().get(251); internal_static_google_cloud_compute_v1_DeleteTargetGrpcProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteTargetGrpcProxyRequest_descriptor, @@ -25069,7 +25861,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "TargetGrpcProxy", }); internal_static_google_cloud_compute_v1_DeleteTargetHttpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(247); + getDescriptor().getMessageTypes().get(252); internal_static_google_cloud_compute_v1_DeleteTargetHttpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteTargetHttpProxyRequest_descriptor, @@ -25077,7 +25869,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "TargetHttpProxy", }); internal_static_google_cloud_compute_v1_DeleteTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(248); + getDescriptor().getMessageTypes().get(253); internal_static_google_cloud_compute_v1_DeleteTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteTargetHttpsProxyRequest_descriptor, @@ -25085,7 +25877,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "TargetHttpsProxy", }); internal_static_google_cloud_compute_v1_DeleteTargetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(249); + getDescriptor().getMessageTypes().get(254); internal_static_google_cloud_compute_v1_DeleteTargetInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteTargetInstanceRequest_descriptor, @@ -25093,7 +25885,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "TargetInstance", "Zone", }); internal_static_google_cloud_compute_v1_DeleteTargetPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(250); + getDescriptor().getMessageTypes().get(255); internal_static_google_cloud_compute_v1_DeleteTargetPoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteTargetPoolRequest_descriptor, @@ -25101,7 +25893,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "TargetPool", }); internal_static_google_cloud_compute_v1_DeleteTargetSslProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(251); + getDescriptor().getMessageTypes().get(256); internal_static_google_cloud_compute_v1_DeleteTargetSslProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteTargetSslProxyRequest_descriptor, @@ -25109,7 +25901,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "TargetSslProxy", }); internal_static_google_cloud_compute_v1_DeleteTargetTcpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(252); + getDescriptor().getMessageTypes().get(257); internal_static_google_cloud_compute_v1_DeleteTargetTcpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteTargetTcpProxyRequest_descriptor, @@ -25117,7 +25909,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "TargetTcpProxy", }); internal_static_google_cloud_compute_v1_DeleteTargetVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(253); + getDescriptor().getMessageTypes().get(258); internal_static_google_cloud_compute_v1_DeleteTargetVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteTargetVpnGatewayRequest_descriptor, @@ -25125,7 +25917,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "TargetVpnGateway", }); internal_static_google_cloud_compute_v1_DeleteUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(254); + getDescriptor().getMessageTypes().get(259); internal_static_google_cloud_compute_v1_DeleteUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteUrlMapRequest_descriptor, @@ -25133,7 +25925,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "UrlMap", }); internal_static_google_cloud_compute_v1_DeleteVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(255); + getDescriptor().getMessageTypes().get(260); internal_static_google_cloud_compute_v1_DeleteVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteVpnGatewayRequest_descriptor, @@ -25141,7 +25933,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "VpnGateway", }); internal_static_google_cloud_compute_v1_DeleteVpnTunnelRequest_descriptor = - getDescriptor().getMessageTypes().get(256); + getDescriptor().getMessageTypes().get(261); internal_static_google_cloud_compute_v1_DeleteVpnTunnelRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteVpnTunnelRequest_descriptor, @@ -25149,7 +25941,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "VpnTunnel", }); internal_static_google_cloud_compute_v1_DeleteZoneOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(257); + getDescriptor().getMessageTypes().get(262); internal_static_google_cloud_compute_v1_DeleteZoneOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteZoneOperationRequest_descriptor, @@ -25157,13 +25949,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Operation", "Project", "Zone", }); internal_static_google_cloud_compute_v1_DeleteZoneOperationResponse_descriptor = - getDescriptor().getMessageTypes().get(258); + getDescriptor().getMessageTypes().get(263); internal_static_google_cloud_compute_v1_DeleteZoneOperationResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteZoneOperationResponse_descriptor, new java.lang.String[] {}); internal_static_google_cloud_compute_v1_Denied_descriptor = - getDescriptor().getMessageTypes().get(259); + getDescriptor().getMessageTypes().get(264); internal_static_google_cloud_compute_v1_Denied_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Denied_descriptor, @@ -25171,7 +25963,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IPProtocol", "Ports", }); internal_static_google_cloud_compute_v1_DeprecateImageRequest_descriptor = - getDescriptor().getMessageTypes().get(260); + getDescriptor().getMessageTypes().get(265); internal_static_google_cloud_compute_v1_DeprecateImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeprecateImageRequest_descriptor, @@ -25179,7 +25971,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DeprecationStatusResource", "Image", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DeprecationStatus_descriptor = - getDescriptor().getMessageTypes().get(261); + getDescriptor().getMessageTypes().get(266); internal_static_google_cloud_compute_v1_DeprecationStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeprecationStatus_descriptor, @@ -25187,7 +25979,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Deleted", "Deprecated", "Obsolete", "Replacement", "State", }); internal_static_google_cloud_compute_v1_DetachDiskInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(262); + getDescriptor().getMessageTypes().get(267); internal_static_google_cloud_compute_v1_DetachDiskInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DetachDiskInstanceRequest_descriptor, @@ -25195,7 +25987,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DeviceName", "Instance", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(263); + getDescriptor().getMessageTypes().get(268); internal_static_google_cloud_compute_v1_DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest_descriptor, @@ -25206,7 +25998,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_DetachNetworkEndpointsNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(264); + getDescriptor().getMessageTypes().get(269); internal_static_google_cloud_compute_v1_DetachNetworkEndpointsNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DetachNetworkEndpointsNetworkEndpointGroupRequest_descriptor, @@ -25218,7 +26010,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Zone", }); internal_static_google_cloud_compute_v1_DetachNetworkEndpointsRegionNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(265); + getDescriptor().getMessageTypes().get(270); internal_static_google_cloud_compute_v1_DetachNetworkEndpointsRegionNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DetachNetworkEndpointsRegionNetworkEndpointGroupRequest_descriptor, @@ -25230,7 +26022,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_DisableXpnHostProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(266); + getDescriptor().getMessageTypes().get(271); internal_static_google_cloud_compute_v1_DisableXpnHostProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DisableXpnHostProjectRequest_descriptor, @@ -25238,7 +26030,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", }); internal_static_google_cloud_compute_v1_DisableXpnResourceProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(267); + getDescriptor().getMessageTypes().get(272); internal_static_google_cloud_compute_v1_DisableXpnResourceProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DisableXpnResourceProjectRequest_descriptor, @@ -25246,7 +26038,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "ProjectsDisableXpnResourceRequestResource", "RequestId", }); internal_static_google_cloud_compute_v1_Disk_descriptor = - getDescriptor().getMessageTypes().get(268); + getDescriptor().getMessageTypes().get(273); internal_static_google_cloud_compute_v1_Disk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Disk_descriptor, @@ -25296,6 +26088,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SourceSnapshotId", "SourceStorageObject", "Status", + "StoragePool", "Type", "Users", "Zone", @@ -25317,7 +26110,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_DiskAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(269); + getDescriptor().getMessageTypes().get(274); internal_static_google_cloud_compute_v1_DiskAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskAggregatedList_descriptor, @@ -25335,7 +26128,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_DiskAsyncReplication_descriptor = - getDescriptor().getMessageTypes().get(270); + getDescriptor().getMessageTypes().get(275); internal_static_google_cloud_compute_v1_DiskAsyncReplication_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskAsyncReplication_descriptor, @@ -25343,7 +26136,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ConsistencyGroupPolicy", "ConsistencyGroupPolicyId", "Disk", "DiskId", }); internal_static_google_cloud_compute_v1_DiskAsyncReplicationList_descriptor = - getDescriptor().getMessageTypes().get(271); + getDescriptor().getMessageTypes().get(276); internal_static_google_cloud_compute_v1_DiskAsyncReplicationList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskAsyncReplicationList_descriptor, @@ -25351,7 +26144,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AsyncReplicationDisk", }); internal_static_google_cloud_compute_v1_DiskInstantiationConfig_descriptor = - getDescriptor().getMessageTypes().get(272); + getDescriptor().getMessageTypes().get(277); internal_static_google_cloud_compute_v1_DiskInstantiationConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskInstantiationConfig_descriptor, @@ -25359,7 +26152,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AutoDelete", "CustomImage", "DeviceName", "InstantiateFrom", }); internal_static_google_cloud_compute_v1_DiskList_descriptor = - getDescriptor().getMessageTypes().get(273); + getDescriptor().getMessageTypes().get(278); internal_static_google_cloud_compute_v1_DiskList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskList_descriptor, @@ -25367,7 +26160,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_DiskMoveRequest_descriptor = - getDescriptor().getMessageTypes().get(274); + getDescriptor().getMessageTypes().get(279); internal_static_google_cloud_compute_v1_DiskMoveRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskMoveRequest_descriptor, @@ -25375,7 +26168,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DestinationZone", "TargetDisk", }); internal_static_google_cloud_compute_v1_DiskParams_descriptor = - getDescriptor().getMessageTypes().get(275); + getDescriptor().getMessageTypes().get(280); internal_static_google_cloud_compute_v1_DiskParams_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskParams_descriptor, @@ -25391,7 +26184,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_DiskResourceStatus_descriptor = - getDescriptor().getMessageTypes().get(276); + getDescriptor().getMessageTypes().get(281); internal_static_google_cloud_compute_v1_DiskResourceStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskResourceStatus_descriptor, @@ -25409,7 +26202,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_DiskResourceStatusAsyncReplicationStatus_descriptor = - getDescriptor().getMessageTypes().get(277); + getDescriptor().getMessageTypes().get(282); internal_static_google_cloud_compute_v1_DiskResourceStatusAsyncReplicationStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskResourceStatusAsyncReplicationStatus_descriptor, @@ -25417,7 +26210,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "State", }); internal_static_google_cloud_compute_v1_DiskType_descriptor = - getDescriptor().getMessageTypes().get(278); + getDescriptor().getMessageTypes().get(283); internal_static_google_cloud_compute_v1_DiskType_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskType_descriptor, @@ -25435,7 +26228,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Zone", }); internal_static_google_cloud_compute_v1_DiskTypeAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(279); + getDescriptor().getMessageTypes().get(284); internal_static_google_cloud_compute_v1_DiskTypeAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskTypeAggregatedList_descriptor, @@ -25453,7 +26246,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_DiskTypeList_descriptor = - getDescriptor().getMessageTypes().get(280); + getDescriptor().getMessageTypes().get(285); internal_static_google_cloud_compute_v1_DiskTypeList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskTypeList_descriptor, @@ -25461,7 +26254,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_DiskTypesScopedList_descriptor = - getDescriptor().getMessageTypes().get(281); + getDescriptor().getMessageTypes().get(286); internal_static_google_cloud_compute_v1_DiskTypesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskTypesScopedList_descriptor, @@ -25469,7 +26262,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DiskTypes", "Warning", }); internal_static_google_cloud_compute_v1_DisksAddResourcePoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(282); + getDescriptor().getMessageTypes().get(287); internal_static_google_cloud_compute_v1_DisksAddResourcePoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DisksAddResourcePoliciesRequest_descriptor, @@ -25477,7 +26270,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ResourcePolicies", }); internal_static_google_cloud_compute_v1_DisksRemoveResourcePoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(283); + getDescriptor().getMessageTypes().get(288); internal_static_google_cloud_compute_v1_DisksRemoveResourcePoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DisksRemoveResourcePoliciesRequest_descriptor, @@ -25485,7 +26278,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ResourcePolicies", }); internal_static_google_cloud_compute_v1_DisksResizeRequest_descriptor = - getDescriptor().getMessageTypes().get(284); + getDescriptor().getMessageTypes().get(289); internal_static_google_cloud_compute_v1_DisksResizeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DisksResizeRequest_descriptor, @@ -25493,7 +26286,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SizeGb", }); internal_static_google_cloud_compute_v1_DisksScopedList_descriptor = - getDescriptor().getMessageTypes().get(285); + getDescriptor().getMessageTypes().get(290); internal_static_google_cloud_compute_v1_DisksScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DisksScopedList_descriptor, @@ -25501,7 +26294,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Disks", "Warning", }); internal_static_google_cloud_compute_v1_DisksStartAsyncReplicationRequest_descriptor = - getDescriptor().getMessageTypes().get(286); + getDescriptor().getMessageTypes().get(291); internal_static_google_cloud_compute_v1_DisksStartAsyncReplicationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DisksStartAsyncReplicationRequest_descriptor, @@ -25509,7 +26302,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AsyncSecondaryDisk", }); internal_static_google_cloud_compute_v1_DisksStopGroupAsyncReplicationResource_descriptor = - getDescriptor().getMessageTypes().get(287); + getDescriptor().getMessageTypes().get(292); internal_static_google_cloud_compute_v1_DisksStopGroupAsyncReplicationResource_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DisksStopGroupAsyncReplicationResource_descriptor, @@ -25517,7 +26310,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ResourcePolicy", }); internal_static_google_cloud_compute_v1_DisplayDevice_descriptor = - getDescriptor().getMessageTypes().get(288); + getDescriptor().getMessageTypes().get(293); internal_static_google_cloud_compute_v1_DisplayDevice_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DisplayDevice_descriptor, @@ -25525,7 +26318,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "EnableDisplay", }); internal_static_google_cloud_compute_v1_DistributionPolicy_descriptor = - getDescriptor().getMessageTypes().get(289); + getDescriptor().getMessageTypes().get(294); internal_static_google_cloud_compute_v1_DistributionPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DistributionPolicy_descriptor, @@ -25533,7 +26326,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "TargetShape", "Zones", }); internal_static_google_cloud_compute_v1_DistributionPolicyZoneConfiguration_descriptor = - getDescriptor().getMessageTypes().get(290); + getDescriptor().getMessageTypes().get(295); internal_static_google_cloud_compute_v1_DistributionPolicyZoneConfiguration_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DistributionPolicyZoneConfiguration_descriptor, @@ -25541,7 +26334,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Zone", }); internal_static_google_cloud_compute_v1_Duration_descriptor = - getDescriptor().getMessageTypes().get(291); + getDescriptor().getMessageTypes().get(296); internal_static_google_cloud_compute_v1_Duration_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Duration_descriptor, @@ -25549,7 +26342,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Nanos", "Seconds", }); internal_static_google_cloud_compute_v1_EnableXpnHostProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(292); + getDescriptor().getMessageTypes().get(297); internal_static_google_cloud_compute_v1_EnableXpnHostProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_EnableXpnHostProjectRequest_descriptor, @@ -25557,7 +26350,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", }); internal_static_google_cloud_compute_v1_EnableXpnResourceProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(293); + getDescriptor().getMessageTypes().get(298); internal_static_google_cloud_compute_v1_EnableXpnResourceProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_EnableXpnResourceProjectRequest_descriptor, @@ -25565,7 +26358,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "ProjectsEnableXpnResourceRequestResource", "RequestId", }); internal_static_google_cloud_compute_v1_Error_descriptor = - getDescriptor().getMessageTypes().get(294); + getDescriptor().getMessageTypes().get(299); internal_static_google_cloud_compute_v1_Error_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Error_descriptor, @@ -25573,7 +26366,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Errors", }); internal_static_google_cloud_compute_v1_ErrorDetails_descriptor = - getDescriptor().getMessageTypes().get(295); + getDescriptor().getMessageTypes().get(300); internal_static_google_cloud_compute_v1_ErrorDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ErrorDetails_descriptor, @@ -25581,7 +26374,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ErrorInfo", "Help", "LocalizedMessage", "QuotaInfo", }); internal_static_google_cloud_compute_v1_ErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(296); + getDescriptor().getMessageTypes().get(301); internal_static_google_cloud_compute_v1_ErrorInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ErrorInfo_descriptor, @@ -25597,7 +26390,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_Errors_descriptor = - getDescriptor().getMessageTypes().get(297); + getDescriptor().getMessageTypes().get(302); internal_static_google_cloud_compute_v1_Errors_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Errors_descriptor, @@ -25605,7 +26398,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Code", "ErrorDetails", "Location", "Message", }); internal_static_google_cloud_compute_v1_ExchangedPeeringRoute_descriptor = - getDescriptor().getMessageTypes().get(298); + getDescriptor().getMessageTypes().get(303); internal_static_google_cloud_compute_v1_ExchangedPeeringRoute_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ExchangedPeeringRoute_descriptor, @@ -25613,7 +26406,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DestRange", "Imported", "NextHopRegion", "Priority", "Type", }); internal_static_google_cloud_compute_v1_ExchangedPeeringRoutesList_descriptor = - getDescriptor().getMessageTypes().get(299); + getDescriptor().getMessageTypes().get(304); internal_static_google_cloud_compute_v1_ExchangedPeeringRoutesList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ExchangedPeeringRoutesList_descriptor, @@ -25621,7 +26414,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_ExpandIpCidrRangeSubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(300); + getDescriptor().getMessageTypes().get(305); internal_static_google_cloud_compute_v1_ExpandIpCidrRangeSubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ExpandIpCidrRangeSubnetworkRequest_descriptor, @@ -25633,7 +26426,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SubnetworksExpandIpCidrRangeRequestResource", }); internal_static_google_cloud_compute_v1_Expr_descriptor = - getDescriptor().getMessageTypes().get(301); + getDescriptor().getMessageTypes().get(306); internal_static_google_cloud_compute_v1_Expr_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Expr_descriptor, @@ -25641,7 +26434,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Description", "Expression", "Location", "Title", }); internal_static_google_cloud_compute_v1_ExternalVpnGateway_descriptor = - getDescriptor().getMessageTypes().get(302); + getDescriptor().getMessageTypes().get(307); internal_static_google_cloud_compute_v1_ExternalVpnGateway_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ExternalVpnGateway_descriptor, @@ -25668,7 +26461,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ExternalVpnGatewayInterface_descriptor = - getDescriptor().getMessageTypes().get(303); + getDescriptor().getMessageTypes().get(308); internal_static_google_cloud_compute_v1_ExternalVpnGatewayInterface_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ExternalVpnGatewayInterface_descriptor, @@ -25676,7 +26469,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Id", "IpAddress", "Ipv6Address", }); internal_static_google_cloud_compute_v1_ExternalVpnGatewayList_descriptor = - getDescriptor().getMessageTypes().get(304); + getDescriptor().getMessageTypes().get(309); internal_static_google_cloud_compute_v1_ExternalVpnGatewayList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ExternalVpnGatewayList_descriptor, @@ -25684,7 +26477,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Etag", "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_FileContentBuffer_descriptor = - getDescriptor().getMessageTypes().get(305); + getDescriptor().getMessageTypes().get(310); internal_static_google_cloud_compute_v1_FileContentBuffer_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FileContentBuffer_descriptor, @@ -25692,7 +26485,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Content", "FileType", }); internal_static_google_cloud_compute_v1_Firewall_descriptor = - getDescriptor().getMessageTypes().get(306); + getDescriptor().getMessageTypes().get(311); internal_static_google_cloud_compute_v1_Firewall_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Firewall_descriptor, @@ -25718,7 +26511,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "TargetTags", }); internal_static_google_cloud_compute_v1_FirewallList_descriptor = - getDescriptor().getMessageTypes().get(307); + getDescriptor().getMessageTypes().get(312); internal_static_google_cloud_compute_v1_FirewallList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallList_descriptor, @@ -25726,7 +26519,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_FirewallLogConfig_descriptor = - getDescriptor().getMessageTypes().get(308); + getDescriptor().getMessageTypes().get(313); internal_static_google_cloud_compute_v1_FirewallLogConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallLogConfig_descriptor, @@ -25734,7 +26527,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Enable", "Metadata", }); internal_static_google_cloud_compute_v1_FirewallPoliciesListAssociationsResponse_descriptor = - getDescriptor().getMessageTypes().get(309); + getDescriptor().getMessageTypes().get(314); internal_static_google_cloud_compute_v1_FirewallPoliciesListAssociationsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallPoliciesListAssociationsResponse_descriptor, @@ -25742,7 +26535,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Associations", "Kind", }); internal_static_google_cloud_compute_v1_FirewallPolicy_descriptor = - getDescriptor().getMessageTypes().get(310); + getDescriptor().getMessageTypes().get(315); internal_static_google_cloud_compute_v1_FirewallPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallPolicy_descriptor, @@ -25764,7 +26557,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ShortName", }); internal_static_google_cloud_compute_v1_FirewallPolicyAssociation_descriptor = - getDescriptor().getMessageTypes().get(311); + getDescriptor().getMessageTypes().get(316); internal_static_google_cloud_compute_v1_FirewallPolicyAssociation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallPolicyAssociation_descriptor, @@ -25772,7 +26565,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AttachmentTarget", "DisplayName", "FirewallPolicyId", "Name", "ShortName", }); internal_static_google_cloud_compute_v1_FirewallPolicyList_descriptor = - getDescriptor().getMessageTypes().get(312); + getDescriptor().getMessageTypes().get(317); internal_static_google_cloud_compute_v1_FirewallPolicyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallPolicyList_descriptor, @@ -25780,7 +26573,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Id", "Items", "Kind", "NextPageToken", "Warning", }); internal_static_google_cloud_compute_v1_FirewallPolicyRule_descriptor = - getDescriptor().getMessageTypes().get(313); + getDescriptor().getMessageTypes().get(318); internal_static_google_cloud_compute_v1_FirewallPolicyRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallPolicyRule_descriptor, @@ -25802,7 +26595,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "TlsInspect", }); internal_static_google_cloud_compute_v1_FirewallPolicyRuleMatcher_descriptor = - getDescriptor().getMessageTypes().get(314); + getDescriptor().getMessageTypes().get(319); internal_static_google_cloud_compute_v1_FirewallPolicyRuleMatcher_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallPolicyRuleMatcher_descriptor, @@ -25821,7 +26614,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SrcThreatIntelligences", }); internal_static_google_cloud_compute_v1_FirewallPolicyRuleMatcherLayer4Config_descriptor = - getDescriptor().getMessageTypes().get(315); + getDescriptor().getMessageTypes().get(320); internal_static_google_cloud_compute_v1_FirewallPolicyRuleMatcherLayer4Config_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallPolicyRuleMatcherLayer4Config_descriptor, @@ -25829,7 +26622,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IpProtocol", "Ports", }); internal_static_google_cloud_compute_v1_FirewallPolicyRuleSecureTag_descriptor = - getDescriptor().getMessageTypes().get(316); + getDescriptor().getMessageTypes().get(321); internal_static_google_cloud_compute_v1_FirewallPolicyRuleSecureTag_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallPolicyRuleSecureTag_descriptor, @@ -25837,7 +26630,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "State", }); internal_static_google_cloud_compute_v1_FixedOrPercent_descriptor = - getDescriptor().getMessageTypes().get(317); + getDescriptor().getMessageTypes().get(322); internal_static_google_cloud_compute_v1_FixedOrPercent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FixedOrPercent_descriptor, @@ -25845,7 +26638,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Calculated", "Fixed", "Percent", }); internal_static_google_cloud_compute_v1_ForwardingRule_descriptor = - getDescriptor().getMessageTypes().get(318); + getDescriptor().getMessageTypes().get(323); internal_static_google_cloud_compute_v1_ForwardingRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ForwardingRule_descriptor, @@ -25861,6 +26654,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Description", "Fingerprint", "Id", + "IpCollection", "IpVersion", "IsMirroringCollector", "Kind", @@ -25894,7 +26688,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ForwardingRuleAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(319); + getDescriptor().getMessageTypes().get(324); internal_static_google_cloud_compute_v1_ForwardingRuleAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ForwardingRuleAggregatedList_descriptor, @@ -25912,7 +26706,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ForwardingRuleList_descriptor = - getDescriptor().getMessageTypes().get(320); + getDescriptor().getMessageTypes().get(325); internal_static_google_cloud_compute_v1_ForwardingRuleList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ForwardingRuleList_descriptor, @@ -25920,7 +26714,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_ForwardingRuleReference_descriptor = - getDescriptor().getMessageTypes().get(321); + getDescriptor().getMessageTypes().get(326); internal_static_google_cloud_compute_v1_ForwardingRuleReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ForwardingRuleReference_descriptor, @@ -25928,7 +26722,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ForwardingRule", }); internal_static_google_cloud_compute_v1_ForwardingRuleServiceDirectoryRegistration_descriptor = - getDescriptor().getMessageTypes().get(322); + getDescriptor().getMessageTypes().get(327); internal_static_google_cloud_compute_v1_ForwardingRuleServiceDirectoryRegistration_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ForwardingRuleServiceDirectoryRegistration_descriptor, @@ -25936,7 +26730,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Namespace", "Service", "ServiceDirectoryRegion", }); internal_static_google_cloud_compute_v1_ForwardingRulesScopedList_descriptor = - getDescriptor().getMessageTypes().get(323); + getDescriptor().getMessageTypes().get(328); internal_static_google_cloud_compute_v1_ForwardingRulesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ForwardingRulesScopedList_descriptor, @@ -25944,7 +26738,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ForwardingRules", "Warning", }); internal_static_google_cloud_compute_v1_GRPCHealthCheck_descriptor = - getDescriptor().getMessageTypes().get(324); + getDescriptor().getMessageTypes().get(329); internal_static_google_cloud_compute_v1_GRPCHealthCheck_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GRPCHealthCheck_descriptor, @@ -25952,7 +26746,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "GrpcServiceName", "Port", "PortName", "PortSpecification", }); internal_static_google_cloud_compute_v1_GetAcceleratorTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(325); + getDescriptor().getMessageTypes().get(330); internal_static_google_cloud_compute_v1_GetAcceleratorTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetAcceleratorTypeRequest_descriptor, @@ -25960,7 +26754,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AcceleratorType", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(326); + getDescriptor().getMessageTypes().get(331); internal_static_google_cloud_compute_v1_GetAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetAddressRequest_descriptor, @@ -25968,7 +26762,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Address", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetAssociationFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(327); + getDescriptor().getMessageTypes().get(332); internal_static_google_cloud_compute_v1_GetAssociationFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetAssociationFirewallPolicyRequest_descriptor, @@ -25976,7 +26770,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FirewallPolicy", "Name", }); internal_static_google_cloud_compute_v1_GetAssociationNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(328); + getDescriptor().getMessageTypes().get(333); internal_static_google_cloud_compute_v1_GetAssociationNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetAssociationNetworkFirewallPolicyRequest_descriptor, @@ -25984,7 +26778,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FirewallPolicy", "Name", "Project", }); internal_static_google_cloud_compute_v1_GetAssociationRegionNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(329); + getDescriptor().getMessageTypes().get(334); internal_static_google_cloud_compute_v1_GetAssociationRegionNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetAssociationRegionNetworkFirewallPolicyRequest_descriptor, @@ -25992,7 +26786,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FirewallPolicy", "Name", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(330); + getDescriptor().getMessageTypes().get(335); internal_static_google_cloud_compute_v1_GetAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetAutoscalerRequest_descriptor, @@ -26000,7 +26794,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Autoscaler", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(331); + getDescriptor().getMessageTypes().get(336); internal_static_google_cloud_compute_v1_GetBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetBackendBucketRequest_descriptor, @@ -26008,7 +26802,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendBucket", "Project", }); internal_static_google_cloud_compute_v1_GetBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(332); + getDescriptor().getMessageTypes().get(337); internal_static_google_cloud_compute_v1_GetBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetBackendServiceRequest_descriptor, @@ -26016,7 +26810,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendService", "Project", }); internal_static_google_cloud_compute_v1_GetDiagnosticsInterconnectRequest_descriptor = - getDescriptor().getMessageTypes().get(333); + getDescriptor().getMessageTypes().get(338); internal_static_google_cloud_compute_v1_GetDiagnosticsInterconnectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetDiagnosticsInterconnectRequest_descriptor, @@ -26024,7 +26818,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Interconnect", "Project", }); internal_static_google_cloud_compute_v1_GetDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(334); + getDescriptor().getMessageTypes().get(339); internal_static_google_cloud_compute_v1_GetDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetDiskRequest_descriptor, @@ -26032,7 +26826,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Disk", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetDiskTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(335); + getDescriptor().getMessageTypes().get(340); internal_static_google_cloud_compute_v1_GetDiskTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetDiskTypeRequest_descriptor, @@ -26040,7 +26834,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DiskType", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetEffectiveFirewallsInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(336); + getDescriptor().getMessageTypes().get(341); internal_static_google_cloud_compute_v1_GetEffectiveFirewallsInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetEffectiveFirewallsInstanceRequest_descriptor, @@ -26048,7 +26842,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Instance", "NetworkInterface", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetEffectiveFirewallsNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(337); + getDescriptor().getMessageTypes().get(342); internal_static_google_cloud_compute_v1_GetEffectiveFirewallsNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetEffectiveFirewallsNetworkRequest_descriptor, @@ -26056,7 +26850,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Network", "Project", }); internal_static_google_cloud_compute_v1_GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(338); + getDescriptor().getMessageTypes().get(343); internal_static_google_cloud_compute_v1_GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest_descriptor, @@ -26064,7 +26858,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Network", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetExternalVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(339); + getDescriptor().getMessageTypes().get(344); internal_static_google_cloud_compute_v1_GetExternalVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetExternalVpnGatewayRequest_descriptor, @@ -26072,7 +26866,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ExternalVpnGateway", "Project", }); internal_static_google_cloud_compute_v1_GetFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(340); + getDescriptor().getMessageTypes().get(345); internal_static_google_cloud_compute_v1_GetFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetFirewallPolicyRequest_descriptor, @@ -26080,7 +26874,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FirewallPolicy", }); internal_static_google_cloud_compute_v1_GetFirewallRequest_descriptor = - getDescriptor().getMessageTypes().get(341); + getDescriptor().getMessageTypes().get(346); internal_static_google_cloud_compute_v1_GetFirewallRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetFirewallRequest_descriptor, @@ -26088,7 +26882,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Firewall", "Project", }); internal_static_google_cloud_compute_v1_GetForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(342); + getDescriptor().getMessageTypes().get(347); internal_static_google_cloud_compute_v1_GetForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetForwardingRuleRequest_descriptor, @@ -26096,7 +26890,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ForwardingRule", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetFromFamilyImageRequest_descriptor = - getDescriptor().getMessageTypes().get(343); + getDescriptor().getMessageTypes().get(348); internal_static_google_cloud_compute_v1_GetFromFamilyImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetFromFamilyImageRequest_descriptor, @@ -26104,7 +26898,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Family", "Project", }); internal_static_google_cloud_compute_v1_GetGlobalAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(344); + getDescriptor().getMessageTypes().get(349); internal_static_google_cloud_compute_v1_GetGlobalAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetGlobalAddressRequest_descriptor, @@ -26112,7 +26906,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Address", "Project", }); internal_static_google_cloud_compute_v1_GetGlobalForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(345); + getDescriptor().getMessageTypes().get(350); internal_static_google_cloud_compute_v1_GetGlobalForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetGlobalForwardingRuleRequest_descriptor, @@ -26120,7 +26914,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ForwardingRule", "Project", }); internal_static_google_cloud_compute_v1_GetGlobalNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(346); + getDescriptor().getMessageTypes().get(351); internal_static_google_cloud_compute_v1_GetGlobalNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetGlobalNetworkEndpointGroupRequest_descriptor, @@ -26128,7 +26922,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkEndpointGroup", "Project", }); internal_static_google_cloud_compute_v1_GetGlobalOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(347); + getDescriptor().getMessageTypes().get(352); internal_static_google_cloud_compute_v1_GetGlobalOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetGlobalOperationRequest_descriptor, @@ -26136,7 +26930,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Operation", "Project", }); internal_static_google_cloud_compute_v1_GetGlobalOrganizationOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(348); + getDescriptor().getMessageTypes().get(353); internal_static_google_cloud_compute_v1_GetGlobalOrganizationOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetGlobalOrganizationOperationRequest_descriptor, @@ -26144,7 +26938,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Operation", "ParentId", }); internal_static_google_cloud_compute_v1_GetGlobalPublicDelegatedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(349); + getDescriptor().getMessageTypes().get(354); internal_static_google_cloud_compute_v1_GetGlobalPublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetGlobalPublicDelegatedPrefixeRequest_descriptor, @@ -26152,7 +26946,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PublicDelegatedPrefix", }); internal_static_google_cloud_compute_v1_GetGuestAttributesInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(350); + getDescriptor().getMessageTypes().get(355); internal_static_google_cloud_compute_v1_GetGuestAttributesInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetGuestAttributesInstanceRequest_descriptor, @@ -26160,7 +26954,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Instance", "Project", "QueryPath", "VariableKey", "Zone", }); internal_static_google_cloud_compute_v1_GetHealthBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(351); + getDescriptor().getMessageTypes().get(356); internal_static_google_cloud_compute_v1_GetHealthBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetHealthBackendServiceRequest_descriptor, @@ -26168,7 +26962,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendService", "Project", "ResourceGroupReferenceResource", }); internal_static_google_cloud_compute_v1_GetHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(352); + getDescriptor().getMessageTypes().get(357); internal_static_google_cloud_compute_v1_GetHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetHealthCheckRequest_descriptor, @@ -26176,7 +26970,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "HealthCheck", "Project", }); internal_static_google_cloud_compute_v1_GetHealthRegionBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(353); + getDescriptor().getMessageTypes().get(358); internal_static_google_cloud_compute_v1_GetHealthRegionBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetHealthRegionBackendServiceRequest_descriptor, @@ -26184,7 +26978,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendService", "Project", "Region", "ResourceGroupReferenceResource", }); internal_static_google_cloud_compute_v1_GetHealthTargetPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(354); + getDescriptor().getMessageTypes().get(359); internal_static_google_cloud_compute_v1_GetHealthTargetPoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetHealthTargetPoolRequest_descriptor, @@ -26192,7 +26986,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceReferenceResource", "Project", "Region", "TargetPool", }); internal_static_google_cloud_compute_v1_GetIamPolicyBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(355); + getDescriptor().getMessageTypes().get(360); internal_static_google_cloud_compute_v1_GetIamPolicyBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyBackendBucketRequest_descriptor, @@ -26200,7 +26994,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Resource", }); internal_static_google_cloud_compute_v1_GetIamPolicyBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(356); + getDescriptor().getMessageTypes().get(361); internal_static_google_cloud_compute_v1_GetIamPolicyBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyBackendServiceRequest_descriptor, @@ -26208,7 +27002,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Resource", }); internal_static_google_cloud_compute_v1_GetIamPolicyDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(357); + getDescriptor().getMessageTypes().get(362); internal_static_google_cloud_compute_v1_GetIamPolicyDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyDiskRequest_descriptor, @@ -26216,7 +27010,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Resource", "Zone", }); internal_static_google_cloud_compute_v1_GetIamPolicyFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(358); + getDescriptor().getMessageTypes().get(363); internal_static_google_cloud_compute_v1_GetIamPolicyFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyFirewallPolicyRequest_descriptor, @@ -26224,7 +27018,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Resource", }); internal_static_google_cloud_compute_v1_GetIamPolicyImageRequest_descriptor = - getDescriptor().getMessageTypes().get(359); + getDescriptor().getMessageTypes().get(364); internal_static_google_cloud_compute_v1_GetIamPolicyImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyImageRequest_descriptor, @@ -26232,7 +27026,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Resource", }); internal_static_google_cloud_compute_v1_GetIamPolicyInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(360); + getDescriptor().getMessageTypes().get(365); internal_static_google_cloud_compute_v1_GetIamPolicyInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyInstanceRequest_descriptor, @@ -26240,7 +27034,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Resource", "Zone", }); internal_static_google_cloud_compute_v1_GetIamPolicyInstanceTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(361); + getDescriptor().getMessageTypes().get(366); internal_static_google_cloud_compute_v1_GetIamPolicyInstanceTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyInstanceTemplateRequest_descriptor, @@ -26248,7 +27042,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Resource", }); internal_static_google_cloud_compute_v1_GetIamPolicyInstantSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(362); + getDescriptor().getMessageTypes().get(367); internal_static_google_cloud_compute_v1_GetIamPolicyInstantSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyInstantSnapshotRequest_descriptor, @@ -26256,7 +27050,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Resource", "Zone", }); internal_static_google_cloud_compute_v1_GetIamPolicyLicenseRequest_descriptor = - getDescriptor().getMessageTypes().get(363); + getDescriptor().getMessageTypes().get(368); internal_static_google_cloud_compute_v1_GetIamPolicyLicenseRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyLicenseRequest_descriptor, @@ -26264,7 +27058,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Resource", }); internal_static_google_cloud_compute_v1_GetIamPolicyMachineImageRequest_descriptor = - getDescriptor().getMessageTypes().get(364); + getDescriptor().getMessageTypes().get(369); internal_static_google_cloud_compute_v1_GetIamPolicyMachineImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyMachineImageRequest_descriptor, @@ -26272,7 +27066,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Resource", }); internal_static_google_cloud_compute_v1_GetIamPolicyNetworkAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(365); + getDescriptor().getMessageTypes().get(370); internal_static_google_cloud_compute_v1_GetIamPolicyNetworkAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyNetworkAttachmentRequest_descriptor, @@ -26280,7 +27074,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Region", "Resource", }); internal_static_google_cloud_compute_v1_GetIamPolicyNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(366); + getDescriptor().getMessageTypes().get(371); internal_static_google_cloud_compute_v1_GetIamPolicyNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyNetworkFirewallPolicyRequest_descriptor, @@ -26288,7 +27082,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Resource", }); internal_static_google_cloud_compute_v1_GetIamPolicyNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(367); + getDescriptor().getMessageTypes().get(372); internal_static_google_cloud_compute_v1_GetIamPolicyNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyNodeGroupRequest_descriptor, @@ -26296,7 +27090,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Resource", "Zone", }); internal_static_google_cloud_compute_v1_GetIamPolicyNodeTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(368); + getDescriptor().getMessageTypes().get(373); internal_static_google_cloud_compute_v1_GetIamPolicyNodeTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyNodeTemplateRequest_descriptor, @@ -26304,7 +27098,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Region", "Resource", }); internal_static_google_cloud_compute_v1_GetIamPolicyRegionBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(369); + getDescriptor().getMessageTypes().get(374); internal_static_google_cloud_compute_v1_GetIamPolicyRegionBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyRegionBackendServiceRequest_descriptor, @@ -26312,7 +27106,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Region", "Resource", }); internal_static_google_cloud_compute_v1_GetIamPolicyRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(370); + getDescriptor().getMessageTypes().get(375); internal_static_google_cloud_compute_v1_GetIamPolicyRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyRegionDiskRequest_descriptor, @@ -26320,7 +27114,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Region", "Resource", }); internal_static_google_cloud_compute_v1_GetIamPolicyRegionInstantSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(371); + getDescriptor().getMessageTypes().get(376); internal_static_google_cloud_compute_v1_GetIamPolicyRegionInstantSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyRegionInstantSnapshotRequest_descriptor, @@ -26328,7 +27122,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Region", "Resource", }); internal_static_google_cloud_compute_v1_GetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(372); + getDescriptor().getMessageTypes().get(377); internal_static_google_cloud_compute_v1_GetIamPolicyRegionNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor, @@ -26336,7 +27130,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Region", "Resource", }); internal_static_google_cloud_compute_v1_GetIamPolicyReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(373); + getDescriptor().getMessageTypes().get(378); internal_static_google_cloud_compute_v1_GetIamPolicyReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyReservationRequest_descriptor, @@ -26344,7 +27138,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Resource", "Zone", }); internal_static_google_cloud_compute_v1_GetIamPolicyResourcePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(374); + getDescriptor().getMessageTypes().get(379); internal_static_google_cloud_compute_v1_GetIamPolicyResourcePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyResourcePolicyRequest_descriptor, @@ -26352,7 +27146,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Region", "Resource", }); internal_static_google_cloud_compute_v1_GetIamPolicyServiceAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(375); + getDescriptor().getMessageTypes().get(380); internal_static_google_cloud_compute_v1_GetIamPolicyServiceAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyServiceAttachmentRequest_descriptor, @@ -26360,15 +27154,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Region", "Resource", }); internal_static_google_cloud_compute_v1_GetIamPolicySnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(376); + getDescriptor().getMessageTypes().get(381); internal_static_google_cloud_compute_v1_GetIamPolicySnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicySnapshotRequest_descriptor, new java.lang.String[] { "OptionsRequestedPolicyVersion", "Project", "Resource", }); + internal_static_google_cloud_compute_v1_GetIamPolicyStoragePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(382); + internal_static_google_cloud_compute_v1_GetIamPolicyStoragePoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_GetIamPolicyStoragePoolRequest_descriptor, + new java.lang.String[] { + "OptionsRequestedPolicyVersion", "Project", "Resource", "Zone", + }); internal_static_google_cloud_compute_v1_GetIamPolicySubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(377); + getDescriptor().getMessageTypes().get(383); internal_static_google_cloud_compute_v1_GetIamPolicySubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicySubnetworkRequest_descriptor, @@ -26376,7 +27178,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Project", "Region", "Resource", }); internal_static_google_cloud_compute_v1_GetImageFamilyViewRequest_descriptor = - getDescriptor().getMessageTypes().get(378); + getDescriptor().getMessageTypes().get(384); internal_static_google_cloud_compute_v1_GetImageFamilyViewRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetImageFamilyViewRequest_descriptor, @@ -26384,7 +27186,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Family", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetImageRequest_descriptor = - getDescriptor().getMessageTypes().get(379); + getDescriptor().getMessageTypes().get(385); internal_static_google_cloud_compute_v1_GetImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetImageRequest_descriptor, @@ -26392,15 +27194,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Image", "Project", }); internal_static_google_cloud_compute_v1_GetInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(380); + getDescriptor().getMessageTypes().get(386); internal_static_google_cloud_compute_v1_GetInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetInstanceGroupManagerRequest_descriptor, new java.lang.String[] { "InstanceGroupManager", "Project", "Zone", }); + internal_static_google_cloud_compute_v1_GetInstanceGroupManagerResizeRequestRequest_descriptor = + getDescriptor().getMessageTypes().get(387); + internal_static_google_cloud_compute_v1_GetInstanceGroupManagerResizeRequestRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_GetInstanceGroupManagerResizeRequestRequest_descriptor, + new java.lang.String[] { + "InstanceGroupManager", "Project", "ResizeRequest", "Zone", + }); internal_static_google_cloud_compute_v1_GetInstanceGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(381); + getDescriptor().getMessageTypes().get(388); internal_static_google_cloud_compute_v1_GetInstanceGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetInstanceGroupRequest_descriptor, @@ -26408,15 +27218,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceGroup", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(382); + getDescriptor().getMessageTypes().get(389); internal_static_google_cloud_compute_v1_GetInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetInstanceRequest_descriptor, new java.lang.String[] { "Instance", "Project", "Zone", }); + internal_static_google_cloud_compute_v1_GetInstanceSettingRequest_descriptor = + getDescriptor().getMessageTypes().get(390); + internal_static_google_cloud_compute_v1_GetInstanceSettingRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_GetInstanceSettingRequest_descriptor, + new java.lang.String[] { + "Project", "Zone", + }); internal_static_google_cloud_compute_v1_GetInstanceTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(383); + getDescriptor().getMessageTypes().get(391); internal_static_google_cloud_compute_v1_GetInstanceTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetInstanceTemplateRequest_descriptor, @@ -26424,7 +27242,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceTemplate", "Project", }); internal_static_google_cloud_compute_v1_GetInstantSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(384); + getDescriptor().getMessageTypes().get(392); internal_static_google_cloud_compute_v1_GetInstantSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetInstantSnapshotRequest_descriptor, @@ -26432,7 +27250,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstantSnapshot", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetInterconnectAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(385); + getDescriptor().getMessageTypes().get(393); internal_static_google_cloud_compute_v1_GetInterconnectAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetInterconnectAttachmentRequest_descriptor, @@ -26440,7 +27258,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InterconnectAttachment", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetInterconnectLocationRequest_descriptor = - getDescriptor().getMessageTypes().get(386); + getDescriptor().getMessageTypes().get(394); internal_static_google_cloud_compute_v1_GetInterconnectLocationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetInterconnectLocationRequest_descriptor, @@ -26448,7 +27266,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InterconnectLocation", "Project", }); internal_static_google_cloud_compute_v1_GetInterconnectRemoteLocationRequest_descriptor = - getDescriptor().getMessageTypes().get(387); + getDescriptor().getMessageTypes().get(395); internal_static_google_cloud_compute_v1_GetInterconnectRemoteLocationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetInterconnectRemoteLocationRequest_descriptor, @@ -26456,7 +27274,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InterconnectRemoteLocation", "Project", }); internal_static_google_cloud_compute_v1_GetInterconnectRequest_descriptor = - getDescriptor().getMessageTypes().get(388); + getDescriptor().getMessageTypes().get(396); internal_static_google_cloud_compute_v1_GetInterconnectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetInterconnectRequest_descriptor, @@ -26464,7 +27282,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Interconnect", "Project", }); internal_static_google_cloud_compute_v1_GetLicenseCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(389); + getDescriptor().getMessageTypes().get(397); internal_static_google_cloud_compute_v1_GetLicenseCodeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetLicenseCodeRequest_descriptor, @@ -26472,7 +27290,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "LicenseCode", "Project", }); internal_static_google_cloud_compute_v1_GetLicenseRequest_descriptor = - getDescriptor().getMessageTypes().get(390); + getDescriptor().getMessageTypes().get(398); internal_static_google_cloud_compute_v1_GetLicenseRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetLicenseRequest_descriptor, @@ -26480,7 +27298,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "License", "Project", }); internal_static_google_cloud_compute_v1_GetMachineImageRequest_descriptor = - getDescriptor().getMessageTypes().get(391); + getDescriptor().getMessageTypes().get(399); internal_static_google_cloud_compute_v1_GetMachineImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetMachineImageRequest_descriptor, @@ -26488,7 +27306,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MachineImage", "Project", }); internal_static_google_cloud_compute_v1_GetMachineTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(392); + getDescriptor().getMessageTypes().get(400); internal_static_google_cloud_compute_v1_GetMachineTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetMachineTypeRequest_descriptor, @@ -26496,7 +27314,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MachineType", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetMacsecConfigInterconnectRequest_descriptor = - getDescriptor().getMessageTypes().get(393); + getDescriptor().getMessageTypes().get(401); internal_static_google_cloud_compute_v1_GetMacsecConfigInterconnectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetMacsecConfigInterconnectRequest_descriptor, @@ -26504,7 +27322,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Interconnect", "Project", }); internal_static_google_cloud_compute_v1_GetNatIpInfoRouterRequest_descriptor = - getDescriptor().getMessageTypes().get(394); + getDescriptor().getMessageTypes().get(402); internal_static_google_cloud_compute_v1_GetNatIpInfoRouterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetNatIpInfoRouterRequest_descriptor, @@ -26512,7 +27330,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NatName", "Project", "Region", "Router", }); internal_static_google_cloud_compute_v1_GetNatMappingInfoRoutersRequest_descriptor = - getDescriptor().getMessageTypes().get(395); + getDescriptor().getMessageTypes().get(403); internal_static_google_cloud_compute_v1_GetNatMappingInfoRoutersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetNatMappingInfoRoutersRequest_descriptor, @@ -26528,7 +27346,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Router", }); internal_static_google_cloud_compute_v1_GetNetworkAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(396); + getDescriptor().getMessageTypes().get(404); internal_static_google_cloud_compute_v1_GetNetworkAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetNetworkAttachmentRequest_descriptor, @@ -26536,7 +27354,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkAttachment", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetNetworkEdgeSecurityServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(397); + getDescriptor().getMessageTypes().get(405); internal_static_google_cloud_compute_v1_GetNetworkEdgeSecurityServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetNetworkEdgeSecurityServiceRequest_descriptor, @@ -26544,7 +27362,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkEdgeSecurityService", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(398); + getDescriptor().getMessageTypes().get(406); internal_static_google_cloud_compute_v1_GetNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetNetworkEndpointGroupRequest_descriptor, @@ -26552,7 +27370,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkEndpointGroup", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(399); + getDescriptor().getMessageTypes().get(407); internal_static_google_cloud_compute_v1_GetNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetNetworkFirewallPolicyRequest_descriptor, @@ -26560,7 +27378,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FirewallPolicy", "Project", }); internal_static_google_cloud_compute_v1_GetNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(400); + getDescriptor().getMessageTypes().get(408); internal_static_google_cloud_compute_v1_GetNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetNetworkRequest_descriptor, @@ -26568,7 +27386,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Network", "Project", }); internal_static_google_cloud_compute_v1_GetNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(401); + getDescriptor().getMessageTypes().get(409); internal_static_google_cloud_compute_v1_GetNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetNodeGroupRequest_descriptor, @@ -26576,7 +27394,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NodeGroup", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetNodeTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(402); + getDescriptor().getMessageTypes().get(410); internal_static_google_cloud_compute_v1_GetNodeTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetNodeTemplateRequest_descriptor, @@ -26584,7 +27402,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NodeTemplate", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetNodeTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(403); + getDescriptor().getMessageTypes().get(411); internal_static_google_cloud_compute_v1_GetNodeTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetNodeTypeRequest_descriptor, @@ -26592,7 +27410,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NodeType", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetPacketMirroringRequest_descriptor = - getDescriptor().getMessageTypes().get(404); + getDescriptor().getMessageTypes().get(412); internal_static_google_cloud_compute_v1_GetPacketMirroringRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetPacketMirroringRequest_descriptor, @@ -26600,7 +27418,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PacketMirroring", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(405); + getDescriptor().getMessageTypes().get(413); internal_static_google_cloud_compute_v1_GetProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetProjectRequest_descriptor, @@ -26608,7 +27426,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", }); internal_static_google_cloud_compute_v1_GetPublicAdvertisedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(406); + getDescriptor().getMessageTypes().get(414); internal_static_google_cloud_compute_v1_GetPublicAdvertisedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetPublicAdvertisedPrefixeRequest_descriptor, @@ -26616,7 +27434,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PublicAdvertisedPrefix", }); internal_static_google_cloud_compute_v1_GetPublicDelegatedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(407); + getDescriptor().getMessageTypes().get(415); internal_static_google_cloud_compute_v1_GetPublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetPublicDelegatedPrefixeRequest_descriptor, @@ -26624,7 +27442,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PublicDelegatedPrefix", "Region", }); internal_static_google_cloud_compute_v1_GetRegionAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(408); + getDescriptor().getMessageTypes().get(416); internal_static_google_cloud_compute_v1_GetRegionAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionAutoscalerRequest_descriptor, @@ -26632,7 +27450,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Autoscaler", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(409); + getDescriptor().getMessageTypes().get(417); internal_static_google_cloud_compute_v1_GetRegionBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionBackendServiceRequest_descriptor, @@ -26640,7 +27458,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendService", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionCommitmentRequest_descriptor = - getDescriptor().getMessageTypes().get(410); + getDescriptor().getMessageTypes().get(418); internal_static_google_cloud_compute_v1_GetRegionCommitmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionCommitmentRequest_descriptor, @@ -26648,7 +27466,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Commitment", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(411); + getDescriptor().getMessageTypes().get(419); internal_static_google_cloud_compute_v1_GetRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionDiskRequest_descriptor, @@ -26656,7 +27474,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Disk", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionDiskTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(412); + getDescriptor().getMessageTypes().get(420); internal_static_google_cloud_compute_v1_GetRegionDiskTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionDiskTypeRequest_descriptor, @@ -26664,7 +27482,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DiskType", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(413); + getDescriptor().getMessageTypes().get(421); internal_static_google_cloud_compute_v1_GetRegionHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionHealthCheckRequest_descriptor, @@ -26672,7 +27490,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "HealthCheck", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionHealthCheckServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(414); + getDescriptor().getMessageTypes().get(422); internal_static_google_cloud_compute_v1_GetRegionHealthCheckServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionHealthCheckServiceRequest_descriptor, @@ -26680,7 +27498,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "HealthCheckService", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(415); + getDescriptor().getMessageTypes().get(423); internal_static_google_cloud_compute_v1_GetRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionInstanceGroupManagerRequest_descriptor, @@ -26688,7 +27506,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceGroupManager", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionInstanceGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(416); + getDescriptor().getMessageTypes().get(424); internal_static_google_cloud_compute_v1_GetRegionInstanceGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionInstanceGroupRequest_descriptor, @@ -26696,7 +27514,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceGroup", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionInstanceTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(417); + getDescriptor().getMessageTypes().get(425); internal_static_google_cloud_compute_v1_GetRegionInstanceTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionInstanceTemplateRequest_descriptor, @@ -26704,7 +27522,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceTemplate", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionInstantSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(418); + getDescriptor().getMessageTypes().get(426); internal_static_google_cloud_compute_v1_GetRegionInstantSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionInstantSnapshotRequest_descriptor, @@ -26712,7 +27530,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstantSnapshot", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(419); + getDescriptor().getMessageTypes().get(427); internal_static_google_cloud_compute_v1_GetRegionNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionNetworkEndpointGroupRequest_descriptor, @@ -26720,7 +27538,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkEndpointGroup", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(420); + getDescriptor().getMessageTypes().get(428); internal_static_google_cloud_compute_v1_GetRegionNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionNetworkFirewallPolicyRequest_descriptor, @@ -26728,7 +27546,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FirewallPolicy", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionNotificationEndpointRequest_descriptor = - getDescriptor().getMessageTypes().get(421); + getDescriptor().getMessageTypes().get(429); internal_static_google_cloud_compute_v1_GetRegionNotificationEndpointRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionNotificationEndpointRequest_descriptor, @@ -26736,7 +27554,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NotificationEndpoint", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(422); + getDescriptor().getMessageTypes().get(430); internal_static_google_cloud_compute_v1_GetRegionOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionOperationRequest_descriptor, @@ -26744,7 +27562,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Operation", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionRequest_descriptor = - getDescriptor().getMessageTypes().get(423); + getDescriptor().getMessageTypes().get(431); internal_static_google_cloud_compute_v1_GetRegionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionRequest_descriptor, @@ -26752,7 +27570,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(424); + getDescriptor().getMessageTypes().get(432); internal_static_google_cloud_compute_v1_GetRegionSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionSecurityPolicyRequest_descriptor, @@ -26760,7 +27578,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "SecurityPolicy", }); internal_static_google_cloud_compute_v1_GetRegionSslCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(425); + getDescriptor().getMessageTypes().get(433); internal_static_google_cloud_compute_v1_GetRegionSslCertificateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionSslCertificateRequest_descriptor, @@ -26768,7 +27586,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "SslCertificate", }); internal_static_google_cloud_compute_v1_GetRegionSslPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(426); + getDescriptor().getMessageTypes().get(434); internal_static_google_cloud_compute_v1_GetRegionSslPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionSslPolicyRequest_descriptor, @@ -26776,7 +27594,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "SslPolicy", }); internal_static_google_cloud_compute_v1_GetRegionTargetHttpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(427); + getDescriptor().getMessageTypes().get(435); internal_static_google_cloud_compute_v1_GetRegionTargetHttpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionTargetHttpProxyRequest_descriptor, @@ -26784,7 +27602,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "TargetHttpProxy", }); internal_static_google_cloud_compute_v1_GetRegionTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(428); + getDescriptor().getMessageTypes().get(436); internal_static_google_cloud_compute_v1_GetRegionTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionTargetHttpsProxyRequest_descriptor, @@ -26792,7 +27610,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "TargetHttpsProxy", }); internal_static_google_cloud_compute_v1_GetRegionTargetTcpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(429); + getDescriptor().getMessageTypes().get(437); internal_static_google_cloud_compute_v1_GetRegionTargetTcpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionTargetTcpProxyRequest_descriptor, @@ -26800,7 +27618,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "TargetTcpProxy", }); internal_static_google_cloud_compute_v1_GetRegionUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(430); + getDescriptor().getMessageTypes().get(438); internal_static_google_cloud_compute_v1_GetRegionUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionUrlMapRequest_descriptor, @@ -26808,7 +27626,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "UrlMap", }); internal_static_google_cloud_compute_v1_GetReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(431); + getDescriptor().getMessageTypes().get(439); internal_static_google_cloud_compute_v1_GetReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetReservationRequest_descriptor, @@ -26816,7 +27634,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Reservation", "Zone", }); internal_static_google_cloud_compute_v1_GetResourcePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(432); + getDescriptor().getMessageTypes().get(440); internal_static_google_cloud_compute_v1_GetResourcePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetResourcePolicyRequest_descriptor, @@ -26824,7 +27642,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "ResourcePolicy", }); internal_static_google_cloud_compute_v1_GetRouteRequest_descriptor = - getDescriptor().getMessageTypes().get(433); + getDescriptor().getMessageTypes().get(441); internal_static_google_cloud_compute_v1_GetRouteRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRouteRequest_descriptor, @@ -26832,7 +27650,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Route", }); internal_static_google_cloud_compute_v1_GetRouterRequest_descriptor = - getDescriptor().getMessageTypes().get(434); + getDescriptor().getMessageTypes().get(442); internal_static_google_cloud_compute_v1_GetRouterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRouterRequest_descriptor, @@ -26840,7 +27658,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "Router", }); internal_static_google_cloud_compute_v1_GetRouterStatusRouterRequest_descriptor = - getDescriptor().getMessageTypes().get(435); + getDescriptor().getMessageTypes().get(443); internal_static_google_cloud_compute_v1_GetRouterStatusRouterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRouterStatusRouterRequest_descriptor, @@ -26848,7 +27666,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "Router", }); internal_static_google_cloud_compute_v1_GetRuleFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(436); + getDescriptor().getMessageTypes().get(444); internal_static_google_cloud_compute_v1_GetRuleFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRuleFirewallPolicyRequest_descriptor, @@ -26856,7 +27674,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FirewallPolicy", "Priority", }); internal_static_google_cloud_compute_v1_GetRuleNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(437); + getDescriptor().getMessageTypes().get(445); internal_static_google_cloud_compute_v1_GetRuleNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRuleNetworkFirewallPolicyRequest_descriptor, @@ -26864,7 +27682,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FirewallPolicy", "Priority", "Project", }); internal_static_google_cloud_compute_v1_GetRuleRegionNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(438); + getDescriptor().getMessageTypes().get(446); internal_static_google_cloud_compute_v1_GetRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRuleRegionNetworkFirewallPolicyRequest_descriptor, @@ -26872,7 +27690,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FirewallPolicy", "Priority", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRuleRegionSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(439); + getDescriptor().getMessageTypes().get(447); internal_static_google_cloud_compute_v1_GetRuleRegionSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRuleRegionSecurityPolicyRequest_descriptor, @@ -26880,7 +27698,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Priority", "Project", "Region", "SecurityPolicy", }); internal_static_google_cloud_compute_v1_GetRuleSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(440); + getDescriptor().getMessageTypes().get(448); internal_static_google_cloud_compute_v1_GetRuleSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRuleSecurityPolicyRequest_descriptor, @@ -26888,7 +27706,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Priority", "Project", "SecurityPolicy", }); internal_static_google_cloud_compute_v1_GetScreenshotInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(441); + getDescriptor().getMessageTypes().get(449); internal_static_google_cloud_compute_v1_GetScreenshotInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetScreenshotInstanceRequest_descriptor, @@ -26896,7 +27714,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Instance", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(442); + getDescriptor().getMessageTypes().get(450); internal_static_google_cloud_compute_v1_GetSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetSecurityPolicyRequest_descriptor, @@ -26904,7 +27722,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "SecurityPolicy", }); internal_static_google_cloud_compute_v1_GetSerialPortOutputInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(443); + getDescriptor().getMessageTypes().get(451); internal_static_google_cloud_compute_v1_GetSerialPortOutputInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetSerialPortOutputInstanceRequest_descriptor, @@ -26912,7 +27730,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Instance", "Port", "Project", "Start", "Zone", }); internal_static_google_cloud_compute_v1_GetServiceAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(444); + getDescriptor().getMessageTypes().get(452); internal_static_google_cloud_compute_v1_GetServiceAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetServiceAttachmentRequest_descriptor, @@ -26920,7 +27738,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "ServiceAttachment", }); internal_static_google_cloud_compute_v1_GetShieldedInstanceIdentityInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(445); + getDescriptor().getMessageTypes().get(453); internal_static_google_cloud_compute_v1_GetShieldedInstanceIdentityInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetShieldedInstanceIdentityInstanceRequest_descriptor, @@ -26928,7 +27746,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Instance", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(446); + getDescriptor().getMessageTypes().get(454); internal_static_google_cloud_compute_v1_GetSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetSnapshotRequest_descriptor, @@ -26936,7 +27754,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Snapshot", }); internal_static_google_cloud_compute_v1_GetSnapshotSettingRequest_descriptor = - getDescriptor().getMessageTypes().get(447); + getDescriptor().getMessageTypes().get(455); internal_static_google_cloud_compute_v1_GetSnapshotSettingRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetSnapshotSettingRequest_descriptor, @@ -26944,7 +27762,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", }); internal_static_google_cloud_compute_v1_GetSslCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(448); + getDescriptor().getMessageTypes().get(456); internal_static_google_cloud_compute_v1_GetSslCertificateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetSslCertificateRequest_descriptor, @@ -26952,7 +27770,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "SslCertificate", }); internal_static_google_cloud_compute_v1_GetSslPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(449); + getDescriptor().getMessageTypes().get(457); internal_static_google_cloud_compute_v1_GetSslPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetSslPolicyRequest_descriptor, @@ -26960,15 +27778,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "SslPolicy", }); internal_static_google_cloud_compute_v1_GetStatusVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(450); + getDescriptor().getMessageTypes().get(458); internal_static_google_cloud_compute_v1_GetStatusVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetStatusVpnGatewayRequest_descriptor, new java.lang.String[] { "Project", "Region", "VpnGateway", }); + internal_static_google_cloud_compute_v1_GetStoragePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(459); + internal_static_google_cloud_compute_v1_GetStoragePoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_GetStoragePoolRequest_descriptor, + new java.lang.String[] { + "Project", "StoragePool", "Zone", + }); + internal_static_google_cloud_compute_v1_GetStoragePoolTypeRequest_descriptor = + getDescriptor().getMessageTypes().get(460); + internal_static_google_cloud_compute_v1_GetStoragePoolTypeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_GetStoragePoolTypeRequest_descriptor, + new java.lang.String[] { + "Project", "StoragePoolType", "Zone", + }); internal_static_google_cloud_compute_v1_GetSubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(451); + getDescriptor().getMessageTypes().get(461); internal_static_google_cloud_compute_v1_GetSubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetSubnetworkRequest_descriptor, @@ -26976,7 +27810,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "Subnetwork", }); internal_static_google_cloud_compute_v1_GetTargetGrpcProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(452); + getDescriptor().getMessageTypes().get(462); internal_static_google_cloud_compute_v1_GetTargetGrpcProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetTargetGrpcProxyRequest_descriptor, @@ -26984,7 +27818,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "TargetGrpcProxy", }); internal_static_google_cloud_compute_v1_GetTargetHttpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(453); + getDescriptor().getMessageTypes().get(463); internal_static_google_cloud_compute_v1_GetTargetHttpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetTargetHttpProxyRequest_descriptor, @@ -26992,7 +27826,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "TargetHttpProxy", }); internal_static_google_cloud_compute_v1_GetTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(454); + getDescriptor().getMessageTypes().get(464); internal_static_google_cloud_compute_v1_GetTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetTargetHttpsProxyRequest_descriptor, @@ -27000,7 +27834,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "TargetHttpsProxy", }); internal_static_google_cloud_compute_v1_GetTargetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(455); + getDescriptor().getMessageTypes().get(465); internal_static_google_cloud_compute_v1_GetTargetInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetTargetInstanceRequest_descriptor, @@ -27008,7 +27842,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "TargetInstance", "Zone", }); internal_static_google_cloud_compute_v1_GetTargetPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(456); + getDescriptor().getMessageTypes().get(466); internal_static_google_cloud_compute_v1_GetTargetPoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetTargetPoolRequest_descriptor, @@ -27016,7 +27850,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "TargetPool", }); internal_static_google_cloud_compute_v1_GetTargetSslProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(457); + getDescriptor().getMessageTypes().get(467); internal_static_google_cloud_compute_v1_GetTargetSslProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetTargetSslProxyRequest_descriptor, @@ -27024,7 +27858,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "TargetSslProxy", }); internal_static_google_cloud_compute_v1_GetTargetTcpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(458); + getDescriptor().getMessageTypes().get(468); internal_static_google_cloud_compute_v1_GetTargetTcpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetTargetTcpProxyRequest_descriptor, @@ -27032,7 +27866,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "TargetTcpProxy", }); internal_static_google_cloud_compute_v1_GetTargetVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(459); + getDescriptor().getMessageTypes().get(469); internal_static_google_cloud_compute_v1_GetTargetVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetTargetVpnGatewayRequest_descriptor, @@ -27040,7 +27874,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "TargetVpnGateway", }); internal_static_google_cloud_compute_v1_GetUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(460); + getDescriptor().getMessageTypes().get(470); internal_static_google_cloud_compute_v1_GetUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetUrlMapRequest_descriptor, @@ -27048,7 +27882,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "UrlMap", }); internal_static_google_cloud_compute_v1_GetVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(461); + getDescriptor().getMessageTypes().get(471); internal_static_google_cloud_compute_v1_GetVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetVpnGatewayRequest_descriptor, @@ -27056,15 +27890,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "VpnGateway", }); internal_static_google_cloud_compute_v1_GetVpnTunnelRequest_descriptor = - getDescriptor().getMessageTypes().get(462); + getDescriptor().getMessageTypes().get(472); internal_static_google_cloud_compute_v1_GetVpnTunnelRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetVpnTunnelRequest_descriptor, new java.lang.String[] { "Project", "Region", "VpnTunnel", }); + _clinit_autosplit_dinit_1(); + } + + private static void _clinit_autosplit_dinit_1() { internal_static_google_cloud_compute_v1_GetXpnHostProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(463); + getDescriptor().getMessageTypes().get(473); internal_static_google_cloud_compute_v1_GetXpnHostProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetXpnHostProjectRequest_descriptor, @@ -27072,7 +27910,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", }); internal_static_google_cloud_compute_v1_GetXpnResourcesProjectsRequest_descriptor = - getDescriptor().getMessageTypes().get(464); + getDescriptor().getMessageTypes().get(474); internal_static_google_cloud_compute_v1_GetXpnResourcesProjectsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetXpnResourcesProjectsRequest_descriptor, @@ -27080,7 +27918,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_GetZoneOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(465); + getDescriptor().getMessageTypes().get(475); internal_static_google_cloud_compute_v1_GetZoneOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetZoneOperationRequest_descriptor, @@ -27088,7 +27926,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Operation", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetZoneRequest_descriptor = - getDescriptor().getMessageTypes().get(466); + getDescriptor().getMessageTypes().get(476); internal_static_google_cloud_compute_v1_GetZoneRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetZoneRequest_descriptor, @@ -27096,7 +27934,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Zone", }); internal_static_google_cloud_compute_v1_GlobalAddressesMoveRequest_descriptor = - getDescriptor().getMessageTypes().get(467); + getDescriptor().getMessageTypes().get(477); internal_static_google_cloud_compute_v1_GlobalAddressesMoveRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GlobalAddressesMoveRequest_descriptor, @@ -27104,7 +27942,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Description", "DestinationAddress", }); internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsAttachEndpointsRequest_descriptor = - getDescriptor().getMessageTypes().get(468); + getDescriptor().getMessageTypes().get(478); internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsAttachEndpointsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsAttachEndpointsRequest_descriptor, @@ -27112,7 +27950,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkEndpoints", }); internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsDetachEndpointsRequest_descriptor = - getDescriptor().getMessageTypes().get(469); + getDescriptor().getMessageTypes().get(479); internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsDetachEndpointsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsDetachEndpointsRequest_descriptor, @@ -27120,7 +27958,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkEndpoints", }); internal_static_google_cloud_compute_v1_GlobalOrganizationSetPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(470); + getDescriptor().getMessageTypes().get(480); internal_static_google_cloud_compute_v1_GlobalOrganizationSetPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GlobalOrganizationSetPolicyRequest_descriptor, @@ -27128,7 +27966,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Bindings", "Etag", "Policy", }); internal_static_google_cloud_compute_v1_GlobalSetLabelsRequest_descriptor = - getDescriptor().getMessageTypes().get(471); + getDescriptor().getMessageTypes().get(481); internal_static_google_cloud_compute_v1_GlobalSetLabelsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GlobalSetLabelsRequest_descriptor, @@ -27146,7 +27984,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_GlobalSetPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(472); + getDescriptor().getMessageTypes().get(482); internal_static_google_cloud_compute_v1_GlobalSetPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GlobalSetPolicyRequest_descriptor, @@ -27154,19 +27992,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Bindings", "Etag", "Policy", }); internal_static_google_cloud_compute_v1_GuestAttributes_descriptor = - getDescriptor().getMessageTypes().get(473); + getDescriptor().getMessageTypes().get(483); internal_static_google_cloud_compute_v1_GuestAttributes_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GuestAttributes_descriptor, new java.lang.String[] { "Kind", "QueryPath", "QueryValue", "SelfLink", "VariableKey", "VariableValue", }); - _clinit_autosplit_dinit_1(); - } - - private static void _clinit_autosplit_dinit_1() { internal_static_google_cloud_compute_v1_GuestAttributesEntry_descriptor = - getDescriptor().getMessageTypes().get(474); + getDescriptor().getMessageTypes().get(484); internal_static_google_cloud_compute_v1_GuestAttributesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GuestAttributesEntry_descriptor, @@ -27174,7 +28008,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Namespace", "Value", }); internal_static_google_cloud_compute_v1_GuestAttributesValue_descriptor = - getDescriptor().getMessageTypes().get(475); + getDescriptor().getMessageTypes().get(485); internal_static_google_cloud_compute_v1_GuestAttributesValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GuestAttributesValue_descriptor, @@ -27182,7 +28016,7 @@ private static void _clinit_autosplit_dinit_1() { "Items", }); internal_static_google_cloud_compute_v1_GuestOsFeature_descriptor = - getDescriptor().getMessageTypes().get(476); + getDescriptor().getMessageTypes().get(486); internal_static_google_cloud_compute_v1_GuestOsFeature_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GuestOsFeature_descriptor, @@ -27190,7 +28024,7 @@ private static void _clinit_autosplit_dinit_1() { "Type", }); internal_static_google_cloud_compute_v1_HTTP2HealthCheck_descriptor = - getDescriptor().getMessageTypes().get(477); + getDescriptor().getMessageTypes().get(487); internal_static_google_cloud_compute_v1_HTTP2HealthCheck_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HTTP2HealthCheck_descriptor, @@ -27204,7 +28038,7 @@ private static void _clinit_autosplit_dinit_1() { "Response", }); internal_static_google_cloud_compute_v1_HTTPHealthCheck_descriptor = - getDescriptor().getMessageTypes().get(478); + getDescriptor().getMessageTypes().get(488); internal_static_google_cloud_compute_v1_HTTPHealthCheck_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HTTPHealthCheck_descriptor, @@ -27218,7 +28052,7 @@ private static void _clinit_autosplit_dinit_1() { "Response", }); internal_static_google_cloud_compute_v1_HTTPSHealthCheck_descriptor = - getDescriptor().getMessageTypes().get(479); + getDescriptor().getMessageTypes().get(489); internal_static_google_cloud_compute_v1_HTTPSHealthCheck_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HTTPSHealthCheck_descriptor, @@ -27232,7 +28066,7 @@ private static void _clinit_autosplit_dinit_1() { "Response", }); internal_static_google_cloud_compute_v1_HealthCheck_descriptor = - getDescriptor().getMessageTypes().get(480); + getDescriptor().getMessageTypes().get(490); internal_static_google_cloud_compute_v1_HealthCheck_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthCheck_descriptor, @@ -27258,7 +28092,7 @@ private static void _clinit_autosplit_dinit_1() { "UnhealthyThreshold", }); internal_static_google_cloud_compute_v1_HealthCheckList_descriptor = - getDescriptor().getMessageTypes().get(481); + getDescriptor().getMessageTypes().get(491); internal_static_google_cloud_compute_v1_HealthCheckList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthCheckList_descriptor, @@ -27266,7 +28100,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_HealthCheckLogConfig_descriptor = - getDescriptor().getMessageTypes().get(482); + getDescriptor().getMessageTypes().get(492); internal_static_google_cloud_compute_v1_HealthCheckLogConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthCheckLogConfig_descriptor, @@ -27274,7 +28108,7 @@ private static void _clinit_autosplit_dinit_1() { "Enable", }); internal_static_google_cloud_compute_v1_HealthCheckReference_descriptor = - getDescriptor().getMessageTypes().get(483); + getDescriptor().getMessageTypes().get(493); internal_static_google_cloud_compute_v1_HealthCheckReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthCheckReference_descriptor, @@ -27282,7 +28116,7 @@ private static void _clinit_autosplit_dinit_1() { "HealthCheck", }); internal_static_google_cloud_compute_v1_HealthCheckService_descriptor = - getDescriptor().getMessageTypes().get(484); + getDescriptor().getMessageTypes().get(494); internal_static_google_cloud_compute_v1_HealthCheckService_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthCheckService_descriptor, @@ -27301,7 +28135,7 @@ private static void _clinit_autosplit_dinit_1() { "SelfLink", }); internal_static_google_cloud_compute_v1_HealthCheckServiceReference_descriptor = - getDescriptor().getMessageTypes().get(485); + getDescriptor().getMessageTypes().get(495); internal_static_google_cloud_compute_v1_HealthCheckServiceReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthCheckServiceReference_descriptor, @@ -27309,7 +28143,7 @@ private static void _clinit_autosplit_dinit_1() { "HealthCheckService", }); internal_static_google_cloud_compute_v1_HealthCheckServicesList_descriptor = - getDescriptor().getMessageTypes().get(486); + getDescriptor().getMessageTypes().get(496); internal_static_google_cloud_compute_v1_HealthCheckServicesList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthCheckServicesList_descriptor, @@ -27317,7 +28151,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_HealthChecksAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(487); + getDescriptor().getMessageTypes().get(497); internal_static_google_cloud_compute_v1_HealthChecksAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthChecksAggregatedList_descriptor, @@ -27335,7 +28169,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_HealthChecksScopedList_descriptor = - getDescriptor().getMessageTypes().get(488); + getDescriptor().getMessageTypes().get(498); internal_static_google_cloud_compute_v1_HealthChecksScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthChecksScopedList_descriptor, @@ -27343,7 +28177,7 @@ private static void _clinit_autosplit_dinit_1() { "HealthChecks", "Warning", }); internal_static_google_cloud_compute_v1_HealthStatus_descriptor = - getDescriptor().getMessageTypes().get(489); + getDescriptor().getMessageTypes().get(499); internal_static_google_cloud_compute_v1_HealthStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthStatus_descriptor, @@ -27367,7 +28201,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_HealthStatusForNetworkEndpoint_descriptor = - getDescriptor().getMessageTypes().get(490); + getDescriptor().getMessageTypes().get(500); internal_static_google_cloud_compute_v1_HealthStatusForNetworkEndpoint_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthStatusForNetworkEndpoint_descriptor, @@ -27379,7 +28213,7 @@ private static void _clinit_autosplit_dinit_1() { "HealthState", }); internal_static_google_cloud_compute_v1_Help_descriptor = - getDescriptor().getMessageTypes().get(491); + getDescriptor().getMessageTypes().get(501); internal_static_google_cloud_compute_v1_Help_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Help_descriptor, @@ -27387,7 +28221,7 @@ private static void _clinit_autosplit_dinit_1() { "Links", }); internal_static_google_cloud_compute_v1_HelpLink_descriptor = - getDescriptor().getMessageTypes().get(492); + getDescriptor().getMessageTypes().get(502); internal_static_google_cloud_compute_v1_HelpLink_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HelpLink_descriptor, @@ -27395,7 +28229,7 @@ private static void _clinit_autosplit_dinit_1() { "Description", "Url", }); internal_static_google_cloud_compute_v1_HostRule_descriptor = - getDescriptor().getMessageTypes().get(493); + getDescriptor().getMessageTypes().get(503); internal_static_google_cloud_compute_v1_HostRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HostRule_descriptor, @@ -27403,7 +28237,7 @@ private static void _clinit_autosplit_dinit_1() { "Description", "Hosts", "PathMatcher", }); internal_static_google_cloud_compute_v1_HttpFaultAbort_descriptor = - getDescriptor().getMessageTypes().get(494); + getDescriptor().getMessageTypes().get(504); internal_static_google_cloud_compute_v1_HttpFaultAbort_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpFaultAbort_descriptor, @@ -27411,7 +28245,7 @@ private static void _clinit_autosplit_dinit_1() { "HttpStatus", "Percentage", }); internal_static_google_cloud_compute_v1_HttpFaultDelay_descriptor = - getDescriptor().getMessageTypes().get(495); + getDescriptor().getMessageTypes().get(505); internal_static_google_cloud_compute_v1_HttpFaultDelay_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpFaultDelay_descriptor, @@ -27419,7 +28253,7 @@ private static void _clinit_autosplit_dinit_1() { "FixedDelay", "Percentage", }); internal_static_google_cloud_compute_v1_HttpFaultInjection_descriptor = - getDescriptor().getMessageTypes().get(496); + getDescriptor().getMessageTypes().get(506); internal_static_google_cloud_compute_v1_HttpFaultInjection_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpFaultInjection_descriptor, @@ -27427,7 +28261,7 @@ private static void _clinit_autosplit_dinit_1() { "Abort", "Delay", }); internal_static_google_cloud_compute_v1_HttpHeaderAction_descriptor = - getDescriptor().getMessageTypes().get(497); + getDescriptor().getMessageTypes().get(507); internal_static_google_cloud_compute_v1_HttpHeaderAction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpHeaderAction_descriptor, @@ -27438,7 +28272,7 @@ private static void _clinit_autosplit_dinit_1() { "ResponseHeadersToRemove", }); internal_static_google_cloud_compute_v1_HttpHeaderMatch_descriptor = - getDescriptor().getMessageTypes().get(498); + getDescriptor().getMessageTypes().get(508); internal_static_google_cloud_compute_v1_HttpHeaderMatch_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpHeaderMatch_descriptor, @@ -27453,7 +28287,7 @@ private static void _clinit_autosplit_dinit_1() { "SuffixMatch", }); internal_static_google_cloud_compute_v1_HttpHeaderOption_descriptor = - getDescriptor().getMessageTypes().get(499); + getDescriptor().getMessageTypes().get(509); internal_static_google_cloud_compute_v1_HttpHeaderOption_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpHeaderOption_descriptor, @@ -27461,7 +28295,7 @@ private static void _clinit_autosplit_dinit_1() { "HeaderName", "HeaderValue", "Replace", }); internal_static_google_cloud_compute_v1_HttpQueryParameterMatch_descriptor = - getDescriptor().getMessageTypes().get(500); + getDescriptor().getMessageTypes().get(510); internal_static_google_cloud_compute_v1_HttpQueryParameterMatch_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpQueryParameterMatch_descriptor, @@ -27469,7 +28303,7 @@ private static void _clinit_autosplit_dinit_1() { "ExactMatch", "Name", "PresentMatch", "RegexMatch", }); internal_static_google_cloud_compute_v1_HttpRedirectAction_descriptor = - getDescriptor().getMessageTypes().get(501); + getDescriptor().getMessageTypes().get(511); internal_static_google_cloud_compute_v1_HttpRedirectAction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpRedirectAction_descriptor, @@ -27482,7 +28316,7 @@ private static void _clinit_autosplit_dinit_1() { "StripQuery", }); internal_static_google_cloud_compute_v1_HttpRetryPolicy_descriptor = - getDescriptor().getMessageTypes().get(502); + getDescriptor().getMessageTypes().get(512); internal_static_google_cloud_compute_v1_HttpRetryPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpRetryPolicy_descriptor, @@ -27490,7 +28324,7 @@ private static void _clinit_autosplit_dinit_1() { "NumRetries", "PerTryTimeout", "RetryConditions", }); internal_static_google_cloud_compute_v1_HttpRouteAction_descriptor = - getDescriptor().getMessageTypes().get(503); + getDescriptor().getMessageTypes().get(513); internal_static_google_cloud_compute_v1_HttpRouteAction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpRouteAction_descriptor, @@ -27505,7 +28339,7 @@ private static void _clinit_autosplit_dinit_1() { "WeightedBackendServices", }); internal_static_google_cloud_compute_v1_HttpRouteRule_descriptor = - getDescriptor().getMessageTypes().get(504); + getDescriptor().getMessageTypes().get(514); internal_static_google_cloud_compute_v1_HttpRouteRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpRouteRule_descriptor, @@ -27519,7 +28353,7 @@ private static void _clinit_autosplit_dinit_1() { "UrlRedirect", }); internal_static_google_cloud_compute_v1_HttpRouteRuleMatch_descriptor = - getDescriptor().getMessageTypes().get(505); + getDescriptor().getMessageTypes().get(515); internal_static_google_cloud_compute_v1_HttpRouteRuleMatch_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpRouteRuleMatch_descriptor, @@ -27534,7 +28368,7 @@ private static void _clinit_autosplit_dinit_1() { "RegexMatch", }); internal_static_google_cloud_compute_v1_Image_descriptor = - getDescriptor().getMessageTypes().get(506); + getDescriptor().getMessageTypes().get(516); internal_static_google_cloud_compute_v1_Image_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Image_descriptor, @@ -27583,7 +28417,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ImageFamilyView_descriptor = - getDescriptor().getMessageTypes().get(507); + getDescriptor().getMessageTypes().get(517); internal_static_google_cloud_compute_v1_ImageFamilyView_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ImageFamilyView_descriptor, @@ -27591,7 +28425,7 @@ private static void _clinit_autosplit_dinit_1() { "Image", }); internal_static_google_cloud_compute_v1_ImageList_descriptor = - getDescriptor().getMessageTypes().get(508); + getDescriptor().getMessageTypes().get(518); internal_static_google_cloud_compute_v1_ImageList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ImageList_descriptor, @@ -27599,7 +28433,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_InitialStateConfig_descriptor = - getDescriptor().getMessageTypes().get(509); + getDescriptor().getMessageTypes().get(519); internal_static_google_cloud_compute_v1_InitialStateConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InitialStateConfig_descriptor, @@ -27607,7 +28441,7 @@ private static void _clinit_autosplit_dinit_1() { "Dbs", "Dbxs", "Keks", "Pk", }); internal_static_google_cloud_compute_v1_InsertAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(510); + getDescriptor().getMessageTypes().get(520); internal_static_google_cloud_compute_v1_InsertAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertAddressRequest_descriptor, @@ -27615,7 +28449,7 @@ private static void _clinit_autosplit_dinit_1() { "AddressResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_InsertAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(511); + getDescriptor().getMessageTypes().get(521); internal_static_google_cloud_compute_v1_InsertAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertAutoscalerRequest_descriptor, @@ -27623,7 +28457,7 @@ private static void _clinit_autosplit_dinit_1() { "AutoscalerResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_InsertBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(512); + getDescriptor().getMessageTypes().get(522); internal_static_google_cloud_compute_v1_InsertBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertBackendBucketRequest_descriptor, @@ -27631,7 +28465,7 @@ private static void _clinit_autosplit_dinit_1() { "BackendBucketResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_InsertBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(513); + getDescriptor().getMessageTypes().get(523); internal_static_google_cloud_compute_v1_InsertBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertBackendServiceRequest_descriptor, @@ -27639,7 +28473,7 @@ private static void _clinit_autosplit_dinit_1() { "BackendServiceResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_InsertDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(514); + getDescriptor().getMessageTypes().get(524); internal_static_google_cloud_compute_v1_InsertDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertDiskRequest_descriptor, @@ -27647,7 +28481,7 @@ private static void _clinit_autosplit_dinit_1() { "DiskResource", "Project", "RequestId", "SourceImage", "Zone", }); internal_static_google_cloud_compute_v1_InsertExternalVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(515); + getDescriptor().getMessageTypes().get(525); internal_static_google_cloud_compute_v1_InsertExternalVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertExternalVpnGatewayRequest_descriptor, @@ -27655,7 +28489,7 @@ private static void _clinit_autosplit_dinit_1() { "ExternalVpnGatewayResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_InsertFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(516); + getDescriptor().getMessageTypes().get(526); internal_static_google_cloud_compute_v1_InsertFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertFirewallPolicyRequest_descriptor, @@ -27663,7 +28497,7 @@ private static void _clinit_autosplit_dinit_1() { "FirewallPolicyResource", "ParentId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertFirewallRequest_descriptor = - getDescriptor().getMessageTypes().get(517); + getDescriptor().getMessageTypes().get(527); internal_static_google_cloud_compute_v1_InsertFirewallRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertFirewallRequest_descriptor, @@ -27671,7 +28505,7 @@ private static void _clinit_autosplit_dinit_1() { "FirewallResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_InsertForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(518); + getDescriptor().getMessageTypes().get(528); internal_static_google_cloud_compute_v1_InsertForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertForwardingRuleRequest_descriptor, @@ -27679,7 +28513,7 @@ private static void _clinit_autosplit_dinit_1() { "ForwardingRuleResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_InsertGlobalAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(519); + getDescriptor().getMessageTypes().get(529); internal_static_google_cloud_compute_v1_InsertGlobalAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertGlobalAddressRequest_descriptor, @@ -27687,7 +28521,7 @@ private static void _clinit_autosplit_dinit_1() { "AddressResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_InsertGlobalForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(520); + getDescriptor().getMessageTypes().get(530); internal_static_google_cloud_compute_v1_InsertGlobalForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertGlobalForwardingRuleRequest_descriptor, @@ -27695,7 +28529,7 @@ private static void _clinit_autosplit_dinit_1() { "ForwardingRuleResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_InsertGlobalNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(521); + getDescriptor().getMessageTypes().get(531); internal_static_google_cloud_compute_v1_InsertGlobalNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertGlobalNetworkEndpointGroupRequest_descriptor, @@ -27703,7 +28537,7 @@ private static void _clinit_autosplit_dinit_1() { "NetworkEndpointGroupResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_InsertGlobalPublicDelegatedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(522); + getDescriptor().getMessageTypes().get(532); internal_static_google_cloud_compute_v1_InsertGlobalPublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertGlobalPublicDelegatedPrefixeRequest_descriptor, @@ -27711,7 +28545,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "PublicDelegatedPrefixResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(523); + getDescriptor().getMessageTypes().get(533); internal_static_google_cloud_compute_v1_InsertHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertHealthCheckRequest_descriptor, @@ -27719,7 +28553,7 @@ private static void _clinit_autosplit_dinit_1() { "HealthCheckResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_InsertImageRequest_descriptor = - getDescriptor().getMessageTypes().get(524); + getDescriptor().getMessageTypes().get(534); internal_static_google_cloud_compute_v1_InsertImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertImageRequest_descriptor, @@ -27727,15 +28561,27 @@ private static void _clinit_autosplit_dinit_1() { "ForceCreate", "ImageResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(525); + getDescriptor().getMessageTypes().get(535); internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerRequest_descriptor, new java.lang.String[] { "InstanceGroupManagerResource", "Project", "RequestId", "Zone", }); + internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerResizeRequestRequest_descriptor = + getDescriptor().getMessageTypes().get(536); + internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerResizeRequestRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerResizeRequestRequest_descriptor, + new java.lang.String[] { + "InstanceGroupManager", + "InstanceGroupManagerResizeRequestResource", + "Project", + "RequestId", + "Zone", + }); internal_static_google_cloud_compute_v1_InsertInstanceGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(526); + getDescriptor().getMessageTypes().get(537); internal_static_google_cloud_compute_v1_InsertInstanceGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertInstanceGroupRequest_descriptor, @@ -27743,7 +28589,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceGroupResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_InsertInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(527); + getDescriptor().getMessageTypes().get(538); internal_static_google_cloud_compute_v1_InsertInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertInstanceRequest_descriptor, @@ -27756,7 +28602,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_InsertInstanceTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(528); + getDescriptor().getMessageTypes().get(539); internal_static_google_cloud_compute_v1_InsertInstanceTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertInstanceTemplateRequest_descriptor, @@ -27764,7 +28610,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceTemplateResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_InsertInstantSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(529); + getDescriptor().getMessageTypes().get(540); internal_static_google_cloud_compute_v1_InsertInstantSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertInstantSnapshotRequest_descriptor, @@ -27772,7 +28618,7 @@ private static void _clinit_autosplit_dinit_1() { "InstantSnapshotResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_InsertInterconnectAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(530); + getDescriptor().getMessageTypes().get(541); internal_static_google_cloud_compute_v1_InsertInterconnectAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertInterconnectAttachmentRequest_descriptor, @@ -27780,7 +28626,7 @@ private static void _clinit_autosplit_dinit_1() { "InterconnectAttachmentResource", "Project", "Region", "RequestId", "ValidateOnly", }); internal_static_google_cloud_compute_v1_InsertInterconnectRequest_descriptor = - getDescriptor().getMessageTypes().get(531); + getDescriptor().getMessageTypes().get(542); internal_static_google_cloud_compute_v1_InsertInterconnectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertInterconnectRequest_descriptor, @@ -27788,7 +28634,7 @@ private static void _clinit_autosplit_dinit_1() { "InterconnectResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_InsertLicenseRequest_descriptor = - getDescriptor().getMessageTypes().get(532); + getDescriptor().getMessageTypes().get(543); internal_static_google_cloud_compute_v1_InsertLicenseRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertLicenseRequest_descriptor, @@ -27796,7 +28642,7 @@ private static void _clinit_autosplit_dinit_1() { "LicenseResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_InsertMachineImageRequest_descriptor = - getDescriptor().getMessageTypes().get(533); + getDescriptor().getMessageTypes().get(544); internal_static_google_cloud_compute_v1_InsertMachineImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertMachineImageRequest_descriptor, @@ -27804,7 +28650,7 @@ private static void _clinit_autosplit_dinit_1() { "MachineImageResource", "Project", "RequestId", "SourceInstance", }); internal_static_google_cloud_compute_v1_InsertNetworkAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(534); + getDescriptor().getMessageTypes().get(545); internal_static_google_cloud_compute_v1_InsertNetworkAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertNetworkAttachmentRequest_descriptor, @@ -27812,7 +28658,7 @@ private static void _clinit_autosplit_dinit_1() { "NetworkAttachmentResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_InsertNetworkEdgeSecurityServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(535); + getDescriptor().getMessageTypes().get(546); internal_static_google_cloud_compute_v1_InsertNetworkEdgeSecurityServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertNetworkEdgeSecurityServiceRequest_descriptor, @@ -27824,7 +28670,7 @@ private static void _clinit_autosplit_dinit_1() { "ValidateOnly", }); internal_static_google_cloud_compute_v1_InsertNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(536); + getDescriptor().getMessageTypes().get(547); internal_static_google_cloud_compute_v1_InsertNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertNetworkEndpointGroupRequest_descriptor, @@ -27832,7 +28678,7 @@ private static void _clinit_autosplit_dinit_1() { "NetworkEndpointGroupResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_InsertNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(537); + getDescriptor().getMessageTypes().get(548); internal_static_google_cloud_compute_v1_InsertNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertNetworkFirewallPolicyRequest_descriptor, @@ -27840,7 +28686,7 @@ private static void _clinit_autosplit_dinit_1() { "FirewallPolicyResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_InsertNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(538); + getDescriptor().getMessageTypes().get(549); internal_static_google_cloud_compute_v1_InsertNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertNetworkRequest_descriptor, @@ -27848,7 +28694,7 @@ private static void _clinit_autosplit_dinit_1() { "NetworkResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_InsertNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(539); + getDescriptor().getMessageTypes().get(550); internal_static_google_cloud_compute_v1_InsertNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertNodeGroupRequest_descriptor, @@ -27856,7 +28702,7 @@ private static void _clinit_autosplit_dinit_1() { "InitialNodeCount", "NodeGroupResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_InsertNodeTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(540); + getDescriptor().getMessageTypes().get(551); internal_static_google_cloud_compute_v1_InsertNodeTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertNodeTemplateRequest_descriptor, @@ -27864,7 +28710,7 @@ private static void _clinit_autosplit_dinit_1() { "NodeTemplateResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_InsertPacketMirroringRequest_descriptor = - getDescriptor().getMessageTypes().get(541); + getDescriptor().getMessageTypes().get(552); internal_static_google_cloud_compute_v1_InsertPacketMirroringRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertPacketMirroringRequest_descriptor, @@ -27872,7 +28718,7 @@ private static void _clinit_autosplit_dinit_1() { "PacketMirroringResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_InsertPublicAdvertisedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(542); + getDescriptor().getMessageTypes().get(553); internal_static_google_cloud_compute_v1_InsertPublicAdvertisedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertPublicAdvertisedPrefixeRequest_descriptor, @@ -27880,7 +28726,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "PublicAdvertisedPrefixResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertPublicDelegatedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(543); + getDescriptor().getMessageTypes().get(554); internal_static_google_cloud_compute_v1_InsertPublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertPublicDelegatedPrefixeRequest_descriptor, @@ -27888,7 +28734,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "PublicDelegatedPrefixResource", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(544); + getDescriptor().getMessageTypes().get(555); internal_static_google_cloud_compute_v1_InsertRegionAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionAutoscalerRequest_descriptor, @@ -27896,7 +28742,7 @@ private static void _clinit_autosplit_dinit_1() { "AutoscalerResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(545); + getDescriptor().getMessageTypes().get(556); internal_static_google_cloud_compute_v1_InsertRegionBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionBackendServiceRequest_descriptor, @@ -27904,7 +28750,7 @@ private static void _clinit_autosplit_dinit_1() { "BackendServiceResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionCommitmentRequest_descriptor = - getDescriptor().getMessageTypes().get(546); + getDescriptor().getMessageTypes().get(557); internal_static_google_cloud_compute_v1_InsertRegionCommitmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionCommitmentRequest_descriptor, @@ -27912,7 +28758,7 @@ private static void _clinit_autosplit_dinit_1() { "CommitmentResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(547); + getDescriptor().getMessageTypes().get(558); internal_static_google_cloud_compute_v1_InsertRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionDiskRequest_descriptor, @@ -27920,7 +28766,7 @@ private static void _clinit_autosplit_dinit_1() { "DiskResource", "Project", "Region", "RequestId", "SourceImage", }); internal_static_google_cloud_compute_v1_InsertRegionHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(548); + getDescriptor().getMessageTypes().get(559); internal_static_google_cloud_compute_v1_InsertRegionHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionHealthCheckRequest_descriptor, @@ -27928,7 +28774,7 @@ private static void _clinit_autosplit_dinit_1() { "HealthCheckResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionHealthCheckServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(549); + getDescriptor().getMessageTypes().get(560); internal_static_google_cloud_compute_v1_InsertRegionHealthCheckServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionHealthCheckServiceRequest_descriptor, @@ -27936,7 +28782,7 @@ private static void _clinit_autosplit_dinit_1() { "HealthCheckServiceResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(550); + getDescriptor().getMessageTypes().get(561); internal_static_google_cloud_compute_v1_InsertRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionInstanceGroupManagerRequest_descriptor, @@ -27944,7 +28790,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceGroupManagerResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionInstanceTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(551); + getDescriptor().getMessageTypes().get(562); internal_static_google_cloud_compute_v1_InsertRegionInstanceTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionInstanceTemplateRequest_descriptor, @@ -27952,7 +28798,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceTemplateResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionInstantSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(552); + getDescriptor().getMessageTypes().get(563); internal_static_google_cloud_compute_v1_InsertRegionInstantSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionInstantSnapshotRequest_descriptor, @@ -27960,7 +28806,7 @@ private static void _clinit_autosplit_dinit_1() { "InstantSnapshotResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(553); + getDescriptor().getMessageTypes().get(564); internal_static_google_cloud_compute_v1_InsertRegionNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionNetworkEndpointGroupRequest_descriptor, @@ -27968,7 +28814,7 @@ private static void _clinit_autosplit_dinit_1() { "NetworkEndpointGroupResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(554); + getDescriptor().getMessageTypes().get(565); internal_static_google_cloud_compute_v1_InsertRegionNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionNetworkFirewallPolicyRequest_descriptor, @@ -27976,7 +28822,7 @@ private static void _clinit_autosplit_dinit_1() { "FirewallPolicyResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionNotificationEndpointRequest_descriptor = - getDescriptor().getMessageTypes().get(555); + getDescriptor().getMessageTypes().get(566); internal_static_google_cloud_compute_v1_InsertRegionNotificationEndpointRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionNotificationEndpointRequest_descriptor, @@ -27984,7 +28830,7 @@ private static void _clinit_autosplit_dinit_1() { "NotificationEndpointResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(556); + getDescriptor().getMessageTypes().get(567); internal_static_google_cloud_compute_v1_InsertRegionSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionSecurityPolicyRequest_descriptor, @@ -27992,7 +28838,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "SecurityPolicyResource", "ValidateOnly", }); internal_static_google_cloud_compute_v1_InsertRegionSslCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(557); + getDescriptor().getMessageTypes().get(568); internal_static_google_cloud_compute_v1_InsertRegionSslCertificateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionSslCertificateRequest_descriptor, @@ -28000,7 +28846,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "SslCertificateResource", }); internal_static_google_cloud_compute_v1_InsertRegionSslPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(558); + getDescriptor().getMessageTypes().get(569); internal_static_google_cloud_compute_v1_InsertRegionSslPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionSslPolicyRequest_descriptor, @@ -28008,7 +28854,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "SslPolicyResource", }); internal_static_google_cloud_compute_v1_InsertRegionTargetHttpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(559); + getDescriptor().getMessageTypes().get(570); internal_static_google_cloud_compute_v1_InsertRegionTargetHttpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionTargetHttpProxyRequest_descriptor, @@ -28016,7 +28862,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "TargetHttpProxyResource", }); internal_static_google_cloud_compute_v1_InsertRegionTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(560); + getDescriptor().getMessageTypes().get(571); internal_static_google_cloud_compute_v1_InsertRegionTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionTargetHttpsProxyRequest_descriptor, @@ -28024,7 +28870,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "TargetHttpsProxyResource", }); internal_static_google_cloud_compute_v1_InsertRegionTargetTcpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(561); + getDescriptor().getMessageTypes().get(572); internal_static_google_cloud_compute_v1_InsertRegionTargetTcpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionTargetTcpProxyRequest_descriptor, @@ -28032,7 +28878,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "TargetTcpProxyResource", }); internal_static_google_cloud_compute_v1_InsertRegionUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(562); + getDescriptor().getMessageTypes().get(573); internal_static_google_cloud_compute_v1_InsertRegionUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionUrlMapRequest_descriptor, @@ -28040,7 +28886,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "UrlMapResource", }); internal_static_google_cloud_compute_v1_InsertReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(563); + getDescriptor().getMessageTypes().get(574); internal_static_google_cloud_compute_v1_InsertReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertReservationRequest_descriptor, @@ -28048,7 +28894,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "ReservationResource", "Zone", }); internal_static_google_cloud_compute_v1_InsertResourcePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(564); + getDescriptor().getMessageTypes().get(575); internal_static_google_cloud_compute_v1_InsertResourcePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertResourcePolicyRequest_descriptor, @@ -28056,7 +28902,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "ResourcePolicyResource", }); internal_static_google_cloud_compute_v1_InsertRouteRequest_descriptor = - getDescriptor().getMessageTypes().get(565); + getDescriptor().getMessageTypes().get(576); internal_static_google_cloud_compute_v1_InsertRouteRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRouteRequest_descriptor, @@ -28064,7 +28910,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "RouteResource", }); internal_static_google_cloud_compute_v1_InsertRouterRequest_descriptor = - getDescriptor().getMessageTypes().get(566); + getDescriptor().getMessageTypes().get(577); internal_static_google_cloud_compute_v1_InsertRouterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRouterRequest_descriptor, @@ -28072,7 +28918,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "RouterResource", }); internal_static_google_cloud_compute_v1_InsertSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(567); + getDescriptor().getMessageTypes().get(578); internal_static_google_cloud_compute_v1_InsertSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertSecurityPolicyRequest_descriptor, @@ -28080,7 +28926,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "SecurityPolicyResource", "ValidateOnly", }); internal_static_google_cloud_compute_v1_InsertServiceAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(568); + getDescriptor().getMessageTypes().get(579); internal_static_google_cloud_compute_v1_InsertServiceAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertServiceAttachmentRequest_descriptor, @@ -28088,7 +28934,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "ServiceAttachmentResource", }); internal_static_google_cloud_compute_v1_InsertSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(569); + getDescriptor().getMessageTypes().get(580); internal_static_google_cloud_compute_v1_InsertSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertSnapshotRequest_descriptor, @@ -28096,7 +28942,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "SnapshotResource", }); internal_static_google_cloud_compute_v1_InsertSslCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(570); + getDescriptor().getMessageTypes().get(581); internal_static_google_cloud_compute_v1_InsertSslCertificateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertSslCertificateRequest_descriptor, @@ -28104,15 +28950,23 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "SslCertificateResource", }); internal_static_google_cloud_compute_v1_InsertSslPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(571); + getDescriptor().getMessageTypes().get(582); internal_static_google_cloud_compute_v1_InsertSslPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertSslPolicyRequest_descriptor, new java.lang.String[] { "Project", "RequestId", "SslPolicyResource", }); + internal_static_google_cloud_compute_v1_InsertStoragePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(583); + internal_static_google_cloud_compute_v1_InsertStoragePoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_InsertStoragePoolRequest_descriptor, + new java.lang.String[] { + "Project", "RequestId", "StoragePoolResource", "Zone", + }); internal_static_google_cloud_compute_v1_InsertSubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(572); + getDescriptor().getMessageTypes().get(584); internal_static_google_cloud_compute_v1_InsertSubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertSubnetworkRequest_descriptor, @@ -28120,7 +28974,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "SubnetworkResource", }); internal_static_google_cloud_compute_v1_InsertTargetGrpcProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(573); + getDescriptor().getMessageTypes().get(585); internal_static_google_cloud_compute_v1_InsertTargetGrpcProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertTargetGrpcProxyRequest_descriptor, @@ -28128,7 +28982,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "TargetGrpcProxyResource", }); internal_static_google_cloud_compute_v1_InsertTargetHttpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(574); + getDescriptor().getMessageTypes().get(586); internal_static_google_cloud_compute_v1_InsertTargetHttpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertTargetHttpProxyRequest_descriptor, @@ -28136,7 +28990,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "TargetHttpProxyResource", }); internal_static_google_cloud_compute_v1_InsertTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(575); + getDescriptor().getMessageTypes().get(587); internal_static_google_cloud_compute_v1_InsertTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertTargetHttpsProxyRequest_descriptor, @@ -28144,7 +28998,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "TargetHttpsProxyResource", }); internal_static_google_cloud_compute_v1_InsertTargetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(576); + getDescriptor().getMessageTypes().get(588); internal_static_google_cloud_compute_v1_InsertTargetInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertTargetInstanceRequest_descriptor, @@ -28152,7 +29006,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "TargetInstanceResource", "Zone", }); internal_static_google_cloud_compute_v1_InsertTargetPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(577); + getDescriptor().getMessageTypes().get(589); internal_static_google_cloud_compute_v1_InsertTargetPoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertTargetPoolRequest_descriptor, @@ -28160,7 +29014,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "TargetPoolResource", }); internal_static_google_cloud_compute_v1_InsertTargetSslProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(578); + getDescriptor().getMessageTypes().get(590); internal_static_google_cloud_compute_v1_InsertTargetSslProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertTargetSslProxyRequest_descriptor, @@ -28168,7 +29022,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "TargetSslProxyResource", }); internal_static_google_cloud_compute_v1_InsertTargetTcpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(579); + getDescriptor().getMessageTypes().get(591); internal_static_google_cloud_compute_v1_InsertTargetTcpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertTargetTcpProxyRequest_descriptor, @@ -28176,7 +29030,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "TargetTcpProxyResource", }); internal_static_google_cloud_compute_v1_InsertTargetVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(580); + getDescriptor().getMessageTypes().get(592); internal_static_google_cloud_compute_v1_InsertTargetVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertTargetVpnGatewayRequest_descriptor, @@ -28184,7 +29038,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "TargetVpnGatewayResource", }); internal_static_google_cloud_compute_v1_InsertUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(581); + getDescriptor().getMessageTypes().get(593); internal_static_google_cloud_compute_v1_InsertUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertUrlMapRequest_descriptor, @@ -28192,7 +29046,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "UrlMapResource", }); internal_static_google_cloud_compute_v1_InsertVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(582); + getDescriptor().getMessageTypes().get(594); internal_static_google_cloud_compute_v1_InsertVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertVpnGatewayRequest_descriptor, @@ -28200,7 +29054,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "VpnGatewayResource", }); internal_static_google_cloud_compute_v1_InsertVpnTunnelRequest_descriptor = - getDescriptor().getMessageTypes().get(583); + getDescriptor().getMessageTypes().get(595); internal_static_google_cloud_compute_v1_InsertVpnTunnelRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertVpnTunnelRequest_descriptor, @@ -28208,7 +29062,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "VpnTunnelResource", }); internal_static_google_cloud_compute_v1_Instance_descriptor = - getDescriptor().getMessageTypes().get(584); + getDescriptor().getMessageTypes().get(596); internal_static_google_cloud_compute_v1_Instance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Instance_descriptor, @@ -28269,7 +29123,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InstanceAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(585); + getDescriptor().getMessageTypes().get(597); internal_static_google_cloud_compute_v1_InstanceAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceAggregatedList_descriptor, @@ -28287,7 +29141,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InstanceConsumptionData_descriptor = - getDescriptor().getMessageTypes().get(586); + getDescriptor().getMessageTypes().get(598); internal_static_google_cloud_compute_v1_InstanceConsumptionData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceConsumptionData_descriptor, @@ -28295,7 +29149,7 @@ private static void _clinit_autosplit_dinit_1() { "ConsumptionInfo", "Instance", }); internal_static_google_cloud_compute_v1_InstanceConsumptionInfo_descriptor = - getDescriptor().getMessageTypes().get(587); + getDescriptor().getMessageTypes().get(599); internal_static_google_cloud_compute_v1_InstanceConsumptionInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceConsumptionInfo_descriptor, @@ -28303,7 +29157,7 @@ private static void _clinit_autosplit_dinit_1() { "GuestCpus", "LocalSsdGb", "MemoryMb", "MinNodeCpus", }); internal_static_google_cloud_compute_v1_InstanceGroup_descriptor = - getDescriptor().getMessageTypes().get(588); + getDescriptor().getMessageTypes().get(600); internal_static_google_cloud_compute_v1_InstanceGroup_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroup_descriptor, @@ -28323,7 +29177,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_InstanceGroupAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(589); + getDescriptor().getMessageTypes().get(601); internal_static_google_cloud_compute_v1_InstanceGroupAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupAggregatedList_descriptor, @@ -28341,7 +29195,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InstanceGroupList_descriptor = - getDescriptor().getMessageTypes().get(590); + getDescriptor().getMessageTypes().get(602); internal_static_google_cloud_compute_v1_InstanceGroupList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupList_descriptor, @@ -28349,7 +29203,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_InstanceGroupManager_descriptor = - getDescriptor().getMessageTypes().get(591); + getDescriptor().getMessageTypes().get(603); internal_static_google_cloud_compute_v1_InstanceGroupManager_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManager_descriptor, @@ -28381,7 +29235,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerActionsSummary_descriptor = - getDescriptor().getMessageTypes().get(592); + getDescriptor().getMessageTypes().get(604); internal_static_google_cloud_compute_v1_InstanceGroupManagerActionsSummary_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerActionsSummary_descriptor, @@ -28401,7 +29255,7 @@ private static void _clinit_autosplit_dinit_1() { "Verifying", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(593); + getDescriptor().getMessageTypes().get(605); internal_static_google_cloud_compute_v1_InstanceGroupManagerAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerAggregatedList_descriptor, @@ -28419,7 +29273,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerAllInstancesConfig_descriptor = - getDescriptor().getMessageTypes().get(594); + getDescriptor().getMessageTypes().get(606); internal_static_google_cloud_compute_v1_InstanceGroupManagerAllInstancesConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerAllInstancesConfig_descriptor, @@ -28427,7 +29281,7 @@ private static void _clinit_autosplit_dinit_1() { "Properties", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerAutoHealingPolicy_descriptor = - getDescriptor().getMessageTypes().get(595); + getDescriptor().getMessageTypes().get(607); internal_static_google_cloud_compute_v1_InstanceGroupManagerAutoHealingPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerAutoHealingPolicy_descriptor, @@ -28435,7 +29289,7 @@ private static void _clinit_autosplit_dinit_1() { "HealthCheck", "InitialDelaySec", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerInstanceLifecyclePolicy_descriptor = - getDescriptor().getMessageTypes().get(596); + getDescriptor().getMessageTypes().get(608); internal_static_google_cloud_compute_v1_InstanceGroupManagerInstanceLifecyclePolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerInstanceLifecyclePolicy_descriptor, @@ -28443,15 +29297,58 @@ private static void _clinit_autosplit_dinit_1() { "DefaultActionOnFailure", "ForceUpdateOnRepair", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerList_descriptor = - getDescriptor().getMessageTypes().get(597); + getDescriptor().getMessageTypes().get(609); internal_static_google_cloud_compute_v1_InstanceGroupManagerList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerList_descriptor, new java.lang.String[] { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequest_descriptor = + getDescriptor().getMessageTypes().get(610); + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequest_descriptor, + new java.lang.String[] { + "CreationTimestamp", + "Description", + "Id", + "Kind", + "Name", + "RequestedRunDuration", + "ResizeBy", + "SelfLink", + "SelfLinkWithId", + "State", + "Status", + "Zone", + }); + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatus_descriptor = + getDescriptor().getMessageTypes().get(611); + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatus_descriptor, + new java.lang.String[] { + "Error", "LastAttempt", + }); + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatusLastAttempt_descriptor = + getDescriptor().getMessageTypes().get(612); + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatusLastAttempt_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatusLastAttempt_descriptor, + new java.lang.String[] { + "Error", + }); + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestsListResponse_descriptor = + getDescriptor().getMessageTypes().get(613); + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestsListResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestsListResponse_descriptor, + new java.lang.String[] { + "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", + }); internal_static_google_cloud_compute_v1_InstanceGroupManagerStatus_descriptor = - getDescriptor().getMessageTypes().get(598); + getDescriptor().getMessageTypes().get(614); internal_static_google_cloud_compute_v1_InstanceGroupManagerStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerStatus_descriptor, @@ -28459,7 +29356,7 @@ private static void _clinit_autosplit_dinit_1() { "AllInstancesConfig", "Autoscaler", "IsStable", "Stateful", "VersionTarget", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusAllInstancesConfig_descriptor = - getDescriptor().getMessageTypes().get(599); + getDescriptor().getMessageTypes().get(615); internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusAllInstancesConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusAllInstancesConfig_descriptor, @@ -28467,7 +29364,7 @@ private static void _clinit_autosplit_dinit_1() { "CurrentRevision", "Effective", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusStateful_descriptor = - getDescriptor().getMessageTypes().get(600); + getDescriptor().getMessageTypes().get(616); internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusStateful_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusStateful_descriptor, @@ -28475,7 +29372,7 @@ private static void _clinit_autosplit_dinit_1() { "HasStatefulConfig", "PerInstanceConfigs", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusStatefulPerInstanceConfigs_descriptor = - getDescriptor().getMessageTypes().get(601); + getDescriptor().getMessageTypes().get(617); internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusStatefulPerInstanceConfigs_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusStatefulPerInstanceConfigs_descriptor, @@ -28483,7 +29380,7 @@ private static void _clinit_autosplit_dinit_1() { "AllEffective", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusVersionTarget_descriptor = - getDescriptor().getMessageTypes().get(602); + getDescriptor().getMessageTypes().get(618); internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusVersionTarget_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusVersionTarget_descriptor, @@ -28491,7 +29388,7 @@ private static void _clinit_autosplit_dinit_1() { "IsReached", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerUpdatePolicy_descriptor = - getDescriptor().getMessageTypes().get(603); + getDescriptor().getMessageTypes().get(619); internal_static_google_cloud_compute_v1_InstanceGroupManagerUpdatePolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerUpdatePolicy_descriptor, @@ -28505,7 +29402,7 @@ private static void _clinit_autosplit_dinit_1() { "Type", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerVersion_descriptor = - getDescriptor().getMessageTypes().get(604); + getDescriptor().getMessageTypes().get(620); internal_static_google_cloud_compute_v1_InstanceGroupManagerVersion_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerVersion_descriptor, @@ -28513,7 +29410,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceTemplate", "Name", "TargetSize", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersAbandonInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(605); + getDescriptor().getMessageTypes().get(621); internal_static_google_cloud_compute_v1_InstanceGroupManagersAbandonInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersAbandonInstancesRequest_descriptor, @@ -28521,7 +29418,7 @@ private static void _clinit_autosplit_dinit_1() { "Instances", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersApplyUpdatesRequest_descriptor = - getDescriptor().getMessageTypes().get(606); + getDescriptor().getMessageTypes().get(622); internal_static_google_cloud_compute_v1_InstanceGroupManagersApplyUpdatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersApplyUpdatesRequest_descriptor, @@ -28529,7 +29426,7 @@ private static void _clinit_autosplit_dinit_1() { "AllInstances", "Instances", "MinimalAction", "MostDisruptiveAllowedAction", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersCreateInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(607); + getDescriptor().getMessageTypes().get(623); internal_static_google_cloud_compute_v1_InstanceGroupManagersCreateInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersCreateInstancesRequest_descriptor, @@ -28537,7 +29434,7 @@ private static void _clinit_autosplit_dinit_1() { "Instances", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersDeleteInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(608); + getDescriptor().getMessageTypes().get(624); internal_static_google_cloud_compute_v1_InstanceGroupManagersDeleteInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersDeleteInstancesRequest_descriptor, @@ -28545,7 +29442,7 @@ private static void _clinit_autosplit_dinit_1() { "Instances", "SkipInstancesOnValidationError", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersDeletePerInstanceConfigsReq_descriptor = - getDescriptor().getMessageTypes().get(609); + getDescriptor().getMessageTypes().get(625); internal_static_google_cloud_compute_v1_InstanceGroupManagersDeletePerInstanceConfigsReq_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersDeletePerInstanceConfigsReq_descriptor, @@ -28553,7 +29450,7 @@ private static void _clinit_autosplit_dinit_1() { "Names", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersListErrorsResponse_descriptor = - getDescriptor().getMessageTypes().get(610); + getDescriptor().getMessageTypes().get(626); internal_static_google_cloud_compute_v1_InstanceGroupManagersListErrorsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersListErrorsResponse_descriptor, @@ -28561,7 +29458,7 @@ private static void _clinit_autosplit_dinit_1() { "Items", "NextPageToken", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersListManagedInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(611); + getDescriptor().getMessageTypes().get(627); internal_static_google_cloud_compute_v1_InstanceGroupManagersListManagedInstancesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersListManagedInstancesResponse_descriptor, @@ -28569,7 +29466,7 @@ private static void _clinit_autosplit_dinit_1() { "ManagedInstances", "NextPageToken", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersListPerInstanceConfigsResp_descriptor = - getDescriptor().getMessageTypes().get(612); + getDescriptor().getMessageTypes().get(628); internal_static_google_cloud_compute_v1_InstanceGroupManagersListPerInstanceConfigsResp_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersListPerInstanceConfigsResp_descriptor, @@ -28577,7 +29474,7 @@ private static void _clinit_autosplit_dinit_1() { "Items", "NextPageToken", "Warning", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersPatchPerInstanceConfigsReq_descriptor = - getDescriptor().getMessageTypes().get(613); + getDescriptor().getMessageTypes().get(629); internal_static_google_cloud_compute_v1_InstanceGroupManagersPatchPerInstanceConfigsReq_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersPatchPerInstanceConfigsReq_descriptor, @@ -28585,7 +29482,7 @@ private static void _clinit_autosplit_dinit_1() { "PerInstanceConfigs", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersRecreateInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(614); + getDescriptor().getMessageTypes().get(630); internal_static_google_cloud_compute_v1_InstanceGroupManagersRecreateInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersRecreateInstancesRequest_descriptor, @@ -28593,7 +29490,7 @@ private static void _clinit_autosplit_dinit_1() { "Instances", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersScopedList_descriptor = - getDescriptor().getMessageTypes().get(615); + getDescriptor().getMessageTypes().get(631); internal_static_google_cloud_compute_v1_InstanceGroupManagersScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersScopedList_descriptor, @@ -28601,7 +29498,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceGroupManagers", "Warning", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersSetInstanceTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(616); + getDescriptor().getMessageTypes().get(632); internal_static_google_cloud_compute_v1_InstanceGroupManagersSetInstanceTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersSetInstanceTemplateRequest_descriptor, @@ -28609,7 +29506,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceTemplate", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersSetTargetPoolsRequest_descriptor = - getDescriptor().getMessageTypes().get(617); + getDescriptor().getMessageTypes().get(633); internal_static_google_cloud_compute_v1_InstanceGroupManagersSetTargetPoolsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersSetTargetPoolsRequest_descriptor, @@ -28617,7 +29514,7 @@ private static void _clinit_autosplit_dinit_1() { "Fingerprint", "TargetPools", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersUpdatePerInstanceConfigsReq_descriptor = - getDescriptor().getMessageTypes().get(618); + getDescriptor().getMessageTypes().get(634); internal_static_google_cloud_compute_v1_InstanceGroupManagersUpdatePerInstanceConfigsReq_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersUpdatePerInstanceConfigsReq_descriptor, @@ -28625,7 +29522,7 @@ private static void _clinit_autosplit_dinit_1() { "PerInstanceConfigs", }); internal_static_google_cloud_compute_v1_InstanceGroupsAddInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(619); + getDescriptor().getMessageTypes().get(635); internal_static_google_cloud_compute_v1_InstanceGroupsAddInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupsAddInstancesRequest_descriptor, @@ -28633,7 +29530,7 @@ private static void _clinit_autosplit_dinit_1() { "Instances", }); internal_static_google_cloud_compute_v1_InstanceGroupsListInstances_descriptor = - getDescriptor().getMessageTypes().get(620); + getDescriptor().getMessageTypes().get(636); internal_static_google_cloud_compute_v1_InstanceGroupsListInstances_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupsListInstances_descriptor, @@ -28641,7 +29538,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_InstanceGroupsListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(621); + getDescriptor().getMessageTypes().get(637); internal_static_google_cloud_compute_v1_InstanceGroupsListInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupsListInstancesRequest_descriptor, @@ -28649,7 +29546,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceState", }); internal_static_google_cloud_compute_v1_InstanceGroupsRemoveInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(622); + getDescriptor().getMessageTypes().get(638); internal_static_google_cloud_compute_v1_InstanceGroupsRemoveInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupsRemoveInstancesRequest_descriptor, @@ -28657,7 +29554,7 @@ private static void _clinit_autosplit_dinit_1() { "Instances", }); internal_static_google_cloud_compute_v1_InstanceGroupsScopedList_descriptor = - getDescriptor().getMessageTypes().get(623); + getDescriptor().getMessageTypes().get(639); internal_static_google_cloud_compute_v1_InstanceGroupsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupsScopedList_descriptor, @@ -28665,7 +29562,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceGroups", "Warning", }); internal_static_google_cloud_compute_v1_InstanceGroupsSetNamedPortsRequest_descriptor = - getDescriptor().getMessageTypes().get(624); + getDescriptor().getMessageTypes().get(640); internal_static_google_cloud_compute_v1_InstanceGroupsSetNamedPortsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupsSetNamedPortsRequest_descriptor, @@ -28673,7 +29570,7 @@ private static void _clinit_autosplit_dinit_1() { "Fingerprint", "NamedPorts", }); internal_static_google_cloud_compute_v1_InstanceList_descriptor = - getDescriptor().getMessageTypes().get(625); + getDescriptor().getMessageTypes().get(641); internal_static_google_cloud_compute_v1_InstanceList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceList_descriptor, @@ -28681,7 +29578,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_InstanceListReferrers_descriptor = - getDescriptor().getMessageTypes().get(626); + getDescriptor().getMessageTypes().get(642); internal_static_google_cloud_compute_v1_InstanceListReferrers_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceListReferrers_descriptor, @@ -28689,7 +29586,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_InstanceManagedByIgmError_descriptor = - getDescriptor().getMessageTypes().get(627); + getDescriptor().getMessageTypes().get(643); internal_static_google_cloud_compute_v1_InstanceManagedByIgmError_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceManagedByIgmError_descriptor, @@ -28697,7 +29594,7 @@ private static void _clinit_autosplit_dinit_1() { "Error", "InstanceActionDetails", "Timestamp", }); internal_static_google_cloud_compute_v1_InstanceManagedByIgmErrorInstanceActionDetails_descriptor = - getDescriptor().getMessageTypes().get(628); + getDescriptor().getMessageTypes().get(644); internal_static_google_cloud_compute_v1_InstanceManagedByIgmErrorInstanceActionDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceManagedByIgmErrorInstanceActionDetails_descriptor, @@ -28705,7 +29602,7 @@ private static void _clinit_autosplit_dinit_1() { "Action", "Instance", "Version", }); internal_static_google_cloud_compute_v1_InstanceManagedByIgmErrorManagedInstanceError_descriptor = - getDescriptor().getMessageTypes().get(629); + getDescriptor().getMessageTypes().get(645); internal_static_google_cloud_compute_v1_InstanceManagedByIgmErrorManagedInstanceError_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceManagedByIgmErrorManagedInstanceError_descriptor, @@ -28713,7 +29610,7 @@ private static void _clinit_autosplit_dinit_1() { "Code", "Message", }); internal_static_google_cloud_compute_v1_InstanceMoveRequest_descriptor = - getDescriptor().getMessageTypes().get(630); + getDescriptor().getMessageTypes().get(646); internal_static_google_cloud_compute_v1_InstanceMoveRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceMoveRequest_descriptor, @@ -28721,7 +29618,7 @@ private static void _clinit_autosplit_dinit_1() { "DestinationZone", "TargetInstance", }); internal_static_google_cloud_compute_v1_InstanceParams_descriptor = - getDescriptor().getMessageTypes().get(631); + getDescriptor().getMessageTypes().get(647); internal_static_google_cloud_compute_v1_InstanceParams_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceParams_descriptor, @@ -28737,7 +29634,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InstanceProperties_descriptor = - getDescriptor().getMessageTypes().get(632); + getDescriptor().getMessageTypes().get(648); internal_static_google_cloud_compute_v1_InstanceProperties_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceProperties_descriptor, @@ -28785,7 +29682,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InstancePropertiesPatch_descriptor = - getDescriptor().getMessageTypes().get(633); + getDescriptor().getMessageTypes().get(649); internal_static_google_cloud_compute_v1_InstancePropertiesPatch_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancePropertiesPatch_descriptor, @@ -28813,15 +29710,41 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InstanceReference_descriptor = - getDescriptor().getMessageTypes().get(634); + getDescriptor().getMessageTypes().get(650); internal_static_google_cloud_compute_v1_InstanceReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceReference_descriptor, new java.lang.String[] { "Instance", }); + internal_static_google_cloud_compute_v1_InstanceSettings_descriptor = + getDescriptor().getMessageTypes().get(651); + internal_static_google_cloud_compute_v1_InstanceSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_InstanceSettings_descriptor, + new java.lang.String[] { + "Fingerprint", "Kind", "Metadata", "Zone", + }); + internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_descriptor = + getDescriptor().getMessageTypes().get(652); + internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_descriptor, + new java.lang.String[] { + "Items", "Kind", + }); + internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_ItemsEntry_descriptor = + internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_ItemsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_ItemsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); internal_static_google_cloud_compute_v1_InstanceTemplate_descriptor = - getDescriptor().getMessageTypes().get(635); + getDescriptor().getMessageTypes().get(653); internal_static_google_cloud_compute_v1_InstanceTemplate_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceTemplate_descriptor, @@ -28838,7 +29761,7 @@ private static void _clinit_autosplit_dinit_1() { "SourceInstanceParams", }); internal_static_google_cloud_compute_v1_InstanceTemplateAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(636); + getDescriptor().getMessageTypes().get(654); internal_static_google_cloud_compute_v1_InstanceTemplateAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceTemplateAggregatedList_descriptor, @@ -28856,7 +29779,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InstanceTemplateList_descriptor = - getDescriptor().getMessageTypes().get(637); + getDescriptor().getMessageTypes().get(655); internal_static_google_cloud_compute_v1_InstanceTemplateList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceTemplateList_descriptor, @@ -28864,7 +29787,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_InstanceTemplatesScopedList_descriptor = - getDescriptor().getMessageTypes().get(638); + getDescriptor().getMessageTypes().get(656); internal_static_google_cloud_compute_v1_InstanceTemplatesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceTemplatesScopedList_descriptor, @@ -28872,7 +29795,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceTemplates", "Warning", }); internal_static_google_cloud_compute_v1_InstanceWithNamedPorts_descriptor = - getDescriptor().getMessageTypes().get(639); + getDescriptor().getMessageTypes().get(657); internal_static_google_cloud_compute_v1_InstanceWithNamedPorts_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceWithNamedPorts_descriptor, @@ -28880,7 +29803,7 @@ private static void _clinit_autosplit_dinit_1() { "Instance", "NamedPorts", "Status", }); internal_static_google_cloud_compute_v1_InstancesAddResourcePoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(640); + getDescriptor().getMessageTypes().get(658); internal_static_google_cloud_compute_v1_InstancesAddResourcePoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesAddResourcePoliciesRequest_descriptor, @@ -28888,7 +29811,7 @@ private static void _clinit_autosplit_dinit_1() { "ResourcePolicies", }); internal_static_google_cloud_compute_v1_InstancesBulkInsertOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(641); + getDescriptor().getMessageTypes().get(659); internal_static_google_cloud_compute_v1_InstancesBulkInsertOperationMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesBulkInsertOperationMetadata_descriptor, @@ -28906,7 +29829,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InstancesGetEffectiveFirewallsResponse_descriptor = - getDescriptor().getMessageTypes().get(642); + getDescriptor().getMessageTypes().get(660); internal_static_google_cloud_compute_v1_InstancesGetEffectiveFirewallsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesGetEffectiveFirewallsResponse_descriptor, @@ -28914,7 +29837,7 @@ private static void _clinit_autosplit_dinit_1() { "FirewallPolicys", "Firewalls", }); internal_static_google_cloud_compute_v1_InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor = - getDescriptor().getMessageTypes().get(643); + getDescriptor().getMessageTypes().get(661); internal_static_google_cloud_compute_v1_InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor, @@ -28922,7 +29845,7 @@ private static void _clinit_autosplit_dinit_1() { "DisplayName", "Name", "Rules", "ShortName", "Type", }); internal_static_google_cloud_compute_v1_InstancesRemoveResourcePoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(644); + getDescriptor().getMessageTypes().get(662); internal_static_google_cloud_compute_v1_InstancesRemoveResourcePoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesRemoveResourcePoliciesRequest_descriptor, @@ -28930,7 +29853,7 @@ private static void _clinit_autosplit_dinit_1() { "ResourcePolicies", }); internal_static_google_cloud_compute_v1_InstancesScopedList_descriptor = - getDescriptor().getMessageTypes().get(645); + getDescriptor().getMessageTypes().get(663); internal_static_google_cloud_compute_v1_InstancesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesScopedList_descriptor, @@ -28938,7 +29861,7 @@ private static void _clinit_autosplit_dinit_1() { "Instances", "Warning", }); internal_static_google_cloud_compute_v1_InstancesSetLabelsRequest_descriptor = - getDescriptor().getMessageTypes().get(646); + getDescriptor().getMessageTypes().get(664); internal_static_google_cloud_compute_v1_InstancesSetLabelsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesSetLabelsRequest_descriptor, @@ -28956,7 +29879,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InstancesSetMachineResourcesRequest_descriptor = - getDescriptor().getMessageTypes().get(647); + getDescriptor().getMessageTypes().get(665); internal_static_google_cloud_compute_v1_InstancesSetMachineResourcesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesSetMachineResourcesRequest_descriptor, @@ -28964,7 +29887,7 @@ private static void _clinit_autosplit_dinit_1() { "GuestAccelerators", }); internal_static_google_cloud_compute_v1_InstancesSetMachineTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(648); + getDescriptor().getMessageTypes().get(666); internal_static_google_cloud_compute_v1_InstancesSetMachineTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesSetMachineTypeRequest_descriptor, @@ -28972,7 +29895,7 @@ private static void _clinit_autosplit_dinit_1() { "MachineType", }); internal_static_google_cloud_compute_v1_InstancesSetMinCpuPlatformRequest_descriptor = - getDescriptor().getMessageTypes().get(649); + getDescriptor().getMessageTypes().get(667); internal_static_google_cloud_compute_v1_InstancesSetMinCpuPlatformRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesSetMinCpuPlatformRequest_descriptor, @@ -28980,7 +29903,7 @@ private static void _clinit_autosplit_dinit_1() { "MinCpuPlatform", }); internal_static_google_cloud_compute_v1_InstancesSetNameRequest_descriptor = - getDescriptor().getMessageTypes().get(650); + getDescriptor().getMessageTypes().get(668); internal_static_google_cloud_compute_v1_InstancesSetNameRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesSetNameRequest_descriptor, @@ -28988,7 +29911,7 @@ private static void _clinit_autosplit_dinit_1() { "CurrentName", "Name", }); internal_static_google_cloud_compute_v1_InstancesSetSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(651); + getDescriptor().getMessageTypes().get(669); internal_static_google_cloud_compute_v1_InstancesSetSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesSetSecurityPolicyRequest_descriptor, @@ -28996,7 +29919,7 @@ private static void _clinit_autosplit_dinit_1() { "NetworkInterfaces", "SecurityPolicy", }); internal_static_google_cloud_compute_v1_InstancesSetServiceAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(652); + getDescriptor().getMessageTypes().get(670); internal_static_google_cloud_compute_v1_InstancesSetServiceAccountRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesSetServiceAccountRequest_descriptor, @@ -29004,7 +29927,7 @@ private static void _clinit_autosplit_dinit_1() { "Email", "Scopes", }); internal_static_google_cloud_compute_v1_InstancesStartWithEncryptionKeyRequest_descriptor = - getDescriptor().getMessageTypes().get(653); + getDescriptor().getMessageTypes().get(671); internal_static_google_cloud_compute_v1_InstancesStartWithEncryptionKeyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesStartWithEncryptionKeyRequest_descriptor, @@ -29012,7 +29935,7 @@ private static void _clinit_autosplit_dinit_1() { "Disks", }); internal_static_google_cloud_compute_v1_InstantSnapshot_descriptor = - getDescriptor().getMessageTypes().get(654); + getDescriptor().getMessageTypes().get(672); internal_static_google_cloud_compute_v1_InstantSnapshot_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstantSnapshot_descriptor, @@ -29046,7 +29969,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InstantSnapshotAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(655); + getDescriptor().getMessageTypes().get(673); internal_static_google_cloud_compute_v1_InstantSnapshotAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstantSnapshotAggregatedList_descriptor, @@ -29064,7 +29987,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InstantSnapshotList_descriptor = - getDescriptor().getMessageTypes().get(656); + getDescriptor().getMessageTypes().get(674); internal_static_google_cloud_compute_v1_InstantSnapshotList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstantSnapshotList_descriptor, @@ -29072,7 +29995,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_InstantSnapshotResourceStatus_descriptor = - getDescriptor().getMessageTypes().get(657); + getDescriptor().getMessageTypes().get(675); internal_static_google_cloud_compute_v1_InstantSnapshotResourceStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstantSnapshotResourceStatus_descriptor, @@ -29080,7 +30003,7 @@ private static void _clinit_autosplit_dinit_1() { "StorageSizeBytes", }); internal_static_google_cloud_compute_v1_InstantSnapshotsScopedList_descriptor = - getDescriptor().getMessageTypes().get(658); + getDescriptor().getMessageTypes().get(676); internal_static_google_cloud_compute_v1_InstantSnapshotsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstantSnapshotsScopedList_descriptor, @@ -29088,7 +30011,7 @@ private static void _clinit_autosplit_dinit_1() { "InstantSnapshots", "Warning", }); internal_static_google_cloud_compute_v1_Int64RangeMatch_descriptor = - getDescriptor().getMessageTypes().get(659); + getDescriptor().getMessageTypes().get(677); internal_static_google_cloud_compute_v1_Int64RangeMatch_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Int64RangeMatch_descriptor, @@ -29096,7 +30019,7 @@ private static void _clinit_autosplit_dinit_1() { "RangeEnd", "RangeStart", }); internal_static_google_cloud_compute_v1_Interconnect_descriptor = - getDescriptor().getMessageTypes().get(660); + getDescriptor().getMessageTypes().get(678); internal_static_google_cloud_compute_v1_Interconnect_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Interconnect_descriptor, @@ -29141,7 +30064,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InterconnectAttachment_descriptor = - getDescriptor().getMessageTypes().get(661); + getDescriptor().getMessageTypes().get(679); internal_static_google_cloud_compute_v1_InterconnectAttachment_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectAttachment_descriptor, @@ -29198,7 +30121,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InterconnectAttachmentAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(662); + getDescriptor().getMessageTypes().get(680); internal_static_google_cloud_compute_v1_InterconnectAttachmentAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectAttachmentAggregatedList_descriptor, @@ -29216,7 +30139,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InterconnectAttachmentConfigurationConstraints_descriptor = - getDescriptor().getMessageTypes().get(663); + getDescriptor().getMessageTypes().get(681); internal_static_google_cloud_compute_v1_InterconnectAttachmentConfigurationConstraints_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectAttachmentConfigurationConstraints_descriptor, @@ -29224,7 +30147,7 @@ private static void _clinit_autosplit_dinit_1() { "BgpMd5", "BgpPeerAsnRanges", }); internal_static_google_cloud_compute_v1_InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange_descriptor = - getDescriptor().getMessageTypes().get(664); + getDescriptor().getMessageTypes().get(682); internal_static_google_cloud_compute_v1_InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange_descriptor, @@ -29232,7 +30155,7 @@ private static void _clinit_autosplit_dinit_1() { "Max", "Min", }); internal_static_google_cloud_compute_v1_InterconnectAttachmentList_descriptor = - getDescriptor().getMessageTypes().get(665); + getDescriptor().getMessageTypes().get(683); internal_static_google_cloud_compute_v1_InterconnectAttachmentList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectAttachmentList_descriptor, @@ -29240,7 +30163,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_InterconnectAttachmentPartnerMetadata_descriptor = - getDescriptor().getMessageTypes().get(666); + getDescriptor().getMessageTypes().get(684); internal_static_google_cloud_compute_v1_InterconnectAttachmentPartnerMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectAttachmentPartnerMetadata_descriptor, @@ -29248,7 +30171,7 @@ private static void _clinit_autosplit_dinit_1() { "InterconnectName", "PartnerName", "PortalUrl", }); internal_static_google_cloud_compute_v1_InterconnectAttachmentPrivateInfo_descriptor = - getDescriptor().getMessageTypes().get(667); + getDescriptor().getMessageTypes().get(685); internal_static_google_cloud_compute_v1_InterconnectAttachmentPrivateInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectAttachmentPrivateInfo_descriptor, @@ -29256,7 +30179,7 @@ private static void _clinit_autosplit_dinit_1() { "Tag8021Q", }); internal_static_google_cloud_compute_v1_InterconnectAttachmentsScopedList_descriptor = - getDescriptor().getMessageTypes().get(668); + getDescriptor().getMessageTypes().get(686); internal_static_google_cloud_compute_v1_InterconnectAttachmentsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectAttachmentsScopedList_descriptor, @@ -29264,7 +30187,7 @@ private static void _clinit_autosplit_dinit_1() { "InterconnectAttachments", "Warning", }); internal_static_google_cloud_compute_v1_InterconnectCircuitInfo_descriptor = - getDescriptor().getMessageTypes().get(669); + getDescriptor().getMessageTypes().get(687); internal_static_google_cloud_compute_v1_InterconnectCircuitInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectCircuitInfo_descriptor, @@ -29272,7 +30195,7 @@ private static void _clinit_autosplit_dinit_1() { "CustomerDemarcId", "GoogleCircuitId", "GoogleDemarcId", }); internal_static_google_cloud_compute_v1_InterconnectDiagnostics_descriptor = - getDescriptor().getMessageTypes().get(670); + getDescriptor().getMessageTypes().get(688); internal_static_google_cloud_compute_v1_InterconnectDiagnostics_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectDiagnostics_descriptor, @@ -29284,7 +30207,7 @@ private static void _clinit_autosplit_dinit_1() { "MacAddress", }); internal_static_google_cloud_compute_v1_InterconnectDiagnosticsARPEntry_descriptor = - getDescriptor().getMessageTypes().get(671); + getDescriptor().getMessageTypes().get(689); internal_static_google_cloud_compute_v1_InterconnectDiagnosticsARPEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectDiagnosticsARPEntry_descriptor, @@ -29292,7 +30215,7 @@ private static void _clinit_autosplit_dinit_1() { "IpAddress", "MacAddress", }); internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkLACPStatus_descriptor = - getDescriptor().getMessageTypes().get(672); + getDescriptor().getMessageTypes().get(690); internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkLACPStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkLACPStatus_descriptor, @@ -29300,7 +30223,7 @@ private static void _clinit_autosplit_dinit_1() { "GoogleSystemId", "NeighborSystemId", "State", }); internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkOpticalPower_descriptor = - getDescriptor().getMessageTypes().get(673); + getDescriptor().getMessageTypes().get(691); internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkOpticalPower_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkOpticalPower_descriptor, @@ -29308,7 +30231,7 @@ private static void _clinit_autosplit_dinit_1() { "State", "Value", }); internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkStatus_descriptor = - getDescriptor().getMessageTypes().get(674); + getDescriptor().getMessageTypes().get(692); internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkStatus_descriptor, @@ -29323,7 +30246,7 @@ private static void _clinit_autosplit_dinit_1() { "TransmittingOpticalPower", }); internal_static_google_cloud_compute_v1_InterconnectDiagnosticsMacsecStatus_descriptor = - getDescriptor().getMessageTypes().get(675); + getDescriptor().getMessageTypes().get(693); internal_static_google_cloud_compute_v1_InterconnectDiagnosticsMacsecStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectDiagnosticsMacsecStatus_descriptor, @@ -29331,7 +30254,7 @@ private static void _clinit_autosplit_dinit_1() { "Ckn", "Operational", }); internal_static_google_cloud_compute_v1_InterconnectList_descriptor = - getDescriptor().getMessageTypes().get(676); + getDescriptor().getMessageTypes().get(694); internal_static_google_cloud_compute_v1_InterconnectList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectList_descriptor, @@ -29339,7 +30262,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_InterconnectLocation_descriptor = - getDescriptor().getMessageTypes().get(677); + getDescriptor().getMessageTypes().get(695); internal_static_google_cloud_compute_v1_InterconnectLocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectLocation_descriptor, @@ -29364,7 +30287,7 @@ private static void _clinit_autosplit_dinit_1() { "SupportsPzs", }); internal_static_google_cloud_compute_v1_InterconnectLocationList_descriptor = - getDescriptor().getMessageTypes().get(678); + getDescriptor().getMessageTypes().get(696); internal_static_google_cloud_compute_v1_InterconnectLocationList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectLocationList_descriptor, @@ -29372,7 +30295,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_InterconnectLocationRegionInfo_descriptor = - getDescriptor().getMessageTypes().get(679); + getDescriptor().getMessageTypes().get(697); internal_static_google_cloud_compute_v1_InterconnectLocationRegionInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectLocationRegionInfo_descriptor, @@ -29380,7 +30303,7 @@ private static void _clinit_autosplit_dinit_1() { "ExpectedRttMs", "LocationPresence", "Region", }); internal_static_google_cloud_compute_v1_InterconnectMacsec_descriptor = - getDescriptor().getMessageTypes().get(680); + getDescriptor().getMessageTypes().get(698); internal_static_google_cloud_compute_v1_InterconnectMacsec_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectMacsec_descriptor, @@ -29388,7 +30311,7 @@ private static void _clinit_autosplit_dinit_1() { "FailOpen", "PreSharedKeys", }); internal_static_google_cloud_compute_v1_InterconnectMacsecConfig_descriptor = - getDescriptor().getMessageTypes().get(681); + getDescriptor().getMessageTypes().get(699); internal_static_google_cloud_compute_v1_InterconnectMacsecConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectMacsecConfig_descriptor, @@ -29396,7 +30319,7 @@ private static void _clinit_autosplit_dinit_1() { "PreSharedKeys", }); internal_static_google_cloud_compute_v1_InterconnectMacsecConfigPreSharedKey_descriptor = - getDescriptor().getMessageTypes().get(682); + getDescriptor().getMessageTypes().get(700); internal_static_google_cloud_compute_v1_InterconnectMacsecConfigPreSharedKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectMacsecConfigPreSharedKey_descriptor, @@ -29404,7 +30327,7 @@ private static void _clinit_autosplit_dinit_1() { "Cak", "Ckn", "Name", "StartTime", }); internal_static_google_cloud_compute_v1_InterconnectMacsecPreSharedKey_descriptor = - getDescriptor().getMessageTypes().get(683); + getDescriptor().getMessageTypes().get(701); internal_static_google_cloud_compute_v1_InterconnectMacsecPreSharedKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectMacsecPreSharedKey_descriptor, @@ -29412,7 +30335,7 @@ private static void _clinit_autosplit_dinit_1() { "Name", "StartTime", }); internal_static_google_cloud_compute_v1_InterconnectOutageNotification_descriptor = - getDescriptor().getMessageTypes().get(684); + getDescriptor().getMessageTypes().get(702); internal_static_google_cloud_compute_v1_InterconnectOutageNotification_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectOutageNotification_descriptor, @@ -29427,7 +30350,7 @@ private static void _clinit_autosplit_dinit_1() { "State", }); internal_static_google_cloud_compute_v1_InterconnectRemoteLocation_descriptor = - getDescriptor().getMessageTypes().get(685); + getDescriptor().getMessageTypes().get(703); internal_static_google_cloud_compute_v1_InterconnectRemoteLocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectRemoteLocation_descriptor, @@ -29454,7 +30377,7 @@ private static void _clinit_autosplit_dinit_1() { "Status", }); internal_static_google_cloud_compute_v1_InterconnectRemoteLocationConstraints_descriptor = - getDescriptor().getMessageTypes().get(686); + getDescriptor().getMessageTypes().get(704); internal_static_google_cloud_compute_v1_InterconnectRemoteLocationConstraints_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectRemoteLocationConstraints_descriptor, @@ -29462,7 +30385,7 @@ private static void _clinit_autosplit_dinit_1() { "PortPairRemoteLocation", "PortPairVlan", "SubnetLengthRange", }); internal_static_google_cloud_compute_v1_InterconnectRemoteLocationConstraintsSubnetLengthRange_descriptor = - getDescriptor().getMessageTypes().get(687); + getDescriptor().getMessageTypes().get(705); internal_static_google_cloud_compute_v1_InterconnectRemoteLocationConstraintsSubnetLengthRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectRemoteLocationConstraintsSubnetLengthRange_descriptor, @@ -29470,7 +30393,7 @@ private static void _clinit_autosplit_dinit_1() { "Max", "Min", }); internal_static_google_cloud_compute_v1_InterconnectRemoteLocationList_descriptor = - getDescriptor().getMessageTypes().get(688); + getDescriptor().getMessageTypes().get(706); internal_static_google_cloud_compute_v1_InterconnectRemoteLocationList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectRemoteLocationList_descriptor, @@ -29478,7 +30401,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_InterconnectRemoteLocationPermittedConnections_descriptor = - getDescriptor().getMessageTypes().get(689); + getDescriptor().getMessageTypes().get(707); internal_static_google_cloud_compute_v1_InterconnectRemoteLocationPermittedConnections_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectRemoteLocationPermittedConnections_descriptor, @@ -29486,7 +30409,7 @@ private static void _clinit_autosplit_dinit_1() { "InterconnectLocation", }); internal_static_google_cloud_compute_v1_InterconnectsGetDiagnosticsResponse_descriptor = - getDescriptor().getMessageTypes().get(690); + getDescriptor().getMessageTypes().get(708); internal_static_google_cloud_compute_v1_InterconnectsGetDiagnosticsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectsGetDiagnosticsResponse_descriptor, @@ -29494,7 +30417,7 @@ private static void _clinit_autosplit_dinit_1() { "Result", }); internal_static_google_cloud_compute_v1_InterconnectsGetMacsecConfigResponse_descriptor = - getDescriptor().getMessageTypes().get(691); + getDescriptor().getMessageTypes().get(709); internal_static_google_cloud_compute_v1_InterconnectsGetMacsecConfigResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectsGetMacsecConfigResponse_descriptor, @@ -29502,7 +30425,7 @@ private static void _clinit_autosplit_dinit_1() { "Etag", "Result", }); internal_static_google_cloud_compute_v1_InvalidateCacheUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(692); + getDescriptor().getMessageTypes().get(710); internal_static_google_cloud_compute_v1_InvalidateCacheUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InvalidateCacheUrlMapRequest_descriptor, @@ -29510,7 +30433,7 @@ private static void _clinit_autosplit_dinit_1() { "CacheInvalidationRuleResource", "Project", "RequestId", "UrlMap", }); internal_static_google_cloud_compute_v1_Items_descriptor = - getDescriptor().getMessageTypes().get(693); + getDescriptor().getMessageTypes().get(711); internal_static_google_cloud_compute_v1_Items_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Items_descriptor, @@ -29518,7 +30441,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_License_descriptor = - getDescriptor().getMessageTypes().get(694); + getDescriptor().getMessageTypes().get(712); internal_static_google_cloud_compute_v1_License_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_License_descriptor, @@ -29535,7 +30458,7 @@ private static void _clinit_autosplit_dinit_1() { "Transferable", }); internal_static_google_cloud_compute_v1_LicenseCode_descriptor = - getDescriptor().getMessageTypes().get(695); + getDescriptor().getMessageTypes().get(713); internal_static_google_cloud_compute_v1_LicenseCode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LicenseCode_descriptor, @@ -29551,7 +30474,7 @@ private static void _clinit_autosplit_dinit_1() { "Transferable", }); internal_static_google_cloud_compute_v1_LicenseCodeLicenseAlias_descriptor = - getDescriptor().getMessageTypes().get(696); + getDescriptor().getMessageTypes().get(714); internal_static_google_cloud_compute_v1_LicenseCodeLicenseAlias_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LicenseCodeLicenseAlias_descriptor, @@ -29559,7 +30482,7 @@ private static void _clinit_autosplit_dinit_1() { "Description", "SelfLink", }); internal_static_google_cloud_compute_v1_LicenseResourceCommitment_descriptor = - getDescriptor().getMessageTypes().get(697); + getDescriptor().getMessageTypes().get(715); internal_static_google_cloud_compute_v1_LicenseResourceCommitment_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LicenseResourceCommitment_descriptor, @@ -29567,7 +30490,7 @@ private static void _clinit_autosplit_dinit_1() { "Amount", "CoresPerLicense", "License", }); internal_static_google_cloud_compute_v1_LicenseResourceRequirements_descriptor = - getDescriptor().getMessageTypes().get(698); + getDescriptor().getMessageTypes().get(716); internal_static_google_cloud_compute_v1_LicenseResourceRequirements_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LicenseResourceRequirements_descriptor, @@ -29575,7 +30498,7 @@ private static void _clinit_autosplit_dinit_1() { "MinGuestCpuCount", "MinMemoryMb", }); internal_static_google_cloud_compute_v1_LicensesListResponse_descriptor = - getDescriptor().getMessageTypes().get(699); + getDescriptor().getMessageTypes().get(717); internal_static_google_cloud_compute_v1_LicensesListResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LicensesListResponse_descriptor, @@ -29583,7 +30506,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_ListAcceleratorTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(700); + getDescriptor().getMessageTypes().get(718); internal_static_google_cloud_compute_v1_ListAcceleratorTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListAcceleratorTypesRequest_descriptor, @@ -29597,7 +30520,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListAddressesRequest_descriptor = - getDescriptor().getMessageTypes().get(701); + getDescriptor().getMessageTypes().get(719); internal_static_google_cloud_compute_v1_ListAddressesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListAddressesRequest_descriptor, @@ -29611,7 +30534,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListAssociationsFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(702); + getDescriptor().getMessageTypes().get(720); internal_static_google_cloud_compute_v1_ListAssociationsFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListAssociationsFirewallPolicyRequest_descriptor, @@ -29619,7 +30542,7 @@ private static void _clinit_autosplit_dinit_1() { "TargetResource", }); internal_static_google_cloud_compute_v1_ListAutoscalersRequest_descriptor = - getDescriptor().getMessageTypes().get(703); + getDescriptor().getMessageTypes().get(721); internal_static_google_cloud_compute_v1_ListAutoscalersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListAutoscalersRequest_descriptor, @@ -29633,7 +30556,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListAvailableFeaturesRegionSslPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(704); + getDescriptor().getMessageTypes().get(722); internal_static_google_cloud_compute_v1_ListAvailableFeaturesRegionSslPoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListAvailableFeaturesRegionSslPoliciesRequest_descriptor, @@ -29647,7 +30570,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListAvailableFeaturesSslPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(705); + getDescriptor().getMessageTypes().get(723); internal_static_google_cloud_compute_v1_ListAvailableFeaturesSslPoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListAvailableFeaturesSslPoliciesRequest_descriptor, @@ -29655,7 +30578,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListBackendBucketsRequest_descriptor = - getDescriptor().getMessageTypes().get(706); + getDescriptor().getMessageTypes().get(724); internal_static_google_cloud_compute_v1_ListBackendBucketsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListBackendBucketsRequest_descriptor, @@ -29663,7 +30586,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListBackendServicesRequest_descriptor = - getDescriptor().getMessageTypes().get(707); + getDescriptor().getMessageTypes().get(725); internal_static_google_cloud_compute_v1_ListBackendServicesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListBackendServicesRequest_descriptor, @@ -29671,7 +30594,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListDiskTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(708); + getDescriptor().getMessageTypes().get(726); internal_static_google_cloud_compute_v1_ListDiskTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListDiskTypesRequest_descriptor, @@ -29685,7 +30608,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListDisksRequest_descriptor = - getDescriptor().getMessageTypes().get(709); + getDescriptor().getMessageTypes().get(727); internal_static_google_cloud_compute_v1_ListDisksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListDisksRequest_descriptor, @@ -29698,8 +30621,23 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", "Zone", }); + internal_static_google_cloud_compute_v1_ListDisksStoragePoolsRequest_descriptor = + getDescriptor().getMessageTypes().get(728); + internal_static_google_cloud_compute_v1_ListDisksStoragePoolsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_ListDisksStoragePoolsRequest_descriptor, + new java.lang.String[] { + "Filter", + "MaxResults", + "OrderBy", + "PageToken", + "Project", + "ReturnPartialSuccess", + "StoragePool", + "Zone", + }); internal_static_google_cloud_compute_v1_ListErrorsInstanceGroupManagersRequest_descriptor = - getDescriptor().getMessageTypes().get(710); + getDescriptor().getMessageTypes().get(729); internal_static_google_cloud_compute_v1_ListErrorsInstanceGroupManagersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListErrorsInstanceGroupManagersRequest_descriptor, @@ -29714,7 +30652,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListErrorsRegionInstanceGroupManagersRequest_descriptor = - getDescriptor().getMessageTypes().get(711); + getDescriptor().getMessageTypes().get(730); internal_static_google_cloud_compute_v1_ListErrorsRegionInstanceGroupManagersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListErrorsRegionInstanceGroupManagersRequest_descriptor, @@ -29729,7 +30667,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListExternalVpnGatewaysRequest_descriptor = - getDescriptor().getMessageTypes().get(712); + getDescriptor().getMessageTypes().get(731); internal_static_google_cloud_compute_v1_ListExternalVpnGatewaysRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListExternalVpnGatewaysRequest_descriptor, @@ -29737,7 +30675,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListFirewallPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(713); + getDescriptor().getMessageTypes().get(732); internal_static_google_cloud_compute_v1_ListFirewallPoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListFirewallPoliciesRequest_descriptor, @@ -29745,7 +30683,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "ParentId", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListFirewallsRequest_descriptor = - getDescriptor().getMessageTypes().get(714); + getDescriptor().getMessageTypes().get(733); internal_static_google_cloud_compute_v1_ListFirewallsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListFirewallsRequest_descriptor, @@ -29753,7 +30691,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListForwardingRulesRequest_descriptor = - getDescriptor().getMessageTypes().get(715); + getDescriptor().getMessageTypes().get(734); internal_static_google_cloud_compute_v1_ListForwardingRulesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListForwardingRulesRequest_descriptor, @@ -29767,7 +30705,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListGlobalAddressesRequest_descriptor = - getDescriptor().getMessageTypes().get(716); + getDescriptor().getMessageTypes().get(735); internal_static_google_cloud_compute_v1_ListGlobalAddressesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListGlobalAddressesRequest_descriptor, @@ -29775,7 +30713,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListGlobalForwardingRulesRequest_descriptor = - getDescriptor().getMessageTypes().get(717); + getDescriptor().getMessageTypes().get(736); internal_static_google_cloud_compute_v1_ListGlobalForwardingRulesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListGlobalForwardingRulesRequest_descriptor, @@ -29783,7 +30721,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListGlobalNetworkEndpointGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(718); + getDescriptor().getMessageTypes().get(737); internal_static_google_cloud_compute_v1_ListGlobalNetworkEndpointGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListGlobalNetworkEndpointGroupsRequest_descriptor, @@ -29791,7 +30729,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListGlobalOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(719); + getDescriptor().getMessageTypes().get(738); internal_static_google_cloud_compute_v1_ListGlobalOperationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListGlobalOperationsRequest_descriptor, @@ -29799,7 +30737,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListGlobalOrganizationOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(720); + getDescriptor().getMessageTypes().get(739); internal_static_google_cloud_compute_v1_ListGlobalOrganizationOperationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListGlobalOrganizationOperationsRequest_descriptor, @@ -29807,7 +30745,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "ParentId", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListGlobalPublicDelegatedPrefixesRequest_descriptor = - getDescriptor().getMessageTypes().get(721); + getDescriptor().getMessageTypes().get(740); internal_static_google_cloud_compute_v1_ListGlobalPublicDelegatedPrefixesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListGlobalPublicDelegatedPrefixesRequest_descriptor, @@ -29815,7 +30753,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListHealthChecksRequest_descriptor = - getDescriptor().getMessageTypes().get(722); + getDescriptor().getMessageTypes().get(741); internal_static_google_cloud_compute_v1_ListHealthChecksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListHealthChecksRequest_descriptor, @@ -29823,15 +30761,30 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListImagesRequest_descriptor = - getDescriptor().getMessageTypes().get(723); + getDescriptor().getMessageTypes().get(742); internal_static_google_cloud_compute_v1_ListImagesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListImagesRequest_descriptor, new java.lang.String[] { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); + internal_static_google_cloud_compute_v1_ListInstanceGroupManagerResizeRequestsRequest_descriptor = + getDescriptor().getMessageTypes().get(743); + internal_static_google_cloud_compute_v1_ListInstanceGroupManagerResizeRequestsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_ListInstanceGroupManagerResizeRequestsRequest_descriptor, + new java.lang.String[] { + "Filter", + "InstanceGroupManager", + "MaxResults", + "OrderBy", + "PageToken", + "Project", + "ReturnPartialSuccess", + "Zone", + }); internal_static_google_cloud_compute_v1_ListInstanceGroupManagersRequest_descriptor = - getDescriptor().getMessageTypes().get(724); + getDescriptor().getMessageTypes().get(744); internal_static_google_cloud_compute_v1_ListInstanceGroupManagersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInstanceGroupManagersRequest_descriptor, @@ -29845,7 +30798,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListInstanceGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(725); + getDescriptor().getMessageTypes().get(745); internal_static_google_cloud_compute_v1_ListInstanceGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInstanceGroupsRequest_descriptor, @@ -29859,7 +30812,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListInstanceTemplatesRequest_descriptor = - getDescriptor().getMessageTypes().get(726); + getDescriptor().getMessageTypes().get(746); internal_static_google_cloud_compute_v1_ListInstanceTemplatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInstanceTemplatesRequest_descriptor, @@ -29867,7 +30820,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListInstancesInstanceGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(727); + getDescriptor().getMessageTypes().get(747); internal_static_google_cloud_compute_v1_ListInstancesInstanceGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInstancesInstanceGroupsRequest_descriptor, @@ -29883,7 +30836,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListInstancesRegionInstanceGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(728); + getDescriptor().getMessageTypes().get(748); internal_static_google_cloud_compute_v1_ListInstancesRegionInstanceGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInstancesRegionInstanceGroupsRequest_descriptor, @@ -29899,7 +30852,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(729); + getDescriptor().getMessageTypes().get(749); internal_static_google_cloud_compute_v1_ListInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInstancesRequest_descriptor, @@ -29913,7 +30866,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListInstantSnapshotsRequest_descriptor = - getDescriptor().getMessageTypes().get(730); + getDescriptor().getMessageTypes().get(750); internal_static_google_cloud_compute_v1_ListInstantSnapshotsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInstantSnapshotsRequest_descriptor, @@ -29927,7 +30880,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListInterconnectAttachmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(731); + getDescriptor().getMessageTypes().get(751); internal_static_google_cloud_compute_v1_ListInterconnectAttachmentsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInterconnectAttachmentsRequest_descriptor, @@ -29941,7 +30894,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListInterconnectLocationsRequest_descriptor = - getDescriptor().getMessageTypes().get(732); + getDescriptor().getMessageTypes().get(752); internal_static_google_cloud_compute_v1_ListInterconnectLocationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInterconnectLocationsRequest_descriptor, @@ -29949,7 +30902,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListInterconnectRemoteLocationsRequest_descriptor = - getDescriptor().getMessageTypes().get(733); + getDescriptor().getMessageTypes().get(753); internal_static_google_cloud_compute_v1_ListInterconnectRemoteLocationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInterconnectRemoteLocationsRequest_descriptor, @@ -29957,7 +30910,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListInterconnectsRequest_descriptor = - getDescriptor().getMessageTypes().get(734); + getDescriptor().getMessageTypes().get(754); internal_static_google_cloud_compute_v1_ListInterconnectsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInterconnectsRequest_descriptor, @@ -29965,7 +30918,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListLicensesRequest_descriptor = - getDescriptor().getMessageTypes().get(735); + getDescriptor().getMessageTypes().get(755); internal_static_google_cloud_compute_v1_ListLicensesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListLicensesRequest_descriptor, @@ -29973,7 +30926,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListMachineImagesRequest_descriptor = - getDescriptor().getMessageTypes().get(736); + getDescriptor().getMessageTypes().get(756); internal_static_google_cloud_compute_v1_ListMachineImagesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListMachineImagesRequest_descriptor, @@ -29981,7 +30934,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListMachineTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(737); + getDescriptor().getMessageTypes().get(757); internal_static_google_cloud_compute_v1_ListMachineTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListMachineTypesRequest_descriptor, @@ -29995,7 +30948,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListManagedInstancesInstanceGroupManagersRequest_descriptor = - getDescriptor().getMessageTypes().get(738); + getDescriptor().getMessageTypes().get(758); internal_static_google_cloud_compute_v1_ListManagedInstancesInstanceGroupManagersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListManagedInstancesInstanceGroupManagersRequest_descriptor, @@ -30010,7 +30963,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListManagedInstancesRegionInstanceGroupManagersRequest_descriptor = - getDescriptor().getMessageTypes().get(739); + getDescriptor().getMessageTypes().get(759); internal_static_google_cloud_compute_v1_ListManagedInstancesRegionInstanceGroupManagersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListManagedInstancesRegionInstanceGroupManagersRequest_descriptor, @@ -30025,7 +30978,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListNetworkAttachmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(740); + getDescriptor().getMessageTypes().get(760); internal_static_google_cloud_compute_v1_ListNetworkAttachmentsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNetworkAttachmentsRequest_descriptor, @@ -30039,7 +30992,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListNetworkEndpointGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(741); + getDescriptor().getMessageTypes().get(761); internal_static_google_cloud_compute_v1_ListNetworkEndpointGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNetworkEndpointGroupsRequest_descriptor, @@ -30053,7 +31006,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(742); + getDescriptor().getMessageTypes().get(762); internal_static_google_cloud_compute_v1_ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest_descriptor, @@ -30067,7 +31020,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListNetworkEndpointsNetworkEndpointGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(743); + getDescriptor().getMessageTypes().get(763); internal_static_google_cloud_compute_v1_ListNetworkEndpointsNetworkEndpointGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNetworkEndpointsNetworkEndpointGroupsRequest_descriptor, @@ -30083,7 +31036,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListNetworkEndpointsRegionNetworkEndpointGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(744); + getDescriptor().getMessageTypes().get(764); internal_static_google_cloud_compute_v1_ListNetworkEndpointsRegionNetworkEndpointGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNetworkEndpointsRegionNetworkEndpointGroupsRequest_descriptor, @@ -30098,7 +31051,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListNetworkFirewallPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(745); + getDescriptor().getMessageTypes().get(765); internal_static_google_cloud_compute_v1_ListNetworkFirewallPoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNetworkFirewallPoliciesRequest_descriptor, @@ -30106,7 +31059,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListNetworksRequest_descriptor = - getDescriptor().getMessageTypes().get(746); + getDescriptor().getMessageTypes().get(766); internal_static_google_cloud_compute_v1_ListNetworksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNetworksRequest_descriptor, @@ -30114,7 +31067,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListNodeGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(747); + getDescriptor().getMessageTypes().get(767); internal_static_google_cloud_compute_v1_ListNodeGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNodeGroupsRequest_descriptor, @@ -30128,7 +31081,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListNodeTemplatesRequest_descriptor = - getDescriptor().getMessageTypes().get(748); + getDescriptor().getMessageTypes().get(768); internal_static_google_cloud_compute_v1_ListNodeTemplatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNodeTemplatesRequest_descriptor, @@ -30142,7 +31095,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListNodeTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(749); + getDescriptor().getMessageTypes().get(769); internal_static_google_cloud_compute_v1_ListNodeTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNodeTypesRequest_descriptor, @@ -30156,7 +31109,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListNodesNodeGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(750); + getDescriptor().getMessageTypes().get(770); internal_static_google_cloud_compute_v1_ListNodesNodeGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNodesNodeGroupsRequest_descriptor, @@ -30171,7 +31124,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListPacketMirroringsRequest_descriptor = - getDescriptor().getMessageTypes().get(751); + getDescriptor().getMessageTypes().get(771); internal_static_google_cloud_compute_v1_ListPacketMirroringsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListPacketMirroringsRequest_descriptor, @@ -30185,7 +31138,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListPeeringRoutesNetworksRequest_descriptor = - getDescriptor().getMessageTypes().get(752); + getDescriptor().getMessageTypes().get(772); internal_static_google_cloud_compute_v1_ListPeeringRoutesNetworksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListPeeringRoutesNetworksRequest_descriptor, @@ -30202,7 +31155,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListPerInstanceConfigsInstanceGroupManagersRequest_descriptor = - getDescriptor().getMessageTypes().get(753); + getDescriptor().getMessageTypes().get(773); internal_static_google_cloud_compute_v1_ListPerInstanceConfigsInstanceGroupManagersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListPerInstanceConfigsInstanceGroupManagersRequest_descriptor, @@ -30217,7 +31170,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListPerInstanceConfigsRegionInstanceGroupManagersRequest_descriptor = - getDescriptor().getMessageTypes().get(754); + getDescriptor().getMessageTypes().get(774); internal_static_google_cloud_compute_v1_ListPerInstanceConfigsRegionInstanceGroupManagersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListPerInstanceConfigsRegionInstanceGroupManagersRequest_descriptor, @@ -30232,7 +31185,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListPreconfiguredExpressionSetsSecurityPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(755); + getDescriptor().getMessageTypes().get(775); internal_static_google_cloud_compute_v1_ListPreconfiguredExpressionSetsSecurityPoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListPreconfiguredExpressionSetsSecurityPoliciesRequest_descriptor, @@ -30240,7 +31193,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListPublicAdvertisedPrefixesRequest_descriptor = - getDescriptor().getMessageTypes().get(756); + getDescriptor().getMessageTypes().get(776); internal_static_google_cloud_compute_v1_ListPublicAdvertisedPrefixesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListPublicAdvertisedPrefixesRequest_descriptor, @@ -30248,7 +31201,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListPublicDelegatedPrefixesRequest_descriptor = - getDescriptor().getMessageTypes().get(757); + getDescriptor().getMessageTypes().get(777); internal_static_google_cloud_compute_v1_ListPublicDelegatedPrefixesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListPublicDelegatedPrefixesRequest_descriptor, @@ -30262,7 +31215,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListReferrersInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(758); + getDescriptor().getMessageTypes().get(778); internal_static_google_cloud_compute_v1_ListReferrersInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListReferrersInstancesRequest_descriptor, @@ -30277,7 +31230,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListRegionAutoscalersRequest_descriptor = - getDescriptor().getMessageTypes().get(759); + getDescriptor().getMessageTypes().get(779); internal_static_google_cloud_compute_v1_ListRegionAutoscalersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionAutoscalersRequest_descriptor, @@ -30291,7 +31244,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionBackendServicesRequest_descriptor = - getDescriptor().getMessageTypes().get(760); + getDescriptor().getMessageTypes().get(780); internal_static_google_cloud_compute_v1_ListRegionBackendServicesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionBackendServicesRequest_descriptor, @@ -30305,7 +31258,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionCommitmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(761); + getDescriptor().getMessageTypes().get(781); internal_static_google_cloud_compute_v1_ListRegionCommitmentsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionCommitmentsRequest_descriptor, @@ -30319,7 +31272,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionDiskTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(762); + getDescriptor().getMessageTypes().get(782); internal_static_google_cloud_compute_v1_ListRegionDiskTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionDiskTypesRequest_descriptor, @@ -30333,7 +31286,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionDisksRequest_descriptor = - getDescriptor().getMessageTypes().get(763); + getDescriptor().getMessageTypes().get(783); internal_static_google_cloud_compute_v1_ListRegionDisksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionDisksRequest_descriptor, @@ -30347,7 +31300,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionHealthCheckServicesRequest_descriptor = - getDescriptor().getMessageTypes().get(764); + getDescriptor().getMessageTypes().get(784); internal_static_google_cloud_compute_v1_ListRegionHealthCheckServicesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionHealthCheckServicesRequest_descriptor, @@ -30361,7 +31314,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionHealthChecksRequest_descriptor = - getDescriptor().getMessageTypes().get(765); + getDescriptor().getMessageTypes().get(785); internal_static_google_cloud_compute_v1_ListRegionHealthChecksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionHealthChecksRequest_descriptor, @@ -30375,7 +31328,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionInstanceGroupManagersRequest_descriptor = - getDescriptor().getMessageTypes().get(766); + getDescriptor().getMessageTypes().get(786); internal_static_google_cloud_compute_v1_ListRegionInstanceGroupManagersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionInstanceGroupManagersRequest_descriptor, @@ -30389,7 +31342,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionInstanceGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(767); + getDescriptor().getMessageTypes().get(787); internal_static_google_cloud_compute_v1_ListRegionInstanceGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionInstanceGroupsRequest_descriptor, @@ -30403,7 +31356,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionInstanceTemplatesRequest_descriptor = - getDescriptor().getMessageTypes().get(768); + getDescriptor().getMessageTypes().get(788); internal_static_google_cloud_compute_v1_ListRegionInstanceTemplatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionInstanceTemplatesRequest_descriptor, @@ -30417,7 +31370,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionInstantSnapshotsRequest_descriptor = - getDescriptor().getMessageTypes().get(769); + getDescriptor().getMessageTypes().get(789); internal_static_google_cloud_compute_v1_ListRegionInstantSnapshotsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionInstantSnapshotsRequest_descriptor, @@ -30431,7 +31384,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionNetworkEndpointGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(770); + getDescriptor().getMessageTypes().get(790); internal_static_google_cloud_compute_v1_ListRegionNetworkEndpointGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionNetworkEndpointGroupsRequest_descriptor, @@ -30445,7 +31398,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionNetworkFirewallPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(771); + getDescriptor().getMessageTypes().get(791); internal_static_google_cloud_compute_v1_ListRegionNetworkFirewallPoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionNetworkFirewallPoliciesRequest_descriptor, @@ -30459,7 +31412,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionNotificationEndpointsRequest_descriptor = - getDescriptor().getMessageTypes().get(772); + getDescriptor().getMessageTypes().get(792); internal_static_google_cloud_compute_v1_ListRegionNotificationEndpointsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionNotificationEndpointsRequest_descriptor, @@ -30473,7 +31426,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(773); + getDescriptor().getMessageTypes().get(793); internal_static_google_cloud_compute_v1_ListRegionOperationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionOperationsRequest_descriptor, @@ -30487,7 +31440,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionSecurityPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(774); + getDescriptor().getMessageTypes().get(794); internal_static_google_cloud_compute_v1_ListRegionSecurityPoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionSecurityPoliciesRequest_descriptor, @@ -30501,7 +31454,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionSslCertificatesRequest_descriptor = - getDescriptor().getMessageTypes().get(775); + getDescriptor().getMessageTypes().get(795); internal_static_google_cloud_compute_v1_ListRegionSslCertificatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionSslCertificatesRequest_descriptor, @@ -30515,7 +31468,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionSslPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(776); + getDescriptor().getMessageTypes().get(796); internal_static_google_cloud_compute_v1_ListRegionSslPoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionSslPoliciesRequest_descriptor, @@ -30529,7 +31482,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionTargetHttpProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(777); + getDescriptor().getMessageTypes().get(797); internal_static_google_cloud_compute_v1_ListRegionTargetHttpProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionTargetHttpProxiesRequest_descriptor, @@ -30543,7 +31496,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionTargetHttpsProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(778); + getDescriptor().getMessageTypes().get(798); internal_static_google_cloud_compute_v1_ListRegionTargetHttpsProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionTargetHttpsProxiesRequest_descriptor, @@ -30557,7 +31510,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionTargetTcpProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(779); + getDescriptor().getMessageTypes().get(799); internal_static_google_cloud_compute_v1_ListRegionTargetTcpProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionTargetTcpProxiesRequest_descriptor, @@ -30571,7 +31524,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionUrlMapsRequest_descriptor = - getDescriptor().getMessageTypes().get(780); + getDescriptor().getMessageTypes().get(800); internal_static_google_cloud_compute_v1_ListRegionUrlMapsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionUrlMapsRequest_descriptor, @@ -30585,7 +31538,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionZonesRequest_descriptor = - getDescriptor().getMessageTypes().get(781); + getDescriptor().getMessageTypes().get(801); internal_static_google_cloud_compute_v1_ListRegionZonesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionZonesRequest_descriptor, @@ -30599,7 +31552,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionsRequest_descriptor = - getDescriptor().getMessageTypes().get(782); + getDescriptor().getMessageTypes().get(802); internal_static_google_cloud_compute_v1_ListRegionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionsRequest_descriptor, @@ -30607,7 +31560,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListReservationsRequest_descriptor = - getDescriptor().getMessageTypes().get(783); + getDescriptor().getMessageTypes().get(803); internal_static_google_cloud_compute_v1_ListReservationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListReservationsRequest_descriptor, @@ -30621,7 +31574,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListResourcePoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(784); + getDescriptor().getMessageTypes().get(804); internal_static_google_cloud_compute_v1_ListResourcePoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListResourcePoliciesRequest_descriptor, @@ -30635,7 +31588,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRoutersRequest_descriptor = - getDescriptor().getMessageTypes().get(785); + getDescriptor().getMessageTypes().get(805); internal_static_google_cloud_compute_v1_ListRoutersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRoutersRequest_descriptor, @@ -30649,7 +31602,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRoutesRequest_descriptor = - getDescriptor().getMessageTypes().get(786); + getDescriptor().getMessageTypes().get(806); internal_static_google_cloud_compute_v1_ListRoutesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRoutesRequest_descriptor, @@ -30657,7 +31610,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListSecurityPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(787); + getDescriptor().getMessageTypes().get(807); internal_static_google_cloud_compute_v1_ListSecurityPoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListSecurityPoliciesRequest_descriptor, @@ -30665,7 +31618,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListServiceAttachmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(788); + getDescriptor().getMessageTypes().get(808); internal_static_google_cloud_compute_v1_ListServiceAttachmentsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListServiceAttachmentsRequest_descriptor, @@ -30679,7 +31632,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListSnapshotsRequest_descriptor = - getDescriptor().getMessageTypes().get(789); + getDescriptor().getMessageTypes().get(809); internal_static_google_cloud_compute_v1_ListSnapshotsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListSnapshotsRequest_descriptor, @@ -30687,7 +31640,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListSslCertificatesRequest_descriptor = - getDescriptor().getMessageTypes().get(790); + getDescriptor().getMessageTypes().get(810); internal_static_google_cloud_compute_v1_ListSslCertificatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListSslCertificatesRequest_descriptor, @@ -30695,15 +31648,43 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListSslPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(791); + getDescriptor().getMessageTypes().get(811); internal_static_google_cloud_compute_v1_ListSslPoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListSslPoliciesRequest_descriptor, new java.lang.String[] { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); + internal_static_google_cloud_compute_v1_ListStoragePoolTypesRequest_descriptor = + getDescriptor().getMessageTypes().get(812); + internal_static_google_cloud_compute_v1_ListStoragePoolTypesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_ListStoragePoolTypesRequest_descriptor, + new java.lang.String[] { + "Filter", + "MaxResults", + "OrderBy", + "PageToken", + "Project", + "ReturnPartialSuccess", + "Zone", + }); + internal_static_google_cloud_compute_v1_ListStoragePoolsRequest_descriptor = + getDescriptor().getMessageTypes().get(813); + internal_static_google_cloud_compute_v1_ListStoragePoolsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_ListStoragePoolsRequest_descriptor, + new java.lang.String[] { + "Filter", + "MaxResults", + "OrderBy", + "PageToken", + "Project", + "ReturnPartialSuccess", + "Zone", + }); internal_static_google_cloud_compute_v1_ListSubnetworksRequest_descriptor = - getDescriptor().getMessageTypes().get(792); + getDescriptor().getMessageTypes().get(814); internal_static_google_cloud_compute_v1_ListSubnetworksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListSubnetworksRequest_descriptor, @@ -30717,7 +31698,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListTargetGrpcProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(793); + getDescriptor().getMessageTypes().get(815); internal_static_google_cloud_compute_v1_ListTargetGrpcProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListTargetGrpcProxiesRequest_descriptor, @@ -30725,7 +31706,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListTargetHttpProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(794); + getDescriptor().getMessageTypes().get(816); internal_static_google_cloud_compute_v1_ListTargetHttpProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListTargetHttpProxiesRequest_descriptor, @@ -30733,7 +31714,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListTargetHttpsProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(795); + getDescriptor().getMessageTypes().get(817); internal_static_google_cloud_compute_v1_ListTargetHttpsProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListTargetHttpsProxiesRequest_descriptor, @@ -30741,7 +31722,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListTargetInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(796); + getDescriptor().getMessageTypes().get(818); internal_static_google_cloud_compute_v1_ListTargetInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListTargetInstancesRequest_descriptor, @@ -30755,7 +31736,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListTargetPoolsRequest_descriptor = - getDescriptor().getMessageTypes().get(797); + getDescriptor().getMessageTypes().get(819); internal_static_google_cloud_compute_v1_ListTargetPoolsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListTargetPoolsRequest_descriptor, @@ -30769,7 +31750,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListTargetSslProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(798); + getDescriptor().getMessageTypes().get(820); internal_static_google_cloud_compute_v1_ListTargetSslProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListTargetSslProxiesRequest_descriptor, @@ -30777,7 +31758,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListTargetTcpProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(799); + getDescriptor().getMessageTypes().get(821); internal_static_google_cloud_compute_v1_ListTargetTcpProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListTargetTcpProxiesRequest_descriptor, @@ -30785,7 +31766,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListTargetVpnGatewaysRequest_descriptor = - getDescriptor().getMessageTypes().get(800); + getDescriptor().getMessageTypes().get(822); internal_static_google_cloud_compute_v1_ListTargetVpnGatewaysRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListTargetVpnGatewaysRequest_descriptor, @@ -30799,7 +31780,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListUrlMapsRequest_descriptor = - getDescriptor().getMessageTypes().get(801); + getDescriptor().getMessageTypes().get(823); internal_static_google_cloud_compute_v1_ListUrlMapsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListUrlMapsRequest_descriptor, @@ -30807,7 +31788,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListUsableBackendServicesRequest_descriptor = - getDescriptor().getMessageTypes().get(802); + getDescriptor().getMessageTypes().get(824); internal_static_google_cloud_compute_v1_ListUsableBackendServicesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListUsableBackendServicesRequest_descriptor, @@ -30815,7 +31796,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListUsableRegionBackendServicesRequest_descriptor = - getDescriptor().getMessageTypes().get(803); + getDescriptor().getMessageTypes().get(825); internal_static_google_cloud_compute_v1_ListUsableRegionBackendServicesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListUsableRegionBackendServicesRequest_descriptor, @@ -30829,7 +31810,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListUsableSubnetworksRequest_descriptor = - getDescriptor().getMessageTypes().get(804); + getDescriptor().getMessageTypes().get(826); internal_static_google_cloud_compute_v1_ListUsableSubnetworksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListUsableSubnetworksRequest_descriptor, @@ -30837,7 +31818,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListVpnGatewaysRequest_descriptor = - getDescriptor().getMessageTypes().get(805); + getDescriptor().getMessageTypes().get(827); internal_static_google_cloud_compute_v1_ListVpnGatewaysRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListVpnGatewaysRequest_descriptor, @@ -30851,7 +31832,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListVpnTunnelsRequest_descriptor = - getDescriptor().getMessageTypes().get(806); + getDescriptor().getMessageTypes().get(828); internal_static_google_cloud_compute_v1_ListVpnTunnelsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListVpnTunnelsRequest_descriptor, @@ -30865,7 +31846,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListXpnHostsProjectsRequest_descriptor = - getDescriptor().getMessageTypes().get(807); + getDescriptor().getMessageTypes().get(829); internal_static_google_cloud_compute_v1_ListXpnHostsProjectsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListXpnHostsProjectsRequest_descriptor, @@ -30879,7 +31860,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListZoneOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(808); + getDescriptor().getMessageTypes().get(830); internal_static_google_cloud_compute_v1_ListZoneOperationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListZoneOperationsRequest_descriptor, @@ -30893,7 +31874,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_ListZonesRequest_descriptor = - getDescriptor().getMessageTypes().get(809); + getDescriptor().getMessageTypes().get(831); internal_static_google_cloud_compute_v1_ListZonesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListZonesRequest_descriptor, @@ -30901,7 +31882,7 @@ private static void _clinit_autosplit_dinit_1() { "Filter", "MaxResults", "OrderBy", "PageToken", "Project", "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_LocalDisk_descriptor = - getDescriptor().getMessageTypes().get(810); + getDescriptor().getMessageTypes().get(832); internal_static_google_cloud_compute_v1_LocalDisk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LocalDisk_descriptor, @@ -30909,7 +31890,7 @@ private static void _clinit_autosplit_dinit_1() { "DiskCount", "DiskSizeGb", "DiskType", }); internal_static_google_cloud_compute_v1_LocalizedMessage_descriptor = - getDescriptor().getMessageTypes().get(811); + getDescriptor().getMessageTypes().get(833); internal_static_google_cloud_compute_v1_LocalizedMessage_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LocalizedMessage_descriptor, @@ -30917,7 +31898,7 @@ private static void _clinit_autosplit_dinit_1() { "Locale", "Message", }); internal_static_google_cloud_compute_v1_LocationPolicy_descriptor = - getDescriptor().getMessageTypes().get(812); + getDescriptor().getMessageTypes().get(834); internal_static_google_cloud_compute_v1_LocationPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LocationPolicy_descriptor, @@ -30933,7 +31914,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_LocationPolicyLocation_descriptor = - getDescriptor().getMessageTypes().get(813); + getDescriptor().getMessageTypes().get(835); internal_static_google_cloud_compute_v1_LocationPolicyLocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LocationPolicyLocation_descriptor, @@ -30941,7 +31922,7 @@ private static void _clinit_autosplit_dinit_1() { "Constraints", "Preference", }); internal_static_google_cloud_compute_v1_LocationPolicyLocationConstraints_descriptor = - getDescriptor().getMessageTypes().get(814); + getDescriptor().getMessageTypes().get(836); internal_static_google_cloud_compute_v1_LocationPolicyLocationConstraints_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LocationPolicyLocationConstraints_descriptor, @@ -30949,7 +31930,7 @@ private static void _clinit_autosplit_dinit_1() { "MaxCount", }); internal_static_google_cloud_compute_v1_LogConfig_descriptor = - getDescriptor().getMessageTypes().get(815); + getDescriptor().getMessageTypes().get(837); internal_static_google_cloud_compute_v1_LogConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LogConfig_descriptor, @@ -30957,7 +31938,7 @@ private static void _clinit_autosplit_dinit_1() { "CloudAudit", "Counter", "DataAccess", }); internal_static_google_cloud_compute_v1_LogConfigCloudAuditOptions_descriptor = - getDescriptor().getMessageTypes().get(816); + getDescriptor().getMessageTypes().get(838); internal_static_google_cloud_compute_v1_LogConfigCloudAuditOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LogConfigCloudAuditOptions_descriptor, @@ -30965,7 +31946,7 @@ private static void _clinit_autosplit_dinit_1() { "AuthorizationLoggingOptions", "LogName", }); internal_static_google_cloud_compute_v1_LogConfigCounterOptions_descriptor = - getDescriptor().getMessageTypes().get(817); + getDescriptor().getMessageTypes().get(839); internal_static_google_cloud_compute_v1_LogConfigCounterOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LogConfigCounterOptions_descriptor, @@ -30973,7 +31954,7 @@ private static void _clinit_autosplit_dinit_1() { "CustomFields", "Field", "Metric", }); internal_static_google_cloud_compute_v1_LogConfigCounterOptionsCustomField_descriptor = - getDescriptor().getMessageTypes().get(818); + getDescriptor().getMessageTypes().get(840); internal_static_google_cloud_compute_v1_LogConfigCounterOptionsCustomField_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LogConfigCounterOptionsCustomField_descriptor, @@ -30981,7 +31962,7 @@ private static void _clinit_autosplit_dinit_1() { "Name", "Value", }); internal_static_google_cloud_compute_v1_LogConfigDataAccessOptions_descriptor = - getDescriptor().getMessageTypes().get(819); + getDescriptor().getMessageTypes().get(841); internal_static_google_cloud_compute_v1_LogConfigDataAccessOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LogConfigDataAccessOptions_descriptor, @@ -30989,7 +31970,7 @@ private static void _clinit_autosplit_dinit_1() { "LogMode", }); internal_static_google_cloud_compute_v1_MachineImage_descriptor = - getDescriptor().getMessageTypes().get(820); + getDescriptor().getMessageTypes().get(842); internal_static_google_cloud_compute_v1_MachineImage_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MachineImage_descriptor, @@ -31014,7 +31995,7 @@ private static void _clinit_autosplit_dinit_1() { "TotalStorageBytes", }); internal_static_google_cloud_compute_v1_MachineImageList_descriptor = - getDescriptor().getMessageTypes().get(821); + getDescriptor().getMessageTypes().get(843); internal_static_google_cloud_compute_v1_MachineImageList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MachineImageList_descriptor, @@ -31022,7 +32003,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_MachineType_descriptor = - getDescriptor().getMessageTypes().get(822); + getDescriptor().getMessageTypes().get(844); internal_static_google_cloud_compute_v1_MachineType_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MachineType_descriptor, @@ -31045,7 +32026,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_MachineTypeAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(823); + getDescriptor().getMessageTypes().get(845); internal_static_google_cloud_compute_v1_MachineTypeAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MachineTypeAggregatedList_descriptor, @@ -31063,7 +32044,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_MachineTypeList_descriptor = - getDescriptor().getMessageTypes().get(824); + getDescriptor().getMessageTypes().get(846); internal_static_google_cloud_compute_v1_MachineTypeList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MachineTypeList_descriptor, @@ -31071,7 +32052,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_MachineTypesScopedList_descriptor = - getDescriptor().getMessageTypes().get(825); + getDescriptor().getMessageTypes().get(847); internal_static_google_cloud_compute_v1_MachineTypesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MachineTypesScopedList_descriptor, @@ -31079,7 +32060,7 @@ private static void _clinit_autosplit_dinit_1() { "MachineTypes", "Warning", }); internal_static_google_cloud_compute_v1_ManagedInstance_descriptor = - getDescriptor().getMessageTypes().get(826); + getDescriptor().getMessageTypes().get(848); internal_static_google_cloud_compute_v1_ManagedInstance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ManagedInstance_descriptor, @@ -31096,7 +32077,7 @@ private static void _clinit_autosplit_dinit_1() { "Version", }); internal_static_google_cloud_compute_v1_ManagedInstanceInstanceHealth_descriptor = - getDescriptor().getMessageTypes().get(827); + getDescriptor().getMessageTypes().get(849); internal_static_google_cloud_compute_v1_ManagedInstanceInstanceHealth_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ManagedInstanceInstanceHealth_descriptor, @@ -31104,7 +32085,7 @@ private static void _clinit_autosplit_dinit_1() { "DetailedHealthState", "HealthCheck", }); internal_static_google_cloud_compute_v1_ManagedInstanceLastAttempt_descriptor = - getDescriptor().getMessageTypes().get(828); + getDescriptor().getMessageTypes().get(850); internal_static_google_cloud_compute_v1_ManagedInstanceLastAttempt_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ManagedInstanceLastAttempt_descriptor, @@ -31112,7 +32093,7 @@ private static void _clinit_autosplit_dinit_1() { "Errors", }); internal_static_google_cloud_compute_v1_ManagedInstanceVersion_descriptor = - getDescriptor().getMessageTypes().get(829); + getDescriptor().getMessageTypes().get(851); internal_static_google_cloud_compute_v1_ManagedInstanceVersion_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ManagedInstanceVersion_descriptor, @@ -31120,7 +32101,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceTemplate", "Name", }); internal_static_google_cloud_compute_v1_Metadata_descriptor = - getDescriptor().getMessageTypes().get(830); + getDescriptor().getMessageTypes().get(852); internal_static_google_cloud_compute_v1_Metadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Metadata_descriptor, @@ -31128,7 +32109,7 @@ private static void _clinit_autosplit_dinit_1() { "Fingerprint", "Items", "Kind", }); internal_static_google_cloud_compute_v1_MetadataFilter_descriptor = - getDescriptor().getMessageTypes().get(831); + getDescriptor().getMessageTypes().get(853); internal_static_google_cloud_compute_v1_MetadataFilter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MetadataFilter_descriptor, @@ -31136,7 +32117,7 @@ private static void _clinit_autosplit_dinit_1() { "FilterLabels", "FilterMatchCriteria", }); internal_static_google_cloud_compute_v1_MetadataFilterLabelMatch_descriptor = - getDescriptor().getMessageTypes().get(832); + getDescriptor().getMessageTypes().get(854); internal_static_google_cloud_compute_v1_MetadataFilterLabelMatch_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MetadataFilterLabelMatch_descriptor, @@ -31144,7 +32125,7 @@ private static void _clinit_autosplit_dinit_1() { "Name", "Value", }); internal_static_google_cloud_compute_v1_MoveAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(833); + getDescriptor().getMessageTypes().get(855); internal_static_google_cloud_compute_v1_MoveAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MoveAddressRequest_descriptor, @@ -31152,7 +32133,7 @@ private static void _clinit_autosplit_dinit_1() { "Address", "Project", "Region", "RegionAddressesMoveRequestResource", "RequestId", }); internal_static_google_cloud_compute_v1_MoveDiskProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(834); + getDescriptor().getMessageTypes().get(856); internal_static_google_cloud_compute_v1_MoveDiskProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MoveDiskProjectRequest_descriptor, @@ -31160,7 +32141,7 @@ private static void _clinit_autosplit_dinit_1() { "DiskMoveRequestResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_MoveFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(835); + getDescriptor().getMessageTypes().get(857); internal_static_google_cloud_compute_v1_MoveFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MoveFirewallPolicyRequest_descriptor, @@ -31168,7 +32149,7 @@ private static void _clinit_autosplit_dinit_1() { "FirewallPolicy", "ParentId", "RequestId", }); internal_static_google_cloud_compute_v1_MoveGlobalAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(836); + getDescriptor().getMessageTypes().get(858); internal_static_google_cloud_compute_v1_MoveGlobalAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MoveGlobalAddressRequest_descriptor, @@ -31176,7 +32157,7 @@ private static void _clinit_autosplit_dinit_1() { "Address", "GlobalAddressesMoveRequestResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_MoveInstanceProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(837); + getDescriptor().getMessageTypes().get(859); internal_static_google_cloud_compute_v1_MoveInstanceProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MoveInstanceProjectRequest_descriptor, @@ -31184,7 +32165,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceMoveRequestResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_NamedPort_descriptor = - getDescriptor().getMessageTypes().get(838); + getDescriptor().getMessageTypes().get(860); internal_static_google_cloud_compute_v1_NamedPort_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NamedPort_descriptor, @@ -31192,7 +32173,7 @@ private static void _clinit_autosplit_dinit_1() { "Name", "Port", }); internal_static_google_cloud_compute_v1_NatIpInfo_descriptor = - getDescriptor().getMessageTypes().get(839); + getDescriptor().getMessageTypes().get(861); internal_static_google_cloud_compute_v1_NatIpInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NatIpInfo_descriptor, @@ -31200,7 +32181,7 @@ private static void _clinit_autosplit_dinit_1() { "NatIpInfoMappings", "NatName", }); internal_static_google_cloud_compute_v1_NatIpInfoNatIpInfoMapping_descriptor = - getDescriptor().getMessageTypes().get(840); + getDescriptor().getMessageTypes().get(862); internal_static_google_cloud_compute_v1_NatIpInfoNatIpInfoMapping_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NatIpInfoNatIpInfoMapping_descriptor, @@ -31208,7 +32189,7 @@ private static void _clinit_autosplit_dinit_1() { "Mode", "NatIp", "Usage", }); internal_static_google_cloud_compute_v1_NatIpInfoResponse_descriptor = - getDescriptor().getMessageTypes().get(841); + getDescriptor().getMessageTypes().get(863); internal_static_google_cloud_compute_v1_NatIpInfoResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NatIpInfoResponse_descriptor, @@ -31216,7 +32197,7 @@ private static void _clinit_autosplit_dinit_1() { "Result", }); internal_static_google_cloud_compute_v1_Network_descriptor = - getDescriptor().getMessageTypes().get(842); + getDescriptor().getMessageTypes().get(864); internal_static_google_cloud_compute_v1_Network_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Network_descriptor, @@ -31241,7 +32222,7 @@ private static void _clinit_autosplit_dinit_1() { "Subnetworks", }); internal_static_google_cloud_compute_v1_NetworkAttachment_descriptor = - getDescriptor().getMessageTypes().get(843); + getDescriptor().getMessageTypes().get(865); internal_static_google_cloud_compute_v1_NetworkAttachment_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkAttachment_descriptor, @@ -31263,7 +32244,7 @@ private static void _clinit_autosplit_dinit_1() { "Subnetworks", }); internal_static_google_cloud_compute_v1_NetworkAttachmentAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(844); + getDescriptor().getMessageTypes().get(866); internal_static_google_cloud_compute_v1_NetworkAttachmentAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkAttachmentAggregatedList_descriptor, @@ -31281,7 +32262,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_NetworkAttachmentConnectedEndpoint_descriptor = - getDescriptor().getMessageTypes().get(845); + getDescriptor().getMessageTypes().get(867); internal_static_google_cloud_compute_v1_NetworkAttachmentConnectedEndpoint_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkAttachmentConnectedEndpoint_descriptor, @@ -31295,7 +32276,7 @@ private static void _clinit_autosplit_dinit_1() { "SubnetworkCidrRange", }); internal_static_google_cloud_compute_v1_NetworkAttachmentList_descriptor = - getDescriptor().getMessageTypes().get(846); + getDescriptor().getMessageTypes().get(868); internal_static_google_cloud_compute_v1_NetworkAttachmentList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkAttachmentList_descriptor, @@ -31303,7 +32284,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_NetworkAttachmentsScopedList_descriptor = - getDescriptor().getMessageTypes().get(847); + getDescriptor().getMessageTypes().get(869); internal_static_google_cloud_compute_v1_NetworkAttachmentsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkAttachmentsScopedList_descriptor, @@ -31311,7 +32292,7 @@ private static void _clinit_autosplit_dinit_1() { "NetworkAttachments", "Warning", }); internal_static_google_cloud_compute_v1_NetworkEdgeSecurityService_descriptor = - getDescriptor().getMessageTypes().get(848); + getDescriptor().getMessageTypes().get(870); internal_static_google_cloud_compute_v1_NetworkEdgeSecurityService_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEdgeSecurityService_descriptor, @@ -31328,7 +32309,7 @@ private static void _clinit_autosplit_dinit_1() { "SelfLinkWithId", }); internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(849); + getDescriptor().getMessageTypes().get(871); internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_descriptor, @@ -31346,7 +32327,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServicesScopedList_descriptor = - getDescriptor().getMessageTypes().get(850); + getDescriptor().getMessageTypes().get(872); internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServicesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServicesScopedList_descriptor, @@ -31354,7 +32335,7 @@ private static void _clinit_autosplit_dinit_1() { "NetworkEdgeSecurityServices", "Warning", }); internal_static_google_cloud_compute_v1_NetworkEndpoint_descriptor = - getDescriptor().getMessageTypes().get(851); + getDescriptor().getMessageTypes().get(873); internal_static_google_cloud_compute_v1_NetworkEndpoint_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpoint_descriptor, @@ -31370,7 +32351,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroup_descriptor = - getDescriptor().getMessageTypes().get(852); + getDescriptor().getMessageTypes().get(874); internal_static_google_cloud_compute_v1_NetworkEndpointGroup_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroup_descriptor, @@ -31406,7 +32387,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(853); + getDescriptor().getMessageTypes().get(875); internal_static_google_cloud_compute_v1_NetworkEndpointGroupAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupAggregatedList_descriptor, @@ -31424,7 +32405,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupAppEngine_descriptor = - getDescriptor().getMessageTypes().get(854); + getDescriptor().getMessageTypes().get(876); internal_static_google_cloud_compute_v1_NetworkEndpointGroupAppEngine_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupAppEngine_descriptor, @@ -31432,7 +32413,7 @@ private static void _clinit_autosplit_dinit_1() { "Service", "UrlMask", "Version", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupCloudFunction_descriptor = - getDescriptor().getMessageTypes().get(855); + getDescriptor().getMessageTypes().get(877); internal_static_google_cloud_compute_v1_NetworkEndpointGroupCloudFunction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupCloudFunction_descriptor, @@ -31440,7 +32421,7 @@ private static void _clinit_autosplit_dinit_1() { "Function", "UrlMask", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupCloudRun_descriptor = - getDescriptor().getMessageTypes().get(856); + getDescriptor().getMessageTypes().get(878); internal_static_google_cloud_compute_v1_NetworkEndpointGroupCloudRun_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupCloudRun_descriptor, @@ -31448,7 +32429,7 @@ private static void _clinit_autosplit_dinit_1() { "Service", "Tag", "UrlMask", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupList_descriptor = - getDescriptor().getMessageTypes().get(857); + getDescriptor().getMessageTypes().get(879); internal_static_google_cloud_compute_v1_NetworkEndpointGroupList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupList_descriptor, @@ -31456,7 +32437,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupPscData_descriptor = - getDescriptor().getMessageTypes().get(858); + getDescriptor().getMessageTypes().get(880); internal_static_google_cloud_compute_v1_NetworkEndpointGroupPscData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupPscData_descriptor, @@ -31464,7 +32445,7 @@ private static void _clinit_autosplit_dinit_1() { "ConsumerPscAddress", "PscConnectionId", "PscConnectionStatus", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsAttachEndpointsRequest_descriptor = - getDescriptor().getMessageTypes().get(859); + getDescriptor().getMessageTypes().get(881); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsAttachEndpointsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupsAttachEndpointsRequest_descriptor, @@ -31472,7 +32453,7 @@ private static void _clinit_autosplit_dinit_1() { "NetworkEndpoints", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsDetachEndpointsRequest_descriptor = - getDescriptor().getMessageTypes().get(860); + getDescriptor().getMessageTypes().get(882); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsDetachEndpointsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupsDetachEndpointsRequest_descriptor, @@ -31480,7 +32461,7 @@ private static void _clinit_autosplit_dinit_1() { "NetworkEndpoints", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsListEndpointsRequest_descriptor = - getDescriptor().getMessageTypes().get(861); + getDescriptor().getMessageTypes().get(883); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsListEndpointsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupsListEndpointsRequest_descriptor, @@ -31488,7 +32469,7 @@ private static void _clinit_autosplit_dinit_1() { "HealthStatus", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsListNetworkEndpoints_descriptor = - getDescriptor().getMessageTypes().get(862); + getDescriptor().getMessageTypes().get(884); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsListNetworkEndpoints_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupsListNetworkEndpoints_descriptor, @@ -31496,7 +32477,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "Warning", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsScopedList_descriptor = - getDescriptor().getMessageTypes().get(863); + getDescriptor().getMessageTypes().get(885); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupsScopedList_descriptor, @@ -31504,7 +32485,7 @@ private static void _clinit_autosplit_dinit_1() { "NetworkEndpointGroups", "Warning", }); internal_static_google_cloud_compute_v1_NetworkEndpointWithHealthStatus_descriptor = - getDescriptor().getMessageTypes().get(864); + getDescriptor().getMessageTypes().get(886); internal_static_google_cloud_compute_v1_NetworkEndpointWithHealthStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointWithHealthStatus_descriptor, @@ -31512,7 +32493,7 @@ private static void _clinit_autosplit_dinit_1() { "Healths", "NetworkEndpoint", }); internal_static_google_cloud_compute_v1_NetworkInterface_descriptor = - getDescriptor().getMessageTypes().get(865); + getDescriptor().getMessageTypes().get(887); internal_static_google_cloud_compute_v1_NetworkInterface_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkInterface_descriptor, @@ -31535,7 +32516,7 @@ private static void _clinit_autosplit_dinit_1() { "Subnetwork", }); internal_static_google_cloud_compute_v1_NetworkList_descriptor = - getDescriptor().getMessageTypes().get(866); + getDescriptor().getMessageTypes().get(888); internal_static_google_cloud_compute_v1_NetworkList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkList_descriptor, @@ -31543,7 +32524,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_NetworkPeering_descriptor = - getDescriptor().getMessageTypes().get(867); + getDescriptor().getMessageTypes().get(889); internal_static_google_cloud_compute_v1_NetworkPeering_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkPeering_descriptor, @@ -31562,7 +32543,7 @@ private static void _clinit_autosplit_dinit_1() { "StateDetails", }); internal_static_google_cloud_compute_v1_NetworkPerformanceConfig_descriptor = - getDescriptor().getMessageTypes().get(868); + getDescriptor().getMessageTypes().get(890); internal_static_google_cloud_compute_v1_NetworkPerformanceConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkPerformanceConfig_descriptor, @@ -31570,7 +32551,7 @@ private static void _clinit_autosplit_dinit_1() { "TotalEgressBandwidthTier", }); internal_static_google_cloud_compute_v1_NetworkRoutingConfig_descriptor = - getDescriptor().getMessageTypes().get(869); + getDescriptor().getMessageTypes().get(891); internal_static_google_cloud_compute_v1_NetworkRoutingConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkRoutingConfig_descriptor, @@ -31578,7 +32559,7 @@ private static void _clinit_autosplit_dinit_1() { "RoutingMode", }); internal_static_google_cloud_compute_v1_NetworksAddPeeringRequest_descriptor = - getDescriptor().getMessageTypes().get(870); + getDescriptor().getMessageTypes().get(892); internal_static_google_cloud_compute_v1_NetworksAddPeeringRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworksAddPeeringRequest_descriptor, @@ -31586,7 +32567,7 @@ private static void _clinit_autosplit_dinit_1() { "AutoCreateRoutes", "Name", "NetworkPeering", "PeerNetwork", }); internal_static_google_cloud_compute_v1_NetworksGetEffectiveFirewallsResponse_descriptor = - getDescriptor().getMessageTypes().get(871); + getDescriptor().getMessageTypes().get(893); internal_static_google_cloud_compute_v1_NetworksGetEffectiveFirewallsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworksGetEffectiveFirewallsResponse_descriptor, @@ -31594,7 +32575,7 @@ private static void _clinit_autosplit_dinit_1() { "FirewallPolicys", "Firewalls", }); internal_static_google_cloud_compute_v1_NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor = - getDescriptor().getMessageTypes().get(872); + getDescriptor().getMessageTypes().get(894); internal_static_google_cloud_compute_v1_NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor, @@ -31602,7 +32583,7 @@ private static void _clinit_autosplit_dinit_1() { "DisplayName", "Name", "Rules", "ShortName", "Type", }); internal_static_google_cloud_compute_v1_NetworksRemovePeeringRequest_descriptor = - getDescriptor().getMessageTypes().get(873); + getDescriptor().getMessageTypes().get(895); internal_static_google_cloud_compute_v1_NetworksRemovePeeringRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworksRemovePeeringRequest_descriptor, @@ -31610,7 +32591,7 @@ private static void _clinit_autosplit_dinit_1() { "Name", }); internal_static_google_cloud_compute_v1_NetworksUpdatePeeringRequest_descriptor = - getDescriptor().getMessageTypes().get(874); + getDescriptor().getMessageTypes().get(896); internal_static_google_cloud_compute_v1_NetworksUpdatePeeringRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworksUpdatePeeringRequest_descriptor, @@ -31618,7 +32599,7 @@ private static void _clinit_autosplit_dinit_1() { "NetworkPeering", }); internal_static_google_cloud_compute_v1_NodeGroup_descriptor = - getDescriptor().getMessageTypes().get(875); + getDescriptor().getMessageTypes().get(897); internal_static_google_cloud_compute_v1_NodeGroup_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroup_descriptor, @@ -31630,6 +32611,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Kind", "LocationHint", + "MaintenanceInterval", "MaintenancePolicy", "MaintenanceWindow", "Name", @@ -31641,7 +32623,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_NodeGroupAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(876); + getDescriptor().getMessageTypes().get(898); internal_static_google_cloud_compute_v1_NodeGroupAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupAggregatedList_descriptor, @@ -31659,7 +32641,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_NodeGroupAutoscalingPolicy_descriptor = - getDescriptor().getMessageTypes().get(877); + getDescriptor().getMessageTypes().get(899); internal_static_google_cloud_compute_v1_NodeGroupAutoscalingPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupAutoscalingPolicy_descriptor, @@ -31667,7 +32649,7 @@ private static void _clinit_autosplit_dinit_1() { "MaxNodes", "MinNodes", "Mode", }); internal_static_google_cloud_compute_v1_NodeGroupList_descriptor = - getDescriptor().getMessageTypes().get(878); + getDescriptor().getMessageTypes().get(900); internal_static_google_cloud_compute_v1_NodeGroupList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupList_descriptor, @@ -31675,7 +32657,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_NodeGroupMaintenanceWindow_descriptor = - getDescriptor().getMessageTypes().get(879); + getDescriptor().getMessageTypes().get(901); internal_static_google_cloud_compute_v1_NodeGroupMaintenanceWindow_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupMaintenanceWindow_descriptor, @@ -31683,7 +32665,7 @@ private static void _clinit_autosplit_dinit_1() { "MaintenanceDuration", "StartTime", }); internal_static_google_cloud_compute_v1_NodeGroupNode_descriptor = - getDescriptor().getMessageTypes().get(880); + getDescriptor().getMessageTypes().get(902); internal_static_google_cloud_compute_v1_NodeGroupNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupNode_descriptor, @@ -31701,9 +32683,10 @@ private static void _clinit_autosplit_dinit_1() { "ServerId", "Status", "TotalResources", + "UpcomingMaintenance", }); internal_static_google_cloud_compute_v1_NodeGroupsAddNodesRequest_descriptor = - getDescriptor().getMessageTypes().get(881); + getDescriptor().getMessageTypes().get(903); internal_static_google_cloud_compute_v1_NodeGroupsAddNodesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupsAddNodesRequest_descriptor, @@ -31711,7 +32694,7 @@ private static void _clinit_autosplit_dinit_1() { "AdditionalNodeCount", }); internal_static_google_cloud_compute_v1_NodeGroupsDeleteNodesRequest_descriptor = - getDescriptor().getMessageTypes().get(882); + getDescriptor().getMessageTypes().get(904); internal_static_google_cloud_compute_v1_NodeGroupsDeleteNodesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupsDeleteNodesRequest_descriptor, @@ -31719,15 +32702,23 @@ private static void _clinit_autosplit_dinit_1() { "Nodes", }); internal_static_google_cloud_compute_v1_NodeGroupsListNodes_descriptor = - getDescriptor().getMessageTypes().get(883); + getDescriptor().getMessageTypes().get(905); internal_static_google_cloud_compute_v1_NodeGroupsListNodes_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupsListNodes_descriptor, new java.lang.String[] { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); + internal_static_google_cloud_compute_v1_NodeGroupsPerformMaintenanceRequest_descriptor = + getDescriptor().getMessageTypes().get(906); + internal_static_google_cloud_compute_v1_NodeGroupsPerformMaintenanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_NodeGroupsPerformMaintenanceRequest_descriptor, + new java.lang.String[] { + "Nodes", "StartTime", + }); internal_static_google_cloud_compute_v1_NodeGroupsScopedList_descriptor = - getDescriptor().getMessageTypes().get(884); + getDescriptor().getMessageTypes().get(907); internal_static_google_cloud_compute_v1_NodeGroupsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupsScopedList_descriptor, @@ -31735,7 +32726,7 @@ private static void _clinit_autosplit_dinit_1() { "NodeGroups", "Warning", }); internal_static_google_cloud_compute_v1_NodeGroupsSetNodeTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(885); + getDescriptor().getMessageTypes().get(908); internal_static_google_cloud_compute_v1_NodeGroupsSetNodeTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupsSetNodeTemplateRequest_descriptor, @@ -31743,7 +32734,7 @@ private static void _clinit_autosplit_dinit_1() { "NodeTemplate", }); internal_static_google_cloud_compute_v1_NodeGroupsSimulateMaintenanceEventRequest_descriptor = - getDescriptor().getMessageTypes().get(886); + getDescriptor().getMessageTypes().get(909); internal_static_google_cloud_compute_v1_NodeGroupsSimulateMaintenanceEventRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupsSimulateMaintenanceEventRequest_descriptor, @@ -31751,7 +32742,7 @@ private static void _clinit_autosplit_dinit_1() { "Nodes", }); internal_static_google_cloud_compute_v1_NodeTemplate_descriptor = - getDescriptor().getMessageTypes().get(887); + getDescriptor().getMessageTypes().get(910); internal_static_google_cloud_compute_v1_NodeTemplate_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeTemplate_descriptor, @@ -31781,8 +32772,12 @@ private static void _clinit_autosplit_dinit_1() { new java.lang.String[] { "Key", "Value", }); + _clinit_autosplit_dinit_2(); + } + + private static void _clinit_autosplit_dinit_2() { internal_static_google_cloud_compute_v1_NodeTemplateAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(888); + getDescriptor().getMessageTypes().get(911); internal_static_google_cloud_compute_v1_NodeTemplateAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeTemplateAggregatedList_descriptor, @@ -31800,7 +32795,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_NodeTemplateList_descriptor = - getDescriptor().getMessageTypes().get(889); + getDescriptor().getMessageTypes().get(912); internal_static_google_cloud_compute_v1_NodeTemplateList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeTemplateList_descriptor, @@ -31808,7 +32803,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_NodeTemplateNodeTypeFlexibility_descriptor = - getDescriptor().getMessageTypes().get(890); + getDescriptor().getMessageTypes().get(913); internal_static_google_cloud_compute_v1_NodeTemplateNodeTypeFlexibility_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeTemplateNodeTypeFlexibility_descriptor, @@ -31816,7 +32811,7 @@ private static void _clinit_autosplit_dinit_1() { "Cpus", "LocalSsd", "Memory", }); internal_static_google_cloud_compute_v1_NodeTemplatesScopedList_descriptor = - getDescriptor().getMessageTypes().get(891); + getDescriptor().getMessageTypes().get(914); internal_static_google_cloud_compute_v1_NodeTemplatesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeTemplatesScopedList_descriptor, @@ -31824,7 +32819,7 @@ private static void _clinit_autosplit_dinit_1() { "NodeTemplates", "Warning", }); internal_static_google_cloud_compute_v1_NodeType_descriptor = - getDescriptor().getMessageTypes().get(892); + getDescriptor().getMessageTypes().get(915); internal_static_google_cloud_compute_v1_NodeType_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeType_descriptor, @@ -31843,7 +32838,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_NodeTypeAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(893); + getDescriptor().getMessageTypes().get(916); internal_static_google_cloud_compute_v1_NodeTypeAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeTypeAggregatedList_descriptor, @@ -31861,7 +32856,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_NodeTypeList_descriptor = - getDescriptor().getMessageTypes().get(894); + getDescriptor().getMessageTypes().get(917); internal_static_google_cloud_compute_v1_NodeTypeList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeTypeList_descriptor, @@ -31869,7 +32864,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_NodeTypesScopedList_descriptor = - getDescriptor().getMessageTypes().get(895); + getDescriptor().getMessageTypes().get(918); internal_static_google_cloud_compute_v1_NodeTypesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeTypesScopedList_descriptor, @@ -31877,7 +32872,7 @@ private static void _clinit_autosplit_dinit_1() { "NodeTypes", "Warning", }); internal_static_google_cloud_compute_v1_NotificationEndpoint_descriptor = - getDescriptor().getMessageTypes().get(896); + getDescriptor().getMessageTypes().get(919); internal_static_google_cloud_compute_v1_NotificationEndpoint_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NotificationEndpoint_descriptor, @@ -31892,7 +32887,7 @@ private static void _clinit_autosplit_dinit_1() { "SelfLink", }); internal_static_google_cloud_compute_v1_NotificationEndpointGrpcSettings_descriptor = - getDescriptor().getMessageTypes().get(897); + getDescriptor().getMessageTypes().get(920); internal_static_google_cloud_compute_v1_NotificationEndpointGrpcSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NotificationEndpointGrpcSettings_descriptor, @@ -31900,7 +32895,7 @@ private static void _clinit_autosplit_dinit_1() { "Authority", "Endpoint", "PayloadName", "ResendInterval", "RetryDurationSec", }); internal_static_google_cloud_compute_v1_NotificationEndpointList_descriptor = - getDescriptor().getMessageTypes().get(898); + getDescriptor().getMessageTypes().get(921); internal_static_google_cloud_compute_v1_NotificationEndpointList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NotificationEndpointList_descriptor, @@ -31908,7 +32903,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_Operation_descriptor = - getDescriptor().getMessageTypes().get(899); + getDescriptor().getMessageTypes().get(922); internal_static_google_cloud_compute_v1_Operation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Operation_descriptor, @@ -31941,7 +32936,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_OperationAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(900); + getDescriptor().getMessageTypes().get(923); internal_static_google_cloud_compute_v1_OperationAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_OperationAggregatedList_descriptor, @@ -31959,7 +32954,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_OperationList_descriptor = - getDescriptor().getMessageTypes().get(901); + getDescriptor().getMessageTypes().get(924); internal_static_google_cloud_compute_v1_OperationList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_OperationList_descriptor, @@ -31967,7 +32962,7 @@ private static void _clinit_autosplit_dinit_1() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_OperationsScopedList_descriptor = - getDescriptor().getMessageTypes().get(902); + getDescriptor().getMessageTypes().get(925); internal_static_google_cloud_compute_v1_OperationsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_OperationsScopedList_descriptor, @@ -31975,7 +32970,7 @@ private static void _clinit_autosplit_dinit_1() { "Operations", "Warning", }); internal_static_google_cloud_compute_v1_OutlierDetection_descriptor = - getDescriptor().getMessageTypes().get(903); + getDescriptor().getMessageTypes().get(926); internal_static_google_cloud_compute_v1_OutlierDetection_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_OutlierDetection_descriptor, @@ -31993,7 +32988,7 @@ private static void _clinit_autosplit_dinit_1() { "SuccessRateStdevFactor", }); internal_static_google_cloud_compute_v1_PacketIntervals_descriptor = - getDescriptor().getMessageTypes().get(904); + getDescriptor().getMessageTypes().get(927); internal_static_google_cloud_compute_v1_PacketIntervals_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketIntervals_descriptor, @@ -32001,7 +32996,7 @@ private static void _clinit_autosplit_dinit_1() { "AvgMs", "Duration", "MaxMs", "MinMs", "NumIntervals", "Type", }); internal_static_google_cloud_compute_v1_PacketMirroring_descriptor = - getDescriptor().getMessageTypes().get(905); + getDescriptor().getMessageTypes().get(928); internal_static_google_cloud_compute_v1_PacketMirroring_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroring_descriptor, @@ -32020,12 +33015,8 @@ private static void _clinit_autosplit_dinit_1() { "Region", "SelfLink", }); - _clinit_autosplit_dinit_2(); - } - - private static void _clinit_autosplit_dinit_2() { internal_static_google_cloud_compute_v1_PacketMirroringAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(906); + getDescriptor().getMessageTypes().get(929); internal_static_google_cloud_compute_v1_PacketMirroringAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroringAggregatedList_descriptor, @@ -32043,7 +33034,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_PacketMirroringFilter_descriptor = - getDescriptor().getMessageTypes().get(907); + getDescriptor().getMessageTypes().get(930); internal_static_google_cloud_compute_v1_PacketMirroringFilter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroringFilter_descriptor, @@ -32051,7 +33042,7 @@ private static void _clinit_autosplit_dinit_2() { "IPProtocols", "CidrRanges", "Direction", }); internal_static_google_cloud_compute_v1_PacketMirroringForwardingRuleInfo_descriptor = - getDescriptor().getMessageTypes().get(908); + getDescriptor().getMessageTypes().get(931); internal_static_google_cloud_compute_v1_PacketMirroringForwardingRuleInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroringForwardingRuleInfo_descriptor, @@ -32059,7 +33050,7 @@ private static void _clinit_autosplit_dinit_2() { "CanonicalUrl", "Url", }); internal_static_google_cloud_compute_v1_PacketMirroringList_descriptor = - getDescriptor().getMessageTypes().get(909); + getDescriptor().getMessageTypes().get(932); internal_static_google_cloud_compute_v1_PacketMirroringList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroringList_descriptor, @@ -32067,7 +33058,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfo_descriptor = - getDescriptor().getMessageTypes().get(910); + getDescriptor().getMessageTypes().get(933); internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfo_descriptor, @@ -32075,7 +33066,7 @@ private static void _clinit_autosplit_dinit_2() { "Instances", "Subnetworks", "Tags", }); internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfoInstanceInfo_descriptor = - getDescriptor().getMessageTypes().get(911); + getDescriptor().getMessageTypes().get(934); internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfoInstanceInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfoInstanceInfo_descriptor, @@ -32083,7 +33074,7 @@ private static void _clinit_autosplit_dinit_2() { "CanonicalUrl", "Url", }); internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfoSubnetInfo_descriptor = - getDescriptor().getMessageTypes().get(912); + getDescriptor().getMessageTypes().get(935); internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfoSubnetInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfoSubnetInfo_descriptor, @@ -32091,7 +33082,7 @@ private static void _clinit_autosplit_dinit_2() { "CanonicalUrl", "Url", }); internal_static_google_cloud_compute_v1_PacketMirroringNetworkInfo_descriptor = - getDescriptor().getMessageTypes().get(913); + getDescriptor().getMessageTypes().get(936); internal_static_google_cloud_compute_v1_PacketMirroringNetworkInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroringNetworkInfo_descriptor, @@ -32099,7 +33090,7 @@ private static void _clinit_autosplit_dinit_2() { "CanonicalUrl", "Url", }); internal_static_google_cloud_compute_v1_PacketMirroringsScopedList_descriptor = - getDescriptor().getMessageTypes().get(914); + getDescriptor().getMessageTypes().get(937); internal_static_google_cloud_compute_v1_PacketMirroringsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroringsScopedList_descriptor, @@ -32107,7 +33098,7 @@ private static void _clinit_autosplit_dinit_2() { "PacketMirrorings", "Warning", }); internal_static_google_cloud_compute_v1_PatchAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(915); + getDescriptor().getMessageTypes().get(938); internal_static_google_cloud_compute_v1_PatchAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchAutoscalerRequest_descriptor, @@ -32115,7 +33106,7 @@ private static void _clinit_autosplit_dinit_2() { "Autoscaler", "AutoscalerResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_PatchBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(916); + getDescriptor().getMessageTypes().get(939); internal_static_google_cloud_compute_v1_PatchBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchBackendBucketRequest_descriptor, @@ -32123,7 +33114,7 @@ private static void _clinit_autosplit_dinit_2() { "BackendBucket", "BackendBucketResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_PatchBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(917); + getDescriptor().getMessageTypes().get(940); internal_static_google_cloud_compute_v1_PatchBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchBackendServiceRequest_descriptor, @@ -32131,7 +33122,7 @@ private static void _clinit_autosplit_dinit_2() { "BackendService", "BackendServiceResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_PatchFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(918); + getDescriptor().getMessageTypes().get(941); internal_static_google_cloud_compute_v1_PatchFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchFirewallPolicyRequest_descriptor, @@ -32139,7 +33130,7 @@ private static void _clinit_autosplit_dinit_2() { "FirewallPolicy", "FirewallPolicyResource", "RequestId", }); internal_static_google_cloud_compute_v1_PatchFirewallRequest_descriptor = - getDescriptor().getMessageTypes().get(919); + getDescriptor().getMessageTypes().get(942); internal_static_google_cloud_compute_v1_PatchFirewallRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchFirewallRequest_descriptor, @@ -32147,7 +33138,7 @@ private static void _clinit_autosplit_dinit_2() { "Firewall", "FirewallResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_PatchForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(920); + getDescriptor().getMessageTypes().get(943); internal_static_google_cloud_compute_v1_PatchForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchForwardingRuleRequest_descriptor, @@ -32155,7 +33146,7 @@ private static void _clinit_autosplit_dinit_2() { "ForwardingRule", "ForwardingRuleResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_PatchGlobalForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(921); + getDescriptor().getMessageTypes().get(944); internal_static_google_cloud_compute_v1_PatchGlobalForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchGlobalForwardingRuleRequest_descriptor, @@ -32163,7 +33154,7 @@ private static void _clinit_autosplit_dinit_2() { "ForwardingRule", "ForwardingRuleResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_PatchGlobalPublicDelegatedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(922); + getDescriptor().getMessageTypes().get(945); internal_static_google_cloud_compute_v1_PatchGlobalPublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchGlobalPublicDelegatedPrefixeRequest_descriptor, @@ -32171,7 +33162,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "PublicDelegatedPrefix", "PublicDelegatedPrefixResource", "RequestId", }); internal_static_google_cloud_compute_v1_PatchHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(923); + getDescriptor().getMessageTypes().get(946); internal_static_google_cloud_compute_v1_PatchHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchHealthCheckRequest_descriptor, @@ -32179,7 +33170,7 @@ private static void _clinit_autosplit_dinit_2() { "HealthCheck", "HealthCheckResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_PatchImageRequest_descriptor = - getDescriptor().getMessageTypes().get(924); + getDescriptor().getMessageTypes().get(947); internal_static_google_cloud_compute_v1_PatchImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchImageRequest_descriptor, @@ -32187,7 +33178,7 @@ private static void _clinit_autosplit_dinit_2() { "Image", "ImageResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_PatchInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(925); + getDescriptor().getMessageTypes().get(948); internal_static_google_cloud_compute_v1_PatchInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchInstanceGroupManagerRequest_descriptor, @@ -32198,8 +33189,16 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", "Zone", }); + internal_static_google_cloud_compute_v1_PatchInstanceSettingRequest_descriptor = + getDescriptor().getMessageTypes().get(949); + internal_static_google_cloud_compute_v1_PatchInstanceSettingRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_PatchInstanceSettingRequest_descriptor, + new java.lang.String[] { + "InstanceSettingsResource", "Project", "RequestId", "UpdateMask", "Zone", + }); internal_static_google_cloud_compute_v1_PatchInterconnectAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(926); + getDescriptor().getMessageTypes().get(950); internal_static_google_cloud_compute_v1_PatchInterconnectAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchInterconnectAttachmentRequest_descriptor, @@ -32211,7 +33210,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchInterconnectRequest_descriptor = - getDescriptor().getMessageTypes().get(927); + getDescriptor().getMessageTypes().get(951); internal_static_google_cloud_compute_v1_PatchInterconnectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchInterconnectRequest_descriptor, @@ -32219,7 +33218,7 @@ private static void _clinit_autosplit_dinit_2() { "Interconnect", "InterconnectResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_PatchNetworkAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(928); + getDescriptor().getMessageTypes().get(952); internal_static_google_cloud_compute_v1_PatchNetworkAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchNetworkAttachmentRequest_descriptor, @@ -32227,7 +33226,7 @@ private static void _clinit_autosplit_dinit_2() { "NetworkAttachment", "NetworkAttachmentResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_PatchNetworkEdgeSecurityServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(929); + getDescriptor().getMessageTypes().get(953); internal_static_google_cloud_compute_v1_PatchNetworkEdgeSecurityServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchNetworkEdgeSecurityServiceRequest_descriptor, @@ -32241,7 +33240,7 @@ private static void _clinit_autosplit_dinit_2() { "UpdateMask", }); internal_static_google_cloud_compute_v1_PatchNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(930); + getDescriptor().getMessageTypes().get(954); internal_static_google_cloud_compute_v1_PatchNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchNetworkFirewallPolicyRequest_descriptor, @@ -32249,7 +33248,7 @@ private static void _clinit_autosplit_dinit_2() { "FirewallPolicy", "FirewallPolicyResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_PatchNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(931); + getDescriptor().getMessageTypes().get(955); internal_static_google_cloud_compute_v1_PatchNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchNetworkRequest_descriptor, @@ -32257,7 +33256,7 @@ private static void _clinit_autosplit_dinit_2() { "Network", "NetworkResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_PatchNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(932); + getDescriptor().getMessageTypes().get(956); internal_static_google_cloud_compute_v1_PatchNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchNodeGroupRequest_descriptor, @@ -32265,7 +33264,7 @@ private static void _clinit_autosplit_dinit_2() { "NodeGroup", "NodeGroupResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_PatchPacketMirroringRequest_descriptor = - getDescriptor().getMessageTypes().get(933); + getDescriptor().getMessageTypes().get(957); internal_static_google_cloud_compute_v1_PatchPacketMirroringRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchPacketMirroringRequest_descriptor, @@ -32273,7 +33272,7 @@ private static void _clinit_autosplit_dinit_2() { "PacketMirroring", "PacketMirroringResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_PatchPerInstanceConfigsInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(934); + getDescriptor().getMessageTypes().get(958); internal_static_google_cloud_compute_v1_PatchPerInstanceConfigsInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchPerInstanceConfigsInstanceGroupManagerRequest_descriptor, @@ -32285,7 +33284,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_PatchPerInstanceConfigsRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(935); + getDescriptor().getMessageTypes().get(959); internal_static_google_cloud_compute_v1_PatchPerInstanceConfigsRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchPerInstanceConfigsRegionInstanceGroupManagerRequest_descriptor, @@ -32297,7 +33296,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchPublicAdvertisedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(936); + getDescriptor().getMessageTypes().get(960); internal_static_google_cloud_compute_v1_PatchPublicAdvertisedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchPublicAdvertisedPrefixeRequest_descriptor, @@ -32305,7 +33304,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "PublicAdvertisedPrefix", "PublicAdvertisedPrefixResource", "RequestId", }); internal_static_google_cloud_compute_v1_PatchPublicDelegatedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(937); + getDescriptor().getMessageTypes().get(961); internal_static_google_cloud_compute_v1_PatchPublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchPublicDelegatedPrefixeRequest_descriptor, @@ -32317,7 +33316,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchRegionAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(938); + getDescriptor().getMessageTypes().get(962); internal_static_google_cloud_compute_v1_PatchRegionAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRegionAutoscalerRequest_descriptor, @@ -32325,7 +33324,7 @@ private static void _clinit_autosplit_dinit_2() { "Autoscaler", "AutoscalerResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_PatchRegionBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(939); + getDescriptor().getMessageTypes().get(963); internal_static_google_cloud_compute_v1_PatchRegionBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRegionBackendServiceRequest_descriptor, @@ -32333,7 +33332,7 @@ private static void _clinit_autosplit_dinit_2() { "BackendService", "BackendServiceResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_PatchRegionHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(940); + getDescriptor().getMessageTypes().get(964); internal_static_google_cloud_compute_v1_PatchRegionHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRegionHealthCheckRequest_descriptor, @@ -32341,7 +33340,7 @@ private static void _clinit_autosplit_dinit_2() { "HealthCheck", "HealthCheckResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_PatchRegionHealthCheckServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(941); + getDescriptor().getMessageTypes().get(965); internal_static_google_cloud_compute_v1_PatchRegionHealthCheckServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRegionHealthCheckServiceRequest_descriptor, @@ -32349,7 +33348,7 @@ private static void _clinit_autosplit_dinit_2() { "HealthCheckService", "HealthCheckServiceResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_PatchRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(942); + getDescriptor().getMessageTypes().get(966); internal_static_google_cloud_compute_v1_PatchRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRegionInstanceGroupManagerRequest_descriptor, @@ -32361,7 +33360,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchRegionNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(943); + getDescriptor().getMessageTypes().get(967); internal_static_google_cloud_compute_v1_PatchRegionNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRegionNetworkFirewallPolicyRequest_descriptor, @@ -32369,7 +33368,7 @@ private static void _clinit_autosplit_dinit_2() { "FirewallPolicy", "FirewallPolicyResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_PatchRegionSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(944); + getDescriptor().getMessageTypes().get(968); internal_static_google_cloud_compute_v1_PatchRegionSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRegionSecurityPolicyRequest_descriptor, @@ -32382,7 +33381,7 @@ private static void _clinit_autosplit_dinit_2() { "UpdateMask", }); internal_static_google_cloud_compute_v1_PatchRegionSslPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(945); + getDescriptor().getMessageTypes().get(969); internal_static_google_cloud_compute_v1_PatchRegionSslPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRegionSslPolicyRequest_descriptor, @@ -32390,7 +33389,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RequestId", "SslPolicy", "SslPolicyResource", }); internal_static_google_cloud_compute_v1_PatchRegionTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(946); + getDescriptor().getMessageTypes().get(970); internal_static_google_cloud_compute_v1_PatchRegionTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRegionTargetHttpsProxyRequest_descriptor, @@ -32398,7 +33397,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RequestId", "TargetHttpsProxy", "TargetHttpsProxyResource", }); internal_static_google_cloud_compute_v1_PatchRegionUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(947); + getDescriptor().getMessageTypes().get(971); internal_static_google_cloud_compute_v1_PatchRegionUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRegionUrlMapRequest_descriptor, @@ -32406,7 +33405,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RequestId", "UrlMap", "UrlMapResource", }); internal_static_google_cloud_compute_v1_PatchResourcePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(948); + getDescriptor().getMessageTypes().get(972); internal_static_google_cloud_compute_v1_PatchResourcePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchResourcePolicyRequest_descriptor, @@ -32419,7 +33418,7 @@ private static void _clinit_autosplit_dinit_2() { "UpdateMask", }); internal_static_google_cloud_compute_v1_PatchRouterRequest_descriptor = - getDescriptor().getMessageTypes().get(949); + getDescriptor().getMessageTypes().get(973); internal_static_google_cloud_compute_v1_PatchRouterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRouterRequest_descriptor, @@ -32427,7 +33426,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RequestId", "Router", "RouterResource", }); internal_static_google_cloud_compute_v1_PatchRuleFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(950); + getDescriptor().getMessageTypes().get(974); internal_static_google_cloud_compute_v1_PatchRuleFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRuleFirewallPolicyRequest_descriptor, @@ -32435,7 +33434,7 @@ private static void _clinit_autosplit_dinit_2() { "FirewallPolicy", "FirewallPolicyRuleResource", "Priority", "RequestId", }); internal_static_google_cloud_compute_v1_PatchRuleNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(951); + getDescriptor().getMessageTypes().get(975); internal_static_google_cloud_compute_v1_PatchRuleNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRuleNetworkFirewallPolicyRequest_descriptor, @@ -32443,7 +33442,7 @@ private static void _clinit_autosplit_dinit_2() { "FirewallPolicy", "FirewallPolicyRuleResource", "Priority", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_PatchRuleRegionNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(952); + getDescriptor().getMessageTypes().get(976); internal_static_google_cloud_compute_v1_PatchRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRuleRegionNetworkFirewallPolicyRequest_descriptor, @@ -32456,7 +33455,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchRuleRegionSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(953); + getDescriptor().getMessageTypes().get(977); internal_static_google_cloud_compute_v1_PatchRuleRegionSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRuleRegionSecurityPolicyRequest_descriptor, @@ -32470,7 +33469,7 @@ private static void _clinit_autosplit_dinit_2() { "ValidateOnly", }); internal_static_google_cloud_compute_v1_PatchRuleSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(954); + getDescriptor().getMessageTypes().get(978); internal_static_google_cloud_compute_v1_PatchRuleSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRuleSecurityPolicyRequest_descriptor, @@ -32483,7 +33482,7 @@ private static void _clinit_autosplit_dinit_2() { "ValidateOnly", }); internal_static_google_cloud_compute_v1_PatchSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(955); + getDescriptor().getMessageTypes().get(979); internal_static_google_cloud_compute_v1_PatchSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchSecurityPolicyRequest_descriptor, @@ -32491,7 +33490,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "SecurityPolicy", "SecurityPolicyResource", "UpdateMask", }); internal_static_google_cloud_compute_v1_PatchServiceAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(956); + getDescriptor().getMessageTypes().get(980); internal_static_google_cloud_compute_v1_PatchServiceAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchServiceAttachmentRequest_descriptor, @@ -32499,7 +33498,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RequestId", "ServiceAttachment", "ServiceAttachmentResource", }); internal_static_google_cloud_compute_v1_PatchSnapshotSettingRequest_descriptor = - getDescriptor().getMessageTypes().get(957); + getDescriptor().getMessageTypes().get(981); internal_static_google_cloud_compute_v1_PatchSnapshotSettingRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchSnapshotSettingRequest_descriptor, @@ -32507,7 +33506,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "SnapshotSettingsResource", "UpdateMask", }); internal_static_google_cloud_compute_v1_PatchSslPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(958); + getDescriptor().getMessageTypes().get(982); internal_static_google_cloud_compute_v1_PatchSslPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchSslPolicyRequest_descriptor, @@ -32515,7 +33514,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "SslPolicy", "SslPolicyResource", }); internal_static_google_cloud_compute_v1_PatchSubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(959); + getDescriptor().getMessageTypes().get(983); internal_static_google_cloud_compute_v1_PatchSubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchSubnetworkRequest_descriptor, @@ -32528,7 +33527,7 @@ private static void _clinit_autosplit_dinit_2() { "SubnetworkResource", }); internal_static_google_cloud_compute_v1_PatchTargetGrpcProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(960); + getDescriptor().getMessageTypes().get(984); internal_static_google_cloud_compute_v1_PatchTargetGrpcProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchTargetGrpcProxyRequest_descriptor, @@ -32536,7 +33535,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "TargetGrpcProxy", "TargetGrpcProxyResource", }); internal_static_google_cloud_compute_v1_PatchTargetHttpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(961); + getDescriptor().getMessageTypes().get(985); internal_static_google_cloud_compute_v1_PatchTargetHttpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchTargetHttpProxyRequest_descriptor, @@ -32544,7 +33543,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "TargetHttpProxy", "TargetHttpProxyResource", }); internal_static_google_cloud_compute_v1_PatchTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(962); + getDescriptor().getMessageTypes().get(986); internal_static_google_cloud_compute_v1_PatchTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchTargetHttpsProxyRequest_descriptor, @@ -32552,7 +33551,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "TargetHttpsProxy", "TargetHttpsProxyResource", }); internal_static_google_cloud_compute_v1_PatchUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(963); + getDescriptor().getMessageTypes().get(987); internal_static_google_cloud_compute_v1_PatchUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchUrlMapRequest_descriptor, @@ -32560,7 +33559,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "UrlMap", "UrlMapResource", }); internal_static_google_cloud_compute_v1_PathMatcher_descriptor = - getDescriptor().getMessageTypes().get(964); + getDescriptor().getMessageTypes().get(988); internal_static_google_cloud_compute_v1_PathMatcher_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PathMatcher_descriptor, @@ -32575,7 +33574,7 @@ private static void _clinit_autosplit_dinit_2() { "RouteRules", }); internal_static_google_cloud_compute_v1_PathRule_descriptor = - getDescriptor().getMessageTypes().get(965); + getDescriptor().getMessageTypes().get(989); internal_static_google_cloud_compute_v1_PathRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PathRule_descriptor, @@ -32583,7 +33582,7 @@ private static void _clinit_autosplit_dinit_2() { "Paths", "RouteAction", "Service", "UrlRedirect", }); internal_static_google_cloud_compute_v1_PerInstanceConfig_descriptor = - getDescriptor().getMessageTypes().get(966); + getDescriptor().getMessageTypes().get(990); internal_static_google_cloud_compute_v1_PerInstanceConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PerInstanceConfig_descriptor, @@ -32591,15 +33590,27 @@ private static void _clinit_autosplit_dinit_2() { "Fingerprint", "Name", "PreservedState", "Status", }); internal_static_google_cloud_compute_v1_PerformMaintenanceInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(967); + getDescriptor().getMessageTypes().get(991); internal_static_google_cloud_compute_v1_PerformMaintenanceInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PerformMaintenanceInstanceRequest_descriptor, new java.lang.String[] { "Instance", "Project", "RequestId", "Zone", }); + internal_static_google_cloud_compute_v1_PerformMaintenanceNodeGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(992); + internal_static_google_cloud_compute_v1_PerformMaintenanceNodeGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_PerformMaintenanceNodeGroupRequest_descriptor, + new java.lang.String[] { + "NodeGroup", + "NodeGroupsPerformMaintenanceRequestResource", + "Project", + "RequestId", + "Zone", + }); internal_static_google_cloud_compute_v1_Policy_descriptor = - getDescriptor().getMessageTypes().get(968); + getDescriptor().getMessageTypes().get(993); internal_static_google_cloud_compute_v1_Policy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Policy_descriptor, @@ -32607,7 +33618,7 @@ private static void _clinit_autosplit_dinit_2() { "AuditConfigs", "Bindings", "Etag", "IamOwned", "Rules", "Version", }); internal_static_google_cloud_compute_v1_PreconfiguredWafSet_descriptor = - getDescriptor().getMessageTypes().get(969); + getDescriptor().getMessageTypes().get(994); internal_static_google_cloud_compute_v1_PreconfiguredWafSet_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PreconfiguredWafSet_descriptor, @@ -32615,7 +33626,7 @@ private static void _clinit_autosplit_dinit_2() { "ExpressionSets", }); internal_static_google_cloud_compute_v1_PreservedState_descriptor = - getDescriptor().getMessageTypes().get(970); + getDescriptor().getMessageTypes().get(995); internal_static_google_cloud_compute_v1_PreservedState_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PreservedState_descriptor, @@ -32655,7 +33666,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_PreservedStatePreservedDisk_descriptor = - getDescriptor().getMessageTypes().get(971); + getDescriptor().getMessageTypes().get(996); internal_static_google_cloud_compute_v1_PreservedStatePreservedDisk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PreservedStatePreservedDisk_descriptor, @@ -32663,7 +33674,7 @@ private static void _clinit_autosplit_dinit_2() { "AutoDelete", "Mode", "Source", }); internal_static_google_cloud_compute_v1_PreservedStatePreservedNetworkIp_descriptor = - getDescriptor().getMessageTypes().get(972); + getDescriptor().getMessageTypes().get(997); internal_static_google_cloud_compute_v1_PreservedStatePreservedNetworkIp_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PreservedStatePreservedNetworkIp_descriptor, @@ -32671,7 +33682,7 @@ private static void _clinit_autosplit_dinit_2() { "AutoDelete", "IpAddress", }); internal_static_google_cloud_compute_v1_PreservedStatePreservedNetworkIpIpAddress_descriptor = - getDescriptor().getMessageTypes().get(973); + getDescriptor().getMessageTypes().get(998); internal_static_google_cloud_compute_v1_PreservedStatePreservedNetworkIpIpAddress_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PreservedStatePreservedNetworkIpIpAddress_descriptor, @@ -32679,7 +33690,7 @@ private static void _clinit_autosplit_dinit_2() { "Address", "Literal", }); internal_static_google_cloud_compute_v1_PreviewRouterRequest_descriptor = - getDescriptor().getMessageTypes().get(974); + getDescriptor().getMessageTypes().get(999); internal_static_google_cloud_compute_v1_PreviewRouterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PreviewRouterRequest_descriptor, @@ -32687,7 +33698,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "Router", "RouterResource", }); internal_static_google_cloud_compute_v1_Project_descriptor = - getDescriptor().getMessageTypes().get(975); + getDescriptor().getMessageTypes().get(1000); internal_static_google_cloud_compute_v1_Project_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Project_descriptor, @@ -32709,7 +33720,7 @@ private static void _clinit_autosplit_dinit_2() { "XpnProjectStatus", }); internal_static_google_cloud_compute_v1_ProjectsDisableXpnResourceRequest_descriptor = - getDescriptor().getMessageTypes().get(976); + getDescriptor().getMessageTypes().get(1001); internal_static_google_cloud_compute_v1_ProjectsDisableXpnResourceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ProjectsDisableXpnResourceRequest_descriptor, @@ -32717,7 +33728,7 @@ private static void _clinit_autosplit_dinit_2() { "XpnResource", }); internal_static_google_cloud_compute_v1_ProjectsEnableXpnResourceRequest_descriptor = - getDescriptor().getMessageTypes().get(977); + getDescriptor().getMessageTypes().get(1002); internal_static_google_cloud_compute_v1_ProjectsEnableXpnResourceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ProjectsEnableXpnResourceRequest_descriptor, @@ -32725,7 +33736,7 @@ private static void _clinit_autosplit_dinit_2() { "XpnResource", }); internal_static_google_cloud_compute_v1_ProjectsGetXpnResources_descriptor = - getDescriptor().getMessageTypes().get(978); + getDescriptor().getMessageTypes().get(1003); internal_static_google_cloud_compute_v1_ProjectsGetXpnResources_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ProjectsGetXpnResources_descriptor, @@ -32733,7 +33744,7 @@ private static void _clinit_autosplit_dinit_2() { "Kind", "NextPageToken", "Resources", }); internal_static_google_cloud_compute_v1_ProjectsListXpnHostsRequest_descriptor = - getDescriptor().getMessageTypes().get(979); + getDescriptor().getMessageTypes().get(1004); internal_static_google_cloud_compute_v1_ProjectsListXpnHostsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ProjectsListXpnHostsRequest_descriptor, @@ -32741,7 +33752,7 @@ private static void _clinit_autosplit_dinit_2() { "Organization", }); internal_static_google_cloud_compute_v1_ProjectsSetCloudArmorTierRequest_descriptor = - getDescriptor().getMessageTypes().get(980); + getDescriptor().getMessageTypes().get(1005); internal_static_google_cloud_compute_v1_ProjectsSetCloudArmorTierRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ProjectsSetCloudArmorTierRequest_descriptor, @@ -32749,7 +33760,7 @@ private static void _clinit_autosplit_dinit_2() { "CloudArmorTier", }); internal_static_google_cloud_compute_v1_ProjectsSetDefaultNetworkTierRequest_descriptor = - getDescriptor().getMessageTypes().get(981); + getDescriptor().getMessageTypes().get(1006); internal_static_google_cloud_compute_v1_ProjectsSetDefaultNetworkTierRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ProjectsSetDefaultNetworkTierRequest_descriptor, @@ -32757,7 +33768,7 @@ private static void _clinit_autosplit_dinit_2() { "NetworkTier", }); internal_static_google_cloud_compute_v1_PublicAdvertisedPrefix_descriptor = - getDescriptor().getMessageTypes().get(982); + getDescriptor().getMessageTypes().get(1007); internal_static_google_cloud_compute_v1_PublicAdvertisedPrefix_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PublicAdvertisedPrefix_descriptor, @@ -32778,7 +33789,7 @@ private static void _clinit_autosplit_dinit_2() { "Status", }); internal_static_google_cloud_compute_v1_PublicAdvertisedPrefixList_descriptor = - getDescriptor().getMessageTypes().get(983); + getDescriptor().getMessageTypes().get(1008); internal_static_google_cloud_compute_v1_PublicAdvertisedPrefixList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PublicAdvertisedPrefixList_descriptor, @@ -32786,7 +33797,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_PublicAdvertisedPrefixPublicDelegatedPrefix_descriptor = - getDescriptor().getMessageTypes().get(984); + getDescriptor().getMessageTypes().get(1009); internal_static_google_cloud_compute_v1_PublicAdvertisedPrefixPublicDelegatedPrefix_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PublicAdvertisedPrefixPublicDelegatedPrefix_descriptor, @@ -32794,11 +33805,12 @@ private static void _clinit_autosplit_dinit_2() { "IpRange", "Name", "Project", "Region", "Status", }); internal_static_google_cloud_compute_v1_PublicDelegatedPrefix_descriptor = - getDescriptor().getMessageTypes().get(985); + getDescriptor().getMessageTypes().get(1010); internal_static_google_cloud_compute_v1_PublicDelegatedPrefix_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PublicDelegatedPrefix_descriptor, new java.lang.String[] { + "AllocatablePrefixLength", "ByoipApiVersion", "CreationTimestamp", "Description", @@ -32807,6 +33819,7 @@ private static void _clinit_autosplit_dinit_2() { "IpCidrRange", "IsLiveMigration", "Kind", + "Mode", "Name", "ParentPrefix", "PublicDelegatedSubPrefixs", @@ -32815,7 +33828,7 @@ private static void _clinit_autosplit_dinit_2() { "Status", }); internal_static_google_cloud_compute_v1_PublicDelegatedPrefixAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(986); + getDescriptor().getMessageTypes().get(1011); internal_static_google_cloud_compute_v1_PublicDelegatedPrefixAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PublicDelegatedPrefixAggregatedList_descriptor, @@ -32833,7 +33846,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_PublicDelegatedPrefixList_descriptor = - getDescriptor().getMessageTypes().get(987); + getDescriptor().getMessageTypes().get(1012); internal_static_google_cloud_compute_v1_PublicDelegatedPrefixList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PublicDelegatedPrefixList_descriptor, @@ -32841,21 +33854,23 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_PublicDelegatedPrefixPublicDelegatedSubPrefix_descriptor = - getDescriptor().getMessageTypes().get(988); + getDescriptor().getMessageTypes().get(1013); internal_static_google_cloud_compute_v1_PublicDelegatedPrefixPublicDelegatedSubPrefix_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PublicDelegatedPrefixPublicDelegatedSubPrefix_descriptor, new java.lang.String[] { + "AllocatablePrefixLength", "DelegateeProject", "Description", "IpCidrRange", "IsAddress", + "Mode", "Name", "Region", "Status", }); internal_static_google_cloud_compute_v1_PublicDelegatedPrefixesScopedList_descriptor = - getDescriptor().getMessageTypes().get(989); + getDescriptor().getMessageTypes().get(1014); internal_static_google_cloud_compute_v1_PublicDelegatedPrefixesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PublicDelegatedPrefixesScopedList_descriptor, @@ -32863,7 +33878,7 @@ private static void _clinit_autosplit_dinit_2() { "PublicDelegatedPrefixes", "Warning", }); internal_static_google_cloud_compute_v1_Quota_descriptor = - getDescriptor().getMessageTypes().get(990); + getDescriptor().getMessageTypes().get(1015); internal_static_google_cloud_compute_v1_Quota_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Quota_descriptor, @@ -32871,7 +33886,7 @@ private static void _clinit_autosplit_dinit_2() { "Limit", "Metric", "Owner", "Usage", }); internal_static_google_cloud_compute_v1_QuotaExceededInfo_descriptor = - getDescriptor().getMessageTypes().get(991); + getDescriptor().getMessageTypes().get(1016); internal_static_google_cloud_compute_v1_QuotaExceededInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_QuotaExceededInfo_descriptor, @@ -32888,8 +33903,16 @@ private static void _clinit_autosplit_dinit_2() { new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_compute_v1_QuotaStatusWarning_descriptor = + getDescriptor().getMessageTypes().get(1017); + internal_static_google_cloud_compute_v1_QuotaStatusWarning_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_QuotaStatusWarning_descriptor, + new java.lang.String[] { + "Code", "Data", "Message", + }); internal_static_google_cloud_compute_v1_RawDisk_descriptor = - getDescriptor().getMessageTypes().get(992); + getDescriptor().getMessageTypes().get(1018); internal_static_google_cloud_compute_v1_RawDisk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RawDisk_descriptor, @@ -32897,7 +33920,7 @@ private static void _clinit_autosplit_dinit_2() { "ContainerType", "Sha1Checksum", "Source", }); internal_static_google_cloud_compute_v1_RecreateInstancesInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(993); + getDescriptor().getMessageTypes().get(1019); internal_static_google_cloud_compute_v1_RecreateInstancesInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RecreateInstancesInstanceGroupManagerRequest_descriptor, @@ -32909,7 +33932,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_RecreateInstancesRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(994); + getDescriptor().getMessageTypes().get(1020); internal_static_google_cloud_compute_v1_RecreateInstancesRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RecreateInstancesRegionInstanceGroupManagerRequest_descriptor, @@ -32921,7 +33944,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_Reference_descriptor = - getDescriptor().getMessageTypes().get(995); + getDescriptor().getMessageTypes().get(1021); internal_static_google_cloud_compute_v1_Reference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Reference_descriptor, @@ -32929,7 +33952,7 @@ private static void _clinit_autosplit_dinit_2() { "Kind", "ReferenceType", "Referrer", "Target", }); internal_static_google_cloud_compute_v1_Region_descriptor = - getDescriptor().getMessageTypes().get(996); + getDescriptor().getMessageTypes().get(1022); internal_static_google_cloud_compute_v1_Region_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Region_descriptor, @@ -32940,6 +33963,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Kind", "Name", + "QuotaStatusWarning", "Quotas", "SelfLink", "Status", @@ -32947,7 +33971,7 @@ private static void _clinit_autosplit_dinit_2() { "Zones", }); internal_static_google_cloud_compute_v1_RegionAddressesMoveRequest_descriptor = - getDescriptor().getMessageTypes().get(997); + getDescriptor().getMessageTypes().get(1023); internal_static_google_cloud_compute_v1_RegionAddressesMoveRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionAddressesMoveRequest_descriptor, @@ -32955,7 +33979,7 @@ private static void _clinit_autosplit_dinit_2() { "Description", "DestinationAddress", }); internal_static_google_cloud_compute_v1_RegionAutoscalerList_descriptor = - getDescriptor().getMessageTypes().get(998); + getDescriptor().getMessageTypes().get(1024); internal_static_google_cloud_compute_v1_RegionAutoscalerList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionAutoscalerList_descriptor, @@ -32963,7 +33987,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_RegionDiskTypeList_descriptor = - getDescriptor().getMessageTypes().get(999); + getDescriptor().getMessageTypes().get(1025); internal_static_google_cloud_compute_v1_RegionDiskTypeList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionDiskTypeList_descriptor, @@ -32971,7 +33995,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_RegionDisksAddResourcePoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(1000); + getDescriptor().getMessageTypes().get(1026); internal_static_google_cloud_compute_v1_RegionDisksAddResourcePoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionDisksAddResourcePoliciesRequest_descriptor, @@ -32979,7 +34003,7 @@ private static void _clinit_autosplit_dinit_2() { "ResourcePolicies", }); internal_static_google_cloud_compute_v1_RegionDisksRemoveResourcePoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(1001); + getDescriptor().getMessageTypes().get(1027); internal_static_google_cloud_compute_v1_RegionDisksRemoveResourcePoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionDisksRemoveResourcePoliciesRequest_descriptor, @@ -32987,7 +34011,7 @@ private static void _clinit_autosplit_dinit_2() { "ResourcePolicies", }); internal_static_google_cloud_compute_v1_RegionDisksResizeRequest_descriptor = - getDescriptor().getMessageTypes().get(1002); + getDescriptor().getMessageTypes().get(1028); internal_static_google_cloud_compute_v1_RegionDisksResizeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionDisksResizeRequest_descriptor, @@ -32995,7 +34019,7 @@ private static void _clinit_autosplit_dinit_2() { "SizeGb", }); internal_static_google_cloud_compute_v1_RegionDisksStartAsyncReplicationRequest_descriptor = - getDescriptor().getMessageTypes().get(1003); + getDescriptor().getMessageTypes().get(1029); internal_static_google_cloud_compute_v1_RegionDisksStartAsyncReplicationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionDisksStartAsyncReplicationRequest_descriptor, @@ -33003,7 +34027,7 @@ private static void _clinit_autosplit_dinit_2() { "AsyncSecondaryDisk", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupList_descriptor = - getDescriptor().getMessageTypes().get(1004); + getDescriptor().getMessageTypes().get(1030); internal_static_google_cloud_compute_v1_RegionInstanceGroupList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupList_descriptor, @@ -33011,7 +34035,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerDeleteInstanceConfigReq_descriptor = - getDescriptor().getMessageTypes().get(1005); + getDescriptor().getMessageTypes().get(1031); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerDeleteInstanceConfigReq_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerDeleteInstanceConfigReq_descriptor, @@ -33019,7 +34043,7 @@ private static void _clinit_autosplit_dinit_2() { "Names", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerList_descriptor = - getDescriptor().getMessageTypes().get(1006); + getDescriptor().getMessageTypes().get(1032); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerList_descriptor, @@ -33027,7 +34051,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerPatchInstanceConfigReq_descriptor = - getDescriptor().getMessageTypes().get(1007); + getDescriptor().getMessageTypes().get(1033); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerPatchInstanceConfigReq_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerPatchInstanceConfigReq_descriptor, @@ -33035,7 +34059,7 @@ private static void _clinit_autosplit_dinit_2() { "PerInstanceConfigs", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerUpdateInstanceConfigReq_descriptor = - getDescriptor().getMessageTypes().get(1008); + getDescriptor().getMessageTypes().get(1034); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerUpdateInstanceConfigReq_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerUpdateInstanceConfigReq_descriptor, @@ -33043,7 +34067,7 @@ private static void _clinit_autosplit_dinit_2() { "PerInstanceConfigs", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersAbandonInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(1009); + getDescriptor().getMessageTypes().get(1035); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersAbandonInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersAbandonInstancesRequest_descriptor, @@ -33051,7 +34075,7 @@ private static void _clinit_autosplit_dinit_2() { "Instances", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersApplyUpdatesRequest_descriptor = - getDescriptor().getMessageTypes().get(1010); + getDescriptor().getMessageTypes().get(1036); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersApplyUpdatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersApplyUpdatesRequest_descriptor, @@ -33059,7 +34083,7 @@ private static void _clinit_autosplit_dinit_2() { "AllInstances", "Instances", "MinimalAction", "MostDisruptiveAllowedAction", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersCreateInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(1011); + getDescriptor().getMessageTypes().get(1037); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersCreateInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersCreateInstancesRequest_descriptor, @@ -33067,7 +34091,7 @@ private static void _clinit_autosplit_dinit_2() { "Instances", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersDeleteInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(1012); + getDescriptor().getMessageTypes().get(1038); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersDeleteInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersDeleteInstancesRequest_descriptor, @@ -33075,7 +34099,7 @@ private static void _clinit_autosplit_dinit_2() { "Instances", "SkipInstancesOnValidationError", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListErrorsResponse_descriptor = - getDescriptor().getMessageTypes().get(1013); + getDescriptor().getMessageTypes().get(1039); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListErrorsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListErrorsResponse_descriptor, @@ -33083,7 +34107,7 @@ private static void _clinit_autosplit_dinit_2() { "Items", "NextPageToken", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListInstanceConfigsResp_descriptor = - getDescriptor().getMessageTypes().get(1014); + getDescriptor().getMessageTypes().get(1040); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListInstanceConfigsResp_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListInstanceConfigsResp_descriptor, @@ -33091,7 +34115,7 @@ private static void _clinit_autosplit_dinit_2() { "Items", "NextPageToken", "Warning", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(1015); + getDescriptor().getMessageTypes().get(1041); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListInstancesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListInstancesResponse_descriptor, @@ -33099,7 +34123,7 @@ private static void _clinit_autosplit_dinit_2() { "ManagedInstances", "NextPageToken", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersRecreateRequest_descriptor = - getDescriptor().getMessageTypes().get(1016); + getDescriptor().getMessageTypes().get(1042); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersRecreateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersRecreateRequest_descriptor, @@ -33107,7 +34131,7 @@ private static void _clinit_autosplit_dinit_2() { "Instances", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSetTargetPoolsRequest_descriptor = - getDescriptor().getMessageTypes().get(1017); + getDescriptor().getMessageTypes().get(1043); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSetTargetPoolsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSetTargetPoolsRequest_descriptor, @@ -33115,7 +34139,7 @@ private static void _clinit_autosplit_dinit_2() { "Fingerprint", "TargetPools", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSetTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(1018); + getDescriptor().getMessageTypes().get(1044); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSetTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSetTemplateRequest_descriptor, @@ -33123,7 +34147,7 @@ private static void _clinit_autosplit_dinit_2() { "InstanceTemplate", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupsListInstances_descriptor = - getDescriptor().getMessageTypes().get(1019); + getDescriptor().getMessageTypes().get(1045); internal_static_google_cloud_compute_v1_RegionInstanceGroupsListInstances_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupsListInstances_descriptor, @@ -33131,7 +34155,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupsListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(1020); + getDescriptor().getMessageTypes().get(1046); internal_static_google_cloud_compute_v1_RegionInstanceGroupsListInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupsListInstancesRequest_descriptor, @@ -33139,7 +34163,7 @@ private static void _clinit_autosplit_dinit_2() { "InstanceState", "PortName", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupsSetNamedPortsRequest_descriptor = - getDescriptor().getMessageTypes().get(1021); + getDescriptor().getMessageTypes().get(1047); internal_static_google_cloud_compute_v1_RegionInstanceGroupsSetNamedPortsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupsSetNamedPortsRequest_descriptor, @@ -33147,7 +34171,7 @@ private static void _clinit_autosplit_dinit_2() { "Fingerprint", "NamedPorts", }); internal_static_google_cloud_compute_v1_RegionList_descriptor = - getDescriptor().getMessageTypes().get(1022); + getDescriptor().getMessageTypes().get(1048); internal_static_google_cloud_compute_v1_RegionList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionList_descriptor, @@ -33155,7 +34179,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_RegionNetworkEndpointGroupsAttachEndpointsRequest_descriptor = - getDescriptor().getMessageTypes().get(1023); + getDescriptor().getMessageTypes().get(1049); internal_static_google_cloud_compute_v1_RegionNetworkEndpointGroupsAttachEndpointsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionNetworkEndpointGroupsAttachEndpointsRequest_descriptor, @@ -33163,7 +34187,7 @@ private static void _clinit_autosplit_dinit_2() { "NetworkEndpoints", }); internal_static_google_cloud_compute_v1_RegionNetworkEndpointGroupsDetachEndpointsRequest_descriptor = - getDescriptor().getMessageTypes().get(1024); + getDescriptor().getMessageTypes().get(1050); internal_static_google_cloud_compute_v1_RegionNetworkEndpointGroupsDetachEndpointsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionNetworkEndpointGroupsDetachEndpointsRequest_descriptor, @@ -33171,7 +34195,7 @@ private static void _clinit_autosplit_dinit_2() { "NetworkEndpoints", }); internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse_descriptor = - getDescriptor().getMessageTypes().get(1025); + getDescriptor().getMessageTypes().get(1051); internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse_descriptor, @@ -33179,7 +34203,7 @@ private static void _clinit_autosplit_dinit_2() { "FirewallPolicys", "Firewalls", }); internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor = - getDescriptor().getMessageTypes().get(1026); + getDescriptor().getMessageTypes().get(1052); internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor, @@ -33187,7 +34211,7 @@ private static void _clinit_autosplit_dinit_2() { "DisplayName", "Name", "Rules", "Type", }); internal_static_google_cloud_compute_v1_RegionSetLabelsRequest_descriptor = - getDescriptor().getMessageTypes().get(1027); + getDescriptor().getMessageTypes().get(1053); internal_static_google_cloud_compute_v1_RegionSetLabelsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionSetLabelsRequest_descriptor, @@ -33205,7 +34229,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_RegionSetPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1028); + getDescriptor().getMessageTypes().get(1054); internal_static_google_cloud_compute_v1_RegionSetPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionSetPolicyRequest_descriptor, @@ -33213,7 +34237,7 @@ private static void _clinit_autosplit_dinit_2() { "Bindings", "Etag", "Policy", }); internal_static_google_cloud_compute_v1_RegionTargetHttpsProxiesSetSslCertificatesRequest_descriptor = - getDescriptor().getMessageTypes().get(1029); + getDescriptor().getMessageTypes().get(1055); internal_static_google_cloud_compute_v1_RegionTargetHttpsProxiesSetSslCertificatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionTargetHttpsProxiesSetSslCertificatesRequest_descriptor, @@ -33221,7 +34245,7 @@ private static void _clinit_autosplit_dinit_2() { "SslCertificates", }); internal_static_google_cloud_compute_v1_RegionUrlMapsValidateRequest_descriptor = - getDescriptor().getMessageTypes().get(1030); + getDescriptor().getMessageTypes().get(1056); internal_static_google_cloud_compute_v1_RegionUrlMapsValidateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionUrlMapsValidateRequest_descriptor, @@ -33229,7 +34253,7 @@ private static void _clinit_autosplit_dinit_2() { "Resource", }); internal_static_google_cloud_compute_v1_RemoveAssociationFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1031); + getDescriptor().getMessageTypes().get(1057); internal_static_google_cloud_compute_v1_RemoveAssociationFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveAssociationFirewallPolicyRequest_descriptor, @@ -33237,7 +34261,7 @@ private static void _clinit_autosplit_dinit_2() { "FirewallPolicy", "Name", "RequestId", }); internal_static_google_cloud_compute_v1_RemoveAssociationNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1032); + getDescriptor().getMessageTypes().get(1058); internal_static_google_cloud_compute_v1_RemoveAssociationNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveAssociationNetworkFirewallPolicyRequest_descriptor, @@ -33245,7 +34269,7 @@ private static void _clinit_autosplit_dinit_2() { "FirewallPolicy", "Name", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_RemoveAssociationRegionNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1033); + getDescriptor().getMessageTypes().get(1059); internal_static_google_cloud_compute_v1_RemoveAssociationRegionNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveAssociationRegionNetworkFirewallPolicyRequest_descriptor, @@ -33253,7 +34277,7 @@ private static void _clinit_autosplit_dinit_2() { "FirewallPolicy", "Name", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_RemoveHealthCheckTargetPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(1034); + getDescriptor().getMessageTypes().get(1060); internal_static_google_cloud_compute_v1_RemoveHealthCheckTargetPoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveHealthCheckTargetPoolRequest_descriptor, @@ -33265,7 +34289,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetPoolsRemoveHealthCheckRequestResource", }); internal_static_google_cloud_compute_v1_RemoveInstanceTargetPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(1035); + getDescriptor().getMessageTypes().get(1061); internal_static_google_cloud_compute_v1_RemoveInstanceTargetPoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveInstanceTargetPoolRequest_descriptor, @@ -33277,7 +34301,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetPoolsRemoveInstanceRequestResource", }); internal_static_google_cloud_compute_v1_RemoveInstancesInstanceGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(1036); + getDescriptor().getMessageTypes().get(1062); internal_static_google_cloud_compute_v1_RemoveInstancesInstanceGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveInstancesInstanceGroupRequest_descriptor, @@ -33289,7 +34313,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_RemovePeeringNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(1037); + getDescriptor().getMessageTypes().get(1063); internal_static_google_cloud_compute_v1_RemovePeeringNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemovePeeringNetworkRequest_descriptor, @@ -33297,7 +34321,7 @@ private static void _clinit_autosplit_dinit_2() { "Network", "NetworksRemovePeeringRequestResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_RemoveResourcePoliciesDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1038); + getDescriptor().getMessageTypes().get(1064); internal_static_google_cloud_compute_v1_RemoveResourcePoliciesDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveResourcePoliciesDiskRequest_descriptor, @@ -33305,7 +34329,7 @@ private static void _clinit_autosplit_dinit_2() { "Disk", "DisksRemoveResourcePoliciesRequestResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_RemoveResourcePoliciesInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1039); + getDescriptor().getMessageTypes().get(1065); internal_static_google_cloud_compute_v1_RemoveResourcePoliciesInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveResourcePoliciesInstanceRequest_descriptor, @@ -33317,7 +34341,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_RemoveResourcePoliciesRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1040); + getDescriptor().getMessageTypes().get(1066); internal_static_google_cloud_compute_v1_RemoveResourcePoliciesRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveResourcePoliciesRegionDiskRequest_descriptor, @@ -33329,7 +34353,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_RemoveRuleFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1041); + getDescriptor().getMessageTypes().get(1067); internal_static_google_cloud_compute_v1_RemoveRuleFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveRuleFirewallPolicyRequest_descriptor, @@ -33337,7 +34361,7 @@ private static void _clinit_autosplit_dinit_2() { "FirewallPolicy", "Priority", "RequestId", }); internal_static_google_cloud_compute_v1_RemoveRuleNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1042); + getDescriptor().getMessageTypes().get(1068); internal_static_google_cloud_compute_v1_RemoveRuleNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveRuleNetworkFirewallPolicyRequest_descriptor, @@ -33345,7 +34369,7 @@ private static void _clinit_autosplit_dinit_2() { "FirewallPolicy", "Priority", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_RemoveRuleRegionNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1043); + getDescriptor().getMessageTypes().get(1069); internal_static_google_cloud_compute_v1_RemoveRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveRuleRegionNetworkFirewallPolicyRequest_descriptor, @@ -33353,7 +34377,7 @@ private static void _clinit_autosplit_dinit_2() { "FirewallPolicy", "Priority", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_RemoveRuleRegionSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1044); + getDescriptor().getMessageTypes().get(1070); internal_static_google_cloud_compute_v1_RemoveRuleRegionSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveRuleRegionSecurityPolicyRequest_descriptor, @@ -33361,7 +34385,7 @@ private static void _clinit_autosplit_dinit_2() { "Priority", "Project", "Region", "SecurityPolicy", }); internal_static_google_cloud_compute_v1_RemoveRuleSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1045); + getDescriptor().getMessageTypes().get(1071); internal_static_google_cloud_compute_v1_RemoveRuleSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveRuleSecurityPolicyRequest_descriptor, @@ -33369,7 +34393,7 @@ private static void _clinit_autosplit_dinit_2() { "Priority", "Project", "SecurityPolicy", }); internal_static_google_cloud_compute_v1_RequestMirrorPolicy_descriptor = - getDescriptor().getMessageTypes().get(1046); + getDescriptor().getMessageTypes().get(1072); internal_static_google_cloud_compute_v1_RequestMirrorPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RequestMirrorPolicy_descriptor, @@ -33377,7 +34401,7 @@ private static void _clinit_autosplit_dinit_2() { "BackendService", }); internal_static_google_cloud_compute_v1_Reservation_descriptor = - getDescriptor().getMessageTypes().get(1047); + getDescriptor().getMessageTypes().get(1073); internal_static_google_cloud_compute_v1_Reservation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Reservation_descriptor, @@ -33408,7 +34432,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ReservationAffinity_descriptor = - getDescriptor().getMessageTypes().get(1048); + getDescriptor().getMessageTypes().get(1074); internal_static_google_cloud_compute_v1_ReservationAffinity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ReservationAffinity_descriptor, @@ -33416,7 +34440,7 @@ private static void _clinit_autosplit_dinit_2() { "ConsumeReservationType", "Key", "Values", }); internal_static_google_cloud_compute_v1_ReservationAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1049); + getDescriptor().getMessageTypes().get(1075); internal_static_google_cloud_compute_v1_ReservationAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ReservationAggregatedList_descriptor, @@ -33434,7 +34458,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ReservationList_descriptor = - getDescriptor().getMessageTypes().get(1050); + getDescriptor().getMessageTypes().get(1076); internal_static_google_cloud_compute_v1_ReservationList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ReservationList_descriptor, @@ -33442,7 +34466,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_ReservationsResizeRequest_descriptor = - getDescriptor().getMessageTypes().get(1051); + getDescriptor().getMessageTypes().get(1077); internal_static_google_cloud_compute_v1_ReservationsResizeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ReservationsResizeRequest_descriptor, @@ -33450,7 +34474,7 @@ private static void _clinit_autosplit_dinit_2() { "SpecificSkuCount", }); internal_static_google_cloud_compute_v1_ReservationsScopedList_descriptor = - getDescriptor().getMessageTypes().get(1052); + getDescriptor().getMessageTypes().get(1078); internal_static_google_cloud_compute_v1_ReservationsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ReservationsScopedList_descriptor, @@ -33458,7 +34482,7 @@ private static void _clinit_autosplit_dinit_2() { "Reservations", "Warning", }); internal_static_google_cloud_compute_v1_ResetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1053); + getDescriptor().getMessageTypes().get(1079); internal_static_google_cloud_compute_v1_ResetInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResetInstanceRequest_descriptor, @@ -33466,7 +34490,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_ResizeDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1054); + getDescriptor().getMessageTypes().get(1080); internal_static_google_cloud_compute_v1_ResizeDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResizeDiskRequest_descriptor, @@ -33474,7 +34498,7 @@ private static void _clinit_autosplit_dinit_2() { "Disk", "DisksResizeRequestResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_ResizeInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(1055); + getDescriptor().getMessageTypes().get(1081); internal_static_google_cloud_compute_v1_ResizeInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResizeInstanceGroupManagerRequest_descriptor, @@ -33482,7 +34506,7 @@ private static void _clinit_autosplit_dinit_2() { "InstanceGroupManager", "Project", "RequestId", "Size", "Zone", }); internal_static_google_cloud_compute_v1_ResizeRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1056); + getDescriptor().getMessageTypes().get(1082); internal_static_google_cloud_compute_v1_ResizeRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResizeRegionDiskRequest_descriptor, @@ -33490,7 +34514,7 @@ private static void _clinit_autosplit_dinit_2() { "Disk", "Project", "Region", "RegionDisksResizeRequestResource", "RequestId", }); internal_static_google_cloud_compute_v1_ResizeRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(1057); + getDescriptor().getMessageTypes().get(1083); internal_static_google_cloud_compute_v1_ResizeRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResizeRegionInstanceGroupManagerRequest_descriptor, @@ -33498,7 +34522,7 @@ private static void _clinit_autosplit_dinit_2() { "InstanceGroupManager", "Project", "Region", "RequestId", "Size", }); internal_static_google_cloud_compute_v1_ResizeReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(1058); + getDescriptor().getMessageTypes().get(1084); internal_static_google_cloud_compute_v1_ResizeReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResizeReservationRequest_descriptor, @@ -33506,7 +34530,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "Reservation", "ReservationsResizeRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_ResourceCommitment_descriptor = - getDescriptor().getMessageTypes().get(1059); + getDescriptor().getMessageTypes().get(1085); internal_static_google_cloud_compute_v1_ResourceCommitment_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourceCommitment_descriptor, @@ -33514,7 +34538,7 @@ private static void _clinit_autosplit_dinit_2() { "AcceleratorType", "Amount", "Type", }); internal_static_google_cloud_compute_v1_ResourceGroupReference_descriptor = - getDescriptor().getMessageTypes().get(1060); + getDescriptor().getMessageTypes().get(1086); internal_static_google_cloud_compute_v1_ResourceGroupReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourceGroupReference_descriptor, @@ -33522,7 +34546,7 @@ private static void _clinit_autosplit_dinit_2() { "Group", }); internal_static_google_cloud_compute_v1_ResourcePoliciesScopedList_descriptor = - getDescriptor().getMessageTypes().get(1061); + getDescriptor().getMessageTypes().get(1087); internal_static_google_cloud_compute_v1_ResourcePoliciesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePoliciesScopedList_descriptor, @@ -33530,7 +34554,7 @@ private static void _clinit_autosplit_dinit_2() { "ResourcePolicies", "Warning", }); internal_static_google_cloud_compute_v1_ResourcePolicy_descriptor = - getDescriptor().getMessageTypes().get(1062); + getDescriptor().getMessageTypes().get(1088); internal_static_google_cloud_compute_v1_ResourcePolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicy_descriptor, @@ -33550,7 +34574,7 @@ private static void _clinit_autosplit_dinit_2() { "Status", }); internal_static_google_cloud_compute_v1_ResourcePolicyAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1063); + getDescriptor().getMessageTypes().get(1089); internal_static_google_cloud_compute_v1_ResourcePolicyAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyAggregatedList_descriptor, @@ -33568,7 +34592,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ResourcePolicyDailyCycle_descriptor = - getDescriptor().getMessageTypes().get(1064); + getDescriptor().getMessageTypes().get(1090); internal_static_google_cloud_compute_v1_ResourcePolicyDailyCycle_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyDailyCycle_descriptor, @@ -33576,13 +34600,13 @@ private static void _clinit_autosplit_dinit_2() { "DaysInCycle", "Duration", "StartTime", }); internal_static_google_cloud_compute_v1_ResourcePolicyDiskConsistencyGroupPolicy_descriptor = - getDescriptor().getMessageTypes().get(1065); + getDescriptor().getMessageTypes().get(1091); internal_static_google_cloud_compute_v1_ResourcePolicyDiskConsistencyGroupPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyDiskConsistencyGroupPolicy_descriptor, new java.lang.String[] {}); internal_static_google_cloud_compute_v1_ResourcePolicyGroupPlacementPolicy_descriptor = - getDescriptor().getMessageTypes().get(1066); + getDescriptor().getMessageTypes().get(1092); internal_static_google_cloud_compute_v1_ResourcePolicyGroupPlacementPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyGroupPlacementPolicy_descriptor, @@ -33590,7 +34614,7 @@ private static void _clinit_autosplit_dinit_2() { "AvailabilityDomainCount", "Collocation", "VmCount", }); internal_static_google_cloud_compute_v1_ResourcePolicyHourlyCycle_descriptor = - getDescriptor().getMessageTypes().get(1067); + getDescriptor().getMessageTypes().get(1093); internal_static_google_cloud_compute_v1_ResourcePolicyHourlyCycle_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyHourlyCycle_descriptor, @@ -33598,7 +34622,7 @@ private static void _clinit_autosplit_dinit_2() { "Duration", "HoursInCycle", "StartTime", }); internal_static_google_cloud_compute_v1_ResourcePolicyInstanceSchedulePolicy_descriptor = - getDescriptor().getMessageTypes().get(1068); + getDescriptor().getMessageTypes().get(1094); internal_static_google_cloud_compute_v1_ResourcePolicyInstanceSchedulePolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyInstanceSchedulePolicy_descriptor, @@ -33606,7 +34630,7 @@ private static void _clinit_autosplit_dinit_2() { "ExpirationTime", "StartTime", "TimeZone", "VmStartSchedule", "VmStopSchedule", }); internal_static_google_cloud_compute_v1_ResourcePolicyInstanceSchedulePolicySchedule_descriptor = - getDescriptor().getMessageTypes().get(1069); + getDescriptor().getMessageTypes().get(1095); internal_static_google_cloud_compute_v1_ResourcePolicyInstanceSchedulePolicySchedule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyInstanceSchedulePolicySchedule_descriptor, @@ -33614,7 +34638,7 @@ private static void _clinit_autosplit_dinit_2() { "Schedule", }); internal_static_google_cloud_compute_v1_ResourcePolicyList_descriptor = - getDescriptor().getMessageTypes().get(1070); + getDescriptor().getMessageTypes().get(1096); internal_static_google_cloud_compute_v1_ResourcePolicyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyList_descriptor, @@ -33622,7 +34646,7 @@ private static void _clinit_autosplit_dinit_2() { "Etag", "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_ResourcePolicyResourceStatus_descriptor = - getDescriptor().getMessageTypes().get(1071); + getDescriptor().getMessageTypes().get(1097); internal_static_google_cloud_compute_v1_ResourcePolicyResourceStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyResourceStatus_descriptor, @@ -33630,7 +34654,7 @@ private static void _clinit_autosplit_dinit_2() { "InstanceSchedulePolicy", }); internal_static_google_cloud_compute_v1_ResourcePolicyResourceStatusInstanceSchedulePolicyStatus_descriptor = - getDescriptor().getMessageTypes().get(1072); + getDescriptor().getMessageTypes().get(1098); internal_static_google_cloud_compute_v1_ResourcePolicyResourceStatusInstanceSchedulePolicyStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyResourceStatusInstanceSchedulePolicyStatus_descriptor, @@ -33638,7 +34662,7 @@ private static void _clinit_autosplit_dinit_2() { "LastRunStartTime", "NextRunStartTime", }); internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicy_descriptor = - getDescriptor().getMessageTypes().get(1073); + getDescriptor().getMessageTypes().get(1099); internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicy_descriptor, @@ -33646,7 +34670,7 @@ private static void _clinit_autosplit_dinit_2() { "RetentionPolicy", "Schedule", "SnapshotProperties", }); internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicyRetentionPolicy_descriptor = - getDescriptor().getMessageTypes().get(1074); + getDescriptor().getMessageTypes().get(1100); internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicyRetentionPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicyRetentionPolicy_descriptor, @@ -33654,7 +34678,7 @@ private static void _clinit_autosplit_dinit_2() { "MaxRetentionDays", "OnSourceDiskDelete", }); internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicySchedule_descriptor = - getDescriptor().getMessageTypes().get(1075); + getDescriptor().getMessageTypes().get(1101); internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicySchedule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicySchedule_descriptor, @@ -33662,7 +34686,7 @@ private static void _clinit_autosplit_dinit_2() { "DailySchedule", "HourlySchedule", "WeeklySchedule", }); internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicySnapshotProperties_descriptor = - getDescriptor().getMessageTypes().get(1076); + getDescriptor().getMessageTypes().get(1102); internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicySnapshotProperties_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicySnapshotProperties_descriptor, @@ -33680,7 +34704,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ResourcePolicyWeeklyCycle_descriptor = - getDescriptor().getMessageTypes().get(1077); + getDescriptor().getMessageTypes().get(1103); internal_static_google_cloud_compute_v1_ResourcePolicyWeeklyCycle_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyWeeklyCycle_descriptor, @@ -33688,7 +34712,7 @@ private static void _clinit_autosplit_dinit_2() { "DayOfWeeks", }); internal_static_google_cloud_compute_v1_ResourcePolicyWeeklyCycleDayOfWeek_descriptor = - getDescriptor().getMessageTypes().get(1078); + getDescriptor().getMessageTypes().get(1104); internal_static_google_cloud_compute_v1_ResourcePolicyWeeklyCycleDayOfWeek_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyWeeklyCycleDayOfWeek_descriptor, @@ -33696,7 +34720,7 @@ private static void _clinit_autosplit_dinit_2() { "Day", "Duration", "StartTime", }); internal_static_google_cloud_compute_v1_ResourceStatus_descriptor = - getDescriptor().getMessageTypes().get(1079); + getDescriptor().getMessageTypes().get(1105); internal_static_google_cloud_compute_v1_ResourceStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourceStatus_descriptor, @@ -33704,7 +34728,7 @@ private static void _clinit_autosplit_dinit_2() { "PhysicalHost", "UpcomingMaintenance", }); internal_static_google_cloud_compute_v1_ResumeInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1080); + getDescriptor().getMessageTypes().get(1106); internal_static_google_cloud_compute_v1_ResumeInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResumeInstanceRequest_descriptor, @@ -33712,7 +34736,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_Route_descriptor = - getDescriptor().getMessageTypes().get(1081); + getDescriptor().getMessageTypes().get(1107); internal_static_google_cloud_compute_v1_Route_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Route_descriptor, @@ -33741,7 +34765,7 @@ private static void _clinit_autosplit_dinit_2() { "Warnings", }); internal_static_google_cloud_compute_v1_RouteAsPath_descriptor = - getDescriptor().getMessageTypes().get(1082); + getDescriptor().getMessageTypes().get(1108); internal_static_google_cloud_compute_v1_RouteAsPath_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouteAsPath_descriptor, @@ -33749,7 +34773,7 @@ private static void _clinit_autosplit_dinit_2() { "AsLists", "PathSegmentType", }); internal_static_google_cloud_compute_v1_RouteList_descriptor = - getDescriptor().getMessageTypes().get(1083); + getDescriptor().getMessageTypes().get(1109); internal_static_google_cloud_compute_v1_RouteList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouteList_descriptor, @@ -33757,7 +34781,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_Router_descriptor = - getDescriptor().getMessageTypes().get(1084); + getDescriptor().getMessageTypes().get(1110); internal_static_google_cloud_compute_v1_Router_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Router_descriptor, @@ -33778,7 +34802,7 @@ private static void _clinit_autosplit_dinit_2() { "SelfLink", }); internal_static_google_cloud_compute_v1_RouterAdvertisedIpRange_descriptor = - getDescriptor().getMessageTypes().get(1085); + getDescriptor().getMessageTypes().get(1111); internal_static_google_cloud_compute_v1_RouterAdvertisedIpRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterAdvertisedIpRange_descriptor, @@ -33786,7 +34810,7 @@ private static void _clinit_autosplit_dinit_2() { "Description", "Range", }); internal_static_google_cloud_compute_v1_RouterAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1086); + getDescriptor().getMessageTypes().get(1112); internal_static_google_cloud_compute_v1_RouterAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterAggregatedList_descriptor, @@ -33804,15 +34828,20 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_RouterBgp_descriptor = - getDescriptor().getMessageTypes().get(1087); + getDescriptor().getMessageTypes().get(1113); internal_static_google_cloud_compute_v1_RouterBgp_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterBgp_descriptor, new java.lang.String[] { - "AdvertiseMode", "AdvertisedGroups", "AdvertisedIpRanges", "Asn", "KeepaliveInterval", + "AdvertiseMode", + "AdvertisedGroups", + "AdvertisedIpRanges", + "Asn", + "IdentifierRange", + "KeepaliveInterval", }); internal_static_google_cloud_compute_v1_RouterBgpPeer_descriptor = - getDescriptor().getMessageTypes().get(1088); + getDescriptor().getMessageTypes().get(1114); internal_static_google_cloud_compute_v1_RouterBgpPeer_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterBgpPeer_descriptor, @@ -33825,20 +34854,25 @@ private static void _clinit_autosplit_dinit_2() { "CustomLearnedIpRanges", "CustomLearnedRoutePriority", "Enable", + "EnableIpv4", "EnableIpv6", + "ExportPolicies", + "ImportPolicies", "InterfaceName", "IpAddress", + "Ipv4NexthopAddress", "Ipv6NexthopAddress", "ManagementType", "Md5AuthenticationKeyName", "Name", "PeerAsn", "PeerIpAddress", + "PeerIpv4NexthopAddress", "PeerIpv6NexthopAddress", "RouterApplianceInstance", }); internal_static_google_cloud_compute_v1_RouterBgpPeerBfd_descriptor = - getDescriptor().getMessageTypes().get(1089); + getDescriptor().getMessageTypes().get(1115); internal_static_google_cloud_compute_v1_RouterBgpPeerBfd_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterBgpPeerBfd_descriptor, @@ -33849,7 +34883,7 @@ private static void _clinit_autosplit_dinit_2() { "SessionInitializationMode", }); internal_static_google_cloud_compute_v1_RouterBgpPeerCustomLearnedIpRange_descriptor = - getDescriptor().getMessageTypes().get(1090); + getDescriptor().getMessageTypes().get(1116); internal_static_google_cloud_compute_v1_RouterBgpPeerCustomLearnedIpRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterBgpPeerCustomLearnedIpRange_descriptor, @@ -33857,12 +34891,13 @@ private static void _clinit_autosplit_dinit_2() { "Range", }); internal_static_google_cloud_compute_v1_RouterInterface_descriptor = - getDescriptor().getMessageTypes().get(1091); + getDescriptor().getMessageTypes().get(1117); internal_static_google_cloud_compute_v1_RouterInterface_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterInterface_descriptor, new java.lang.String[] { "IpRange", + "IpVersion", "LinkedInterconnectAttachment", "LinkedVpnTunnel", "ManagementType", @@ -33872,7 +34907,7 @@ private static void _clinit_autosplit_dinit_2() { "Subnetwork", }); internal_static_google_cloud_compute_v1_RouterList_descriptor = - getDescriptor().getMessageTypes().get(1092); + getDescriptor().getMessageTypes().get(1118); internal_static_google_cloud_compute_v1_RouterList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterList_descriptor, @@ -33880,7 +34915,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_RouterMd5AuthenticationKey_descriptor = - getDescriptor().getMessageTypes().get(1093); + getDescriptor().getMessageTypes().get(1119); internal_static_google_cloud_compute_v1_RouterMd5AuthenticationKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterMd5AuthenticationKey_descriptor, @@ -33888,7 +34923,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Name", }); internal_static_google_cloud_compute_v1_RouterNat_descriptor = - getDescriptor().getMessageTypes().get(1094); + getDescriptor().getMessageTypes().get(1120); internal_static_google_cloud_compute_v1_RouterNat_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterNat_descriptor, @@ -33915,7 +34950,7 @@ private static void _clinit_autosplit_dinit_2() { "UdpIdleTimeoutSec", }); internal_static_google_cloud_compute_v1_RouterNatLogConfig_descriptor = - getDescriptor().getMessageTypes().get(1095); + getDescriptor().getMessageTypes().get(1121); internal_static_google_cloud_compute_v1_RouterNatLogConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterNatLogConfig_descriptor, @@ -33923,7 +34958,7 @@ private static void _clinit_autosplit_dinit_2() { "Enable", "Filter", }); internal_static_google_cloud_compute_v1_RouterNatRule_descriptor = - getDescriptor().getMessageTypes().get(1096); + getDescriptor().getMessageTypes().get(1122); internal_static_google_cloud_compute_v1_RouterNatRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterNatRule_descriptor, @@ -33931,7 +34966,7 @@ private static void _clinit_autosplit_dinit_2() { "Action", "Description", "Match", "RuleNumber", }); internal_static_google_cloud_compute_v1_RouterNatRuleAction_descriptor = - getDescriptor().getMessageTypes().get(1097); + getDescriptor().getMessageTypes().get(1123); internal_static_google_cloud_compute_v1_RouterNatRuleAction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterNatRuleAction_descriptor, @@ -33942,7 +34977,7 @@ private static void _clinit_autosplit_dinit_2() { "SourceNatDrainRanges", }); internal_static_google_cloud_compute_v1_RouterNatSubnetworkToNat_descriptor = - getDescriptor().getMessageTypes().get(1098); + getDescriptor().getMessageTypes().get(1124); internal_static_google_cloud_compute_v1_RouterNatSubnetworkToNat_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterNatSubnetworkToNat_descriptor, @@ -33950,7 +34985,7 @@ private static void _clinit_autosplit_dinit_2() { "Name", "SecondaryIpRangeNames", "SourceIpRangesToNat", }); internal_static_google_cloud_compute_v1_RouterStatus_descriptor = - getDescriptor().getMessageTypes().get(1099); + getDescriptor().getMessageTypes().get(1125); internal_static_google_cloud_compute_v1_RouterStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterStatus_descriptor, @@ -33958,21 +34993,24 @@ private static void _clinit_autosplit_dinit_2() { "BestRoutes", "BestRoutesForRouter", "BgpPeerStatus", "NatStatus", "Network", }); internal_static_google_cloud_compute_v1_RouterStatusBgpPeerStatus_descriptor = - getDescriptor().getMessageTypes().get(1100); + getDescriptor().getMessageTypes().get(1126); internal_static_google_cloud_compute_v1_RouterStatusBgpPeerStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterStatusBgpPeerStatus_descriptor, new java.lang.String[] { "AdvertisedRoutes", "BfdStatus", + "EnableIpv4", "EnableIpv6", "IpAddress", + "Ipv4NexthopAddress", "Ipv6NexthopAddress", "LinkedVpnTunnel", "Md5AuthEnabled", "Name", "NumLearnedRoutes", "PeerIpAddress", + "PeerIpv4NexthopAddress", "PeerIpv6NexthopAddress", "RouterApplianceInstance", "State", @@ -33982,7 +35020,7 @@ private static void _clinit_autosplit_dinit_2() { "UptimeSeconds", }); internal_static_google_cloud_compute_v1_RouterStatusNatStatus_descriptor = - getDescriptor().getMessageTypes().get(1101); + getDescriptor().getMessageTypes().get(1127); internal_static_google_cloud_compute_v1_RouterStatusNatStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterStatusNatStatus_descriptor, @@ -33998,7 +35036,7 @@ private static void _clinit_autosplit_dinit_2() { "UserAllocatedNatIps", }); internal_static_google_cloud_compute_v1_RouterStatusNatStatusNatRuleStatus_descriptor = - getDescriptor().getMessageTypes().get(1102); + getDescriptor().getMessageTypes().get(1128); internal_static_google_cloud_compute_v1_RouterStatusNatStatusNatRuleStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterStatusNatStatusNatRuleStatus_descriptor, @@ -34010,7 +35048,7 @@ private static void _clinit_autosplit_dinit_2() { "RuleNumber", }); internal_static_google_cloud_compute_v1_RouterStatusResponse_descriptor = - getDescriptor().getMessageTypes().get(1103); + getDescriptor().getMessageTypes().get(1129); internal_static_google_cloud_compute_v1_RouterStatusResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterStatusResponse_descriptor, @@ -34018,7 +35056,7 @@ private static void _clinit_autosplit_dinit_2() { "Kind", "Result", }); internal_static_google_cloud_compute_v1_RoutersPreviewResponse_descriptor = - getDescriptor().getMessageTypes().get(1104); + getDescriptor().getMessageTypes().get(1130); internal_static_google_cloud_compute_v1_RoutersPreviewResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RoutersPreviewResponse_descriptor, @@ -34026,7 +35064,7 @@ private static void _clinit_autosplit_dinit_2() { "Resource", }); internal_static_google_cloud_compute_v1_RoutersScopedList_descriptor = - getDescriptor().getMessageTypes().get(1105); + getDescriptor().getMessageTypes().get(1131); internal_static_google_cloud_compute_v1_RoutersScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RoutersScopedList_descriptor, @@ -34034,7 +35072,7 @@ private static void _clinit_autosplit_dinit_2() { "Routers", "Warning", }); internal_static_google_cloud_compute_v1_Rule_descriptor = - getDescriptor().getMessageTypes().get(1106); + getDescriptor().getMessageTypes().get(1132); internal_static_google_cloud_compute_v1_Rule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Rule_descriptor, @@ -34042,7 +35080,7 @@ private static void _clinit_autosplit_dinit_2() { "Action", "Conditions", "Description", "Ins", "LogConfigs", "NotIns", "Permissions", }); internal_static_google_cloud_compute_v1_SSLHealthCheck_descriptor = - getDescriptor().getMessageTypes().get(1107); + getDescriptor().getMessageTypes().get(1133); internal_static_google_cloud_compute_v1_SSLHealthCheck_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SSLHealthCheck_descriptor, @@ -34050,7 +35088,7 @@ private static void _clinit_autosplit_dinit_2() { "Port", "PortName", "PortSpecification", "ProxyHeader", "Request", "Response", }); internal_static_google_cloud_compute_v1_SavedAttachedDisk_descriptor = - getDescriptor().getMessageTypes().get(1108); + getDescriptor().getMessageTypes().get(1134); internal_static_google_cloud_compute_v1_SavedAttachedDisk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SavedAttachedDisk_descriptor, @@ -34073,7 +35111,7 @@ private static void _clinit_autosplit_dinit_2() { "Type", }); internal_static_google_cloud_compute_v1_SavedDisk_descriptor = - getDescriptor().getMessageTypes().get(1109); + getDescriptor().getMessageTypes().get(1135); internal_static_google_cloud_compute_v1_SavedDisk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SavedDisk_descriptor, @@ -34081,7 +35119,7 @@ private static void _clinit_autosplit_dinit_2() { "Architecture", "Kind", "SourceDisk", "StorageBytes", "StorageBytesStatus", }); internal_static_google_cloud_compute_v1_ScalingScheduleStatus_descriptor = - getDescriptor().getMessageTypes().get(1110); + getDescriptor().getMessageTypes().get(1136); internal_static_google_cloud_compute_v1_ScalingScheduleStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ScalingScheduleStatus_descriptor, @@ -34089,7 +35127,7 @@ private static void _clinit_autosplit_dinit_2() { "LastStartTime", "NextStartTime", "State", }); internal_static_google_cloud_compute_v1_Scheduling_descriptor = - getDescriptor().getMessageTypes().get(1111); + getDescriptor().getMessageTypes().get(1137); internal_static_google_cloud_compute_v1_Scheduling_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Scheduling_descriptor, @@ -34105,7 +35143,7 @@ private static void _clinit_autosplit_dinit_2() { "ProvisioningModel", }); internal_static_google_cloud_compute_v1_SchedulingNodeAffinity_descriptor = - getDescriptor().getMessageTypes().get(1112); + getDescriptor().getMessageTypes().get(1138); internal_static_google_cloud_compute_v1_SchedulingNodeAffinity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SchedulingNodeAffinity_descriptor, @@ -34113,7 +35151,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Operator", "Values", }); internal_static_google_cloud_compute_v1_ScratchDisks_descriptor = - getDescriptor().getMessageTypes().get(1113); + getDescriptor().getMessageTypes().get(1139); internal_static_google_cloud_compute_v1_ScratchDisks_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ScratchDisks_descriptor, @@ -34121,7 +35159,7 @@ private static void _clinit_autosplit_dinit_2() { "DiskGb", }); internal_static_google_cloud_compute_v1_Screenshot_descriptor = - getDescriptor().getMessageTypes().get(1114); + getDescriptor().getMessageTypes().get(1140); internal_static_google_cloud_compute_v1_Screenshot_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Screenshot_descriptor, @@ -34129,7 +35167,7 @@ private static void _clinit_autosplit_dinit_2() { "Contents", "Kind", }); internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1115); + getDescriptor().getMessageTypes().get(1141); internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_descriptor, @@ -34147,7 +35185,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_SecurityPoliciesListPreconfiguredExpressionSetsResponse_descriptor = - getDescriptor().getMessageTypes().get(1116); + getDescriptor().getMessageTypes().get(1142); internal_static_google_cloud_compute_v1_SecurityPoliciesListPreconfiguredExpressionSetsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPoliciesListPreconfiguredExpressionSetsResponse_descriptor, @@ -34155,7 +35193,7 @@ private static void _clinit_autosplit_dinit_2() { "PreconfiguredExpressionSets", }); internal_static_google_cloud_compute_v1_SecurityPoliciesScopedList_descriptor = - getDescriptor().getMessageTypes().get(1117); + getDescriptor().getMessageTypes().get(1143); internal_static_google_cloud_compute_v1_SecurityPoliciesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPoliciesScopedList_descriptor, @@ -34163,7 +35201,7 @@ private static void _clinit_autosplit_dinit_2() { "SecurityPolicies", "Warning", }); internal_static_google_cloud_compute_v1_SecurityPoliciesWafConfig_descriptor = - getDescriptor().getMessageTypes().get(1118); + getDescriptor().getMessageTypes().get(1144); internal_static_google_cloud_compute_v1_SecurityPoliciesWafConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPoliciesWafConfig_descriptor, @@ -34171,7 +35209,7 @@ private static void _clinit_autosplit_dinit_2() { "WafRules", }); internal_static_google_cloud_compute_v1_SecurityPolicy_descriptor = - getDescriptor().getMessageTypes().get(1119); + getDescriptor().getMessageTypes().get(1145); internal_static_google_cloud_compute_v1_SecurityPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicy_descriptor, @@ -34203,7 +35241,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfig_descriptor = - getDescriptor().getMessageTypes().get(1120); + getDescriptor().getMessageTypes().get(1146); internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfig_descriptor, @@ -34211,7 +35249,7 @@ private static void _clinit_autosplit_dinit_2() { "Layer7DdosDefenseConfig", }); internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig_descriptor = - getDescriptor().getMessageTypes().get(1121); + getDescriptor().getMessageTypes().get(1147); internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig_descriptor, @@ -34219,7 +35257,7 @@ private static void _clinit_autosplit_dinit_2() { "Enable", "RuleVisibility", "ThresholdConfigs", }); internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig_descriptor = - getDescriptor().getMessageTypes().get(1122); + getDescriptor().getMessageTypes().get(1148); internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig_descriptor, @@ -34231,7 +35269,7 @@ private static void _clinit_autosplit_dinit_2() { "Name", }); internal_static_google_cloud_compute_v1_SecurityPolicyAdvancedOptionsConfig_descriptor = - getDescriptor().getMessageTypes().get(1123); + getDescriptor().getMessageTypes().get(1149); internal_static_google_cloud_compute_v1_SecurityPolicyAdvancedOptionsConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyAdvancedOptionsConfig_descriptor, @@ -34239,7 +35277,7 @@ private static void _clinit_autosplit_dinit_2() { "JsonCustomConfig", "JsonParsing", "LogLevel", "UserIpRequestHeaders", }); internal_static_google_cloud_compute_v1_SecurityPolicyAdvancedOptionsConfigJsonCustomConfig_descriptor = - getDescriptor().getMessageTypes().get(1124); + getDescriptor().getMessageTypes().get(1150); internal_static_google_cloud_compute_v1_SecurityPolicyAdvancedOptionsConfigJsonCustomConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyAdvancedOptionsConfigJsonCustomConfig_descriptor, @@ -34247,7 +35285,7 @@ private static void _clinit_autosplit_dinit_2() { "ContentTypes", }); internal_static_google_cloud_compute_v1_SecurityPolicyDdosProtectionConfig_descriptor = - getDescriptor().getMessageTypes().get(1125); + getDescriptor().getMessageTypes().get(1151); internal_static_google_cloud_compute_v1_SecurityPolicyDdosProtectionConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyDdosProtectionConfig_descriptor, @@ -34255,7 +35293,7 @@ private static void _clinit_autosplit_dinit_2() { "DdosProtection", }); internal_static_google_cloud_compute_v1_SecurityPolicyList_descriptor = - getDescriptor().getMessageTypes().get(1126); + getDescriptor().getMessageTypes().get(1152); internal_static_google_cloud_compute_v1_SecurityPolicyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyList_descriptor, @@ -34263,7 +35301,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "Warning", }); internal_static_google_cloud_compute_v1_SecurityPolicyRecaptchaOptionsConfig_descriptor = - getDescriptor().getMessageTypes().get(1127); + getDescriptor().getMessageTypes().get(1153); internal_static_google_cloud_compute_v1_SecurityPolicyRecaptchaOptionsConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRecaptchaOptionsConfig_descriptor, @@ -34271,7 +35309,7 @@ private static void _clinit_autosplit_dinit_2() { "RedirectSiteKey", }); internal_static_google_cloud_compute_v1_SecurityPolicyReference_descriptor = - getDescriptor().getMessageTypes().get(1128); + getDescriptor().getMessageTypes().get(1154); internal_static_google_cloud_compute_v1_SecurityPolicyReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyReference_descriptor, @@ -34279,7 +35317,7 @@ private static void _clinit_autosplit_dinit_2() { "SecurityPolicy", }); internal_static_google_cloud_compute_v1_SecurityPolicyRule_descriptor = - getDescriptor().getMessageTypes().get(1129); + getDescriptor().getMessageTypes().get(1155); internal_static_google_cloud_compute_v1_SecurityPolicyRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRule_descriptor, @@ -34297,7 +35335,7 @@ private static void _clinit_autosplit_dinit_2() { "RedirectOptions", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleHttpHeaderAction_descriptor = - getDescriptor().getMessageTypes().get(1130); + getDescriptor().getMessageTypes().get(1156); internal_static_google_cloud_compute_v1_SecurityPolicyRuleHttpHeaderAction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleHttpHeaderAction_descriptor, @@ -34305,7 +35343,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestHeadersToAdds", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleHttpHeaderActionHttpHeaderOption_descriptor = - getDescriptor().getMessageTypes().get(1131); + getDescriptor().getMessageTypes().get(1157); internal_static_google_cloud_compute_v1_SecurityPolicyRuleHttpHeaderActionHttpHeaderOption_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleHttpHeaderActionHttpHeaderOption_descriptor, @@ -34313,7 +35351,7 @@ private static void _clinit_autosplit_dinit_2() { "HeaderName", "HeaderValue", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcher_descriptor = - getDescriptor().getMessageTypes().get(1132); + getDescriptor().getMessageTypes().get(1158); internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcher_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcher_descriptor, @@ -34321,7 +35359,7 @@ private static void _clinit_autosplit_dinit_2() { "Config", "Expr", "ExprOptions", "VersionedExpr", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherConfig_descriptor = - getDescriptor().getMessageTypes().get(1133); + getDescriptor().getMessageTypes().get(1159); internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherConfig_descriptor, @@ -34329,7 +35367,7 @@ private static void _clinit_autosplit_dinit_2() { "SrcIpRanges", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherExprOptions_descriptor = - getDescriptor().getMessageTypes().get(1134); + getDescriptor().getMessageTypes().get(1160); internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherExprOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherExprOptions_descriptor, @@ -34337,7 +35375,7 @@ private static void _clinit_autosplit_dinit_2() { "RecaptchaOptions", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions_descriptor = - getDescriptor().getMessageTypes().get(1135); + getDescriptor().getMessageTypes().get(1161); internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions_descriptor, @@ -34345,7 +35383,7 @@ private static void _clinit_autosplit_dinit_2() { "ActionTokenSiteKeys", "SessionTokenSiteKeys", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleNetworkMatcher_descriptor = - getDescriptor().getMessageTypes().get(1136); + getDescriptor().getMessageTypes().get(1162); internal_static_google_cloud_compute_v1_SecurityPolicyRuleNetworkMatcher_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleNetworkMatcher_descriptor, @@ -34360,7 +35398,7 @@ private static void _clinit_autosplit_dinit_2() { "UserDefinedFields", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch_descriptor = - getDescriptor().getMessageTypes().get(1137); + getDescriptor().getMessageTypes().get(1163); internal_static_google_cloud_compute_v1_SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch_descriptor, @@ -34368,7 +35406,7 @@ private static void _clinit_autosplit_dinit_2() { "Name", "Values", }); internal_static_google_cloud_compute_v1_SecurityPolicyRulePreconfiguredWafConfig_descriptor = - getDescriptor().getMessageTypes().get(1138); + getDescriptor().getMessageTypes().get(1164); internal_static_google_cloud_compute_v1_SecurityPolicyRulePreconfiguredWafConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRulePreconfiguredWafConfig_descriptor, @@ -34376,7 +35414,7 @@ private static void _clinit_autosplit_dinit_2() { "Exclusions", }); internal_static_google_cloud_compute_v1_SecurityPolicyRulePreconfiguredWafConfigExclusion_descriptor = - getDescriptor().getMessageTypes().get(1139); + getDescriptor().getMessageTypes().get(1165); internal_static_google_cloud_compute_v1_SecurityPolicyRulePreconfiguredWafConfigExclusion_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRulePreconfiguredWafConfigExclusion_descriptor, @@ -34389,7 +35427,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetRuleSet", }); internal_static_google_cloud_compute_v1_SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams_descriptor = - getDescriptor().getMessageTypes().get(1140); + getDescriptor().getMessageTypes().get(1166); internal_static_google_cloud_compute_v1_SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams_descriptor, @@ -34397,7 +35435,7 @@ private static void _clinit_autosplit_dinit_2() { "Op", "Val", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptions_descriptor = - getDescriptor().getMessageTypes().get(1141); + getDescriptor().getMessageTypes().get(1167); internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptions_descriptor, @@ -34413,7 +35451,7 @@ private static void _clinit_autosplit_dinit_2() { "RateLimitThreshold", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_descriptor = - getDescriptor().getMessageTypes().get(1142); + getDescriptor().getMessageTypes().get(1168); internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_descriptor, @@ -34421,7 +35459,7 @@ private static void _clinit_autosplit_dinit_2() { "EnforceOnKeyName", "EnforceOnKeyType", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptionsThreshold_descriptor = - getDescriptor().getMessageTypes().get(1143); + getDescriptor().getMessageTypes().get(1169); internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptionsThreshold_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptionsThreshold_descriptor, @@ -34429,7 +35467,7 @@ private static void _clinit_autosplit_dinit_2() { "Count", "IntervalSec", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleRedirectOptions_descriptor = - getDescriptor().getMessageTypes().get(1144); + getDescriptor().getMessageTypes().get(1170); internal_static_google_cloud_compute_v1_SecurityPolicyRuleRedirectOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleRedirectOptions_descriptor, @@ -34437,7 +35475,7 @@ private static void _clinit_autosplit_dinit_2() { "Target", "Type", }); internal_static_google_cloud_compute_v1_SecurityPolicyUserDefinedField_descriptor = - getDescriptor().getMessageTypes().get(1145); + getDescriptor().getMessageTypes().get(1171); internal_static_google_cloud_compute_v1_SecurityPolicyUserDefinedField_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyUserDefinedField_descriptor, @@ -34445,7 +35483,7 @@ private static void _clinit_autosplit_dinit_2() { "Base", "Mask", "Name", "Offset", "Size", }); internal_static_google_cloud_compute_v1_SecuritySettings_descriptor = - getDescriptor().getMessageTypes().get(1146); + getDescriptor().getMessageTypes().get(1172); internal_static_google_cloud_compute_v1_SecuritySettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecuritySettings_descriptor, @@ -34453,7 +35491,7 @@ private static void _clinit_autosplit_dinit_2() { "AwsV4Authentication", "ClientTlsPolicy", "SubjectAltNames", }); internal_static_google_cloud_compute_v1_SendDiagnosticInterruptInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1147); + getDescriptor().getMessageTypes().get(1173); internal_static_google_cloud_compute_v1_SendDiagnosticInterruptInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SendDiagnosticInterruptInstanceRequest_descriptor, @@ -34461,13 +35499,13 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "Project", "Zone", }); internal_static_google_cloud_compute_v1_SendDiagnosticInterruptInstanceResponse_descriptor = - getDescriptor().getMessageTypes().get(1148); + getDescriptor().getMessageTypes().get(1174); internal_static_google_cloud_compute_v1_SendDiagnosticInterruptInstanceResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SendDiagnosticInterruptInstanceResponse_descriptor, new java.lang.String[] {}); internal_static_google_cloud_compute_v1_SerialPortOutput_descriptor = - getDescriptor().getMessageTypes().get(1149); + getDescriptor().getMessageTypes().get(1175); internal_static_google_cloud_compute_v1_SerialPortOutput_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SerialPortOutput_descriptor, @@ -34475,7 +35513,7 @@ private static void _clinit_autosplit_dinit_2() { "Contents", "Kind", "Next", "SelfLink", "Start", }); internal_static_google_cloud_compute_v1_ServerBinding_descriptor = - getDescriptor().getMessageTypes().get(1150); + getDescriptor().getMessageTypes().get(1176); internal_static_google_cloud_compute_v1_ServerBinding_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ServerBinding_descriptor, @@ -34483,7 +35521,7 @@ private static void _clinit_autosplit_dinit_2() { "Type", }); internal_static_google_cloud_compute_v1_ServiceAccount_descriptor = - getDescriptor().getMessageTypes().get(1151); + getDescriptor().getMessageTypes().get(1177); internal_static_google_cloud_compute_v1_ServiceAccount_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ServiceAccount_descriptor, @@ -34491,7 +35529,7 @@ private static void _clinit_autosplit_dinit_2() { "Email", "Scopes", }); internal_static_google_cloud_compute_v1_ServiceAttachment_descriptor = - getDescriptor().getMessageTypes().get(1152); + getDescriptor().getMessageTypes().get(1178); internal_static_google_cloud_compute_v1_ServiceAttachment_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ServiceAttachment_descriptor, @@ -34517,7 +35555,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetService", }); internal_static_google_cloud_compute_v1_ServiceAttachmentAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1153); + getDescriptor().getMessageTypes().get(1179); internal_static_google_cloud_compute_v1_ServiceAttachmentAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ServiceAttachmentAggregatedList_descriptor, @@ -34535,7 +35573,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ServiceAttachmentConnectedEndpoint_descriptor = - getDescriptor().getMessageTypes().get(1154); + getDescriptor().getMessageTypes().get(1180); internal_static_google_cloud_compute_v1_ServiceAttachmentConnectedEndpoint_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ServiceAttachmentConnectedEndpoint_descriptor, @@ -34543,7 +35581,7 @@ private static void _clinit_autosplit_dinit_2() { "ConsumerNetwork", "Endpoint", "PscConnectionId", "Status", }); internal_static_google_cloud_compute_v1_ServiceAttachmentConsumerProjectLimit_descriptor = - getDescriptor().getMessageTypes().get(1155); + getDescriptor().getMessageTypes().get(1181); internal_static_google_cloud_compute_v1_ServiceAttachmentConsumerProjectLimit_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ServiceAttachmentConsumerProjectLimit_descriptor, @@ -34551,7 +35589,7 @@ private static void _clinit_autosplit_dinit_2() { "ConnectionLimit", "NetworkUrl", "ProjectIdOrNum", }); internal_static_google_cloud_compute_v1_ServiceAttachmentList_descriptor = - getDescriptor().getMessageTypes().get(1156); + getDescriptor().getMessageTypes().get(1182); internal_static_google_cloud_compute_v1_ServiceAttachmentList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ServiceAttachmentList_descriptor, @@ -34559,7 +35597,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_ServiceAttachmentsScopedList_descriptor = - getDescriptor().getMessageTypes().get(1157); + getDescriptor().getMessageTypes().get(1183); internal_static_google_cloud_compute_v1_ServiceAttachmentsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ServiceAttachmentsScopedList_descriptor, @@ -34567,7 +35605,7 @@ private static void _clinit_autosplit_dinit_2() { "ServiceAttachments", "Warning", }); internal_static_google_cloud_compute_v1_SetBackendServiceTargetSslProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1158); + getDescriptor().getMessageTypes().get(1184); internal_static_google_cloud_compute_v1_SetBackendServiceTargetSslProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetBackendServiceTargetSslProxyRequest_descriptor, @@ -34578,7 +35616,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetSslProxy", }); internal_static_google_cloud_compute_v1_SetBackendServiceTargetTcpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1159); + getDescriptor().getMessageTypes().get(1185); internal_static_google_cloud_compute_v1_SetBackendServiceTargetTcpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetBackendServiceTargetTcpProxyRequest_descriptor, @@ -34589,7 +35627,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetTcpProxy", }); internal_static_google_cloud_compute_v1_SetBackupTargetPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(1160); + getDescriptor().getMessageTypes().get(1186); internal_static_google_cloud_compute_v1_SetBackupTargetPoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetBackupTargetPoolRequest_descriptor, @@ -34602,7 +35640,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetReferenceResource", }); internal_static_google_cloud_compute_v1_SetCertificateMapTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1161); + getDescriptor().getMessageTypes().get(1187); internal_static_google_cloud_compute_v1_SetCertificateMapTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetCertificateMapTargetHttpsProxyRequest_descriptor, @@ -34613,7 +35651,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetHttpsProxy", }); internal_static_google_cloud_compute_v1_SetCertificateMapTargetSslProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1162); + getDescriptor().getMessageTypes().get(1188); internal_static_google_cloud_compute_v1_SetCertificateMapTargetSslProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetCertificateMapTargetSslProxyRequest_descriptor, @@ -34624,7 +35662,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetSslProxy", }); internal_static_google_cloud_compute_v1_SetCloudArmorTierProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(1163); + getDescriptor().getMessageTypes().get(1189); internal_static_google_cloud_compute_v1_SetCloudArmorTierProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetCloudArmorTierProjectRequest_descriptor, @@ -34632,7 +35670,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "ProjectsSetCloudArmorTierRequestResource", "RequestId", }); internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(1164); + getDescriptor().getMessageTypes().get(1190); internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataOperationMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataOperationMetadata_descriptor, @@ -34650,7 +35688,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo_descriptor = - getDescriptor().getMessageTypes().get(1165); + getDescriptor().getMessageTypes().get(1191); internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo_descriptor, @@ -34658,7 +35696,7 @@ private static void _clinit_autosplit_dinit_2() { "Error", "State", }); internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(1166); + getDescriptor().getMessageTypes().get(1192); internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataProjectRequest_descriptor, @@ -34666,7 +35704,7 @@ private static void _clinit_autosplit_dinit_2() { "MetadataResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_SetDefaultNetworkTierProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(1167); + getDescriptor().getMessageTypes().get(1193); internal_static_google_cloud_compute_v1_SetDefaultNetworkTierProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetDefaultNetworkTierProjectRequest_descriptor, @@ -34674,7 +35712,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "ProjectsSetDefaultNetworkTierRequestResource", "RequestId", }); internal_static_google_cloud_compute_v1_SetDeletionProtectionInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1168); + getDescriptor().getMessageTypes().get(1194); internal_static_google_cloud_compute_v1_SetDeletionProtectionInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetDeletionProtectionInstanceRequest_descriptor, @@ -34682,7 +35720,7 @@ private static void _clinit_autosplit_dinit_2() { "DeletionProtection", "Project", "RequestId", "Resource", "Zone", }); internal_static_google_cloud_compute_v1_SetDiskAutoDeleteInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1169); + getDescriptor().getMessageTypes().get(1195); internal_static_google_cloud_compute_v1_SetDiskAutoDeleteInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetDiskAutoDeleteInstanceRequest_descriptor, @@ -34690,7 +35728,7 @@ private static void _clinit_autosplit_dinit_2() { "AutoDelete", "DeviceName", "Instance", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_SetEdgeSecurityPolicyBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(1170); + getDescriptor().getMessageTypes().get(1196); internal_static_google_cloud_compute_v1_SetEdgeSecurityPolicyBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetEdgeSecurityPolicyBackendBucketRequest_descriptor, @@ -34698,7 +35736,7 @@ private static void _clinit_autosplit_dinit_2() { "BackendBucket", "Project", "RequestId", "SecurityPolicyReferenceResource", }); internal_static_google_cloud_compute_v1_SetEdgeSecurityPolicyBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1171); + getDescriptor().getMessageTypes().get(1197); internal_static_google_cloud_compute_v1_SetEdgeSecurityPolicyBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetEdgeSecurityPolicyBackendServiceRequest_descriptor, @@ -34706,7 +35744,7 @@ private static void _clinit_autosplit_dinit_2() { "BackendService", "Project", "RequestId", "SecurityPolicyReferenceResource", }); internal_static_google_cloud_compute_v1_SetIamPolicyBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(1172); + getDescriptor().getMessageTypes().get(1198); internal_static_google_cloud_compute_v1_SetIamPolicyBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyBackendBucketRequest_descriptor, @@ -34714,7 +35752,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetPolicyRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1173); + getDescriptor().getMessageTypes().get(1199); internal_static_google_cloud_compute_v1_SetIamPolicyBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyBackendServiceRequest_descriptor, @@ -34722,7 +35760,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetPolicyRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1174); + getDescriptor().getMessageTypes().get(1200); internal_static_google_cloud_compute_v1_SetIamPolicyDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyDiskRequest_descriptor, @@ -34730,7 +35768,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "Zone", "ZoneSetPolicyRequestResource", }); internal_static_google_cloud_compute_v1_SetIamPolicyFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1175); + getDescriptor().getMessageTypes().get(1201); internal_static_google_cloud_compute_v1_SetIamPolicyFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyFirewallPolicyRequest_descriptor, @@ -34738,7 +35776,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalOrganizationSetPolicyRequestResource", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyImageRequest_descriptor = - getDescriptor().getMessageTypes().get(1176); + getDescriptor().getMessageTypes().get(1202); internal_static_google_cloud_compute_v1_SetIamPolicyImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyImageRequest_descriptor, @@ -34746,7 +35784,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetPolicyRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1177); + getDescriptor().getMessageTypes().get(1203); internal_static_google_cloud_compute_v1_SetIamPolicyInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyInstanceRequest_descriptor, @@ -34754,7 +35792,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "Zone", "ZoneSetPolicyRequestResource", }); internal_static_google_cloud_compute_v1_SetIamPolicyInstanceTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(1178); + getDescriptor().getMessageTypes().get(1204); internal_static_google_cloud_compute_v1_SetIamPolicyInstanceTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyInstanceTemplateRequest_descriptor, @@ -34762,7 +35800,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetPolicyRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyInstantSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(1179); + getDescriptor().getMessageTypes().get(1205); internal_static_google_cloud_compute_v1_SetIamPolicyInstantSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyInstantSnapshotRequest_descriptor, @@ -34770,7 +35808,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "Zone", "ZoneSetPolicyRequestResource", }); internal_static_google_cloud_compute_v1_SetIamPolicyLicenseRequest_descriptor = - getDescriptor().getMessageTypes().get(1180); + getDescriptor().getMessageTypes().get(1206); internal_static_google_cloud_compute_v1_SetIamPolicyLicenseRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyLicenseRequest_descriptor, @@ -34778,7 +35816,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetPolicyRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyMachineImageRequest_descriptor = - getDescriptor().getMessageTypes().get(1181); + getDescriptor().getMessageTypes().get(1207); internal_static_google_cloud_compute_v1_SetIamPolicyMachineImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyMachineImageRequest_descriptor, @@ -34786,7 +35824,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetPolicyRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyNetworkAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(1182); + getDescriptor().getMessageTypes().get(1208); internal_static_google_cloud_compute_v1_SetIamPolicyNetworkAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyNetworkAttachmentRequest_descriptor, @@ -34794,7 +35832,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetPolicyRequestResource", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1183); + getDescriptor().getMessageTypes().get(1209); internal_static_google_cloud_compute_v1_SetIamPolicyNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyNetworkFirewallPolicyRequest_descriptor, @@ -34802,7 +35840,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetPolicyRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(1184); + getDescriptor().getMessageTypes().get(1210); internal_static_google_cloud_compute_v1_SetIamPolicyNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyNodeGroupRequest_descriptor, @@ -34810,7 +35848,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "Zone", "ZoneSetPolicyRequestResource", }); internal_static_google_cloud_compute_v1_SetIamPolicyNodeTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(1185); + getDescriptor().getMessageTypes().get(1211); internal_static_google_cloud_compute_v1_SetIamPolicyNodeTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyNodeTemplateRequest_descriptor, @@ -34818,7 +35856,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetPolicyRequestResource", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyRegionBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1186); + getDescriptor().getMessageTypes().get(1212); internal_static_google_cloud_compute_v1_SetIamPolicyRegionBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyRegionBackendServiceRequest_descriptor, @@ -34826,7 +35864,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetPolicyRequestResource", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1187); + getDescriptor().getMessageTypes().get(1213); internal_static_google_cloud_compute_v1_SetIamPolicyRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyRegionDiskRequest_descriptor, @@ -34834,7 +35872,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetPolicyRequestResource", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyRegionInstantSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(1188); + getDescriptor().getMessageTypes().get(1214); internal_static_google_cloud_compute_v1_SetIamPolicyRegionInstantSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyRegionInstantSnapshotRequest_descriptor, @@ -34842,7 +35880,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetPolicyRequestResource", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1189); + getDescriptor().getMessageTypes().get(1215); internal_static_google_cloud_compute_v1_SetIamPolicyRegionNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor, @@ -34850,7 +35888,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetPolicyRequestResource", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(1190); + getDescriptor().getMessageTypes().get(1216); internal_static_google_cloud_compute_v1_SetIamPolicyReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyReservationRequest_descriptor, @@ -34858,7 +35896,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "Zone", "ZoneSetPolicyRequestResource", }); internal_static_google_cloud_compute_v1_SetIamPolicyResourcePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1191); + getDescriptor().getMessageTypes().get(1217); internal_static_google_cloud_compute_v1_SetIamPolicyResourcePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyResourcePolicyRequest_descriptor, @@ -34866,7 +35904,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetPolicyRequestResource", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyServiceAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(1192); + getDescriptor().getMessageTypes().get(1218); internal_static_google_cloud_compute_v1_SetIamPolicyServiceAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyServiceAttachmentRequest_descriptor, @@ -34874,15 +35912,23 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetPolicyRequestResource", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicySnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(1193); + getDescriptor().getMessageTypes().get(1219); internal_static_google_cloud_compute_v1_SetIamPolicySnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicySnapshotRequest_descriptor, new java.lang.String[] { "GlobalSetPolicyRequestResource", "Project", "Resource", }); + internal_static_google_cloud_compute_v1_SetIamPolicyStoragePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(1220); + internal_static_google_cloud_compute_v1_SetIamPolicyStoragePoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_SetIamPolicyStoragePoolRequest_descriptor, + new java.lang.String[] { + "Project", "Resource", "Zone", "ZoneSetPolicyRequestResource", + }); internal_static_google_cloud_compute_v1_SetIamPolicySubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(1194); + getDescriptor().getMessageTypes().get(1221); internal_static_google_cloud_compute_v1_SetIamPolicySubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicySubnetworkRequest_descriptor, @@ -34890,7 +35936,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetPolicyRequestResource", "Resource", }); internal_static_google_cloud_compute_v1_SetInstanceTemplateInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(1195); + getDescriptor().getMessageTypes().get(1222); internal_static_google_cloud_compute_v1_SetInstanceTemplateInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetInstanceTemplateInstanceGroupManagerRequest_descriptor, @@ -34902,7 +35948,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_SetInstanceTemplateRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(1196); + getDescriptor().getMessageTypes().get(1223); internal_static_google_cloud_compute_v1_SetInstanceTemplateRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetInstanceTemplateRegionInstanceGroupManagerRequest_descriptor, @@ -34914,7 +35960,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetLabelsAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(1197); + getDescriptor().getMessageTypes().get(1224); internal_static_google_cloud_compute_v1_SetLabelsAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsAddressRequest_descriptor, @@ -34922,7 +35968,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetLabelsRequestResource", "RequestId", "Resource", }); internal_static_google_cloud_compute_v1_SetLabelsDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1198); + getDescriptor().getMessageTypes().get(1225); internal_static_google_cloud_compute_v1_SetLabelsDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsDiskRequest_descriptor, @@ -34930,7 +35976,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "Resource", "Zone", "ZoneSetLabelsRequestResource", }); internal_static_google_cloud_compute_v1_SetLabelsExternalVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(1199); + getDescriptor().getMessageTypes().get(1226); internal_static_google_cloud_compute_v1_SetLabelsExternalVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsExternalVpnGatewayRequest_descriptor, @@ -34938,7 +35984,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetLabelsRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetLabelsForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(1200); + getDescriptor().getMessageTypes().get(1227); internal_static_google_cloud_compute_v1_SetLabelsForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsForwardingRuleRequest_descriptor, @@ -34946,7 +35992,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetLabelsRequestResource", "RequestId", "Resource", }); internal_static_google_cloud_compute_v1_SetLabelsGlobalAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(1201); + getDescriptor().getMessageTypes().get(1228); internal_static_google_cloud_compute_v1_SetLabelsGlobalAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsGlobalAddressRequest_descriptor, @@ -34954,7 +36000,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetLabelsRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetLabelsGlobalForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(1202); + getDescriptor().getMessageTypes().get(1229); internal_static_google_cloud_compute_v1_SetLabelsGlobalForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsGlobalForwardingRuleRequest_descriptor, @@ -34962,7 +36008,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetLabelsRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetLabelsImageRequest_descriptor = - getDescriptor().getMessageTypes().get(1203); + getDescriptor().getMessageTypes().get(1230); internal_static_google_cloud_compute_v1_SetLabelsImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsImageRequest_descriptor, @@ -34970,7 +36016,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetLabelsRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetLabelsInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1204); + getDescriptor().getMessageTypes().get(1231); internal_static_google_cloud_compute_v1_SetLabelsInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsInstanceRequest_descriptor, @@ -34978,7 +36024,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "InstancesSetLabelsRequestResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_SetLabelsInstantSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(1205); + getDescriptor().getMessageTypes().get(1232); internal_static_google_cloud_compute_v1_SetLabelsInstantSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsInstantSnapshotRequest_descriptor, @@ -34986,7 +36032,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "Resource", "Zone", "ZoneSetLabelsRequestResource", }); internal_static_google_cloud_compute_v1_SetLabelsInterconnectAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(1206); + getDescriptor().getMessageTypes().get(1233); internal_static_google_cloud_compute_v1_SetLabelsInterconnectAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsInterconnectAttachmentRequest_descriptor, @@ -34994,7 +36040,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetLabelsRequestResource", "RequestId", "Resource", }); internal_static_google_cloud_compute_v1_SetLabelsInterconnectRequest_descriptor = - getDescriptor().getMessageTypes().get(1207); + getDescriptor().getMessageTypes().get(1234); internal_static_google_cloud_compute_v1_SetLabelsInterconnectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsInterconnectRequest_descriptor, @@ -35002,7 +36048,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetLabelsRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetLabelsRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1208); + getDescriptor().getMessageTypes().get(1235); internal_static_google_cloud_compute_v1_SetLabelsRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsRegionDiskRequest_descriptor, @@ -35010,7 +36056,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetLabelsRequestResource", "RequestId", "Resource", }); internal_static_google_cloud_compute_v1_SetLabelsRegionInstantSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(1209); + getDescriptor().getMessageTypes().get(1236); internal_static_google_cloud_compute_v1_SetLabelsRegionInstantSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsRegionInstantSnapshotRequest_descriptor, @@ -35018,7 +36064,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetLabelsRequestResource", "RequestId", "Resource", }); internal_static_google_cloud_compute_v1_SetLabelsSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1210); + getDescriptor().getMessageTypes().get(1237); internal_static_google_cloud_compute_v1_SetLabelsSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsSecurityPolicyRequest_descriptor, @@ -35026,7 +36072,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetLabelsRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetLabelsSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(1211); + getDescriptor().getMessageTypes().get(1238); internal_static_google_cloud_compute_v1_SetLabelsSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsSnapshotRequest_descriptor, @@ -35034,7 +36080,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetLabelsRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetLabelsTargetVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(1212); + getDescriptor().getMessageTypes().get(1239); internal_static_google_cloud_compute_v1_SetLabelsTargetVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsTargetVpnGatewayRequest_descriptor, @@ -35042,7 +36088,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetLabelsRequestResource", "RequestId", "Resource", }); internal_static_google_cloud_compute_v1_SetLabelsVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(1213); + getDescriptor().getMessageTypes().get(1240); internal_static_google_cloud_compute_v1_SetLabelsVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsVpnGatewayRequest_descriptor, @@ -35050,7 +36096,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetLabelsRequestResource", "RequestId", "Resource", }); internal_static_google_cloud_compute_v1_SetLabelsVpnTunnelRequest_descriptor = - getDescriptor().getMessageTypes().get(1214); + getDescriptor().getMessageTypes().get(1241); internal_static_google_cloud_compute_v1_SetLabelsVpnTunnelRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsVpnTunnelRequest_descriptor, @@ -35058,7 +36104,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetLabelsRequestResource", "RequestId", "Resource", }); internal_static_google_cloud_compute_v1_SetMachineResourcesInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1215); + getDescriptor().getMessageTypes().get(1242); internal_static_google_cloud_compute_v1_SetMachineResourcesInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetMachineResourcesInstanceRequest_descriptor, @@ -35070,7 +36116,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_SetMachineTypeInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1216); + getDescriptor().getMessageTypes().get(1243); internal_static_google_cloud_compute_v1_SetMachineTypeInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetMachineTypeInstanceRequest_descriptor, @@ -35078,7 +36124,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "InstancesSetMachineTypeRequestResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_SetMetadataInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1217); + getDescriptor().getMessageTypes().get(1244); internal_static_google_cloud_compute_v1_SetMetadataInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetMetadataInstanceRequest_descriptor, @@ -35086,7 +36132,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "MetadataResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_SetMinCpuPlatformInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1218); + getDescriptor().getMessageTypes().get(1245); internal_static_google_cloud_compute_v1_SetMinCpuPlatformInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetMinCpuPlatformInstanceRequest_descriptor, @@ -35098,7 +36144,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_SetNameInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1219); + getDescriptor().getMessageTypes().get(1246); internal_static_google_cloud_compute_v1_SetNameInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetNameInstanceRequest_descriptor, @@ -35106,7 +36152,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "InstancesSetNameRequestResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_SetNamedPortsInstanceGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(1220); + getDescriptor().getMessageTypes().get(1247); internal_static_google_cloud_compute_v1_SetNamedPortsInstanceGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetNamedPortsInstanceGroupRequest_descriptor, @@ -35118,7 +36164,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_SetNamedPortsRegionInstanceGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(1221); + getDescriptor().getMessageTypes().get(1248); internal_static_google_cloud_compute_v1_SetNamedPortsRegionInstanceGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetNamedPortsRegionInstanceGroupRequest_descriptor, @@ -35130,7 +36176,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetNodeTemplateNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(1222); + getDescriptor().getMessageTypes().get(1249); internal_static_google_cloud_compute_v1_SetNodeTemplateNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetNodeTemplateNodeGroupRequest_descriptor, @@ -35142,7 +36188,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_SetPrivateIpGoogleAccessSubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(1223); + getDescriptor().getMessageTypes().get(1250); internal_static_google_cloud_compute_v1_SetPrivateIpGoogleAccessSubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetPrivateIpGoogleAccessSubnetworkRequest_descriptor, @@ -35154,7 +36200,7 @@ private static void _clinit_autosplit_dinit_2() { "SubnetworksSetPrivateIpGoogleAccessRequestResource", }); internal_static_google_cloud_compute_v1_SetProxyHeaderTargetSslProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1224); + getDescriptor().getMessageTypes().get(1251); internal_static_google_cloud_compute_v1_SetProxyHeaderTargetSslProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetProxyHeaderTargetSslProxyRequest_descriptor, @@ -35165,7 +36211,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetSslProxy", }); internal_static_google_cloud_compute_v1_SetProxyHeaderTargetTcpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1225); + getDescriptor().getMessageTypes().get(1252); internal_static_google_cloud_compute_v1_SetProxyHeaderTargetTcpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetProxyHeaderTargetTcpProxyRequest_descriptor, @@ -35176,7 +36222,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetTcpProxy", }); internal_static_google_cloud_compute_v1_SetQuicOverrideTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1226); + getDescriptor().getMessageTypes().get(1253); internal_static_google_cloud_compute_v1_SetQuicOverrideTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetQuicOverrideTargetHttpsProxyRequest_descriptor, @@ -35187,7 +36233,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetHttpsProxy", }); internal_static_google_cloud_compute_v1_SetSchedulingInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1227); + getDescriptor().getMessageTypes().get(1254); internal_static_google_cloud_compute_v1_SetSchedulingInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetSchedulingInstanceRequest_descriptor, @@ -35195,7 +36241,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "Project", "RequestId", "SchedulingResource", "Zone", }); internal_static_google_cloud_compute_v1_SetSecurityPolicyBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1228); + getDescriptor().getMessageTypes().get(1255); internal_static_google_cloud_compute_v1_SetSecurityPolicyBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetSecurityPolicyBackendServiceRequest_descriptor, @@ -35203,7 +36249,7 @@ private static void _clinit_autosplit_dinit_2() { "BackendService", "Project", "RequestId", "SecurityPolicyReferenceResource", }); internal_static_google_cloud_compute_v1_SetSecurityPolicyInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1229); + getDescriptor().getMessageTypes().get(1256); internal_static_google_cloud_compute_v1_SetSecurityPolicyInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetSecurityPolicyInstanceRequest_descriptor, @@ -35215,7 +36261,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_SetSecurityPolicyRegionBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1230); + getDescriptor().getMessageTypes().get(1257); internal_static_google_cloud_compute_v1_SetSecurityPolicyRegionBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetSecurityPolicyRegionBackendServiceRequest_descriptor, @@ -35223,7 +36269,7 @@ private static void _clinit_autosplit_dinit_2() { "BackendService", "Project", "Region", "RequestId", "SecurityPolicyReferenceResource", }); internal_static_google_cloud_compute_v1_SetSecurityPolicyTargetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1231); + getDescriptor().getMessageTypes().get(1258); internal_static_google_cloud_compute_v1_SetSecurityPolicyTargetInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetSecurityPolicyTargetInstanceRequest_descriptor, @@ -35231,7 +36277,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "SecurityPolicyReferenceResource", "TargetInstance", "Zone", }); internal_static_google_cloud_compute_v1_SetSecurityPolicyTargetPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(1232); + getDescriptor().getMessageTypes().get(1259); internal_static_google_cloud_compute_v1_SetSecurityPolicyTargetPoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetSecurityPolicyTargetPoolRequest_descriptor, @@ -35239,7 +36285,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RequestId", "SecurityPolicyReferenceResource", "TargetPool", }); internal_static_google_cloud_compute_v1_SetServiceAccountInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1233); + getDescriptor().getMessageTypes().get(1260); internal_static_google_cloud_compute_v1_SetServiceAccountInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetServiceAccountInstanceRequest_descriptor, @@ -35251,7 +36297,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_SetShieldedInstanceIntegrityPolicyInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1234); + getDescriptor().getMessageTypes().get(1261); internal_static_google_cloud_compute_v1_SetShieldedInstanceIntegrityPolicyInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetShieldedInstanceIntegrityPolicyInstanceRequest_descriptor, @@ -35259,7 +36305,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "Project", "RequestId", "ShieldedInstanceIntegrityPolicyResource", "Zone", }); internal_static_google_cloud_compute_v1_SetSslCertificatesRegionTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1235); + getDescriptor().getMessageTypes().get(1262); internal_static_google_cloud_compute_v1_SetSslCertificatesRegionTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetSslCertificatesRegionTargetHttpsProxyRequest_descriptor, @@ -35271,7 +36317,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetHttpsProxy", }); internal_static_google_cloud_compute_v1_SetSslCertificatesTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1236); + getDescriptor().getMessageTypes().get(1263); internal_static_google_cloud_compute_v1_SetSslCertificatesTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetSslCertificatesTargetHttpsProxyRequest_descriptor, @@ -35282,7 +36328,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetHttpsProxy", }); internal_static_google_cloud_compute_v1_SetSslCertificatesTargetSslProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1237); + getDescriptor().getMessageTypes().get(1264); internal_static_google_cloud_compute_v1_SetSslCertificatesTargetSslProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetSslCertificatesTargetSslProxyRequest_descriptor, @@ -35293,7 +36339,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetSslProxy", }); internal_static_google_cloud_compute_v1_SetSslPolicyTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1238); + getDescriptor().getMessageTypes().get(1265); internal_static_google_cloud_compute_v1_SetSslPolicyTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetSslPolicyTargetHttpsProxyRequest_descriptor, @@ -35301,7 +36347,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "SslPolicyReferenceResource", "TargetHttpsProxy", }); internal_static_google_cloud_compute_v1_SetSslPolicyTargetSslProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1239); + getDescriptor().getMessageTypes().get(1266); internal_static_google_cloud_compute_v1_SetSslPolicyTargetSslProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetSslPolicyTargetSslProxyRequest_descriptor, @@ -35309,7 +36355,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "SslPolicyReferenceResource", "TargetSslProxy", }); internal_static_google_cloud_compute_v1_SetTagsInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1240); + getDescriptor().getMessageTypes().get(1267); internal_static_google_cloud_compute_v1_SetTagsInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetTagsInstanceRequest_descriptor, @@ -35317,7 +36363,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "Project", "RequestId", "TagsResource", "Zone", }); internal_static_google_cloud_compute_v1_SetTargetForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(1241); + getDescriptor().getMessageTypes().get(1268); internal_static_google_cloud_compute_v1_SetTargetForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetTargetForwardingRuleRequest_descriptor, @@ -35325,7 +36371,7 @@ private static void _clinit_autosplit_dinit_2() { "ForwardingRule", "Project", "Region", "RequestId", "TargetReferenceResource", }); internal_static_google_cloud_compute_v1_SetTargetGlobalForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(1242); + getDescriptor().getMessageTypes().get(1269); internal_static_google_cloud_compute_v1_SetTargetGlobalForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetTargetGlobalForwardingRuleRequest_descriptor, @@ -35333,7 +36379,7 @@ private static void _clinit_autosplit_dinit_2() { "ForwardingRule", "Project", "RequestId", "TargetReferenceResource", }); internal_static_google_cloud_compute_v1_SetTargetPoolsInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(1243); + getDescriptor().getMessageTypes().get(1270); internal_static_google_cloud_compute_v1_SetTargetPoolsInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetTargetPoolsInstanceGroupManagerRequest_descriptor, @@ -35345,7 +36391,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_SetTargetPoolsRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(1244); + getDescriptor().getMessageTypes().get(1271); internal_static_google_cloud_compute_v1_SetTargetPoolsRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetTargetPoolsRegionInstanceGroupManagerRequest_descriptor, @@ -35357,7 +36403,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetUrlMapRegionTargetHttpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1245); + getDescriptor().getMessageTypes().get(1272); internal_static_google_cloud_compute_v1_SetUrlMapRegionTargetHttpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetUrlMapRegionTargetHttpProxyRequest_descriptor, @@ -35365,7 +36411,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RequestId", "TargetHttpProxy", "UrlMapReferenceResource", }); internal_static_google_cloud_compute_v1_SetUrlMapRegionTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1246); + getDescriptor().getMessageTypes().get(1273); internal_static_google_cloud_compute_v1_SetUrlMapRegionTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetUrlMapRegionTargetHttpsProxyRequest_descriptor, @@ -35373,7 +36419,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RequestId", "TargetHttpsProxy", "UrlMapReferenceResource", }); internal_static_google_cloud_compute_v1_SetUrlMapTargetHttpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1247); + getDescriptor().getMessageTypes().get(1274); internal_static_google_cloud_compute_v1_SetUrlMapTargetHttpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetUrlMapTargetHttpProxyRequest_descriptor, @@ -35381,7 +36427,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "TargetHttpProxy", "UrlMapReferenceResource", }); internal_static_google_cloud_compute_v1_SetUrlMapTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1248); + getDescriptor().getMessageTypes().get(1275); internal_static_google_cloud_compute_v1_SetUrlMapTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetUrlMapTargetHttpsProxyRequest_descriptor, @@ -35389,7 +36435,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "TargetHttpsProxy", "UrlMapReferenceResource", }); internal_static_google_cloud_compute_v1_SetUsageExportBucketProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(1249); + getDescriptor().getMessageTypes().get(1276); internal_static_google_cloud_compute_v1_SetUsageExportBucketProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetUsageExportBucketProjectRequest_descriptor, @@ -35397,7 +36443,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "UsageExportLocationResource", }); internal_static_google_cloud_compute_v1_ShareSettings_descriptor = - getDescriptor().getMessageTypes().get(1250); + getDescriptor().getMessageTypes().get(1277); internal_static_google_cloud_compute_v1_ShareSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ShareSettings_descriptor, @@ -35413,7 +36459,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ShareSettingsProjectConfig_descriptor = - getDescriptor().getMessageTypes().get(1251); + getDescriptor().getMessageTypes().get(1278); internal_static_google_cloud_compute_v1_ShareSettingsProjectConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ShareSettingsProjectConfig_descriptor, @@ -35421,7 +36467,7 @@ private static void _clinit_autosplit_dinit_2() { "ProjectId", }); internal_static_google_cloud_compute_v1_ShieldedInstanceConfig_descriptor = - getDescriptor().getMessageTypes().get(1252); + getDescriptor().getMessageTypes().get(1279); internal_static_google_cloud_compute_v1_ShieldedInstanceConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ShieldedInstanceConfig_descriptor, @@ -35429,7 +36475,7 @@ private static void _clinit_autosplit_dinit_2() { "EnableIntegrityMonitoring", "EnableSecureBoot", "EnableVtpm", }); internal_static_google_cloud_compute_v1_ShieldedInstanceIdentity_descriptor = - getDescriptor().getMessageTypes().get(1253); + getDescriptor().getMessageTypes().get(1280); internal_static_google_cloud_compute_v1_ShieldedInstanceIdentity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ShieldedInstanceIdentity_descriptor, @@ -35437,7 +36483,7 @@ private static void _clinit_autosplit_dinit_2() { "EncryptionKey", "Kind", "SigningKey", }); internal_static_google_cloud_compute_v1_ShieldedInstanceIdentityEntry_descriptor = - getDescriptor().getMessageTypes().get(1254); + getDescriptor().getMessageTypes().get(1281); internal_static_google_cloud_compute_v1_ShieldedInstanceIdentityEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ShieldedInstanceIdentityEntry_descriptor, @@ -35445,7 +36491,7 @@ private static void _clinit_autosplit_dinit_2() { "EkCert", "EkPub", }); internal_static_google_cloud_compute_v1_ShieldedInstanceIntegrityPolicy_descriptor = - getDescriptor().getMessageTypes().get(1255); + getDescriptor().getMessageTypes().get(1282); internal_static_google_cloud_compute_v1_ShieldedInstanceIntegrityPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ShieldedInstanceIntegrityPolicy_descriptor, @@ -35453,7 +36499,7 @@ private static void _clinit_autosplit_dinit_2() { "UpdateAutoLearnPolicy", }); internal_static_google_cloud_compute_v1_SignedUrlKey_descriptor = - getDescriptor().getMessageTypes().get(1256); + getDescriptor().getMessageTypes().get(1283); internal_static_google_cloud_compute_v1_SignedUrlKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SignedUrlKey_descriptor, @@ -35461,7 +36507,7 @@ private static void _clinit_autosplit_dinit_2() { "KeyName", "KeyValue", }); internal_static_google_cloud_compute_v1_SimulateMaintenanceEventInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1257); + getDescriptor().getMessageTypes().get(1284); internal_static_google_cloud_compute_v1_SimulateMaintenanceEventInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SimulateMaintenanceEventInstanceRequest_descriptor, @@ -35469,7 +36515,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "Project", "RequestId", "WithExtendedNotifications", "Zone", }); internal_static_google_cloud_compute_v1_SimulateMaintenanceEventNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(1258); + getDescriptor().getMessageTypes().get(1285); internal_static_google_cloud_compute_v1_SimulateMaintenanceEventNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SimulateMaintenanceEventNodeGroupRequest_descriptor, @@ -35481,7 +36527,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_Snapshot_descriptor = - getDescriptor().getMessageTypes().get(1259); + getDescriptor().getMessageTypes().get(1286); internal_static_google_cloud_compute_v1_Snapshot_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Snapshot_descriptor, @@ -35532,7 +36578,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_SnapshotList_descriptor = - getDescriptor().getMessageTypes().get(1260); + getDescriptor().getMessageTypes().get(1287); internal_static_google_cloud_compute_v1_SnapshotList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SnapshotList_descriptor, @@ -35540,7 +36586,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_SnapshotSettings_descriptor = - getDescriptor().getMessageTypes().get(1261); + getDescriptor().getMessageTypes().get(1288); internal_static_google_cloud_compute_v1_SnapshotSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SnapshotSettings_descriptor, @@ -35548,7 +36594,7 @@ private static void _clinit_autosplit_dinit_2() { "StorageLocation", }); internal_static_google_cloud_compute_v1_SnapshotSettingsStorageLocationSettings_descriptor = - getDescriptor().getMessageTypes().get(1262); + getDescriptor().getMessageTypes().get(1289); internal_static_google_cloud_compute_v1_SnapshotSettingsStorageLocationSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SnapshotSettingsStorageLocationSettings_descriptor, @@ -35566,7 +36612,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_SnapshotSettingsStorageLocationSettingsStorageLocationPreference_descriptor = - getDescriptor().getMessageTypes().get(1263); + getDescriptor().getMessageTypes().get(1290); internal_static_google_cloud_compute_v1_SnapshotSettingsStorageLocationSettingsStorageLocationPreference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SnapshotSettingsStorageLocationSettingsStorageLocationPreference_descriptor, @@ -35574,7 +36620,7 @@ private static void _clinit_autosplit_dinit_2() { "Name", }); internal_static_google_cloud_compute_v1_SourceDiskEncryptionKey_descriptor = - getDescriptor().getMessageTypes().get(1264); + getDescriptor().getMessageTypes().get(1291); internal_static_google_cloud_compute_v1_SourceDiskEncryptionKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SourceDiskEncryptionKey_descriptor, @@ -35582,7 +36628,7 @@ private static void _clinit_autosplit_dinit_2() { "DiskEncryptionKey", "SourceDisk", }); internal_static_google_cloud_compute_v1_SourceInstanceParams_descriptor = - getDescriptor().getMessageTypes().get(1265); + getDescriptor().getMessageTypes().get(1292); internal_static_google_cloud_compute_v1_SourceInstanceParams_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SourceInstanceParams_descriptor, @@ -35590,7 +36636,7 @@ private static void _clinit_autosplit_dinit_2() { "DiskConfigs", }); internal_static_google_cloud_compute_v1_SourceInstanceProperties_descriptor = - getDescriptor().getMessageTypes().get(1266); + getDescriptor().getMessageTypes().get(1293); internal_static_google_cloud_compute_v1_SourceInstanceProperties_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SourceInstanceProperties_descriptor, @@ -35621,7 +36667,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_SslCertificate_descriptor = - getDescriptor().getMessageTypes().get(1267); + getDescriptor().getMessageTypes().get(1294); internal_static_google_cloud_compute_v1_SslCertificate_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslCertificate_descriptor, @@ -35642,7 +36688,7 @@ private static void _clinit_autosplit_dinit_2() { "Type", }); internal_static_google_cloud_compute_v1_SslCertificateAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1268); + getDescriptor().getMessageTypes().get(1295); internal_static_google_cloud_compute_v1_SslCertificateAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslCertificateAggregatedList_descriptor, @@ -35660,7 +36706,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_SslCertificateList_descriptor = - getDescriptor().getMessageTypes().get(1269); + getDescriptor().getMessageTypes().get(1296); internal_static_google_cloud_compute_v1_SslCertificateList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslCertificateList_descriptor, @@ -35668,7 +36714,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_SslCertificateManagedSslCertificate_descriptor = - getDescriptor().getMessageTypes().get(1270); + getDescriptor().getMessageTypes().get(1297); internal_static_google_cloud_compute_v1_SslCertificateManagedSslCertificate_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslCertificateManagedSslCertificate_descriptor, @@ -35686,7 +36732,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_SslCertificateSelfManagedSslCertificate_descriptor = - getDescriptor().getMessageTypes().get(1271); + getDescriptor().getMessageTypes().get(1298); internal_static_google_cloud_compute_v1_SslCertificateSelfManagedSslCertificate_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslCertificateSelfManagedSslCertificate_descriptor, @@ -35694,7 +36740,7 @@ private static void _clinit_autosplit_dinit_2() { "Certificate", "PrivateKey", }); internal_static_google_cloud_compute_v1_SslCertificatesScopedList_descriptor = - getDescriptor().getMessageTypes().get(1272); + getDescriptor().getMessageTypes().get(1299); internal_static_google_cloud_compute_v1_SslCertificatesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslCertificatesScopedList_descriptor, @@ -35702,7 +36748,7 @@ private static void _clinit_autosplit_dinit_2() { "SslCertificates", "Warning", }); internal_static_google_cloud_compute_v1_SslPoliciesAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1273); + getDescriptor().getMessageTypes().get(1300); internal_static_google_cloud_compute_v1_SslPoliciesAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslPoliciesAggregatedList_descriptor, @@ -35720,7 +36766,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_SslPoliciesList_descriptor = - getDescriptor().getMessageTypes().get(1274); + getDescriptor().getMessageTypes().get(1301); internal_static_google_cloud_compute_v1_SslPoliciesList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslPoliciesList_descriptor, @@ -35728,7 +36774,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_SslPoliciesListAvailableFeaturesResponse_descriptor = - getDescriptor().getMessageTypes().get(1275); + getDescriptor().getMessageTypes().get(1302); internal_static_google_cloud_compute_v1_SslPoliciesListAvailableFeaturesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslPoliciesListAvailableFeaturesResponse_descriptor, @@ -35736,7 +36782,7 @@ private static void _clinit_autosplit_dinit_2() { "Features", }); internal_static_google_cloud_compute_v1_SslPoliciesScopedList_descriptor = - getDescriptor().getMessageTypes().get(1276); + getDescriptor().getMessageTypes().get(1303); internal_static_google_cloud_compute_v1_SslPoliciesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslPoliciesScopedList_descriptor, @@ -35744,7 +36790,7 @@ private static void _clinit_autosplit_dinit_2() { "SslPolicies", "Warning", }); internal_static_google_cloud_compute_v1_SslPolicy_descriptor = - getDescriptor().getMessageTypes().get(1277); + getDescriptor().getMessageTypes().get(1304); internal_static_google_cloud_compute_v1_SslPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslPolicy_descriptor, @@ -35764,7 +36810,7 @@ private static void _clinit_autosplit_dinit_2() { "Warnings", }); internal_static_google_cloud_compute_v1_SslPolicyReference_descriptor = - getDescriptor().getMessageTypes().get(1278); + getDescriptor().getMessageTypes().get(1305); internal_static_google_cloud_compute_v1_SslPolicyReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslPolicyReference_descriptor, @@ -35772,7 +36818,7 @@ private static void _clinit_autosplit_dinit_2() { "SslPolicy", }); internal_static_google_cloud_compute_v1_StartAsyncReplicationDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1279); + getDescriptor().getMessageTypes().get(1306); internal_static_google_cloud_compute_v1_StartAsyncReplicationDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StartAsyncReplicationDiskRequest_descriptor, @@ -35780,7 +36826,7 @@ private static void _clinit_autosplit_dinit_2() { "Disk", "DisksStartAsyncReplicationRequestResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_StartAsyncReplicationRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1280); + getDescriptor().getMessageTypes().get(1307); internal_static_google_cloud_compute_v1_StartAsyncReplicationRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StartAsyncReplicationRegionDiskRequest_descriptor, @@ -35792,7 +36838,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_StartInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1281); + getDescriptor().getMessageTypes().get(1308); internal_static_google_cloud_compute_v1_StartInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StartInstanceRequest_descriptor, @@ -35800,7 +36846,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_StartWithEncryptionKeyInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1282); + getDescriptor().getMessageTypes().get(1309); internal_static_google_cloud_compute_v1_StartWithEncryptionKeyInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StartWithEncryptionKeyInstanceRequest_descriptor, @@ -35812,7 +36858,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_StatefulPolicy_descriptor = - getDescriptor().getMessageTypes().get(1283); + getDescriptor().getMessageTypes().get(1310); internal_static_google_cloud_compute_v1_StatefulPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StatefulPolicy_descriptor, @@ -35820,7 +36866,7 @@ private static void _clinit_autosplit_dinit_2() { "PreservedState", }); internal_static_google_cloud_compute_v1_StatefulPolicyPreservedState_descriptor = - getDescriptor().getMessageTypes().get(1284); + getDescriptor().getMessageTypes().get(1311); internal_static_google_cloud_compute_v1_StatefulPolicyPreservedState_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StatefulPolicyPreservedState_descriptor, @@ -35858,7 +36904,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_StatefulPolicyPreservedStateDiskDevice_descriptor = - getDescriptor().getMessageTypes().get(1285); + getDescriptor().getMessageTypes().get(1312); internal_static_google_cloud_compute_v1_StatefulPolicyPreservedStateDiskDevice_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StatefulPolicyPreservedStateDiskDevice_descriptor, @@ -35866,7 +36912,7 @@ private static void _clinit_autosplit_dinit_2() { "AutoDelete", }); internal_static_google_cloud_compute_v1_StatefulPolicyPreservedStateNetworkIp_descriptor = - getDescriptor().getMessageTypes().get(1286); + getDescriptor().getMessageTypes().get(1313); internal_static_google_cloud_compute_v1_StatefulPolicyPreservedStateNetworkIp_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StatefulPolicyPreservedStateNetworkIp_descriptor, @@ -35874,7 +36920,7 @@ private static void _clinit_autosplit_dinit_2() { "AutoDelete", }); internal_static_google_cloud_compute_v1_Status_descriptor = - getDescriptor().getMessageTypes().get(1287); + getDescriptor().getMessageTypes().get(1314); internal_static_google_cloud_compute_v1_Status_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Status_descriptor, @@ -35882,7 +36928,7 @@ private static void _clinit_autosplit_dinit_2() { "Code", "Details", "Message", }); internal_static_google_cloud_compute_v1_StopAsyncReplicationDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1288); + getDescriptor().getMessageTypes().get(1315); internal_static_google_cloud_compute_v1_StopAsyncReplicationDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StopAsyncReplicationDiskRequest_descriptor, @@ -35890,7 +36936,7 @@ private static void _clinit_autosplit_dinit_2() { "Disk", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_StopAsyncReplicationRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1289); + getDescriptor().getMessageTypes().get(1316); internal_static_google_cloud_compute_v1_StopAsyncReplicationRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StopAsyncReplicationRegionDiskRequest_descriptor, @@ -35898,7 +36944,7 @@ private static void _clinit_autosplit_dinit_2() { "Disk", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_StopGroupAsyncReplicationDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1290); + getDescriptor().getMessageTypes().get(1317); internal_static_google_cloud_compute_v1_StopGroupAsyncReplicationDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StopGroupAsyncReplicationDiskRequest_descriptor, @@ -35906,7 +36952,7 @@ private static void _clinit_autosplit_dinit_2() { "DisksStopGroupAsyncReplicationResourceResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_StopGroupAsyncReplicationRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1291); + getDescriptor().getMessageTypes().get(1318); internal_static_google_cloud_compute_v1_StopGroupAsyncReplicationRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StopGroupAsyncReplicationRegionDiskRequest_descriptor, @@ -35914,15 +36960,184 @@ private static void _clinit_autosplit_dinit_2() { "DisksStopGroupAsyncReplicationResourceResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_StopInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1292); + getDescriptor().getMessageTypes().get(1319); internal_static_google_cloud_compute_v1_StopInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StopInstanceRequest_descriptor, new java.lang.String[] { "DiscardLocalSsd", "Instance", "Project", "RequestId", "Zone", }); + internal_static_google_cloud_compute_v1_StoragePool_descriptor = + getDescriptor().getMessageTypes().get(1320); + internal_static_google_cloud_compute_v1_StoragePool_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_StoragePool_descriptor, + new java.lang.String[] { + "CapacityProvisioningType", + "CreationTimestamp", + "Description", + "Id", + "Kind", + "LabelFingerprint", + "Labels", + "Name", + "PerformanceProvisioningType", + "PoolProvisionedCapacityGb", + "PoolProvisionedIops", + "PoolProvisionedThroughput", + "ResourceStatus", + "SelfLink", + "SelfLinkWithId", + "State", + "Status", + "StoragePoolType", + "Zone", + }); + internal_static_google_cloud_compute_v1_StoragePool_LabelsEntry_descriptor = + internal_static_google_cloud_compute_v1_StoragePool_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_compute_v1_StoragePool_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_StoragePool_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_descriptor = + getDescriptor().getMessageTypes().get(1321); + internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_descriptor, + new java.lang.String[] { + "Etag", "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Unreachables", "Warning", + }); + internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_ItemsEntry_descriptor = + internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_ItemsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_ItemsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_compute_v1_StoragePoolDisk_descriptor = + getDescriptor().getMessageTypes().get(1322); + internal_static_google_cloud_compute_v1_StoragePoolDisk_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_StoragePoolDisk_descriptor, + new java.lang.String[] { + "AttachedInstances", + "CreationTimestamp", + "Disk", + "Name", + "ProvisionedIops", + "ProvisionedThroughput", + "ResourcePolicies", + "SizeGb", + "Status", + "Type", + "UsedBytes", + }); + internal_static_google_cloud_compute_v1_StoragePoolList_descriptor = + getDescriptor().getMessageTypes().get(1323); + internal_static_google_cloud_compute_v1_StoragePoolList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_StoragePoolList_descriptor, + new java.lang.String[] { + "Etag", "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Unreachables", "Warning", + }); + internal_static_google_cloud_compute_v1_StoragePoolListDisks_descriptor = + getDescriptor().getMessageTypes().get(1324); + internal_static_google_cloud_compute_v1_StoragePoolListDisks_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_StoragePoolListDisks_descriptor, + new java.lang.String[] { + "Etag", "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Unreachables", "Warning", + }); + internal_static_google_cloud_compute_v1_StoragePoolResourceStatus_descriptor = + getDescriptor().getMessageTypes().get(1325); + internal_static_google_cloud_compute_v1_StoragePoolResourceStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_StoragePoolResourceStatus_descriptor, + new java.lang.String[] { + "DiskCount", + "LastResizeTimestamp", + "MaxTotalProvisionedDiskCapacityGb", + "PoolUsedCapacityBytes", + "PoolUsedIops", + "PoolUsedThroughput", + "PoolUserWrittenBytes", + "TotalProvisionedDiskCapacityGb", + "TotalProvisionedDiskIops", + "TotalProvisionedDiskThroughput", + }); + internal_static_google_cloud_compute_v1_StoragePoolType_descriptor = + getDescriptor().getMessageTypes().get(1326); + internal_static_google_cloud_compute_v1_StoragePoolType_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_StoragePoolType_descriptor, + new java.lang.String[] { + "CreationTimestamp", + "Deprecated", + "Description", + "Id", + "Kind", + "MaxPoolProvisionedCapacityGb", + "MaxPoolProvisionedIops", + "MaxPoolProvisionedThroughput", + "MinPoolProvisionedCapacityGb", + "MinPoolProvisionedIops", + "MinPoolProvisionedThroughput", + "MinSizeGb", + "Name", + "SelfLink", + "SelfLinkWithId", + "SupportedDiskTypes", + "Zone", + }); + internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_descriptor = + getDescriptor().getMessageTypes().get(1327); + internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_descriptor, + new java.lang.String[] { + "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", + }); + internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_ItemsEntry_descriptor = + internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_ItemsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_ItemsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_compute_v1_StoragePoolTypeList_descriptor = + getDescriptor().getMessageTypes().get(1328); + internal_static_google_cloud_compute_v1_StoragePoolTypeList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_StoragePoolTypeList_descriptor, + new java.lang.String[] { + "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", + }); + internal_static_google_cloud_compute_v1_StoragePoolTypesScopedList_descriptor = + getDescriptor().getMessageTypes().get(1329); + internal_static_google_cloud_compute_v1_StoragePoolTypesScopedList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_StoragePoolTypesScopedList_descriptor, + new java.lang.String[] { + "StoragePoolTypes", "Warning", + }); + internal_static_google_cloud_compute_v1_StoragePoolsScopedList_descriptor = + getDescriptor().getMessageTypes().get(1330); + internal_static_google_cloud_compute_v1_StoragePoolsScopedList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_StoragePoolsScopedList_descriptor, + new java.lang.String[] { + "StoragePools", "Warning", + }); internal_static_google_cloud_compute_v1_Subnetwork_descriptor = - getDescriptor().getMessageTypes().get(1293); + getDescriptor().getMessageTypes().get(1331); internal_static_google_cloud_compute_v1_Subnetwork_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Subnetwork_descriptor, @@ -35954,7 +37169,7 @@ private static void _clinit_autosplit_dinit_2() { "State", }); internal_static_google_cloud_compute_v1_SubnetworkAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1294); + getDescriptor().getMessageTypes().get(1332); internal_static_google_cloud_compute_v1_SubnetworkAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SubnetworkAggregatedList_descriptor, @@ -35972,7 +37187,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_SubnetworkList_descriptor = - getDescriptor().getMessageTypes().get(1295); + getDescriptor().getMessageTypes().get(1333); internal_static_google_cloud_compute_v1_SubnetworkList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SubnetworkList_descriptor, @@ -35980,7 +37195,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_SubnetworkLogConfig_descriptor = - getDescriptor().getMessageTypes().get(1296); + getDescriptor().getMessageTypes().get(1334); internal_static_google_cloud_compute_v1_SubnetworkLogConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SubnetworkLogConfig_descriptor, @@ -35993,7 +37208,7 @@ private static void _clinit_autosplit_dinit_2() { "MetadataFields", }); internal_static_google_cloud_compute_v1_SubnetworkSecondaryRange_descriptor = - getDescriptor().getMessageTypes().get(1297); + getDescriptor().getMessageTypes().get(1335); internal_static_google_cloud_compute_v1_SubnetworkSecondaryRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SubnetworkSecondaryRange_descriptor, @@ -36001,7 +37216,7 @@ private static void _clinit_autosplit_dinit_2() { "IpCidrRange", "RangeName", "ReservedInternalRange", }); internal_static_google_cloud_compute_v1_SubnetworksExpandIpCidrRangeRequest_descriptor = - getDescriptor().getMessageTypes().get(1298); + getDescriptor().getMessageTypes().get(1336); internal_static_google_cloud_compute_v1_SubnetworksExpandIpCidrRangeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SubnetworksExpandIpCidrRangeRequest_descriptor, @@ -36009,7 +37224,7 @@ private static void _clinit_autosplit_dinit_2() { "IpCidrRange", }); internal_static_google_cloud_compute_v1_SubnetworksScopedList_descriptor = - getDescriptor().getMessageTypes().get(1299); + getDescriptor().getMessageTypes().get(1337); internal_static_google_cloud_compute_v1_SubnetworksScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SubnetworksScopedList_descriptor, @@ -36017,7 +37232,7 @@ private static void _clinit_autosplit_dinit_2() { "Subnetworks", "Warning", }); internal_static_google_cloud_compute_v1_SubnetworksSetPrivateIpGoogleAccessRequest_descriptor = - getDescriptor().getMessageTypes().get(1300); + getDescriptor().getMessageTypes().get(1338); internal_static_google_cloud_compute_v1_SubnetworksSetPrivateIpGoogleAccessRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SubnetworksSetPrivateIpGoogleAccessRequest_descriptor, @@ -36025,7 +37240,7 @@ private static void _clinit_autosplit_dinit_2() { "PrivateIpGoogleAccess", }); internal_static_google_cloud_compute_v1_Subsetting_descriptor = - getDescriptor().getMessageTypes().get(1301); + getDescriptor().getMessageTypes().get(1339); internal_static_google_cloud_compute_v1_Subsetting_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Subsetting_descriptor, @@ -36033,7 +37248,7 @@ private static void _clinit_autosplit_dinit_2() { "Policy", }); internal_static_google_cloud_compute_v1_SuspendInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1302); + getDescriptor().getMessageTypes().get(1340); internal_static_google_cloud_compute_v1_SuspendInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SuspendInstanceRequest_descriptor, @@ -36041,7 +37256,7 @@ private static void _clinit_autosplit_dinit_2() { "DiscardLocalSsd", "Instance", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_SwitchToCustomModeNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(1303); + getDescriptor().getMessageTypes().get(1341); internal_static_google_cloud_compute_v1_SwitchToCustomModeNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SwitchToCustomModeNetworkRequest_descriptor, @@ -36049,7 +37264,7 @@ private static void _clinit_autosplit_dinit_2() { "Network", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_TCPHealthCheck_descriptor = - getDescriptor().getMessageTypes().get(1304); + getDescriptor().getMessageTypes().get(1342); internal_static_google_cloud_compute_v1_TCPHealthCheck_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TCPHealthCheck_descriptor, @@ -36057,7 +37272,7 @@ private static void _clinit_autosplit_dinit_2() { "Port", "PortName", "PortSpecification", "ProxyHeader", "Request", "Response", }); internal_static_google_cloud_compute_v1_Tags_descriptor = - getDescriptor().getMessageTypes().get(1305); + getDescriptor().getMessageTypes().get(1343); internal_static_google_cloud_compute_v1_Tags_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Tags_descriptor, @@ -36065,7 +37280,7 @@ private static void _clinit_autosplit_dinit_2() { "Fingerprint", "Items", }); internal_static_google_cloud_compute_v1_TargetGrpcProxy_descriptor = - getDescriptor().getMessageTypes().get(1306); + getDescriptor().getMessageTypes().get(1344); internal_static_google_cloud_compute_v1_TargetGrpcProxy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetGrpcProxy_descriptor, @@ -36082,7 +37297,7 @@ private static void _clinit_autosplit_dinit_2() { "ValidateForProxyless", }); internal_static_google_cloud_compute_v1_TargetGrpcProxyList_descriptor = - getDescriptor().getMessageTypes().get(1307); + getDescriptor().getMessageTypes().get(1345); internal_static_google_cloud_compute_v1_TargetGrpcProxyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetGrpcProxyList_descriptor, @@ -36090,7 +37305,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_TargetHttpProxiesScopedList_descriptor = - getDescriptor().getMessageTypes().get(1308); + getDescriptor().getMessageTypes().get(1346); internal_static_google_cloud_compute_v1_TargetHttpProxiesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpProxiesScopedList_descriptor, @@ -36098,7 +37313,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetHttpProxies", "Warning", }); internal_static_google_cloud_compute_v1_TargetHttpProxy_descriptor = - getDescriptor().getMessageTypes().get(1309); + getDescriptor().getMessageTypes().get(1347); internal_static_google_cloud_compute_v1_TargetHttpProxy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpProxy_descriptor, @@ -36116,7 +37331,7 @@ private static void _clinit_autosplit_dinit_2() { "UrlMap", }); internal_static_google_cloud_compute_v1_TargetHttpProxyAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1310); + getDescriptor().getMessageTypes().get(1348); internal_static_google_cloud_compute_v1_TargetHttpProxyAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpProxyAggregatedList_descriptor, @@ -36134,7 +37349,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetHttpProxyList_descriptor = - getDescriptor().getMessageTypes().get(1311); + getDescriptor().getMessageTypes().get(1349); internal_static_google_cloud_compute_v1_TargetHttpProxyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpProxyList_descriptor, @@ -36142,7 +37357,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_TargetHttpsProxiesScopedList_descriptor = - getDescriptor().getMessageTypes().get(1312); + getDescriptor().getMessageTypes().get(1350); internal_static_google_cloud_compute_v1_TargetHttpsProxiesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxiesScopedList_descriptor, @@ -36150,7 +37365,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetHttpsProxies", "Warning", }); internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetCertificateMapRequest_descriptor = - getDescriptor().getMessageTypes().get(1313); + getDescriptor().getMessageTypes().get(1351); internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetCertificateMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetCertificateMapRequest_descriptor, @@ -36158,7 +37373,7 @@ private static void _clinit_autosplit_dinit_2() { "CertificateMap", }); internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetQuicOverrideRequest_descriptor = - getDescriptor().getMessageTypes().get(1314); + getDescriptor().getMessageTypes().get(1352); internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetQuicOverrideRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetQuicOverrideRequest_descriptor, @@ -36166,7 +37381,7 @@ private static void _clinit_autosplit_dinit_2() { "QuicOverride", }); internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetSslCertificatesRequest_descriptor = - getDescriptor().getMessageTypes().get(1315); + getDescriptor().getMessageTypes().get(1353); internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetSslCertificatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetSslCertificatesRequest_descriptor, @@ -36174,7 +37389,7 @@ private static void _clinit_autosplit_dinit_2() { "SslCertificates", }); internal_static_google_cloud_compute_v1_TargetHttpsProxy_descriptor = - getDescriptor().getMessageTypes().get(1316); + getDescriptor().getMessageTypes().get(1354); internal_static_google_cloud_compute_v1_TargetHttpsProxy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxy_descriptor, @@ -36198,7 +37413,7 @@ private static void _clinit_autosplit_dinit_2() { "UrlMap", }); internal_static_google_cloud_compute_v1_TargetHttpsProxyAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1317); + getDescriptor().getMessageTypes().get(1355); internal_static_google_cloud_compute_v1_TargetHttpsProxyAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxyAggregatedList_descriptor, @@ -36216,7 +37431,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetHttpsProxyList_descriptor = - getDescriptor().getMessageTypes().get(1318); + getDescriptor().getMessageTypes().get(1356); internal_static_google_cloud_compute_v1_TargetHttpsProxyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxyList_descriptor, @@ -36224,7 +37439,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_TargetInstance_descriptor = - getDescriptor().getMessageTypes().get(1319); + getDescriptor().getMessageTypes().get(1357); internal_static_google_cloud_compute_v1_TargetInstance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetInstance_descriptor, @@ -36242,7 +37457,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_TargetInstanceAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1320); + getDescriptor().getMessageTypes().get(1358); internal_static_google_cloud_compute_v1_TargetInstanceAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetInstanceAggregatedList_descriptor, @@ -36260,7 +37475,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetInstanceList_descriptor = - getDescriptor().getMessageTypes().get(1321); + getDescriptor().getMessageTypes().get(1359); internal_static_google_cloud_compute_v1_TargetInstanceList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetInstanceList_descriptor, @@ -36268,7 +37483,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_TargetInstancesScopedList_descriptor = - getDescriptor().getMessageTypes().get(1322); + getDescriptor().getMessageTypes().get(1360); internal_static_google_cloud_compute_v1_TargetInstancesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetInstancesScopedList_descriptor, @@ -36276,7 +37491,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetInstances", "Warning", }); internal_static_google_cloud_compute_v1_TargetPool_descriptor = - getDescriptor().getMessageTypes().get(1323); + getDescriptor().getMessageTypes().get(1361); internal_static_google_cloud_compute_v1_TargetPool_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPool_descriptor, @@ -36295,8 +37510,12 @@ private static void _clinit_autosplit_dinit_2() { "SelfLink", "SessionAffinity", }); + _clinit_autosplit_dinit_3(); + } + + private static void _clinit_autosplit_dinit_3() { internal_static_google_cloud_compute_v1_TargetPoolAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1324); + getDescriptor().getMessageTypes().get(1362); internal_static_google_cloud_compute_v1_TargetPoolAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolAggregatedList_descriptor, @@ -36314,7 +37533,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetPoolInstanceHealth_descriptor = - getDescriptor().getMessageTypes().get(1325); + getDescriptor().getMessageTypes().get(1363); internal_static_google_cloud_compute_v1_TargetPoolInstanceHealth_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolInstanceHealth_descriptor, @@ -36322,7 +37541,7 @@ private static void _clinit_autosplit_dinit_2() { "HealthStatus", "Kind", }); internal_static_google_cloud_compute_v1_TargetPoolList_descriptor = - getDescriptor().getMessageTypes().get(1326); + getDescriptor().getMessageTypes().get(1364); internal_static_google_cloud_compute_v1_TargetPoolList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolList_descriptor, @@ -36330,7 +37549,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_TargetPoolsAddHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(1327); + getDescriptor().getMessageTypes().get(1365); internal_static_google_cloud_compute_v1_TargetPoolsAddHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolsAddHealthCheckRequest_descriptor, @@ -36338,7 +37557,7 @@ private static void _clinit_autosplit_dinit_2() { "HealthChecks", }); internal_static_google_cloud_compute_v1_TargetPoolsAddInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1328); + getDescriptor().getMessageTypes().get(1366); internal_static_google_cloud_compute_v1_TargetPoolsAddInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolsAddInstanceRequest_descriptor, @@ -36346,7 +37565,7 @@ private static void _clinit_autosplit_dinit_2() { "Instances", }); internal_static_google_cloud_compute_v1_TargetPoolsRemoveHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(1329); + getDescriptor().getMessageTypes().get(1367); internal_static_google_cloud_compute_v1_TargetPoolsRemoveHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolsRemoveHealthCheckRequest_descriptor, @@ -36354,7 +37573,7 @@ private static void _clinit_autosplit_dinit_2() { "HealthChecks", }); internal_static_google_cloud_compute_v1_TargetPoolsRemoveInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1330); + getDescriptor().getMessageTypes().get(1368); internal_static_google_cloud_compute_v1_TargetPoolsRemoveInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolsRemoveInstanceRequest_descriptor, @@ -36362,7 +37581,7 @@ private static void _clinit_autosplit_dinit_2() { "Instances", }); internal_static_google_cloud_compute_v1_TargetPoolsScopedList_descriptor = - getDescriptor().getMessageTypes().get(1331); + getDescriptor().getMessageTypes().get(1369); internal_static_google_cloud_compute_v1_TargetPoolsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolsScopedList_descriptor, @@ -36370,7 +37589,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetPools", "Warning", }); internal_static_google_cloud_compute_v1_TargetReference_descriptor = - getDescriptor().getMessageTypes().get(1332); + getDescriptor().getMessageTypes().get(1370); internal_static_google_cloud_compute_v1_TargetReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetReference_descriptor, @@ -36378,7 +37597,7 @@ private static void _clinit_autosplit_dinit_2() { "Target", }); internal_static_google_cloud_compute_v1_TargetSslProxiesSetBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1333); + getDescriptor().getMessageTypes().get(1371); internal_static_google_cloud_compute_v1_TargetSslProxiesSetBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetSslProxiesSetBackendServiceRequest_descriptor, @@ -36386,7 +37605,7 @@ private static void _clinit_autosplit_dinit_2() { "Service", }); internal_static_google_cloud_compute_v1_TargetSslProxiesSetCertificateMapRequest_descriptor = - getDescriptor().getMessageTypes().get(1334); + getDescriptor().getMessageTypes().get(1372); internal_static_google_cloud_compute_v1_TargetSslProxiesSetCertificateMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetSslProxiesSetCertificateMapRequest_descriptor, @@ -36394,7 +37613,7 @@ private static void _clinit_autosplit_dinit_2() { "CertificateMap", }); internal_static_google_cloud_compute_v1_TargetSslProxiesSetProxyHeaderRequest_descriptor = - getDescriptor().getMessageTypes().get(1335); + getDescriptor().getMessageTypes().get(1373); internal_static_google_cloud_compute_v1_TargetSslProxiesSetProxyHeaderRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetSslProxiesSetProxyHeaderRequest_descriptor, @@ -36402,7 +37621,7 @@ private static void _clinit_autosplit_dinit_2() { "ProxyHeader", }); internal_static_google_cloud_compute_v1_TargetSslProxiesSetSslCertificatesRequest_descriptor = - getDescriptor().getMessageTypes().get(1336); + getDescriptor().getMessageTypes().get(1374); internal_static_google_cloud_compute_v1_TargetSslProxiesSetSslCertificatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetSslProxiesSetSslCertificatesRequest_descriptor, @@ -36410,7 +37629,7 @@ private static void _clinit_autosplit_dinit_2() { "SslCertificates", }); internal_static_google_cloud_compute_v1_TargetSslProxy_descriptor = - getDescriptor().getMessageTypes().get(1337); + getDescriptor().getMessageTypes().get(1375); internal_static_google_cloud_compute_v1_TargetSslProxy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetSslProxy_descriptor, @@ -36428,7 +37647,7 @@ private static void _clinit_autosplit_dinit_2() { "SslPolicy", }); internal_static_google_cloud_compute_v1_TargetSslProxyList_descriptor = - getDescriptor().getMessageTypes().get(1338); + getDescriptor().getMessageTypes().get(1376); internal_static_google_cloud_compute_v1_TargetSslProxyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetSslProxyList_descriptor, @@ -36436,7 +37655,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_TargetTcpProxiesScopedList_descriptor = - getDescriptor().getMessageTypes().get(1339); + getDescriptor().getMessageTypes().get(1377); internal_static_google_cloud_compute_v1_TargetTcpProxiesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetTcpProxiesScopedList_descriptor, @@ -36444,7 +37663,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetTcpProxies", "Warning", }); internal_static_google_cloud_compute_v1_TargetTcpProxiesSetBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1340); + getDescriptor().getMessageTypes().get(1378); internal_static_google_cloud_compute_v1_TargetTcpProxiesSetBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetTcpProxiesSetBackendServiceRequest_descriptor, @@ -36452,7 +37671,7 @@ private static void _clinit_autosplit_dinit_2() { "Service", }); internal_static_google_cloud_compute_v1_TargetTcpProxiesSetProxyHeaderRequest_descriptor = - getDescriptor().getMessageTypes().get(1341); + getDescriptor().getMessageTypes().get(1379); internal_static_google_cloud_compute_v1_TargetTcpProxiesSetProxyHeaderRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetTcpProxiesSetProxyHeaderRequest_descriptor, @@ -36460,7 +37679,7 @@ private static void _clinit_autosplit_dinit_2() { "ProxyHeader", }); internal_static_google_cloud_compute_v1_TargetTcpProxy_descriptor = - getDescriptor().getMessageTypes().get(1342); + getDescriptor().getMessageTypes().get(1380); internal_static_google_cloud_compute_v1_TargetTcpProxy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetTcpProxy_descriptor, @@ -36477,7 +37696,7 @@ private static void _clinit_autosplit_dinit_2() { "Service", }); internal_static_google_cloud_compute_v1_TargetTcpProxyAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1343); + getDescriptor().getMessageTypes().get(1381); internal_static_google_cloud_compute_v1_TargetTcpProxyAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetTcpProxyAggregatedList_descriptor, @@ -36495,7 +37714,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetTcpProxyList_descriptor = - getDescriptor().getMessageTypes().get(1344); + getDescriptor().getMessageTypes().get(1382); internal_static_google_cloud_compute_v1_TargetTcpProxyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetTcpProxyList_descriptor, @@ -36503,7 +37722,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_TargetVpnGateway_descriptor = - getDescriptor().getMessageTypes().get(1345); + getDescriptor().getMessageTypes().get(1383); internal_static_google_cloud_compute_v1_TargetVpnGateway_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetVpnGateway_descriptor, @@ -36531,7 +37750,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetVpnGatewayAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1346); + getDescriptor().getMessageTypes().get(1384); internal_static_google_cloud_compute_v1_TargetVpnGatewayAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetVpnGatewayAggregatedList_descriptor, @@ -36549,7 +37768,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetVpnGatewayList_descriptor = - getDescriptor().getMessageTypes().get(1347); + getDescriptor().getMessageTypes().get(1385); internal_static_google_cloud_compute_v1_TargetVpnGatewayList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetVpnGatewayList_descriptor, @@ -36557,7 +37776,7 @@ private static void _clinit_autosplit_dinit_2() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_TargetVpnGatewaysScopedList_descriptor = - getDescriptor().getMessageTypes().get(1348); + getDescriptor().getMessageTypes().get(1386); internal_static_google_cloud_compute_v1_TargetVpnGatewaysScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetVpnGatewaysScopedList_descriptor, @@ -36565,7 +37784,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetVpnGateways", "Warning", }); internal_static_google_cloud_compute_v1_TestFailure_descriptor = - getDescriptor().getMessageTypes().get(1349); + getDescriptor().getMessageTypes().get(1387); internal_static_google_cloud_compute_v1_TestFailure_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestFailure_descriptor, @@ -36581,7 +37800,7 @@ private static void _clinit_autosplit_dinit_2() { "Path", }); internal_static_google_cloud_compute_v1_TestIamPermissionsBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(1350); + getDescriptor().getMessageTypes().get(1388); internal_static_google_cloud_compute_v1_TestIamPermissionsBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsBackendBucketRequest_descriptor, @@ -36589,7 +37808,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1351); + getDescriptor().getMessageTypes().get(1389); internal_static_google_cloud_compute_v1_TestIamPermissionsBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsBackendServiceRequest_descriptor, @@ -36597,7 +37816,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1352); + getDescriptor().getMessageTypes().get(1390); internal_static_google_cloud_compute_v1_TestIamPermissionsDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsDiskRequest_descriptor, @@ -36605,7 +37824,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsExternalVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(1353); + getDescriptor().getMessageTypes().get(1391); internal_static_google_cloud_compute_v1_TestIamPermissionsExternalVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsExternalVpnGatewayRequest_descriptor, @@ -36613,7 +37832,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1354); + getDescriptor().getMessageTypes().get(1392); internal_static_google_cloud_compute_v1_TestIamPermissionsFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsFirewallPolicyRequest_descriptor, @@ -36621,7 +37840,7 @@ private static void _clinit_autosplit_dinit_2() { "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsImageRequest_descriptor = - getDescriptor().getMessageTypes().get(1355); + getDescriptor().getMessageTypes().get(1393); internal_static_google_cloud_compute_v1_TestIamPermissionsImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsImageRequest_descriptor, @@ -36629,7 +37848,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1356); + getDescriptor().getMessageTypes().get(1394); internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceRequest_descriptor, @@ -36637,7 +37856,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(1357); + getDescriptor().getMessageTypes().get(1395); internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceTemplateRequest_descriptor, @@ -36645,7 +37864,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsInstantSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(1358); + getDescriptor().getMessageTypes().get(1396); internal_static_google_cloud_compute_v1_TestIamPermissionsInstantSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsInstantSnapshotRequest_descriptor, @@ -36653,7 +37872,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(1359); + getDescriptor().getMessageTypes().get(1397); internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseCodeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseCodeRequest_descriptor, @@ -36661,7 +37880,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseRequest_descriptor = - getDescriptor().getMessageTypes().get(1360); + getDescriptor().getMessageTypes().get(1398); internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseRequest_descriptor, @@ -36669,7 +37888,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsMachineImageRequest_descriptor = - getDescriptor().getMessageTypes().get(1361); + getDescriptor().getMessageTypes().get(1399); internal_static_google_cloud_compute_v1_TestIamPermissionsMachineImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsMachineImageRequest_descriptor, @@ -36677,7 +37896,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(1362); + getDescriptor().getMessageTypes().get(1400); internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkAttachmentRequest_descriptor, @@ -36685,7 +37904,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(1363); + getDescriptor().getMessageTypes().get(1401); internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkEndpointGroupRequest_descriptor, @@ -36693,7 +37912,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1364); + getDescriptor().getMessageTypes().get(1402); internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkFirewallPolicyRequest_descriptor, @@ -36701,7 +37920,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(1365); + getDescriptor().getMessageTypes().get(1403); internal_static_google_cloud_compute_v1_TestIamPermissionsNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsNodeGroupRequest_descriptor, @@ -36709,7 +37928,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsNodeTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(1366); + getDescriptor().getMessageTypes().get(1404); internal_static_google_cloud_compute_v1_TestIamPermissionsNodeTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsNodeTemplateRequest_descriptor, @@ -36717,7 +37936,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsPacketMirroringRequest_descriptor = - getDescriptor().getMessageTypes().get(1367); + getDescriptor().getMessageTypes().get(1405); internal_static_google_cloud_compute_v1_TestIamPermissionsPacketMirroringRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsPacketMirroringRequest_descriptor, @@ -36725,7 +37944,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1368); + getDescriptor().getMessageTypes().get(1406); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsRegionBackendServiceRequest_descriptor, @@ -36733,7 +37952,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1369); + getDescriptor().getMessageTypes().get(1407); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsRegionDiskRequest_descriptor, @@ -36741,7 +37960,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionInstantSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(1370); + getDescriptor().getMessageTypes().get(1408); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionInstantSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsRegionInstantSnapshotRequest_descriptor, @@ -36749,19 +37968,15 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNetworkFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1371); + getDescriptor().getMessageTypes().get(1409); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNetworkFirewallPolicyRequest_descriptor, new java.lang.String[] { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); - _clinit_autosplit_dinit_3(); - } - - private static void _clinit_autosplit_dinit_3() { internal_static_google_cloud_compute_v1_TestIamPermissionsReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(1372); + getDescriptor().getMessageTypes().get(1410); internal_static_google_cloud_compute_v1_TestIamPermissionsReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsReservationRequest_descriptor, @@ -36769,7 +37984,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsResourcePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1373); + getDescriptor().getMessageTypes().get(1411); internal_static_google_cloud_compute_v1_TestIamPermissionsResourcePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsResourcePolicyRequest_descriptor, @@ -36777,7 +37992,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsServiceAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(1374); + getDescriptor().getMessageTypes().get(1412); internal_static_google_cloud_compute_v1_TestIamPermissionsServiceAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsServiceAttachmentRequest_descriptor, @@ -36785,15 +38000,23 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(1375); + getDescriptor().getMessageTypes().get(1413); internal_static_google_cloud_compute_v1_TestIamPermissionsSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsSnapshotRequest_descriptor, new java.lang.String[] { "Project", "Resource", "TestPermissionsRequestResource", }); + internal_static_google_cloud_compute_v1_TestIamPermissionsStoragePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(1414); + internal_static_google_cloud_compute_v1_TestIamPermissionsStoragePoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_TestIamPermissionsStoragePoolRequest_descriptor, + new java.lang.String[] { + "Project", "Resource", "TestPermissionsRequestResource", "Zone", + }); internal_static_google_cloud_compute_v1_TestIamPermissionsSubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(1376); + getDescriptor().getMessageTypes().get(1415); internal_static_google_cloud_compute_v1_TestIamPermissionsSubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsSubnetworkRequest_descriptor, @@ -36801,7 +38024,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(1377); + getDescriptor().getMessageTypes().get(1416); internal_static_google_cloud_compute_v1_TestIamPermissionsVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsVpnGatewayRequest_descriptor, @@ -36809,7 +38032,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestPermissionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1378); + getDescriptor().getMessageTypes().get(1417); internal_static_google_cloud_compute_v1_TestPermissionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestPermissionsRequest_descriptor, @@ -36817,7 +38040,7 @@ private static void _clinit_autosplit_dinit_3() { "Permissions", }); internal_static_google_cloud_compute_v1_TestPermissionsResponse_descriptor = - getDescriptor().getMessageTypes().get(1379); + getDescriptor().getMessageTypes().get(1418); internal_static_google_cloud_compute_v1_TestPermissionsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestPermissionsResponse_descriptor, @@ -36825,7 +38048,7 @@ private static void _clinit_autosplit_dinit_3() { "Permissions", }); internal_static_google_cloud_compute_v1_Uint128_descriptor = - getDescriptor().getMessageTypes().get(1380); + getDescriptor().getMessageTypes().get(1419); internal_static_google_cloud_compute_v1_Uint128_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Uint128_descriptor, @@ -36833,7 +38056,7 @@ private static void _clinit_autosplit_dinit_3() { "High", "Low", }); internal_static_google_cloud_compute_v1_UpcomingMaintenance_descriptor = - getDescriptor().getMessageTypes().get(1381); + getDescriptor().getMessageTypes().get(1420); internal_static_google_cloud_compute_v1_UpcomingMaintenance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpcomingMaintenance_descriptor, @@ -36846,7 +38069,7 @@ private static void _clinit_autosplit_dinit_3() { "WindowStartTime", }); internal_static_google_cloud_compute_v1_UpdateAccessConfigInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1382); + getDescriptor().getMessageTypes().get(1421); internal_static_google_cloud_compute_v1_UpdateAccessConfigInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateAccessConfigInstanceRequest_descriptor, @@ -36859,7 +38082,7 @@ private static void _clinit_autosplit_dinit_3() { "Zone", }); internal_static_google_cloud_compute_v1_UpdateAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(1383); + getDescriptor().getMessageTypes().get(1422); internal_static_google_cloud_compute_v1_UpdateAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateAutoscalerRequest_descriptor, @@ -36867,7 +38090,7 @@ private static void _clinit_autosplit_dinit_3() { "Autoscaler", "AutoscalerResource", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_UpdateBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(1384); + getDescriptor().getMessageTypes().get(1423); internal_static_google_cloud_compute_v1_UpdateBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateBackendBucketRequest_descriptor, @@ -36875,7 +38098,7 @@ private static void _clinit_autosplit_dinit_3() { "BackendBucket", "BackendBucketResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1385); + getDescriptor().getMessageTypes().get(1424); internal_static_google_cloud_compute_v1_UpdateBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateBackendServiceRequest_descriptor, @@ -36883,7 +38106,7 @@ private static void _clinit_autosplit_dinit_3() { "BackendService", "BackendServiceResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1386); + getDescriptor().getMessageTypes().get(1425); internal_static_google_cloud_compute_v1_UpdateDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateDiskRequest_descriptor, @@ -36891,7 +38114,7 @@ private static void _clinit_autosplit_dinit_3() { "Disk", "DiskResource", "Paths", "Project", "RequestId", "UpdateMask", "Zone", }); internal_static_google_cloud_compute_v1_UpdateDisplayDeviceInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1387); + getDescriptor().getMessageTypes().get(1426); internal_static_google_cloud_compute_v1_UpdateDisplayDeviceInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateDisplayDeviceInstanceRequest_descriptor, @@ -36899,7 +38122,7 @@ private static void _clinit_autosplit_dinit_3() { "DisplayDeviceResource", "Instance", "Project", "RequestId", "Zone", }); internal_static_google_cloud_compute_v1_UpdateFirewallRequest_descriptor = - getDescriptor().getMessageTypes().get(1388); + getDescriptor().getMessageTypes().get(1427); internal_static_google_cloud_compute_v1_UpdateFirewallRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateFirewallRequest_descriptor, @@ -36907,7 +38130,7 @@ private static void _clinit_autosplit_dinit_3() { "Firewall", "FirewallResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(1389); + getDescriptor().getMessageTypes().get(1428); internal_static_google_cloud_compute_v1_UpdateHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateHealthCheckRequest_descriptor, @@ -36915,7 +38138,7 @@ private static void _clinit_autosplit_dinit_3() { "HealthCheck", "HealthCheckResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1390); + getDescriptor().getMessageTypes().get(1429); internal_static_google_cloud_compute_v1_UpdateInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateInstanceRequest_descriptor, @@ -36929,7 +38152,7 @@ private static void _clinit_autosplit_dinit_3() { "Zone", }); internal_static_google_cloud_compute_v1_UpdateNetworkInterfaceInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1391); + getDescriptor().getMessageTypes().get(1430); internal_static_google_cloud_compute_v1_UpdateNetworkInterfaceInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateNetworkInterfaceInstanceRequest_descriptor, @@ -36942,7 +38165,7 @@ private static void _clinit_autosplit_dinit_3() { "Zone", }); internal_static_google_cloud_compute_v1_UpdatePeeringNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(1392); + getDescriptor().getMessageTypes().get(1431); internal_static_google_cloud_compute_v1_UpdatePeeringNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdatePeeringNetworkRequest_descriptor, @@ -36950,7 +38173,7 @@ private static void _clinit_autosplit_dinit_3() { "Network", "NetworksUpdatePeeringRequestResource", "Project", "RequestId", }); internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(1393); + getDescriptor().getMessageTypes().get(1432); internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsInstanceGroupManagerRequest_descriptor, @@ -36962,7 +38185,7 @@ private static void _clinit_autosplit_dinit_3() { "Zone", }); internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(1394); + getDescriptor().getMessageTypes().get(1433); internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest_descriptor, @@ -36974,7 +38197,7 @@ private static void _clinit_autosplit_dinit_3() { "RequestId", }); internal_static_google_cloud_compute_v1_UpdateRegionAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(1395); + getDescriptor().getMessageTypes().get(1434); internal_static_google_cloud_compute_v1_UpdateRegionAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRegionAutoscalerRequest_descriptor, @@ -36982,7 +38205,7 @@ private static void _clinit_autosplit_dinit_3() { "Autoscaler", "AutoscalerResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateRegionBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1396); + getDescriptor().getMessageTypes().get(1435); internal_static_google_cloud_compute_v1_UpdateRegionBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRegionBackendServiceRequest_descriptor, @@ -36990,7 +38213,7 @@ private static void _clinit_autosplit_dinit_3() { "BackendService", "BackendServiceResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateRegionCommitmentRequest_descriptor = - getDescriptor().getMessageTypes().get(1397); + getDescriptor().getMessageTypes().get(1436); internal_static_google_cloud_compute_v1_UpdateRegionCommitmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRegionCommitmentRequest_descriptor, @@ -37004,7 +38227,7 @@ private static void _clinit_autosplit_dinit_3() { "UpdateMask", }); internal_static_google_cloud_compute_v1_UpdateRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1398); + getDescriptor().getMessageTypes().get(1437); internal_static_google_cloud_compute_v1_UpdateRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRegionDiskRequest_descriptor, @@ -37012,7 +38235,7 @@ private static void _clinit_autosplit_dinit_3() { "Disk", "DiskResource", "Paths", "Project", "Region", "RequestId", "UpdateMask", }); internal_static_google_cloud_compute_v1_UpdateRegionHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(1399); + getDescriptor().getMessageTypes().get(1438); internal_static_google_cloud_compute_v1_UpdateRegionHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRegionHealthCheckRequest_descriptor, @@ -37020,7 +38243,7 @@ private static void _clinit_autosplit_dinit_3() { "HealthCheck", "HealthCheckResource", "Project", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateRegionUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(1400); + getDescriptor().getMessageTypes().get(1439); internal_static_google_cloud_compute_v1_UpdateRegionUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRegionUrlMapRequest_descriptor, @@ -37028,7 +38251,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "RequestId", "UrlMap", "UrlMapResource", }); internal_static_google_cloud_compute_v1_UpdateReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(1401); + getDescriptor().getMessageTypes().get(1440); internal_static_google_cloud_compute_v1_UpdateReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateReservationRequest_descriptor, @@ -37042,7 +38265,7 @@ private static void _clinit_autosplit_dinit_3() { "Zone", }); internal_static_google_cloud_compute_v1_UpdateRouterRequest_descriptor = - getDescriptor().getMessageTypes().get(1402); + getDescriptor().getMessageTypes().get(1441); internal_static_google_cloud_compute_v1_UpdateRouterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRouterRequest_descriptor, @@ -37050,15 +38273,23 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "RequestId", "Router", "RouterResource", }); internal_static_google_cloud_compute_v1_UpdateShieldedInstanceConfigInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1403); + getDescriptor().getMessageTypes().get(1442); internal_static_google_cloud_compute_v1_UpdateShieldedInstanceConfigInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateShieldedInstanceConfigInstanceRequest_descriptor, new java.lang.String[] { "Instance", "Project", "RequestId", "ShieldedInstanceConfigResource", "Zone", }); + internal_static_google_cloud_compute_v1_UpdateStoragePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(1443); + internal_static_google_cloud_compute_v1_UpdateStoragePoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_UpdateStoragePoolRequest_descriptor, + new java.lang.String[] { + "Project", "RequestId", "StoragePool", "StoragePoolResource", "UpdateMask", "Zone", + }); internal_static_google_cloud_compute_v1_UpdateUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(1404); + getDescriptor().getMessageTypes().get(1444); internal_static_google_cloud_compute_v1_UpdateUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateUrlMapRequest_descriptor, @@ -37066,7 +38297,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "RequestId", "UrlMap", "UrlMapResource", }); internal_static_google_cloud_compute_v1_UrlMap_descriptor = - getDescriptor().getMessageTypes().get(1405); + getDescriptor().getMessageTypes().get(1445); internal_static_google_cloud_compute_v1_UrlMap_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMap_descriptor, @@ -37088,7 +38319,7 @@ private static void _clinit_autosplit_dinit_3() { "Tests", }); internal_static_google_cloud_compute_v1_UrlMapList_descriptor = - getDescriptor().getMessageTypes().get(1406); + getDescriptor().getMessageTypes().get(1446); internal_static_google_cloud_compute_v1_UrlMapList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapList_descriptor, @@ -37096,7 +38327,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_UrlMapReference_descriptor = - getDescriptor().getMessageTypes().get(1407); + getDescriptor().getMessageTypes().get(1447); internal_static_google_cloud_compute_v1_UrlMapReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapReference_descriptor, @@ -37104,7 +38335,7 @@ private static void _clinit_autosplit_dinit_3() { "UrlMap", }); internal_static_google_cloud_compute_v1_UrlMapTest_descriptor = - getDescriptor().getMessageTypes().get(1408); + getDescriptor().getMessageTypes().get(1448); internal_static_google_cloud_compute_v1_UrlMapTest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapTest_descriptor, @@ -37118,7 +38349,7 @@ private static void _clinit_autosplit_dinit_3() { "Service", }); internal_static_google_cloud_compute_v1_UrlMapTestHeader_descriptor = - getDescriptor().getMessageTypes().get(1409); + getDescriptor().getMessageTypes().get(1449); internal_static_google_cloud_compute_v1_UrlMapTestHeader_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapTestHeader_descriptor, @@ -37126,7 +38357,7 @@ private static void _clinit_autosplit_dinit_3() { "Name", "Value", }); internal_static_google_cloud_compute_v1_UrlMapValidationResult_descriptor = - getDescriptor().getMessageTypes().get(1410); + getDescriptor().getMessageTypes().get(1450); internal_static_google_cloud_compute_v1_UrlMapValidationResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapValidationResult_descriptor, @@ -37134,7 +38365,7 @@ private static void _clinit_autosplit_dinit_3() { "LoadErrors", "LoadSucceeded", "TestFailures", "TestPassed", }); internal_static_google_cloud_compute_v1_UrlMapsAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1411); + getDescriptor().getMessageTypes().get(1451); internal_static_google_cloud_compute_v1_UrlMapsAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapsAggregatedList_descriptor, @@ -37152,7 +38383,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_UrlMapsScopedList_descriptor = - getDescriptor().getMessageTypes().get(1412); + getDescriptor().getMessageTypes().get(1452); internal_static_google_cloud_compute_v1_UrlMapsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapsScopedList_descriptor, @@ -37160,7 +38391,7 @@ private static void _clinit_autosplit_dinit_3() { "UrlMaps", "Warning", }); internal_static_google_cloud_compute_v1_UrlMapsValidateRequest_descriptor = - getDescriptor().getMessageTypes().get(1413); + getDescriptor().getMessageTypes().get(1453); internal_static_google_cloud_compute_v1_UrlMapsValidateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapsValidateRequest_descriptor, @@ -37168,7 +38399,7 @@ private static void _clinit_autosplit_dinit_3() { "LoadBalancingSchemes", "Resource", }); internal_static_google_cloud_compute_v1_UrlMapsValidateResponse_descriptor = - getDescriptor().getMessageTypes().get(1414); + getDescriptor().getMessageTypes().get(1454); internal_static_google_cloud_compute_v1_UrlMapsValidateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapsValidateResponse_descriptor, @@ -37176,7 +38407,7 @@ private static void _clinit_autosplit_dinit_3() { "Result", }); internal_static_google_cloud_compute_v1_UrlRewrite_descriptor = - getDescriptor().getMessageTypes().get(1415); + getDescriptor().getMessageTypes().get(1455); internal_static_google_cloud_compute_v1_UrlRewrite_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlRewrite_descriptor, @@ -37184,7 +38415,7 @@ private static void _clinit_autosplit_dinit_3() { "HostRewrite", "PathPrefixRewrite", "PathTemplateRewrite", }); internal_static_google_cloud_compute_v1_UsableSubnetwork_descriptor = - getDescriptor().getMessageTypes().get(1416); + getDescriptor().getMessageTypes().get(1456); internal_static_google_cloud_compute_v1_UsableSubnetwork_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UsableSubnetwork_descriptor, @@ -37201,7 +38432,7 @@ private static void _clinit_autosplit_dinit_3() { "Subnetwork", }); internal_static_google_cloud_compute_v1_UsableSubnetworkSecondaryRange_descriptor = - getDescriptor().getMessageTypes().get(1417); + getDescriptor().getMessageTypes().get(1457); internal_static_google_cloud_compute_v1_UsableSubnetworkSecondaryRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UsableSubnetworkSecondaryRange_descriptor, @@ -37209,7 +38440,7 @@ private static void _clinit_autosplit_dinit_3() { "IpCidrRange", "RangeName", }); internal_static_google_cloud_compute_v1_UsableSubnetworksAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1418); + getDescriptor().getMessageTypes().get(1458); internal_static_google_cloud_compute_v1_UsableSubnetworksAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UsableSubnetworksAggregatedList_descriptor, @@ -37217,7 +38448,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_UsageExportLocation_descriptor = - getDescriptor().getMessageTypes().get(1419); + getDescriptor().getMessageTypes().get(1459); internal_static_google_cloud_compute_v1_UsageExportLocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UsageExportLocation_descriptor, @@ -37225,7 +38456,7 @@ private static void _clinit_autosplit_dinit_3() { "BucketName", "ReportNamePrefix", }); internal_static_google_cloud_compute_v1_ValidateRegionUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(1420); + getDescriptor().getMessageTypes().get(1460); internal_static_google_cloud_compute_v1_ValidateRegionUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ValidateRegionUrlMapRequest_descriptor, @@ -37233,7 +38464,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "RegionUrlMapsValidateRequestResource", "UrlMap", }); internal_static_google_cloud_compute_v1_ValidateUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(1421); + getDescriptor().getMessageTypes().get(1461); internal_static_google_cloud_compute_v1_ValidateUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ValidateUrlMapRequest_descriptor, @@ -37241,7 +38472,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "UrlMap", "UrlMapsValidateRequestResource", }); internal_static_google_cloud_compute_v1_VmEndpointNatMappings_descriptor = - getDescriptor().getMessageTypes().get(1422); + getDescriptor().getMessageTypes().get(1462); internal_static_google_cloud_compute_v1_VmEndpointNatMappings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VmEndpointNatMappings_descriptor, @@ -37249,7 +38480,7 @@ private static void _clinit_autosplit_dinit_3() { "InstanceName", "InterfaceNatMappings", }); internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappings_descriptor = - getDescriptor().getMessageTypes().get(1423); + getDescriptor().getMessageTypes().get(1463); internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappings_descriptor, @@ -37263,7 +38494,7 @@ private static void _clinit_autosplit_dinit_3() { "SourceVirtualIp", }); internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings_descriptor = - getDescriptor().getMessageTypes().get(1424); + getDescriptor().getMessageTypes().get(1464); internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings_descriptor, @@ -37275,7 +38506,7 @@ private static void _clinit_autosplit_dinit_3() { "RuleNumber", }); internal_static_google_cloud_compute_v1_VmEndpointNatMappingsList_descriptor = - getDescriptor().getMessageTypes().get(1425); + getDescriptor().getMessageTypes().get(1465); internal_static_google_cloud_compute_v1_VmEndpointNatMappingsList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VmEndpointNatMappingsList_descriptor, @@ -37283,7 +38514,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Kind", "NextPageToken", "Result", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_VpnGateway_descriptor = - getDescriptor().getMessageTypes().get(1426); + getDescriptor().getMessageTypes().get(1466); internal_static_google_cloud_compute_v1_VpnGateway_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGateway_descriptor, @@ -37311,7 +38542,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_VpnGatewayAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1427); + getDescriptor().getMessageTypes().get(1467); internal_static_google_cloud_compute_v1_VpnGatewayAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayAggregatedList_descriptor, @@ -37329,7 +38560,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_VpnGatewayList_descriptor = - getDescriptor().getMessageTypes().get(1428); + getDescriptor().getMessageTypes().get(1468); internal_static_google_cloud_compute_v1_VpnGatewayList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayList_descriptor, @@ -37337,7 +38568,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_VpnGatewayStatus_descriptor = - getDescriptor().getMessageTypes().get(1429); + getDescriptor().getMessageTypes().get(1469); internal_static_google_cloud_compute_v1_VpnGatewayStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayStatus_descriptor, @@ -37345,7 +38576,7 @@ private static void _clinit_autosplit_dinit_3() { "VpnConnections", }); internal_static_google_cloud_compute_v1_VpnGatewayStatusHighAvailabilityRequirementState_descriptor = - getDescriptor().getMessageTypes().get(1430); + getDescriptor().getMessageTypes().get(1470); internal_static_google_cloud_compute_v1_VpnGatewayStatusHighAvailabilityRequirementState_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayStatusHighAvailabilityRequirementState_descriptor, @@ -37353,7 +38584,7 @@ private static void _clinit_autosplit_dinit_3() { "State", "UnsatisfiedReason", }); internal_static_google_cloud_compute_v1_VpnGatewayStatusTunnel_descriptor = - getDescriptor().getMessageTypes().get(1431); + getDescriptor().getMessageTypes().get(1471); internal_static_google_cloud_compute_v1_VpnGatewayStatusTunnel_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayStatusTunnel_descriptor, @@ -37361,7 +38592,7 @@ private static void _clinit_autosplit_dinit_3() { "LocalGatewayInterface", "PeerGatewayInterface", "TunnelUrl", }); internal_static_google_cloud_compute_v1_VpnGatewayStatusVpnConnection_descriptor = - getDescriptor().getMessageTypes().get(1432); + getDescriptor().getMessageTypes().get(1472); internal_static_google_cloud_compute_v1_VpnGatewayStatusVpnConnection_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayStatusVpnConnection_descriptor, @@ -37369,7 +38600,7 @@ private static void _clinit_autosplit_dinit_3() { "PeerExternalGateway", "PeerGcpGateway", "State", "Tunnels", }); internal_static_google_cloud_compute_v1_VpnGatewayVpnGatewayInterface_descriptor = - getDescriptor().getMessageTypes().get(1433); + getDescriptor().getMessageTypes().get(1473); internal_static_google_cloud_compute_v1_VpnGatewayVpnGatewayInterface_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayVpnGatewayInterface_descriptor, @@ -37377,7 +38608,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "InterconnectAttachment", "IpAddress", "Ipv6Address", }); internal_static_google_cloud_compute_v1_VpnGatewaysGetStatusResponse_descriptor = - getDescriptor().getMessageTypes().get(1434); + getDescriptor().getMessageTypes().get(1474); internal_static_google_cloud_compute_v1_VpnGatewaysGetStatusResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewaysGetStatusResponse_descriptor, @@ -37385,7 +38616,7 @@ private static void _clinit_autosplit_dinit_3() { "Result", }); internal_static_google_cloud_compute_v1_VpnGatewaysScopedList_descriptor = - getDescriptor().getMessageTypes().get(1435); + getDescriptor().getMessageTypes().get(1475); internal_static_google_cloud_compute_v1_VpnGatewaysScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewaysScopedList_descriptor, @@ -37393,7 +38624,7 @@ private static void _clinit_autosplit_dinit_3() { "VpnGateways", "Warning", }); internal_static_google_cloud_compute_v1_VpnTunnel_descriptor = - getDescriptor().getMessageTypes().get(1436); + getDescriptor().getMessageTypes().get(1476); internal_static_google_cloud_compute_v1_VpnTunnel_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnTunnel_descriptor, @@ -37432,7 +38663,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_VpnTunnelAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1437); + getDescriptor().getMessageTypes().get(1477); internal_static_google_cloud_compute_v1_VpnTunnelAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnTunnelAggregatedList_descriptor, @@ -37450,7 +38681,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_VpnTunnelList_descriptor = - getDescriptor().getMessageTypes().get(1438); + getDescriptor().getMessageTypes().get(1478); internal_static_google_cloud_compute_v1_VpnTunnelList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnTunnelList_descriptor, @@ -37458,7 +38689,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_VpnTunnelsScopedList_descriptor = - getDescriptor().getMessageTypes().get(1439); + getDescriptor().getMessageTypes().get(1479); internal_static_google_cloud_compute_v1_VpnTunnelsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnTunnelsScopedList_descriptor, @@ -37466,7 +38697,7 @@ private static void _clinit_autosplit_dinit_3() { "VpnTunnels", "Warning", }); internal_static_google_cloud_compute_v1_WafExpressionSet_descriptor = - getDescriptor().getMessageTypes().get(1440); + getDescriptor().getMessageTypes().get(1480); internal_static_google_cloud_compute_v1_WafExpressionSet_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WafExpressionSet_descriptor, @@ -37474,7 +38705,7 @@ private static void _clinit_autosplit_dinit_3() { "Aliases", "Expressions", "Id", }); internal_static_google_cloud_compute_v1_WafExpressionSetExpression_descriptor = - getDescriptor().getMessageTypes().get(1441); + getDescriptor().getMessageTypes().get(1481); internal_static_google_cloud_compute_v1_WafExpressionSetExpression_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WafExpressionSetExpression_descriptor, @@ -37482,7 +38713,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Sensitivity", }); internal_static_google_cloud_compute_v1_WaitGlobalOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(1442); + getDescriptor().getMessageTypes().get(1482); internal_static_google_cloud_compute_v1_WaitGlobalOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WaitGlobalOperationRequest_descriptor, @@ -37490,7 +38721,7 @@ private static void _clinit_autosplit_dinit_3() { "Operation", "Project", }); internal_static_google_cloud_compute_v1_WaitRegionOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(1443); + getDescriptor().getMessageTypes().get(1483); internal_static_google_cloud_compute_v1_WaitRegionOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WaitRegionOperationRequest_descriptor, @@ -37498,7 +38729,7 @@ private static void _clinit_autosplit_dinit_3() { "Operation", "Project", "Region", }); internal_static_google_cloud_compute_v1_WaitZoneOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(1444); + getDescriptor().getMessageTypes().get(1484); internal_static_google_cloud_compute_v1_WaitZoneOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WaitZoneOperationRequest_descriptor, @@ -37506,7 +38737,7 @@ private static void _clinit_autosplit_dinit_3() { "Operation", "Project", "Zone", }); internal_static_google_cloud_compute_v1_Warning_descriptor = - getDescriptor().getMessageTypes().get(1445); + getDescriptor().getMessageTypes().get(1485); internal_static_google_cloud_compute_v1_Warning_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Warning_descriptor, @@ -37514,7 +38745,7 @@ private static void _clinit_autosplit_dinit_3() { "Code", "Data", "Message", }); internal_static_google_cloud_compute_v1_Warnings_descriptor = - getDescriptor().getMessageTypes().get(1446); + getDescriptor().getMessageTypes().get(1486); internal_static_google_cloud_compute_v1_Warnings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Warnings_descriptor, @@ -37522,7 +38753,7 @@ private static void _clinit_autosplit_dinit_3() { "Code", "Data", "Message", }); internal_static_google_cloud_compute_v1_WeightedBackendService_descriptor = - getDescriptor().getMessageTypes().get(1447); + getDescriptor().getMessageTypes().get(1487); internal_static_google_cloud_compute_v1_WeightedBackendService_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WeightedBackendService_descriptor, @@ -37530,7 +38761,7 @@ private static void _clinit_autosplit_dinit_3() { "BackendService", "HeaderAction", "Weight", }); internal_static_google_cloud_compute_v1_WithdrawPublicAdvertisedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(1448); + getDescriptor().getMessageTypes().get(1488); internal_static_google_cloud_compute_v1_WithdrawPublicAdvertisedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WithdrawPublicAdvertisedPrefixeRequest_descriptor, @@ -37538,7 +38769,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "PublicAdvertisedPrefix", "RequestId", }); internal_static_google_cloud_compute_v1_WithdrawPublicDelegatedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(1449); + getDescriptor().getMessageTypes().get(1489); internal_static_google_cloud_compute_v1_WithdrawPublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WithdrawPublicDelegatedPrefixeRequest_descriptor, @@ -37546,7 +38777,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "PublicDelegatedPrefix", "Region", "RequestId", }); internal_static_google_cloud_compute_v1_XpnHostList_descriptor = - getDescriptor().getMessageTypes().get(1450); + getDescriptor().getMessageTypes().get(1490); internal_static_google_cloud_compute_v1_XpnHostList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_XpnHostList_descriptor, @@ -37554,7 +38785,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_XpnResourceId_descriptor = - getDescriptor().getMessageTypes().get(1451); + getDescriptor().getMessageTypes().get(1491); internal_static_google_cloud_compute_v1_XpnResourceId_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_XpnResourceId_descriptor, @@ -37562,7 +38793,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Type", }); internal_static_google_cloud_compute_v1_Zone_descriptor = - getDescriptor().getMessageTypes().get(1452); + getDescriptor().getMessageTypes().get(1492); internal_static_google_cloud_compute_v1_Zone_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Zone_descriptor, @@ -37580,7 +38811,7 @@ private static void _clinit_autosplit_dinit_3() { "SupportsPzs", }); internal_static_google_cloud_compute_v1_ZoneList_descriptor = - getDescriptor().getMessageTypes().get(1453); + getDescriptor().getMessageTypes().get(1493); internal_static_google_cloud_compute_v1_ZoneList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ZoneList_descriptor, @@ -37588,7 +38819,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Items", "Kind", "NextPageToken", "SelfLink", "Warning", }); internal_static_google_cloud_compute_v1_ZoneSetLabelsRequest_descriptor = - getDescriptor().getMessageTypes().get(1454); + getDescriptor().getMessageTypes().get(1494); internal_static_google_cloud_compute_v1_ZoneSetLabelsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ZoneSetLabelsRequest_descriptor, @@ -37606,7 +38837,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ZoneSetPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1455); + getDescriptor().getMessageTypes().get(1495); internal_static_google_cloud_compute_v1_ZoneSetPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ZoneSetPolicyRequest_descriptor, diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CorsPolicy.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CorsPolicy.java index 13d55cacc4a6..b1debaad9aba 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CorsPolicy.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CorsPolicy.java @@ -238,7 +238,7 @@ public com.google.protobuf.ByteString getAllowMethodsBytes(int index) { * * *
-   * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
+   * Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
    * 
* * repeated string allow_origin_regexes = 215385810; @@ -252,7 +252,7 @@ public com.google.protobuf.ProtocolStringList getAllowOriginRegexesList() { * * *
-   * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
+   * Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
    * 
* * repeated string allow_origin_regexes = 215385810; @@ -266,7 +266,7 @@ public int getAllowOriginRegexesCount() { * * *
-   * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
+   * Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
    * 
* * repeated string allow_origin_regexes = 215385810; @@ -281,7 +281,7 @@ public java.lang.String getAllowOriginRegexes(int index) { * * *
-   * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
+   * Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
    * 
* * repeated string allow_origin_regexes = 215385810; @@ -363,7 +363,7 @@ public com.google.protobuf.ByteString getAllowOriginsBytes(int index) { * * *
-   * If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
+   * If true, disables the CORS policy. The default value is false, which indicates that the CORS policy is in effect.
    * 
* * optional bool disabled = 270940796; @@ -378,7 +378,7 @@ public boolean hasDisabled() { * * *
-   * If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
+   * If true, disables the CORS policy. The default value is false, which indicates that the CORS policy is in effect.
    * 
* * optional bool disabled = 270940796; @@ -1512,7 +1512,7 @@ private void ensureAllowOriginRegexesIsMutable() { * * *
-     * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
+     * Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
      * 
* * repeated string allow_origin_regexes = 215385810; @@ -1527,7 +1527,7 @@ public com.google.protobuf.ProtocolStringList getAllowOriginRegexesList() { * * *
-     * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
+     * Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
      * 
* * repeated string allow_origin_regexes = 215385810; @@ -1541,7 +1541,7 @@ public int getAllowOriginRegexesCount() { * * *
-     * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
+     * Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
      * 
* * repeated string allow_origin_regexes = 215385810; @@ -1556,7 +1556,7 @@ public java.lang.String getAllowOriginRegexes(int index) { * * *
-     * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
+     * Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
      * 
* * repeated string allow_origin_regexes = 215385810; @@ -1571,7 +1571,7 @@ public com.google.protobuf.ByteString getAllowOriginRegexesBytes(int index) { * * *
-     * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
+     * Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
      * 
* * repeated string allow_origin_regexes = 215385810; @@ -1594,7 +1594,7 @@ public Builder setAllowOriginRegexes(int index, java.lang.String value) { * * *
-     * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
+     * Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
      * 
* * repeated string allow_origin_regexes = 215385810; @@ -1616,7 +1616,7 @@ public Builder addAllowOriginRegexes(java.lang.String value) { * * *
-     * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
+     * Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
      * 
* * repeated string allow_origin_regexes = 215385810; @@ -1635,7 +1635,7 @@ public Builder addAllAllowOriginRegexes(java.lang.Iterable val * * *
-     * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
+     * Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
      * 
* * repeated string allow_origin_regexes = 215385810; @@ -1653,7 +1653,7 @@ public Builder clearAllowOriginRegexes() { * * *
-     * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
+     * Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
      * 
* * repeated string allow_origin_regexes = 215385810; @@ -1852,7 +1852,7 @@ public Builder addAllowOriginsBytes(com.google.protobuf.ByteString value) { * * *
-     * If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
+     * If true, disables the CORS policy. The default value is false, which indicates that the CORS policy is in effect.
      * 
* * optional bool disabled = 270940796; @@ -1867,7 +1867,7 @@ public boolean hasDisabled() { * * *
-     * If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
+     * If true, disables the CORS policy. The default value is false, which indicates that the CORS policy is in effect.
      * 
* * optional bool disabled = 270940796; @@ -1882,7 +1882,7 @@ public boolean getDisabled() { * * *
-     * If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
+     * If true, disables the CORS policy. The default value is false, which indicates that the CORS policy is in effect.
      * 
* * optional bool disabled = 270940796; @@ -1901,7 +1901,7 @@ public Builder setDisabled(boolean value) { * * *
-     * If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
+     * If true, disables the CORS policy. The default value is false, which indicates that the CORS policy is in effect.
      * 
* * optional bool disabled = 270940796; diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CorsPolicyOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CorsPolicyOrBuilder.java index a6f2d311ce27..27318609afec 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CorsPolicyOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CorsPolicyOrBuilder.java @@ -155,7 +155,7 @@ public interface CorsPolicyOrBuilder * * *
-   * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
+   * Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
    * 
* * repeated string allow_origin_regexes = 215385810; @@ -167,7 +167,7 @@ public interface CorsPolicyOrBuilder * * *
-   * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
+   * Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
    * 
* * repeated string allow_origin_regexes = 215385810; @@ -179,7 +179,7 @@ public interface CorsPolicyOrBuilder * * *
-   * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
+   * Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
    * 
* * repeated string allow_origin_regexes = 215385810; @@ -192,7 +192,7 @@ public interface CorsPolicyOrBuilder * * *
-   * Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
+   * Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
    * 
* * repeated string allow_origin_regexes = 215385810; @@ -257,7 +257,7 @@ public interface CorsPolicyOrBuilder * * *
-   * If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
+   * If true, disables the CORS policy. The default value is false, which indicates that the CORS policy is in effect.
    * 
* * optional bool disabled = 270940796; @@ -269,7 +269,7 @@ public interface CorsPolicyOrBuilder * * *
-   * If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
+   * If true, disables the CORS policy. The default value is false, which indicates that the CORS policy is in effect.
    * 
* * optional bool disabled = 270940796; diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerResizeRequestRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerResizeRequestRequest.java new file mode 100644 index 000000000000..a9604aae65d8 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerResizeRequestRequest.java @@ -0,0 +1,1458 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for InstanceGroupManagerResizeRequests.Delete. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest} + */ +public final class DeleteInstanceGroupManagerResizeRequestRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest) + DeleteInstanceGroupManagerResizeRequestRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteInstanceGroupManagerResizeRequestRequest.newBuilder() to construct. + private DeleteInstanceGroupManagerResizeRequestRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DeleteInstanceGroupManagerResizeRequestRequest() { + instanceGroupManager_ = ""; + project_ = ""; + requestId_ = ""; + resizeRequest_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteInstanceGroupManagerResizeRequestRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteInstanceGroupManagerResizeRequestRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteInstanceGroupManagerResizeRequestRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest.class, + com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest.Builder + .class); + } + + private int bitField0_; + public static final int INSTANCE_GROUP_MANAGER_FIELD_NUMBER = 249363395; + + @SuppressWarnings("serial") + private volatile java.lang.Object instanceGroupManager_ = ""; + /** + * + * + *
+   * The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceGroupManager. + */ + @java.lang.Override + public java.lang.String getInstanceGroupManager() { + java.lang.Object ref = instanceGroupManager_; + 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(); + instanceGroupManager_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for instanceGroupManager. + */ + @java.lang.Override + public com.google.protobuf.ByteString getInstanceGroupManagerBytes() { + java.lang.Object ref = instanceGroupManager_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + instanceGroupManager_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestId_ = ""; + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + @java.lang.Override + public boolean hasRequestId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + @java.lang.Override + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + 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(); + requestId_ = s; + return s; + } + } + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESIZE_REQUEST_FIELD_NUMBER = 216941060; + + @SuppressWarnings("serial") + private volatile java.lang.Object resizeRequest_ = ""; + /** + * + * + *
+   * The name of the resize request to delete. The name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The resizeRequest. + */ + @java.lang.Override + public java.lang.String getResizeRequest() { + java.lang.Object ref = resizeRequest_; + 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(); + resizeRequest_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the resize request to delete. The name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for resizeRequest. + */ + @java.lang.Override + public com.google.protobuf.ByteString getResizeRequestBytes() { + java.lang.Object ref = resizeRequest_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + resizeRequest_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resizeRequest_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 216941060, resizeRequest_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceGroupManager_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 249363395, instanceGroupManager_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resizeRequest_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(216941060, resizeRequest_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceGroupManager_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 249363395, instanceGroupManager_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest other = + (com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest) obj; + + if (!getInstanceGroupManager().equals(other.getInstanceGroupManager())) return false; + if (!getProject().equals(other.getProject())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!getResizeRequest().equals(other.getResizeRequest())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INSTANCE_GROUP_MANAGER_FIELD_NUMBER; + hash = (53 * hash) + getInstanceGroupManager().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (37 * hash) + RESIZE_REQUEST_FIELD_NUMBER; + hash = (53 * hash) + getResizeRequest().hashCode(); + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for InstanceGroupManagerResizeRequests.Delete. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest) + com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteInstanceGroupManagerResizeRequestRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteInstanceGroupManagerResizeRequestRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest.class, + com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + instanceGroupManager_ = ""; + project_ = ""; + requestId_ = ""; + resizeRequest_ = ""; + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteInstanceGroupManagerResizeRequestRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest build() { + com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + buildPartial() { + com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest result = + new com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.instanceGroupManager_ = instanceGroupManager_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.project_ = project_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.requestId_ = requestId_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.resizeRequest_ = resizeRequest_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.zone_ = zone_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest other) { + if (other + == com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + .getDefaultInstance()) return this; + if (!other.getInstanceGroupManager().isEmpty()) { + instanceGroupManager_ = other.instanceGroupManager_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasRequestId()) { + requestId_ = other.requestId_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getResizeRequest().isEmpty()) { + resizeRequest_ = other.resizeRequest_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 29957474 + case 296879706: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 296879706 + case 1735528482: + { + resizeRequest_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 1735528482 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 1820481738 + case 1994907162: + { + instanceGroupManager_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 1994907162 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object instanceGroupManager_ = ""; + /** + * + * + *
+     * The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceGroupManager. + */ + public java.lang.String getInstanceGroupManager() { + java.lang.Object ref = instanceGroupManager_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + instanceGroupManager_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for instanceGroupManager. + */ + public com.google.protobuf.ByteString getInstanceGroupManagerBytes() { + java.lang.Object ref = instanceGroupManager_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + instanceGroupManager_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The instanceGroupManager to set. + * @return This builder for chaining. + */ + public Builder setInstanceGroupManager(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + instanceGroupManager_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearInstanceGroupManager() { + instanceGroupManager_ = getDefaultInstance().getInstanceGroupManager(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The bytes for instanceGroupManager to set. + * @return This builder for chaining. + */ + public Builder setInstanceGroupManagerBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceGroupManager_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object requestId_ = ""; + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + public boolean hasRequestId() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @param value The requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return This builder for chaining. + */ + public Builder clearRequestId() { + requestId_ = getDefaultInstance().getRequestId(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object resizeRequest_ = ""; + /** + * + * + *
+     * The name of the resize request to delete. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The resizeRequest. + */ + public java.lang.String getResizeRequest() { + java.lang.Object ref = resizeRequest_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resizeRequest_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the resize request to delete. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for resizeRequest. + */ + public com.google.protobuf.ByteString getResizeRequestBytes() { + java.lang.Object ref = resizeRequest_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + resizeRequest_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the resize request to delete. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The resizeRequest to set. + * @return This builder for chaining. + */ + public Builder setResizeRequest(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + resizeRequest_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the resize request to delete. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearResizeRequest() { + resizeRequest_ = getDefaultInstance().getResizeRequest(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the resize request to delete. The name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for resizeRequest to set. + * @return This builder for chaining. + */ + public Builder setResizeRequestBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resizeRequest_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest) + private static final com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest(); + } + + public static com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInstanceGroupManagerResizeRequestRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser + parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser + getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerResizeRequestRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerResizeRequestRequestOrBuilder.java new file mode 100644 index 000000000000..8a522895b47a --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteInstanceGroupManagerResizeRequestRequestOrBuilder.java @@ -0,0 +1,173 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface DeleteInstanceGroupManagerResizeRequestRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceGroupManager. + */ + java.lang.String getInstanceGroupManager(); + /** + * + * + *
+   * The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for instanceGroupManager. + */ + com.google.protobuf.ByteString getInstanceGroupManagerBytes(); + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + boolean hasRequestId(); + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + java.lang.String getRequestId(); + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); + + /** + * + * + *
+   * The name of the resize request to delete. The name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The resizeRequest. + */ + java.lang.String getResizeRequest(); + /** + * + * + *
+   * The name of the resize request to delete. The name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for resizeRequest. + */ + com.google.protobuf.ByteString getResizeRequestBytes(); + + /** + * + * + *
+   * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteStoragePoolRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteStoragePoolRequest.java new file mode 100644 index 000000000000..cd56ef5f4c40 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteStoragePoolRequest.java @@ -0,0 +1,1237 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for StoragePools.Delete. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.DeleteStoragePoolRequest} + */ +public final class DeleteStoragePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.DeleteStoragePoolRequest) + DeleteStoragePoolRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteStoragePoolRequest.newBuilder() to construct. + private DeleteStoragePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DeleteStoragePoolRequest() { + project_ = ""; + requestId_ = ""; + storagePool_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteStoragePoolRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteStoragePoolRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteStoragePoolRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.DeleteStoragePoolRequest.class, + com.google.cloud.compute.v1.DeleteStoragePoolRequest.Builder.class); + } + + private int bitField0_; + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestId_ = ""; + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + @java.lang.Override + public boolean hasRequestId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + @java.lang.Override + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + 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(); + requestId_ = s; + return s; + } + } + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STORAGE_POOL_FIELD_NUMBER = 360473440; + + @SuppressWarnings("serial") + private volatile java.lang.Object storagePool_ = ""; + /** + * + * + *
+   * Name of the storage pool to delete.
+   * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The storagePool. + */ + @java.lang.Override + public java.lang.String getStoragePool() { + java.lang.Object ref = storagePool_; + 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(); + storagePool_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the storage pool to delete.
+   * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for storagePool. + */ + @java.lang.Override + public com.google.protobuf.ByteString getStoragePoolBytes() { + java.lang.Object ref = storagePool_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + storagePool_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storagePool_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 360473440, storagePool_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storagePool_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(360473440, storagePool_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.DeleteStoragePoolRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.DeleteStoragePoolRequest other = + (com.google.cloud.compute.v1.DeleteStoragePoolRequest) obj; + + if (!getProject().equals(other.getProject())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!getStoragePool().equals(other.getStoragePool())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (37 * hash) + STORAGE_POOL_FIELD_NUMBER; + hash = (53 * hash) + getStoragePool().hashCode(); + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.DeleteStoragePoolRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.DeleteStoragePoolRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.DeleteStoragePoolRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.DeleteStoragePoolRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.DeleteStoragePoolRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.DeleteStoragePoolRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.DeleteStoragePoolRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.DeleteStoragePoolRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.DeleteStoragePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.DeleteStoragePoolRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.DeleteStoragePoolRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.DeleteStoragePoolRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.compute.v1.DeleteStoragePoolRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for StoragePools.Delete. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.DeleteStoragePoolRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.DeleteStoragePoolRequest) + com.google.cloud.compute.v1.DeleteStoragePoolRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteStoragePoolRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteStoragePoolRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.DeleteStoragePoolRequest.class, + com.google.cloud.compute.v1.DeleteStoragePoolRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.DeleteStoragePoolRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + project_ = ""; + requestId_ = ""; + storagePool_ = ""; + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteStoragePoolRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteStoragePoolRequest getDefaultInstanceForType() { + return com.google.cloud.compute.v1.DeleteStoragePoolRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteStoragePoolRequest build() { + com.google.cloud.compute.v1.DeleteStoragePoolRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteStoragePoolRequest buildPartial() { + com.google.cloud.compute.v1.DeleteStoragePoolRequest result = + new com.google.cloud.compute.v1.DeleteStoragePoolRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.DeleteStoragePoolRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.project_ = project_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.requestId_ = requestId_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.storagePool_ = storagePool_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.zone_ = zone_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.DeleteStoragePoolRequest) { + return mergeFrom((com.google.cloud.compute.v1.DeleteStoragePoolRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.DeleteStoragePoolRequest other) { + if (other == com.google.cloud.compute.v1.DeleteStoragePoolRequest.getDefaultInstance()) + return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasRequestId()) { + requestId_ = other.requestId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getStoragePool().isEmpty()) { + storagePool_ = other.storagePool_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 29957474 + case 296879706: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 296879706 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 1820481738 + case -1411179774: + { + storagePool_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case -1411179774 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object requestId_ = ""; + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + public boolean hasRequestId() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @param value The requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return This builder for chaining. + */ + public Builder clearRequestId() { + requestId_ = getDefaultInstance().getRequestId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object storagePool_ = ""; + /** + * + * + *
+     * Name of the storage pool to delete.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The storagePool. + */ + public java.lang.String getStoragePool() { + java.lang.Object ref = storagePool_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + storagePool_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the storage pool to delete.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for storagePool. + */ + public com.google.protobuf.ByteString getStoragePoolBytes() { + java.lang.Object ref = storagePool_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + storagePool_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the storage pool to delete.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The storagePool to set. + * @return This builder for chaining. + */ + public Builder setStoragePool(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + storagePool_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the storage pool to delete.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearStoragePool() { + storagePool_ = getDefaultInstance().getStoragePool(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the storage pool to delete.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for storagePool to set. + * @return This builder for chaining. + */ + public Builder setStoragePoolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + storagePool_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.DeleteStoragePoolRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.DeleteStoragePoolRequest) + private static final com.google.cloud.compute.v1.DeleteStoragePoolRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.DeleteStoragePoolRequest(); + } + + public static com.google.cloud.compute.v1.DeleteStoragePoolRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteStoragePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteStoragePoolRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteStoragePoolRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteStoragePoolRequestOrBuilder.java new file mode 100644 index 000000000000..2d53da7c3ac2 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteStoragePoolRequestOrBuilder.java @@ -0,0 +1,146 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface DeleteStoragePoolRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.DeleteStoragePoolRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + boolean hasRequestId(); + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + java.lang.String getRequestId(); + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); + + /** + * + * + *
+   * Name of the storage pool to delete.
+   * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The storagePool. + */ + java.lang.String getStoragePool(); + /** + * + * + *
+   * Name of the storage pool to delete.
+   * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for storagePool. + */ + com.google.protobuf.ByteString getStoragePoolBytes(); + + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Disk.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Disk.java index 80930904941b..cebe163956d7 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Disk.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Disk.java @@ -68,6 +68,7 @@ private Disk() { sourceSnapshotId_ = ""; sourceStorageObject_ = ""; status_ = ""; + storagePool_ = ""; type_ = ""; users_ = com.google.protobuf.LazyStringArrayList.emptyList(); zone_ = ""; @@ -356,6 +357,16 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { * RESTORING = 404263851; */ RESTORING(404263851), + /** + * + * + *
+     * Disk is currently unavailable and cannot be accessed, attached or detached.
+     * 
+ * + * UNAVAILABLE = 413756464; + */ + UNAVAILABLE(413756464), UNRECOGNIZED(-1), ; @@ -419,6 +430,16 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { * RESTORING = 404263851; */ public static final int RESTORING_VALUE = 404263851; + /** + * + * + *
+     * Disk is currently unavailable and cannot be accessed, attached or detached.
+     * 
+ * + * UNAVAILABLE = 413756464; + */ + public static final int UNAVAILABLE_VALUE = 413756464; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -456,6 +477,8 @@ public static Status forNumber(int value) { return READY; case 404263851: return RESTORING; + case 413756464: + return UNAVAILABLE; default: return null; } @@ -3224,6 +3247,72 @@ public com.google.protobuf.ByteString getStatusBytes() { } } + public static final int STORAGE_POOL_FIELD_NUMBER = 360473440; + + @SuppressWarnings("serial") + private volatile java.lang.Object storagePool_ = ""; + /** + * + * + *
+   * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+   * 
+ * + * optional string storage_pool = 360473440; + * + * @return Whether the storagePool field is set. + */ + @java.lang.Override + public boolean hasStoragePool() { + return ((bitField1_ & 0x00000040) != 0); + } + /** + * + * + *
+   * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+   * 
+ * + * optional string storage_pool = 360473440; + * + * @return The storagePool. + */ + @java.lang.Override + public java.lang.String getStoragePool() { + java.lang.Object ref = storagePool_; + 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(); + storagePool_ = s; + return s; + } + } + /** + * + * + *
+   * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+   * 
+ * + * optional string storage_pool = 360473440; + * + * @return The bytes for storagePool. + */ + @java.lang.Override + public com.google.protobuf.ByteString getStoragePoolBytes() { + java.lang.Object ref = storagePool_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + storagePool_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int TYPE_FIELD_NUMBER = 3575610; @SuppressWarnings("serial") @@ -3241,7 +3330,7 @@ public com.google.protobuf.ByteString getStatusBytes() { */ @java.lang.Override public boolean hasType() { - return ((bitField1_ & 0x00000040) != 0); + return ((bitField1_ & 0x00000080) != 0); } /** * @@ -3371,7 +3460,7 @@ public com.google.protobuf.ByteString getUsersBytes(int index) { */ @java.lang.Override public boolean hasZone() { - return ((bitField1_ & 0x00000080) != 0); + return ((bitField1_ & 0x00000100) != 0); } /** * @@ -3444,10 +3533,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); } - if (((bitField1_ & 0x00000040) != 0)) { + if (((bitField1_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3575610, type_); } - if (((bitField1_ & 0x00000080) != 0)) { + if (((bitField1_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); } if (((bitField0_ & 0x01000000) != 0)) { @@ -3553,6 +3642,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000800) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 350519505, locationHint_); } + if (((bitField1_ & 0x00000040) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 360473440, storagePool_); + } if (((bitField0_ & 0x00002000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 361137822, options_); } @@ -3606,10 +3698,10 @@ public int getSerializedSize() { if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); } - if (((bitField1_ & 0x00000040) != 0)) { + if (((bitField1_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3575610, type_); } - if (((bitField1_ & 0x00000080) != 0)) { + if (((bitField1_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); } if (((bitField0_ & 0x01000000) != 0)) { @@ -3770,6 +3862,9 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(350519505, locationHint_); } + if (((bitField1_ & 0x00000040) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(360473440, storagePool_); + } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(361137822, options_); } @@ -3997,6 +4092,10 @@ public boolean equals(final java.lang.Object obj) { if (hasStatus()) { if (!getStatus().equals(other.getStatus())) return false; } + if (hasStoragePool() != other.hasStoragePool()) return false; + if (hasStoragePool()) { + if (!getStoragePool().equals(other.getStoragePool())) return false; + } if (hasType() != other.hasType()) return false; if (hasType()) { if (!getType().equals(other.getType())) return false; @@ -4197,6 +4296,10 @@ public int hashCode() { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } + if (hasStoragePool()) { + hash = (37 * hash) + STORAGE_POOL_FIELD_NUMBER; + hash = (53 * hash) + getStoragePool().hashCode(); + } if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); @@ -4464,6 +4567,7 @@ public Builder clear() { sourceSnapshotId_ = ""; sourceStorageObject_ = ""; status_ = ""; + storagePool_ = ""; type_ = ""; users_ = com.google.protobuf.LazyStringArrayList.emptyList(); zone_ = ""; @@ -4715,16 +4819,20 @@ private void buildPartial1(com.google.cloud.compute.v1.Disk result) { to_bitField1_ |= 0x00000020; } if (((from_bitField1_ & 0x00002000) != 0)) { - result.type_ = type_; + result.storagePool_ = storagePool_; to_bitField1_ |= 0x00000040; } if (((from_bitField1_ & 0x00004000) != 0)) { + result.type_ = type_; + to_bitField1_ |= 0x00000080; + } + if (((from_bitField1_ & 0x00008000) != 0)) { users_.makeImmutable(); result.users_ = users_; } - if (((from_bitField1_ & 0x00008000) != 0)) { + if (((from_bitField1_ & 0x00010000) != 0)) { result.zone_ = zone_; - to_bitField1_ |= 0x00000080; + to_bitField1_ |= 0x00000100; } result.bitField0_ |= to_bitField0_; result.bitField1_ |= to_bitField1_; @@ -5009,15 +5117,20 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Disk other) { bitField1_ |= 0x00001000; onChanged(); } + if (other.hasStoragePool()) { + storagePool_ = other.storagePool_; + bitField1_ |= 0x00002000; + onChanged(); + } if (other.hasType()) { type_ = other.type_; - bitField1_ |= 0x00002000; + bitField1_ |= 0x00004000; onChanged(); } if (!other.users_.isEmpty()) { if (users_.isEmpty()) { users_ = other.users_; - bitField1_ |= 0x00004000; + bitField1_ |= 0x00008000; } else { ensureUsersIsMutable(); users_.addAll(other.users_); @@ -5026,7 +5139,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Disk other) { } if (other.hasZone()) { zone_ = other.zone_; - bitField1_ |= 0x00008000; + bitField1_ |= 0x00010000; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -5076,13 +5189,13 @@ public Builder mergeFrom( case 28604882: { type_ = input.readStringRequireUtf8(); - bitField1_ |= 0x00002000; + bitField1_ |= 0x00004000; break; } // case 28604882 case 29957474: { zone_ = input.readStringRequireUtf8(); - bitField1_ |= 0x00008000; + bitField1_ |= 0x00010000; break; } // case 29957474 case 156928746: @@ -5305,6 +5418,12 @@ public Builder mergeFrom( bitField0_ |= 0x00010000; break; } // case -1490811254 + case -1411179774: + { + storagePool_ = input.readStringRequireUtf8(); + bitField1_ |= 0x00002000; + break; + } // case -1411179774 case -1405864718: { options_ = input.readStringRequireUtf8(); @@ -11469,6 +11588,126 @@ public Builder setStatusBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object storagePool_ = ""; + /** + * + * + *
+     * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+     * 
+ * + * optional string storage_pool = 360473440; + * + * @return Whether the storagePool field is set. + */ + public boolean hasStoragePool() { + return ((bitField1_ & 0x00002000) != 0); + } + /** + * + * + *
+     * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+     * 
+ * + * optional string storage_pool = 360473440; + * + * @return The storagePool. + */ + public java.lang.String getStoragePool() { + java.lang.Object ref = storagePool_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + storagePool_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+     * 
+ * + * optional string storage_pool = 360473440; + * + * @return The bytes for storagePool. + */ + public com.google.protobuf.ByteString getStoragePoolBytes() { + java.lang.Object ref = storagePool_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + storagePool_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+     * 
+ * + * optional string storage_pool = 360473440; + * + * @param value The storagePool to set. + * @return This builder for chaining. + */ + public Builder setStoragePool(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + storagePool_ = value; + bitField1_ |= 0x00002000; + onChanged(); + return this; + } + /** + * + * + *
+     * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+     * 
+ * + * optional string storage_pool = 360473440; + * + * @return This builder for chaining. + */ + public Builder clearStoragePool() { + storagePool_ = getDefaultInstance().getStoragePool(); + bitField1_ = (bitField1_ & ~0x00002000); + onChanged(); + return this; + } + /** + * + * + *
+     * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+     * 
+ * + * optional string storage_pool = 360473440; + * + * @param value The bytes for storagePool to set. + * @return This builder for chaining. + */ + public Builder setStoragePoolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + storagePool_ = value; + bitField1_ |= 0x00002000; + onChanged(); + return this; + } + private java.lang.Object type_ = ""; /** * @@ -11482,7 +11721,7 @@ public Builder setStatusBytes(com.google.protobuf.ByteString value) { * @return Whether the type field is set. */ public boolean hasType() { - return ((bitField1_ & 0x00002000) != 0); + return ((bitField1_ & 0x00004000) != 0); } /** * @@ -11545,7 +11784,7 @@ public Builder setType(java.lang.String value) { throw new NullPointerException(); } type_ = value; - bitField1_ |= 0x00002000; + bitField1_ |= 0x00004000; onChanged(); return this; } @@ -11562,7 +11801,7 @@ public Builder setType(java.lang.String value) { */ public Builder clearType() { type_ = getDefaultInstance().getType(); - bitField1_ = (bitField1_ & ~0x00002000); + bitField1_ = (bitField1_ & ~0x00004000); onChanged(); return this; } @@ -11584,7 +11823,7 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); type_ = value; - bitField1_ |= 0x00002000; + bitField1_ |= 0x00004000; onChanged(); return this; } @@ -11596,7 +11835,7 @@ private void ensureUsersIsMutable() { if (!users_.isModifiable()) { users_ = new com.google.protobuf.LazyStringArrayList(users_); } - bitField1_ |= 0x00004000; + bitField1_ |= 0x00008000; } /** * @@ -11676,7 +11915,7 @@ public Builder setUsers(int index, java.lang.String value) { } ensureUsersIsMutable(); users_.set(index, value); - bitField1_ |= 0x00004000; + bitField1_ |= 0x00008000; onChanged(); return this; } @@ -11698,7 +11937,7 @@ public Builder addUsers(java.lang.String value) { } ensureUsersIsMutable(); users_.add(value); - bitField1_ |= 0x00004000; + bitField1_ |= 0x00008000; onChanged(); return this; } @@ -11717,7 +11956,7 @@ public Builder addUsers(java.lang.String value) { public Builder addAllUsers(java.lang.Iterable values) { ensureUsersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, users_); - bitField1_ |= 0x00004000; + bitField1_ |= 0x00008000; onChanged(); return this; } @@ -11734,7 +11973,7 @@ public Builder addAllUsers(java.lang.Iterable values) { */ public Builder clearUsers() { users_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField1_ = (bitField1_ & ~0x00004000); + bitField1_ = (bitField1_ & ~0x00008000); ; onChanged(); return this; @@ -11758,7 +11997,7 @@ public Builder addUsersBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureUsersIsMutable(); users_.add(value); - bitField1_ |= 0x00004000; + bitField1_ |= 0x00008000; onChanged(); return this; } @@ -11776,7 +12015,7 @@ public Builder addUsersBytes(com.google.protobuf.ByteString value) { * @return Whether the zone field is set. */ public boolean hasZone() { - return ((bitField1_ & 0x00008000) != 0); + return ((bitField1_ & 0x00010000) != 0); } /** * @@ -11839,7 +12078,7 @@ public Builder setZone(java.lang.String value) { throw new NullPointerException(); } zone_ = value; - bitField1_ |= 0x00008000; + bitField1_ |= 0x00010000; onChanged(); return this; } @@ -11856,7 +12095,7 @@ public Builder setZone(java.lang.String value) { */ public Builder clearZone() { zone_ = getDefaultInstance().getZone(); - bitField1_ = (bitField1_ & ~0x00008000); + bitField1_ = (bitField1_ & ~0x00010000); onChanged(); return this; } @@ -11878,7 +12117,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); zone_ = value; - bitField1_ |= 0x00008000; + bitField1_ |= 0x00010000; onChanged(); return this; } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DiskOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DiskOrBuilder.java index 5c6917343c29..46d705510ed2 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DiskOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DiskOrBuilder.java @@ -1719,6 +1719,43 @@ java.lang.String getLabelsOrDefault( */ com.google.protobuf.ByteString getStatusBytes(); + /** + * + * + *
+   * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+   * 
+ * + * optional string storage_pool = 360473440; + * + * @return Whether the storagePool field is set. + */ + boolean hasStoragePool(); + /** + * + * + *
+   * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+   * 
+ * + * optional string storage_pool = 360473440; + * + * @return The storagePool. + */ + java.lang.String getStoragePool(); + /** + * + * + *
+   * The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool
+   * 
+ * + * optional string storage_pool = 360473440; + * + * @return The bytes for storagePool. + */ + com.google.protobuf.ByteString getStoragePoolBytes(); + /** * * diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Error.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Error.java index 879501ad2a92..b93e51f49d65 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Error.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Error.java @@ -23,7 +23,7 @@ * * *
- * [Output Only] If errors are generated during processing of the operation, this field will be populated.
+ * Errors that prevented the ResizeRequest to be fulfilled.
  * 
* * Protobuf type {@code google.cloud.compute.v1.Error} @@ -297,7 +297,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * [Output Only] If errors are generated during processing of the operation, this field will be populated.
+   * Errors that prevented the ResizeRequest to be fulfilled.
    * 
* * Protobuf type {@code google.cloud.compute.v1.Error} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ErrorInfo.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ErrorInfo.java index fe18979e9650..6c19fdd6eaab 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ErrorInfo.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ErrorInfo.java @@ -173,7 +173,7 @@ public int getMetadatasCount() { * * *
-   * Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
+   * Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
    * 
* * map<string, string> metadatas = 8514340; @@ -195,7 +195,7 @@ public java.util.Map getMetadatas() { * * *
-   * Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
+   * Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
    * 
* * map<string, string> metadatas = 8514340; @@ -208,7 +208,7 @@ public java.util.Map getMetadatasMap() { * * *
-   * Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
+   * Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
    * 
* * map<string, string> metadatas = 8514340; @@ -228,7 +228,7 @@ public java.util.Map getMetadatasMap() { * * *
-   * Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
+   * Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
    * 
* * map<string, string> metadatas = 8514340; @@ -897,7 +897,7 @@ public int getMetadatasCount() { * * *
-     * Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
+     * Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
      * 
* * map<string, string> metadatas = 8514340; @@ -919,7 +919,7 @@ public java.util.Map getMetadatas() { * * *
-     * Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
+     * Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
      * 
* * map<string, string> metadatas = 8514340; @@ -932,7 +932,7 @@ public java.util.Map getMetadatasMap() { * * *
-     * Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
+     * Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
      * 
* * map<string, string> metadatas = 8514340; @@ -952,7 +952,7 @@ public java.util.Map getMetadatasMap() { * * *
-     * Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
+     * Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
      * 
* * map<string, string> metadatas = 8514340; @@ -978,7 +978,7 @@ public Builder clearMetadatas() { * * *
-     * Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
+     * Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
      * 
* * map<string, string> metadatas = 8514340; @@ -1000,7 +1000,7 @@ public java.util.Map getMutableMetadatas() { * * *
-     * Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
+     * Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
      * 
* * map<string, string> metadatas = 8514340; @@ -1020,7 +1020,7 @@ public Builder putMetadatas(java.lang.String key, java.lang.String value) { * * *
-     * Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
+     * Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
      * 
* * map<string, string> metadatas = 8514340; diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ErrorInfoOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ErrorInfoOrBuilder.java index 080dd6e0d7ff..a73642354ead 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ErrorInfoOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ErrorInfoOrBuilder.java @@ -65,7 +65,7 @@ public interface ErrorInfoOrBuilder * * *
-   * Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
+   * Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
    * 
* * map<string, string> metadatas = 8514340; @@ -75,7 +75,7 @@ public interface ErrorInfoOrBuilder * * *
-   * Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
+   * Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
    * 
* * map<string, string> metadatas = 8514340; @@ -88,7 +88,7 @@ public interface ErrorInfoOrBuilder * * *
-   * Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
+   * Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
    * 
* * map<string, string> metadatas = 8514340; @@ -98,7 +98,7 @@ public interface ErrorInfoOrBuilder * * *
-   * Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
+   * Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
    * 
* * map<string, string> metadatas = 8514340; @@ -112,7 +112,7 @@ java.lang.String getMetadatasOrDefault( * * *
-   * Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
+   * Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
    * 
* * map<string, string> metadatas = 8514340; diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java index e2c55f1b67ca..466f34be5b15 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ForwardingRule.java @@ -46,6 +46,7 @@ private ForwardingRule() { creationTimestamp_ = ""; description_ = ""; fingerprint_ = ""; + ipCollection_ = ""; ipVersion_ = ""; kind_ = ""; labelFingerprint_ = ""; @@ -1568,6 +1569,72 @@ public long getId() { return id_; } + public static final int IP_COLLECTION_FIELD_NUMBER = 176818358; + + @SuppressWarnings("serial") + private volatile java.lang.Object ipCollection_ = ""; + /** + * + * + *
+   * Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to specify a sub-PDP when creating an IPv6 NetLB forwarding rule using BYOIP: Full resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region /publicDelegatedPrefixes/sub-pdp-name Partial URL, as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
+   * 
+ * + * optional string ip_collection = 176818358; + * + * @return Whether the ipCollection field is set. + */ + @java.lang.Override + public boolean hasIpCollection() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + * + * + *
+   * Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to specify a sub-PDP when creating an IPv6 NetLB forwarding rule using BYOIP: Full resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region /publicDelegatedPrefixes/sub-pdp-name Partial URL, as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
+   * 
+ * + * optional string ip_collection = 176818358; + * + * @return The ipCollection. + */ + @java.lang.Override + public java.lang.String getIpCollection() { + java.lang.Object ref = ipCollection_; + 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(); + ipCollection_ = s; + return s; + } + } + /** + * + * + *
+   * Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to specify a sub-PDP when creating an IPv6 NetLB forwarding rule using BYOIP: Full resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region /publicDelegatedPrefixes/sub-pdp-name Partial URL, as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
+   * 
+ * + * optional string ip_collection = 176818358; + * + * @return The bytes for ipCollection. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIpCollectionBytes() { + java.lang.Object ref = ipCollection_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + ipCollection_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int IP_VERSION_FIELD_NUMBER = 294959552; @SuppressWarnings("serial") @@ -1586,7 +1653,7 @@ public long getId() { */ @java.lang.Override public boolean hasIpVersion() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** * @@ -1652,7 +1719,7 @@ public com.google.protobuf.ByteString getIpVersionBytes() { */ @java.lang.Override public boolean hasIsMirroringCollector() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * @@ -1687,7 +1754,7 @@ public boolean getIsMirroringCollector() { */ @java.lang.Override public boolean hasKind() { - return ((bitField0_ & 0x00002000) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** * @@ -1753,7 +1820,7 @@ public com.google.protobuf.ByteString getKindBytes() { */ @java.lang.Override public boolean hasLabelFingerprint() { - return ((bitField0_ & 0x00004000) != 0); + return ((bitField0_ & 0x00008000) != 0); } /** * @@ -1922,7 +1989,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { */ @java.lang.Override public boolean hasLoadBalancingScheme() { - return ((bitField0_ & 0x00008000) != 0); + return ((bitField0_ & 0x00010000) != 0); } /** * @@ -2062,7 +2129,7 @@ public com.google.cloud.compute.v1.MetadataFilterOrBuilder getMetadataFiltersOrB */ @java.lang.Override public boolean hasName() { - return ((bitField0_ & 0x00010000) != 0); + return ((bitField0_ & 0x00020000) != 0); } /** * @@ -2128,7 +2195,7 @@ public com.google.protobuf.ByteString getNameBytes() { */ @java.lang.Override public boolean hasNetwork() { - return ((bitField0_ & 0x00020000) != 0); + return ((bitField0_ & 0x00040000) != 0); } /** * @@ -2195,7 +2262,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { */ @java.lang.Override public boolean hasNetworkTier() { - return ((bitField0_ & 0x00040000) != 0); + return ((bitField0_ & 0x00080000) != 0); } /** * @@ -2261,7 +2328,7 @@ public com.google.protobuf.ByteString getNetworkTierBytes() { */ @java.lang.Override public boolean hasNoAutomateDnsZone() { - return ((bitField0_ & 0x00080000) != 0); + return ((bitField0_ & 0x00100000) != 0); } /** * @@ -2296,7 +2363,7 @@ public boolean getNoAutomateDnsZone() { */ @java.lang.Override public boolean hasPortRange() { - return ((bitField0_ & 0x00100000) != 0); + return ((bitField0_ & 0x00200000) != 0); } /** * @@ -2424,7 +2491,7 @@ public com.google.protobuf.ByteString getPortsBytes(int index) { */ @java.lang.Override public boolean hasPscConnectionId() { - return ((bitField0_ & 0x00200000) != 0); + return ((bitField0_ & 0x00400000) != 0); } /** * @@ -2460,7 +2527,7 @@ public long getPscConnectionId() { */ @java.lang.Override public boolean hasPscConnectionStatus() { - return ((bitField0_ & 0x00400000) != 0); + return ((bitField0_ & 0x00800000) != 0); } /** * @@ -2528,7 +2595,7 @@ public com.google.protobuf.ByteString getPscConnectionStatusBytes() { */ @java.lang.Override public boolean hasRegion() { - return ((bitField0_ & 0x00800000) != 0); + return ((bitField0_ & 0x01000000) != 0); } /** * @@ -2594,7 +2661,7 @@ public com.google.protobuf.ByteString getRegionBytes() { */ @java.lang.Override public boolean hasSelfLink() { - return ((bitField0_ & 0x01000000) != 0); + return ((bitField0_ & 0x02000000) != 0); } /** * @@ -2746,7 +2813,7 @@ public int getServiceDirectoryRegistrationsCount() { */ @java.lang.Override public boolean hasServiceLabel() { - return ((bitField0_ & 0x02000000) != 0); + return ((bitField0_ & 0x04000000) != 0); } /** * @@ -2812,7 +2879,7 @@ public com.google.protobuf.ByteString getServiceLabelBytes() { */ @java.lang.Override public boolean hasServiceName() { - return ((bitField0_ & 0x04000000) != 0); + return ((bitField0_ & 0x08000000) != 0); } /** * @@ -2942,7 +3009,7 @@ public com.google.protobuf.ByteString getSourceIpRangesBytes(int index) { */ @java.lang.Override public boolean hasSubnetwork() { - return ((bitField0_ & 0x08000000) != 0); + return ((bitField0_ & 0x10000000) != 0); } /** * @@ -3008,7 +3075,7 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { */ @java.lang.Override public boolean hasTarget() { - return ((bitField0_ & 0x10000000) != 0); + return ((bitField0_ & 0x20000000) != 0); } /** * @@ -3074,10 +3141,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000400) != 0)) { output.writeUInt64(3355, id_); } - if (((bitField0_ & 0x00002000) != 0)) { + if (((bitField0_ & 0x00004000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_); } - if (((bitField0_ & 0x00010000) != 0)) { + if (((bitField0_ & 0x00020000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); } if (((bitField0_ & 0x00000080) != 0)) { @@ -3086,7 +3153,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 42976943, iPAddress_); } - if (((bitField0_ & 0x00080000) != 0)) { + if (((bitField0_ & 0x00100000) != 0)) { output.writeBool(64546991, noAutomateDnsZone_); } for (int i = 0; i < ports_.size(); i++) { @@ -3096,28 +3163,31 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString( output, 111563210, sourceIpRanges_.getRaw(i)); } - if (((bitField0_ & 0x00001000) != 0)) { + if (((bitField0_ & 0x00002000) != 0)) { output.writeBool(119255164, isMirroringCollector_); } - if (((bitField0_ & 0x00800000) != 0)) { + if (((bitField0_ & 0x01000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); } - if (((bitField0_ & 0x00004000) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 176818358, ipCollection_); + } + if (((bitField0_ & 0x00008000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 178124825, labelFingerprint_); } - if (((bitField0_ & 0x00400000) != 0)) { + if (((bitField0_ & 0x00800000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 184149172, pscConnectionStatus_); } - if (((bitField0_ & 0x10000000) != 0)) { + if (((bitField0_ & 0x20000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 192835985, target_); } - if (((bitField0_ & 0x00100000) != 0)) { + if (((bitField0_ & 0x00200000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 217518079, portRange_); } for (int i = 0; i < serviceDirectoryRegistrations_.size(); i++) { output.writeMessage(223549694, serviceDirectoryRegistrations_.get(i)); } - if (((bitField0_ & 0x00020000) != 0)) { + if (((bitField0_ & 0x00040000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 232872494, network_); } if (((bitField0_ & 0x00000200) != 0)) { @@ -3126,25 +3196,25 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000010) != 0)) { output.writeBool(263471819, allowPscGlobalAccess_); } - if (((bitField0_ & 0x00200000) != 0)) { + if (((bitField0_ & 0x00400000) != 0)) { output.writeUInt64(292082397, pscConnectionId_); } - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 294959552, ipVersion_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 306946058, backendService_); } - if (((bitField0_ & 0x08000000) != 0)) { + if (((bitField0_ & 0x10000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 307827694, subnetwork_); } - if (((bitField0_ & 0x04000000) != 0)) { + if (((bitField0_ & 0x08000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 359880149, serviceName_); } - if (((bitField0_ & 0x00008000) != 0)) { + if (((bitField0_ & 0x00010000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 363890244, loadBalancingScheme_); } - if (((bitField0_ & 0x02000000) != 0)) { + if (((bitField0_ & 0x04000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 417008874, serviceLabel_); } if (((bitField0_ & 0x00000100) != 0)) { @@ -3153,7 +3223,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(445175796, allPorts_); } - if (((bitField0_ & 0x01000000) != 0)) { + if (((bitField0_ & 0x02000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); } for (int i = 0; i < metadataFilters_.size(); i++) { @@ -3167,7 +3237,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 500195327); - if (((bitField0_ & 0x00040000) != 0)) { + if (((bitField0_ & 0x00080000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 517397843, networkTier_); } if (((bitField0_ & 0x00000040) != 0)) { @@ -3185,10 +3255,10 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream.computeUInt64Size(3355, id_); } - if (((bitField0_ & 0x00002000) != 0)) { + if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); } - if (((bitField0_ & 0x00010000) != 0)) { + if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); } if (((bitField0_ & 0x00000080) != 0)) { @@ -3198,7 +3268,7 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(42976943, iPAddress_); } - if (((bitField0_ & 0x00080000) != 0)) { + if (((bitField0_ & 0x00100000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(64546991, noAutomateDnsZone_); } { @@ -3217,25 +3287,28 @@ public int getSerializedSize() { size += dataSize; size += 5 * getSourceIpRangesList().size(); } - if (((bitField0_ & 0x00001000) != 0)) { + if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(119255164, isMirroringCollector_); } - if (((bitField0_ & 0x00800000) != 0)) { + if (((bitField0_ & 0x01000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); } - if (((bitField0_ & 0x00004000) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(176818358, ipCollection_); + } + if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(178124825, labelFingerprint_); } - if (((bitField0_ & 0x00400000) != 0)) { + if (((bitField0_ & 0x00800000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(184149172, pscConnectionStatus_); } - if (((bitField0_ & 0x10000000) != 0)) { + if (((bitField0_ & 0x20000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(192835985, target_); } - if (((bitField0_ & 0x00100000) != 0)) { + if (((bitField0_ & 0x00200000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(217518079, portRange_); } for (int i = 0; i < serviceDirectoryRegistrations_.size(); i++) { @@ -3243,7 +3316,7 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 223549694, serviceDirectoryRegistrations_.get(i)); } - if (((bitField0_ & 0x00020000) != 0)) { + if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(232872494, network_); } if (((bitField0_ & 0x00000200) != 0)) { @@ -3253,26 +3326,26 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeBoolSize(263471819, allowPscGlobalAccess_); } - if (((bitField0_ & 0x00200000) != 0)) { + if (((bitField0_ & 0x00400000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeUInt64Size(292082397, pscConnectionId_); } - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(294959552, ipVersion_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(306946058, backendService_); } - if (((bitField0_ & 0x08000000) != 0)) { + if (((bitField0_ & 0x10000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(307827694, subnetwork_); } - if (((bitField0_ & 0x04000000) != 0)) { + if (((bitField0_ & 0x08000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(359880149, serviceName_); } - if (((bitField0_ & 0x00008000) != 0)) { + if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(363890244, loadBalancingScheme_); } - if (((bitField0_ & 0x02000000) != 0)) { + if (((bitField0_ & 0x04000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(417008874, serviceLabel_); } if (((bitField0_ & 0x00000100) != 0)) { @@ -3281,7 +3354,7 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(445175796, allPorts_); } - if (((bitField0_ & 0x01000000) != 0)) { + if (((bitField0_ & 0x02000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); } for (int i = 0; i < metadataFilters_.size(); i++) { @@ -3305,7 +3378,7 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(500195327, labels__); } - if (((bitField0_ & 0x00040000) != 0)) { + if (((bitField0_ & 0x00080000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(517397843, networkTier_); } if (((bitField0_ & 0x00000040) != 0)) { @@ -3372,6 +3445,10 @@ public boolean equals(final java.lang.Object obj) { if (hasId()) { if (getId() != other.getId()) return false; } + if (hasIpCollection() != other.hasIpCollection()) return false; + if (hasIpCollection()) { + if (!getIpCollection().equals(other.getIpCollection())) return false; + } if (hasIpVersion() != other.hasIpVersion()) return false; if (hasIpVersion()) { if (!getIpVersion().equals(other.getIpVersion())) return false; @@ -3505,6 +3582,10 @@ public int hashCode() { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getId()); } + if (hasIpCollection()) { + hash = (37 * hash) + IP_COLLECTION_FIELD_NUMBER; + hash = (53 * hash) + getIpCollection().hashCode(); + } if (hasIpVersion()) { hash = (37 * hash) + IP_VERSION_FIELD_NUMBER; hash = (53 * hash) + getIpVersion().hashCode(); @@ -3770,6 +3851,7 @@ public Builder clear() { description_ = ""; fingerprint_ = ""; id_ = 0L; + ipCollection_ = ""; ipVersion_ = ""; isMirroringCollector_ = false; kind_ = ""; @@ -3782,7 +3864,7 @@ public Builder clear() { metadataFilters_ = null; metadataFiltersBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x00040000); name_ = ""; network_ = ""; networkTier_ = ""; @@ -3799,7 +3881,7 @@ public Builder clear() { serviceDirectoryRegistrations_ = null; serviceDirectoryRegistrationsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x10000000); + bitField0_ = (bitField0_ & ~0x20000000); serviceLabel_ = ""; serviceName_ = ""; sourceIpRanges_ = com.google.protobuf.LazyStringArrayList.emptyList(); @@ -3845,19 +3927,19 @@ public com.google.cloud.compute.v1.ForwardingRule buildPartial() { private void buildPartialRepeatedFields(com.google.cloud.compute.v1.ForwardingRule result) { if (metadataFiltersBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0)) { + if (((bitField0_ & 0x00040000) != 0)) { metadataFilters_ = java.util.Collections.unmodifiableList(metadataFilters_); - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x00040000); } result.metadataFilters_ = metadataFilters_; } else { result.metadataFilters_ = metadataFiltersBuilder_.build(); } if (serviceDirectoryRegistrationsBuilder_ == null) { - if (((bitField0_ & 0x10000000) != 0)) { + if (((bitField0_ & 0x20000000) != 0)) { serviceDirectoryRegistrations_ = java.util.Collections.unmodifiableList(serviceDirectoryRegistrations_); - bitField0_ = (bitField0_ & ~0x10000000); + bitField0_ = (bitField0_ & ~0x20000000); } result.serviceDirectoryRegistrations_ = serviceDirectoryRegistrations_; } else { @@ -3913,95 +3995,99 @@ private void buildPartial0(com.google.cloud.compute.v1.ForwardingRule result) { to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00000800) != 0)) { - result.ipVersion_ = ipVersion_; + result.ipCollection_ = ipCollection_; to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00001000) != 0)) { - result.isMirroringCollector_ = isMirroringCollector_; + result.ipVersion_ = ipVersion_; to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.kind_ = kind_; + result.isMirroringCollector_ = isMirroringCollector_; to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00004000) != 0)) { - result.labelFingerprint_ = labelFingerprint_; + result.kind_ = kind_; to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00008000) != 0)) { + result.labelFingerprint_ = labelFingerprint_; + to_bitField0_ |= 0x00008000; + } + if (((from_bitField0_ & 0x00010000) != 0)) { result.labels_ = internalGetLabels(); result.labels_.makeImmutable(); } - if (((from_bitField0_ & 0x00010000) != 0)) { + if (((from_bitField0_ & 0x00020000) != 0)) { result.loadBalancingScheme_ = loadBalancingScheme_; - to_bitField0_ |= 0x00008000; - } - if (((from_bitField0_ & 0x00040000) != 0)) { - result.name_ = name_; to_bitField0_ |= 0x00010000; } if (((from_bitField0_ & 0x00080000) != 0)) { - result.network_ = network_; + result.name_ = name_; to_bitField0_ |= 0x00020000; } if (((from_bitField0_ & 0x00100000) != 0)) { - result.networkTier_ = networkTier_; + result.network_ = network_; to_bitField0_ |= 0x00040000; } if (((from_bitField0_ & 0x00200000) != 0)) { - result.noAutomateDnsZone_ = noAutomateDnsZone_; + result.networkTier_ = networkTier_; to_bitField0_ |= 0x00080000; } if (((from_bitField0_ & 0x00400000) != 0)) { - result.portRange_ = portRange_; + result.noAutomateDnsZone_ = noAutomateDnsZone_; to_bitField0_ |= 0x00100000; } if (((from_bitField0_ & 0x00800000) != 0)) { - ports_.makeImmutable(); - result.ports_ = ports_; + result.portRange_ = portRange_; + to_bitField0_ |= 0x00200000; } if (((from_bitField0_ & 0x01000000) != 0)) { - result.pscConnectionId_ = pscConnectionId_; - to_bitField0_ |= 0x00200000; + ports_.makeImmutable(); + result.ports_ = ports_; } if (((from_bitField0_ & 0x02000000) != 0)) { - result.pscConnectionStatus_ = pscConnectionStatus_; + result.pscConnectionId_ = pscConnectionId_; to_bitField0_ |= 0x00400000; } if (((from_bitField0_ & 0x04000000) != 0)) { - result.region_ = region_; + result.pscConnectionStatus_ = pscConnectionStatus_; to_bitField0_ |= 0x00800000; } if (((from_bitField0_ & 0x08000000) != 0)) { - result.selfLink_ = selfLink_; + result.region_ = region_; to_bitField0_ |= 0x01000000; } - if (((from_bitField0_ & 0x20000000) != 0)) { - result.serviceLabel_ = serviceLabel_; + if (((from_bitField0_ & 0x10000000) != 0)) { + result.selfLink_ = selfLink_; to_bitField0_ |= 0x02000000; } if (((from_bitField0_ & 0x40000000) != 0)) { - result.serviceName_ = serviceName_; + result.serviceLabel_ = serviceLabel_; to_bitField0_ |= 0x04000000; } if (((from_bitField0_ & 0x80000000) != 0)) { - sourceIpRanges_.makeImmutable(); - result.sourceIpRanges_ = sourceIpRanges_; + result.serviceName_ = serviceName_; + to_bitField0_ |= 0x08000000; } result.bitField0_ |= to_bitField0_; } private void buildPartial1(com.google.cloud.compute.v1.ForwardingRule result) { int from_bitField1_ = bitField1_; - int to_bitField0_ = 0; if (((from_bitField1_ & 0x00000001) != 0)) { - result.subnetwork_ = subnetwork_; - to_bitField0_ |= 0x08000000; + sourceIpRanges_.makeImmutable(); + result.sourceIpRanges_ = sourceIpRanges_; } + int to_bitField0_ = 0; if (((from_bitField1_ & 0x00000002) != 0)) { - result.target_ = target_; + result.subnetwork_ = subnetwork_; to_bitField0_ |= 0x10000000; } + if (((from_bitField1_ & 0x00000004) != 0)) { + result.target_ = target_; + to_bitField0_ |= 0x20000000; + } result.bitField0_ |= to_bitField0_; } @@ -4097,9 +4183,14 @@ public Builder mergeFrom(com.google.cloud.compute.v1.ForwardingRule other) { if (other.hasId()) { setId(other.getId()); } + if (other.hasIpCollection()) { + ipCollection_ = other.ipCollection_; + bitField0_ |= 0x00000800; + onChanged(); + } if (other.hasIpVersion()) { ipVersion_ = other.ipVersion_; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); } if (other.hasIsMirroringCollector()) { @@ -4107,26 +4198,26 @@ public Builder mergeFrom(com.google.cloud.compute.v1.ForwardingRule other) { } if (other.hasKind()) { kind_ = other.kind_; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); } if (other.hasLabelFingerprint()) { labelFingerprint_ = other.labelFingerprint_; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); } internalGetMutableLabels().mergeFrom(other.internalGetLabels()); - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; if (other.hasLoadBalancingScheme()) { loadBalancingScheme_ = other.loadBalancingScheme_; - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; onChanged(); } if (metadataFiltersBuilder_ == null) { if (!other.metadataFilters_.isEmpty()) { if (metadataFilters_.isEmpty()) { metadataFilters_ = other.metadataFilters_; - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x00040000); } else { ensureMetadataFiltersIsMutable(); metadataFilters_.addAll(other.metadataFilters_); @@ -4139,7 +4230,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.ForwardingRule other) { metadataFiltersBuilder_.dispose(); metadataFiltersBuilder_ = null; metadataFilters_ = other.metadataFilters_; - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x00040000); metadataFiltersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getMetadataFiltersFieldBuilder() @@ -4151,17 +4242,17 @@ public Builder mergeFrom(com.google.cloud.compute.v1.ForwardingRule other) { } if (other.hasName()) { name_ = other.name_; - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; onChanged(); } if (other.hasNetwork()) { network_ = other.network_; - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; onChanged(); } if (other.hasNetworkTier()) { networkTier_ = other.networkTier_; - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; onChanged(); } if (other.hasNoAutomateDnsZone()) { @@ -4169,13 +4260,13 @@ public Builder mergeFrom(com.google.cloud.compute.v1.ForwardingRule other) { } if (other.hasPortRange()) { portRange_ = other.portRange_; - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; onChanged(); } if (!other.ports_.isEmpty()) { if (ports_.isEmpty()) { ports_ = other.ports_; - bitField0_ |= 0x00800000; + bitField0_ |= 0x01000000; } else { ensurePortsIsMutable(); ports_.addAll(other.ports_); @@ -4187,24 +4278,24 @@ public Builder mergeFrom(com.google.cloud.compute.v1.ForwardingRule other) { } if (other.hasPscConnectionStatus()) { pscConnectionStatus_ = other.pscConnectionStatus_; - bitField0_ |= 0x02000000; + bitField0_ |= 0x04000000; onChanged(); } if (other.hasRegion()) { region_ = other.region_; - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; onChanged(); } if (other.hasSelfLink()) { selfLink_ = other.selfLink_; - bitField0_ |= 0x08000000; + bitField0_ |= 0x10000000; onChanged(); } if (serviceDirectoryRegistrationsBuilder_ == null) { if (!other.serviceDirectoryRegistrations_.isEmpty()) { if (serviceDirectoryRegistrations_.isEmpty()) { serviceDirectoryRegistrations_ = other.serviceDirectoryRegistrations_; - bitField0_ = (bitField0_ & ~0x10000000); + bitField0_ = (bitField0_ & ~0x20000000); } else { ensureServiceDirectoryRegistrationsIsMutable(); serviceDirectoryRegistrations_.addAll(other.serviceDirectoryRegistrations_); @@ -4217,7 +4308,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.ForwardingRule other) { serviceDirectoryRegistrationsBuilder_.dispose(); serviceDirectoryRegistrationsBuilder_ = null; serviceDirectoryRegistrations_ = other.serviceDirectoryRegistrations_; - bitField0_ = (bitField0_ & ~0x10000000); + bitField0_ = (bitField0_ & ~0x20000000); serviceDirectoryRegistrationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getServiceDirectoryRegistrationsFieldBuilder() @@ -4230,18 +4321,18 @@ public Builder mergeFrom(com.google.cloud.compute.v1.ForwardingRule other) { } if (other.hasServiceLabel()) { serviceLabel_ = other.serviceLabel_; - bitField0_ |= 0x20000000; + bitField0_ |= 0x40000000; onChanged(); } if (other.hasServiceName()) { serviceName_ = other.serviceName_; - bitField0_ |= 0x40000000; + bitField0_ |= 0x80000000; onChanged(); } if (!other.sourceIpRanges_.isEmpty()) { if (sourceIpRanges_.isEmpty()) { sourceIpRanges_ = other.sourceIpRanges_; - bitField0_ |= 0x80000000; + bitField1_ |= 0x00000001; } else { ensureSourceIpRangesIsMutable(); sourceIpRanges_.addAll(other.sourceIpRanges_); @@ -4250,12 +4341,12 @@ public Builder mergeFrom(com.google.cloud.compute.v1.ForwardingRule other) { } if (other.hasSubnetwork()) { subnetwork_ = other.subnetwork_; - bitField1_ |= 0x00000001; + bitField1_ |= 0x00000002; onChanged(); } if (other.hasTarget()) { target_ = other.target_; - bitField1_ |= 0x00000002; + bitField1_ |= 0x00000004; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -4293,13 +4384,13 @@ public Builder mergeFrom( case 26336418: { kind_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; break; } // case 26336418 case 26989658: { name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; break; } // case 26989658 case 244202930: @@ -4317,7 +4408,7 @@ public Builder mergeFrom( case 516375928: { noAutomateDnsZone_ = input.readBool(); - bitField0_ |= 0x00200000; + bitField0_ |= 0x00400000; break; } // case 516375928 case 854835346: @@ -4337,37 +4428,43 @@ public Builder mergeFrom( case 954041312: { isMirroringCollector_ = input.readBool(); - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; break; } // case 954041312 case 1111570338: { region_ = input.readStringRequireUtf8(); - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; break; } // case 1111570338 + case 1414546866: + { + ipCollection_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 1414546866 case 1424998602: { labelFingerprint_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; break; } // case 1424998602 case 1473193378: { pscConnectionStatus_ = input.readStringRequireUtf8(); - bitField0_ |= 0x02000000; + bitField0_ |= 0x04000000; break; } // case 1473193378 case 1542687882: { target_ = input.readStringRequireUtf8(); - bitField1_ |= 0x00000002; + bitField1_ |= 0x00000004; break; } // case 1542687882 case 1740144634: { portRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; break; } // case 1740144634 case 1788397554: @@ -4388,7 +4485,7 @@ public Builder mergeFrom( case 1862979954: { network_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; break; } // case 1862979954 case 1877428002: @@ -4406,13 +4503,13 @@ public Builder mergeFrom( case -1958308120: { pscConnectionId_ = input.readUInt64(); - bitField0_ |= 0x01000000; + bitField0_ |= 0x02000000; break; } // case -1958308120 case -1935290878: { ipVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; break; } // case -1935290878 case -1839398830: @@ -4424,25 +4521,25 @@ public Builder mergeFrom( case -1832345742: { subnetwork_ = input.readStringRequireUtf8(); - bitField1_ |= 0x00000001; + bitField1_ |= 0x00000002; break; } // case -1832345742 case -1415926102: { serviceName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x40000000; + bitField0_ |= 0x80000000; break; } // case -1415926102 case -1383845342: { loadBalancingScheme_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; break; } // case -1383845342 case -958896302: { serviceLabel_ = input.readStringRequireUtf8(); - bitField0_ |= 0x20000000; + bitField0_ |= 0x40000000; break; } // case -958896302 case -911466526: @@ -4460,7 +4557,7 @@ public Builder mergeFrom( case -645248918: { selfLink_ = input.readStringRequireUtf8(); - bitField0_ |= 0x08000000; + bitField0_ |= 0x10000000; break; } // case -645248918 case -577161382: @@ -4497,13 +4594,13 @@ public Builder mergeFrom( internalGetMutableLabels() .getMutableMap() .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; break; } // case -293404678 case -155784550: { networkTier_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; break; } // case -155784550 case -95982462: @@ -5650,6 +5747,126 @@ public Builder clearId() { return this; } + private java.lang.Object ipCollection_ = ""; + /** + * + * + *
+     * Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to specify a sub-PDP when creating an IPv6 NetLB forwarding rule using BYOIP: Full resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region /publicDelegatedPrefixes/sub-pdp-name Partial URL, as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
+     * 
+ * + * optional string ip_collection = 176818358; + * + * @return Whether the ipCollection field is set. + */ + public boolean hasIpCollection() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + * + * + *
+     * Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to specify a sub-PDP when creating an IPv6 NetLB forwarding rule using BYOIP: Full resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region /publicDelegatedPrefixes/sub-pdp-name Partial URL, as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
+     * 
+ * + * optional string ip_collection = 176818358; + * + * @return The ipCollection. + */ + public java.lang.String getIpCollection() { + java.lang.Object ref = ipCollection_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ipCollection_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to specify a sub-PDP when creating an IPv6 NetLB forwarding rule using BYOIP: Full resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region /publicDelegatedPrefixes/sub-pdp-name Partial URL, as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
+     * 
+ * + * optional string ip_collection = 176818358; + * + * @return The bytes for ipCollection. + */ + public com.google.protobuf.ByteString getIpCollectionBytes() { + java.lang.Object ref = ipCollection_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + ipCollection_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to specify a sub-PDP when creating an IPv6 NetLB forwarding rule using BYOIP: Full resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region /publicDelegatedPrefixes/sub-pdp-name Partial URL, as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
+     * 
+ * + * optional string ip_collection = 176818358; + * + * @param value The ipCollection to set. + * @return This builder for chaining. + */ + public Builder setIpCollection(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ipCollection_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * + * + *
+     * Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to specify a sub-PDP when creating an IPv6 NetLB forwarding rule using BYOIP: Full resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region /publicDelegatedPrefixes/sub-pdp-name Partial URL, as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
+     * 
+ * + * optional string ip_collection = 176818358; + * + * @return This builder for chaining. + */ + public Builder clearIpCollection() { + ipCollection_ = getDefaultInstance().getIpCollection(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + return this; + } + /** + * + * + *
+     * Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to specify a sub-PDP when creating an IPv6 NetLB forwarding rule using BYOIP: Full resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region /publicDelegatedPrefixes/sub-pdp-name Partial URL, as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
+     * 
+ * + * optional string ip_collection = 176818358; + * + * @param value The bytes for ipCollection to set. + * @return This builder for chaining. + */ + public Builder setIpCollectionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipCollection_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + private java.lang.Object ipVersion_ = ""; /** * @@ -5664,7 +5881,7 @@ public Builder clearId() { * @return Whether the ipVersion field is set. */ public boolean hasIpVersion() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** * @@ -5730,7 +5947,7 @@ public Builder setIpVersion(java.lang.String value) { throw new NullPointerException(); } ipVersion_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -5748,7 +5965,7 @@ public Builder setIpVersion(java.lang.String value) { */ public Builder clearIpVersion() { ipVersion_ = getDefaultInstance().getIpVersion(); - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } @@ -5771,7 +5988,7 @@ public Builder setIpVersionBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); ipVersion_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -5790,7 +6007,7 @@ public Builder setIpVersionBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasIsMirroringCollector() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * @@ -5822,7 +6039,7 @@ public boolean getIsMirroringCollector() { public Builder setIsMirroringCollector(boolean value) { isMirroringCollector_ = value; - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -5838,7 +6055,7 @@ public Builder setIsMirroringCollector(boolean value) { * @return This builder for chaining. */ public Builder clearIsMirroringCollector() { - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); isMirroringCollector_ = false; onChanged(); return this; @@ -5857,7 +6074,7 @@ public Builder clearIsMirroringCollector() { * @return Whether the kind field is set. */ public boolean hasKind() { - return ((bitField0_ & 0x00002000) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** * @@ -5920,7 +6137,7 @@ public Builder setKind(java.lang.String value) { throw new NullPointerException(); } kind_ = value; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -5937,7 +6154,7 @@ public Builder setKind(java.lang.String value) { */ public Builder clearKind() { kind_ = getDefaultInstance().getKind(); - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00004000); onChanged(); return this; } @@ -5959,7 +6176,7 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); kind_ = value; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -5977,7 +6194,7 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { * @return Whether the labelFingerprint field is set. */ public boolean hasLabelFingerprint() { - return ((bitField0_ & 0x00004000) != 0); + return ((bitField0_ & 0x00008000) != 0); } /** * @@ -6040,7 +6257,7 @@ public Builder setLabelFingerprint(java.lang.String value) { throw new NullPointerException(); } labelFingerprint_ = value; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -6057,7 +6274,7 @@ public Builder setLabelFingerprint(java.lang.String value) { */ public Builder clearLabelFingerprint() { labelFingerprint_ = getDefaultInstance().getLabelFingerprint(); - bitField0_ = (bitField0_ & ~0x00004000); + bitField0_ = (bitField0_ & ~0x00008000); onChanged(); return this; } @@ -6079,7 +6296,7 @@ public Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); labelFingerprint_ = value; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -6101,7 +6318,7 @@ private com.google.protobuf.MapField interna if (!labels_.isMutable()) { labels_ = labels_.copy(); } - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; onChanged(); return labels_; } @@ -6186,7 +6403,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - bitField0_ = (bitField0_ & ~0x00008000); + bitField0_ = (bitField0_ & ~0x00010000); internalGetMutableLabels().getMutableMap().clear(); return this; } @@ -6209,7 +6426,7 @@ public Builder removeLabels(java.lang.String key) { /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableLabels() { - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; return internalGetMutableLabels().getMutableMap(); } /** @@ -6229,7 +6446,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { throw new NullPointerException("map value"); } internalGetMutableLabels().getMutableMap().put(key, value); - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; return this; } /** @@ -6243,7 +6460,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { */ public Builder putAllLabels(java.util.Map values) { internalGetMutableLabels().getMutableMap().putAll(values); - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; return this; } @@ -6261,7 +6478,7 @@ public Builder putAllLabels(java.util.Map va * @return Whether the loadBalancingScheme field is set. */ public boolean hasLoadBalancingScheme() { - return ((bitField0_ & 0x00010000) != 0); + return ((bitField0_ & 0x00020000) != 0); } /** * @@ -6327,7 +6544,7 @@ public Builder setLoadBalancingScheme(java.lang.String value) { throw new NullPointerException(); } loadBalancingScheme_ = value; - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -6345,7 +6562,7 @@ public Builder setLoadBalancingScheme(java.lang.String value) { */ public Builder clearLoadBalancingScheme() { loadBalancingScheme_ = getDefaultInstance().getLoadBalancingScheme(); - bitField0_ = (bitField0_ & ~0x00010000); + bitField0_ = (bitField0_ & ~0x00020000); onChanged(); return this; } @@ -6368,7 +6585,7 @@ public Builder setLoadBalancingSchemeBytes(com.google.protobuf.ByteString value) } checkByteStringIsUtf8(value); loadBalancingScheme_ = value; - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -6377,10 +6594,10 @@ public Builder setLoadBalancingSchemeBytes(com.google.protobuf.ByteString value) java.util.Collections.emptyList(); private void ensureMetadataFiltersIsMutable() { - if (!((bitField0_ & 0x00020000) != 0)) { + if (!((bitField0_ & 0x00040000) != 0)) { metadataFilters_ = new java.util.ArrayList(metadataFilters_); - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; } } @@ -6596,7 +6813,7 @@ public Builder addAllMetadataFilters( public Builder clearMetadataFilters() { if (metadataFiltersBuilder_ == null) { metadataFilters_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x00040000); onChanged(); } else { metadataFiltersBuilder_.clear(); @@ -6720,7 +6937,7 @@ public com.google.cloud.compute.v1.MetadataFilter.Builder addMetadataFiltersBuil com.google.cloud.compute.v1.MetadataFilter.Builder, com.google.cloud.compute.v1.MetadataFilterOrBuilder>( metadataFilters_, - ((bitField0_ & 0x00020000) != 0), + ((bitField0_ & 0x00040000) != 0), getParentForChildren(), isClean()); metadataFilters_ = null; @@ -6741,7 +6958,7 @@ public com.google.cloud.compute.v1.MetadataFilter.Builder addMetadataFiltersBuil * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00040000) != 0); + return ((bitField0_ & 0x00080000) != 0); } /** * @@ -6804,7 +7021,7 @@ public Builder setName(java.lang.String value) { throw new NullPointerException(); } name_ = value; - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -6821,7 +7038,7 @@ public Builder setName(java.lang.String value) { */ public Builder clearName() { name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00040000); + bitField0_ = (bitField0_ & ~0x00080000); onChanged(); return this; } @@ -6843,7 +7060,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); name_ = value; - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -6861,7 +7078,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * @return Whether the network field is set. */ public boolean hasNetwork() { - return ((bitField0_ & 0x00080000) != 0); + return ((bitField0_ & 0x00100000) != 0); } /** * @@ -6924,7 +7141,7 @@ public Builder setNetwork(java.lang.String value) { throw new NullPointerException(); } network_ = value; - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; onChanged(); return this; } @@ -6941,7 +7158,7 @@ public Builder setNetwork(java.lang.String value) { */ public Builder clearNetwork() { network_ = getDefaultInstance().getNetwork(); - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); onChanged(); return this; } @@ -6963,7 +7180,7 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); network_ = value; - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; onChanged(); return this; } @@ -6982,7 +7199,7 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { * @return Whether the networkTier field is set. */ public boolean hasNetworkTier() { - return ((bitField0_ & 0x00100000) != 0); + return ((bitField0_ & 0x00200000) != 0); } /** * @@ -7048,7 +7265,7 @@ public Builder setNetworkTier(java.lang.String value) { throw new NullPointerException(); } networkTier_ = value; - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; onChanged(); return this; } @@ -7066,7 +7283,7 @@ public Builder setNetworkTier(java.lang.String value) { */ public Builder clearNetworkTier() { networkTier_ = getDefaultInstance().getNetworkTier(); - bitField0_ = (bitField0_ & ~0x00100000); + bitField0_ = (bitField0_ & ~0x00200000); onChanged(); return this; } @@ -7089,7 +7306,7 @@ public Builder setNetworkTierBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); networkTier_ = value; - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; onChanged(); return this; } @@ -7108,7 +7325,7 @@ public Builder setNetworkTierBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasNoAutomateDnsZone() { - return ((bitField0_ & 0x00200000) != 0); + return ((bitField0_ & 0x00400000) != 0); } /** * @@ -7140,7 +7357,7 @@ public boolean getNoAutomateDnsZone() { public Builder setNoAutomateDnsZone(boolean value) { noAutomateDnsZone_ = value; - bitField0_ |= 0x00200000; + bitField0_ |= 0x00400000; onChanged(); return this; } @@ -7156,7 +7373,7 @@ public Builder setNoAutomateDnsZone(boolean value) { * @return This builder for chaining. */ public Builder clearNoAutomateDnsZone() { - bitField0_ = (bitField0_ & ~0x00200000); + bitField0_ = (bitField0_ & ~0x00400000); noAutomateDnsZone_ = false; onChanged(); return this; @@ -7175,7 +7392,7 @@ public Builder clearNoAutomateDnsZone() { * @return Whether the portRange field is set. */ public boolean hasPortRange() { - return ((bitField0_ & 0x00400000) != 0); + return ((bitField0_ & 0x00800000) != 0); } /** * @@ -7238,7 +7455,7 @@ public Builder setPortRange(java.lang.String value) { throw new NullPointerException(); } portRange_ = value; - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; onChanged(); return this; } @@ -7255,7 +7472,7 @@ public Builder setPortRange(java.lang.String value) { */ public Builder clearPortRange() { portRange_ = getDefaultInstance().getPortRange(); - bitField0_ = (bitField0_ & ~0x00400000); + bitField0_ = (bitField0_ & ~0x00800000); onChanged(); return this; } @@ -7277,7 +7494,7 @@ public Builder setPortRangeBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); portRange_ = value; - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; onChanged(); return this; } @@ -7289,7 +7506,7 @@ private void ensurePortsIsMutable() { if (!ports_.isModifiable()) { ports_ = new com.google.protobuf.LazyStringArrayList(ports_); } - bitField0_ |= 0x00800000; + bitField0_ |= 0x01000000; } /** * @@ -7369,7 +7586,7 @@ public Builder setPorts(int index, java.lang.String value) { } ensurePortsIsMutable(); ports_.set(index, value); - bitField0_ |= 0x00800000; + bitField0_ |= 0x01000000; onChanged(); return this; } @@ -7391,7 +7608,7 @@ public Builder addPorts(java.lang.String value) { } ensurePortsIsMutable(); ports_.add(value); - bitField0_ |= 0x00800000; + bitField0_ |= 0x01000000; onChanged(); return this; } @@ -7410,7 +7627,7 @@ public Builder addPorts(java.lang.String value) { public Builder addAllPorts(java.lang.Iterable values) { ensurePortsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ports_); - bitField0_ |= 0x00800000; + bitField0_ |= 0x01000000; onChanged(); return this; } @@ -7427,7 +7644,7 @@ public Builder addAllPorts(java.lang.Iterable values) { */ public Builder clearPorts() { ports_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00800000); + bitField0_ = (bitField0_ & ~0x01000000); ; onChanged(); return this; @@ -7451,7 +7668,7 @@ public Builder addPortsBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensurePortsIsMutable(); ports_.add(value); - bitField0_ |= 0x00800000; + bitField0_ |= 0x01000000; onChanged(); return this; } @@ -7470,7 +7687,7 @@ public Builder addPortsBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasPscConnectionId() { - return ((bitField0_ & 0x01000000) != 0); + return ((bitField0_ & 0x02000000) != 0); } /** * @@ -7502,7 +7719,7 @@ public long getPscConnectionId() { public Builder setPscConnectionId(long value) { pscConnectionId_ = value; - bitField0_ |= 0x01000000; + bitField0_ |= 0x02000000; onChanged(); return this; } @@ -7518,7 +7735,7 @@ public Builder setPscConnectionId(long value) { * @return This builder for chaining. */ public Builder clearPscConnectionId() { - bitField0_ = (bitField0_ & ~0x01000000); + bitField0_ = (bitField0_ & ~0x02000000); pscConnectionId_ = 0L; onChanged(); return this; @@ -7538,7 +7755,7 @@ public Builder clearPscConnectionId() { * @return Whether the pscConnectionStatus field is set. */ public boolean hasPscConnectionStatus() { - return ((bitField0_ & 0x02000000) != 0); + return ((bitField0_ & 0x04000000) != 0); } /** * @@ -7604,7 +7821,7 @@ public Builder setPscConnectionStatus(java.lang.String value) { throw new NullPointerException(); } pscConnectionStatus_ = value; - bitField0_ |= 0x02000000; + bitField0_ |= 0x04000000; onChanged(); return this; } @@ -7622,7 +7839,7 @@ public Builder setPscConnectionStatus(java.lang.String value) { */ public Builder clearPscConnectionStatus() { pscConnectionStatus_ = getDefaultInstance().getPscConnectionStatus(); - bitField0_ = (bitField0_ & ~0x02000000); + bitField0_ = (bitField0_ & ~0x04000000); onChanged(); return this; } @@ -7645,7 +7862,7 @@ public Builder setPscConnectionStatusBytes(com.google.protobuf.ByteString value) } checkByteStringIsUtf8(value); pscConnectionStatus_ = value; - bitField0_ |= 0x02000000; + bitField0_ |= 0x04000000; onChanged(); return this; } @@ -7663,7 +7880,7 @@ public Builder setPscConnectionStatusBytes(com.google.protobuf.ByteString value) * @return Whether the region field is set. */ public boolean hasRegion() { - return ((bitField0_ & 0x04000000) != 0); + return ((bitField0_ & 0x08000000) != 0); } /** * @@ -7726,7 +7943,7 @@ public Builder setRegion(java.lang.String value) { throw new NullPointerException(); } region_ = value; - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; onChanged(); return this; } @@ -7743,7 +7960,7 @@ public Builder setRegion(java.lang.String value) { */ public Builder clearRegion() { region_ = getDefaultInstance().getRegion(); - bitField0_ = (bitField0_ & ~0x04000000); + bitField0_ = (bitField0_ & ~0x08000000); onChanged(); return this; } @@ -7765,7 +7982,7 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); region_ = value; - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; onChanged(); return this; } @@ -7783,7 +8000,7 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * @return Whether the selfLink field is set. */ public boolean hasSelfLink() { - return ((bitField0_ & 0x08000000) != 0); + return ((bitField0_ & 0x10000000) != 0); } /** * @@ -7846,7 +8063,7 @@ public Builder setSelfLink(java.lang.String value) { throw new NullPointerException(); } selfLink_ = value; - bitField0_ |= 0x08000000; + bitField0_ |= 0x10000000; onChanged(); return this; } @@ -7863,7 +8080,7 @@ public Builder setSelfLink(java.lang.String value) { */ public Builder clearSelfLink() { selfLink_ = getDefaultInstance().getSelfLink(); - bitField0_ = (bitField0_ & ~0x08000000); + bitField0_ = (bitField0_ & ~0x10000000); onChanged(); return this; } @@ -7885,7 +8102,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); selfLink_ = value; - bitField0_ |= 0x08000000; + bitField0_ |= 0x10000000; onChanged(); return this; } @@ -7894,12 +8111,12 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { serviceDirectoryRegistrations_ = java.util.Collections.emptyList(); private void ensureServiceDirectoryRegistrationsIsMutable() { - if (!((bitField0_ & 0x10000000) != 0)) { + if (!((bitField0_ & 0x20000000) != 0)) { serviceDirectoryRegistrations_ = new java.util.ArrayList< com.google.cloud.compute.v1.ForwardingRuleServiceDirectoryRegistration>( serviceDirectoryRegistrations_); - bitField0_ |= 0x10000000; + bitField0_ |= 0x20000000; } } @@ -8150,7 +8367,7 @@ public Builder addAllServiceDirectoryRegistrations( public Builder clearServiceDirectoryRegistrations() { if (serviceDirectoryRegistrationsBuilder_ == null) { serviceDirectoryRegistrations_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x10000000); + bitField0_ = (bitField0_ & ~0x20000000); onChanged(); } else { serviceDirectoryRegistrationsBuilder_.clear(); @@ -8299,7 +8516,7 @@ public Builder removeServiceDirectoryRegistrations(int index) { com.google.cloud.compute.v1.ForwardingRuleServiceDirectoryRegistration.Builder, com.google.cloud.compute.v1.ForwardingRuleServiceDirectoryRegistrationOrBuilder>( serviceDirectoryRegistrations_, - ((bitField0_ & 0x10000000) != 0), + ((bitField0_ & 0x20000000) != 0), getParentForChildren(), isClean()); serviceDirectoryRegistrations_ = null; @@ -8320,7 +8537,7 @@ public Builder removeServiceDirectoryRegistrations(int index) { * @return Whether the serviceLabel field is set. */ public boolean hasServiceLabel() { - return ((bitField0_ & 0x20000000) != 0); + return ((bitField0_ & 0x40000000) != 0); } /** * @@ -8383,7 +8600,7 @@ public Builder setServiceLabel(java.lang.String value) { throw new NullPointerException(); } serviceLabel_ = value; - bitField0_ |= 0x20000000; + bitField0_ |= 0x40000000; onChanged(); return this; } @@ -8400,7 +8617,7 @@ public Builder setServiceLabel(java.lang.String value) { */ public Builder clearServiceLabel() { serviceLabel_ = getDefaultInstance().getServiceLabel(); - bitField0_ = (bitField0_ & ~0x20000000); + bitField0_ = (bitField0_ & ~0x40000000); onChanged(); return this; } @@ -8422,7 +8639,7 @@ public Builder setServiceLabelBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); serviceLabel_ = value; - bitField0_ |= 0x20000000; + bitField0_ |= 0x40000000; onChanged(); return this; } @@ -8440,7 +8657,7 @@ public Builder setServiceLabelBytes(com.google.protobuf.ByteString value) { * @return Whether the serviceName field is set. */ public boolean hasServiceName() { - return ((bitField0_ & 0x40000000) != 0); + return ((bitField0_ & 0x80000000) != 0); } /** * @@ -8503,7 +8720,7 @@ public Builder setServiceName(java.lang.String value) { throw new NullPointerException(); } serviceName_ = value; - bitField0_ |= 0x40000000; + bitField0_ |= 0x80000000; onChanged(); return this; } @@ -8520,7 +8737,7 @@ public Builder setServiceName(java.lang.String value) { */ public Builder clearServiceName() { serviceName_ = getDefaultInstance().getServiceName(); - bitField0_ = (bitField0_ & ~0x40000000); + bitField0_ = (bitField0_ & ~0x80000000); onChanged(); return this; } @@ -8542,7 +8759,7 @@ public Builder setServiceNameBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); serviceName_ = value; - bitField0_ |= 0x40000000; + bitField0_ |= 0x80000000; onChanged(); return this; } @@ -8554,7 +8771,7 @@ private void ensureSourceIpRangesIsMutable() { if (!sourceIpRanges_.isModifiable()) { sourceIpRanges_ = new com.google.protobuf.LazyStringArrayList(sourceIpRanges_); } - bitField0_ |= 0x80000000; + bitField1_ |= 0x00000001; } /** * @@ -8634,7 +8851,7 @@ public Builder setSourceIpRanges(int index, java.lang.String value) { } ensureSourceIpRangesIsMutable(); sourceIpRanges_.set(index, value); - bitField0_ |= 0x80000000; + bitField1_ |= 0x00000001; onChanged(); return this; } @@ -8656,7 +8873,7 @@ public Builder addSourceIpRanges(java.lang.String value) { } ensureSourceIpRangesIsMutable(); sourceIpRanges_.add(value); - bitField0_ |= 0x80000000; + bitField1_ |= 0x00000001; onChanged(); return this; } @@ -8675,7 +8892,7 @@ public Builder addSourceIpRanges(java.lang.String value) { public Builder addAllSourceIpRanges(java.lang.Iterable values) { ensureSourceIpRangesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sourceIpRanges_); - bitField0_ |= 0x80000000; + bitField1_ |= 0x00000001; onChanged(); return this; } @@ -8692,7 +8909,7 @@ public Builder addAllSourceIpRanges(java.lang.Iterable values) */ public Builder clearSourceIpRanges() { sourceIpRanges_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x80000000); + bitField1_ = (bitField1_ & ~0x00000001); ; onChanged(); return this; @@ -8716,7 +8933,7 @@ public Builder addSourceIpRangesBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureSourceIpRangesIsMutable(); sourceIpRanges_.add(value); - bitField0_ |= 0x80000000; + bitField1_ |= 0x00000001; onChanged(); return this; } @@ -8734,7 +8951,7 @@ public Builder addSourceIpRangesBytes(com.google.protobuf.ByteString value) { * @return Whether the subnetwork field is set. */ public boolean hasSubnetwork() { - return ((bitField1_ & 0x00000001) != 0); + return ((bitField1_ & 0x00000002) != 0); } /** * @@ -8797,7 +9014,7 @@ public Builder setSubnetwork(java.lang.String value) { throw new NullPointerException(); } subnetwork_ = value; - bitField1_ |= 0x00000001; + bitField1_ |= 0x00000002; onChanged(); return this; } @@ -8814,7 +9031,7 @@ public Builder setSubnetwork(java.lang.String value) { */ public Builder clearSubnetwork() { subnetwork_ = getDefaultInstance().getSubnetwork(); - bitField1_ = (bitField1_ & ~0x00000001); + bitField1_ = (bitField1_ & ~0x00000002); onChanged(); return this; } @@ -8836,7 +9053,7 @@ public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); subnetwork_ = value; - bitField1_ |= 0x00000001; + bitField1_ |= 0x00000002; onChanged(); return this; } @@ -8854,7 +9071,7 @@ public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { * @return Whether the target field is set. */ public boolean hasTarget() { - return ((bitField1_ & 0x00000002) != 0); + return ((bitField1_ & 0x00000004) != 0); } /** * @@ -8917,7 +9134,7 @@ public Builder setTarget(java.lang.String value) { throw new NullPointerException(); } target_ = value; - bitField1_ |= 0x00000002; + bitField1_ |= 0x00000004; onChanged(); return this; } @@ -8934,7 +9151,7 @@ public Builder setTarget(java.lang.String value) { */ public Builder clearTarget() { target_ = getDefaultInstance().getTarget(); - bitField1_ = (bitField1_ & ~0x00000002); + bitField1_ = (bitField1_ & ~0x00000004); onChanged(); return this; } @@ -8956,7 +9173,7 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); target_ = value; - bitField1_ |= 0x00000002; + bitField1_ |= 0x00000004; onChanged(); return this; } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ForwardingRuleOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ForwardingRuleOrBuilder.java index b11fd0a8b6ab..70d679e49d98 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ForwardingRuleOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ForwardingRuleOrBuilder.java @@ -386,6 +386,43 @@ public interface ForwardingRuleOrBuilder */ long getId(); + /** + * + * + *
+   * Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to specify a sub-PDP when creating an IPv6 NetLB forwarding rule using BYOIP: Full resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region /publicDelegatedPrefixes/sub-pdp-name Partial URL, as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
+   * 
+ * + * optional string ip_collection = 176818358; + * + * @return Whether the ipCollection field is set. + */ + boolean hasIpCollection(); + /** + * + * + *
+   * Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to specify a sub-PDP when creating an IPv6 NetLB forwarding rule using BYOIP: Full resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region /publicDelegatedPrefixes/sub-pdp-name Partial URL, as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
+   * 
+ * + * optional string ip_collection = 176818358; + * + * @return The ipCollection. + */ + java.lang.String getIpCollection(); + /** + * + * + *
+   * Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to specify a sub-PDP when creating an IPv6 NetLB forwarding rule using BYOIP: Full resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region /publicDelegatedPrefixes/sub-pdp-name Partial URL, as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name
+   * 
+ * + * optional string ip_collection = 176818358; + * + * @return The bytes for ipCollection. + */ + com.google.protobuf.ByteString getIpCollectionBytes(); + /** * * diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetIamPolicyStoragePoolRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetIamPolicyStoragePoolRequest.java new file mode 100644 index 000000000000..de32dc87b3ab --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetIamPolicyStoragePoolRequest.java @@ -0,0 +1,1127 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for StoragePools.GetIamPolicy. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetIamPolicyStoragePoolRequest} + */ +public final class GetIamPolicyStoragePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetIamPolicyStoragePoolRequest) + GetIamPolicyStoragePoolRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetIamPolicyStoragePoolRequest.newBuilder() to construct. + private GetIamPolicyStoragePoolRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetIamPolicyStoragePoolRequest() { + project_ = ""; + resource_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetIamPolicyStoragePoolRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetIamPolicyStoragePoolRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetIamPolicyStoragePoolRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest.class, + com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest.Builder.class); + } + + private int bitField0_; + public static final int OPTIONS_REQUESTED_POLICY_VERSION_FIELD_NUMBER = 499220029; + private int optionsRequestedPolicyVersion_ = 0; + /** + * + * + *
+   * Requested IAM Policy version.
+   * 
+ * + * optional int32 options_requested_policy_version = 499220029; + * + * @return Whether the optionsRequestedPolicyVersion field is set. + */ + @java.lang.Override + public boolean hasOptionsRequestedPolicyVersion() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Requested IAM Policy version.
+   * 
+ * + * optional int32 options_requested_policy_version = 499220029; + * + * @return The optionsRequestedPolicyVersion. + */ + @java.lang.Override + public int getOptionsRequestedPolicyVersion() { + return optionsRequestedPolicyVersion_; + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESOURCE_FIELD_NUMBER = 195806222; + + @SuppressWarnings("serial") + private volatile java.lang.Object resource_ = ""; + /** + * + * + *
+   * Name or id of the resource for this request.
+   * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The resource. + */ + @java.lang.Override + public java.lang.String getResource() { + java.lang.Object ref = resource_; + 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(); + resource_ = s; + return s; + } + } + /** + * + * + *
+   * Name or id of the resource for this request.
+   * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for resource. + */ + @java.lang.Override + public com.google.protobuf.ByteString getResourceBytes() { + java.lang.Object ref = resource_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + resource_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 195806222, resource_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt32(499220029, optionsRequestedPolicyVersion_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(195806222, resource_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 499220029, optionsRequestedPolicyVersion_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest other = + (com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest) obj; + + if (hasOptionsRequestedPolicyVersion() != other.hasOptionsRequestedPolicyVersion()) + return false; + if (hasOptionsRequestedPolicyVersion()) { + if (getOptionsRequestedPolicyVersion() != other.getOptionsRequestedPolicyVersion()) + return false; + } + if (!getProject().equals(other.getProject())) return false; + if (!getResource().equals(other.getResource())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasOptionsRequestedPolicyVersion()) { + hash = (37 * hash) + OPTIONS_REQUESTED_POLICY_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getOptionsRequestedPolicyVersion(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getResource().hashCode(); + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for StoragePools.GetIamPolicy. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetIamPolicyStoragePoolRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetIamPolicyStoragePoolRequest) + com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetIamPolicyStoragePoolRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetIamPolicyStoragePoolRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest.class, + com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + optionsRequestedPolicyVersion_ = 0; + project_ = ""; + resource_ = ""; + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetIamPolicyStoragePoolRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest build() { + com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest buildPartial() { + com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest result = + new com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.optionsRequestedPolicyVersion_ = optionsRequestedPolicyVersion_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.project_ = project_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.resource_ = resource_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.zone_ = zone_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest) { + return mergeFrom((com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest other) { + if (other == com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest.getDefaultInstance()) + return this; + if (other.hasOptionsRequestedPolicyVersion()) { + setOptionsRequestedPolicyVersion(other.getOptionsRequestedPolicyVersion()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getResource().isEmpty()) { + resource_ = other.resource_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 29957474 + case 1566449778: + { + resource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 1566449778 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 1820481738 + case -301207064: + { + optionsRequestedPolicyVersion_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case -301207064 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private int optionsRequestedPolicyVersion_; + /** + * + * + *
+     * Requested IAM Policy version.
+     * 
+ * + * optional int32 options_requested_policy_version = 499220029; + * + * @return Whether the optionsRequestedPolicyVersion field is set. + */ + @java.lang.Override + public boolean hasOptionsRequestedPolicyVersion() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Requested IAM Policy version.
+     * 
+ * + * optional int32 options_requested_policy_version = 499220029; + * + * @return The optionsRequestedPolicyVersion. + */ + @java.lang.Override + public int getOptionsRequestedPolicyVersion() { + return optionsRequestedPolicyVersion_; + } + /** + * + * + *
+     * Requested IAM Policy version.
+     * 
+ * + * optional int32 options_requested_policy_version = 499220029; + * + * @param value The optionsRequestedPolicyVersion to set. + * @return This builder for chaining. + */ + public Builder setOptionsRequestedPolicyVersion(int value) { + + optionsRequestedPolicyVersion_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Requested IAM Policy version.
+     * 
+ * + * optional int32 options_requested_policy_version = 499220029; + * + * @return This builder for chaining. + */ + public Builder clearOptionsRequestedPolicyVersion() { + bitField0_ = (bitField0_ & ~0x00000001); + optionsRequestedPolicyVersion_ = 0; + onChanged(); + return this; + } + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object resource_ = ""; + /** + * + * + *
+     * Name or id of the resource for this request.
+     * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The resource. + */ + public java.lang.String getResource() { + java.lang.Object ref = resource_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resource_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name or id of the resource for this request.
+     * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for resource. + */ + public com.google.protobuf.ByteString getResourceBytes() { + java.lang.Object ref = resource_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + resource_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name or id of the resource for this request.
+     * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The resource to set. + * @return This builder for chaining. + */ + public Builder setResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + resource_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Name or id of the resource for this request.
+     * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearResource() { + resource_ = getDefaultInstance().getResource(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Name or id of the resource for this request.
+     * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for resource to set. + * @return This builder for chaining. + */ + public Builder setResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.GetIamPolicyStoragePoolRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetIamPolicyStoragePoolRequest) + private static final com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest(); + } + + public static com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetIamPolicyStoragePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetIamPolicyStoragePoolRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetIamPolicyStoragePoolRequestOrBuilder.java new file mode 100644 index 000000000000..bdca4444321f --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetIamPolicyStoragePoolRequestOrBuilder.java @@ -0,0 +1,126 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface GetIamPolicyStoragePoolRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetIamPolicyStoragePoolRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Requested IAM Policy version.
+   * 
+ * + * optional int32 options_requested_policy_version = 499220029; + * + * @return Whether the optionsRequestedPolicyVersion field is set. + */ + boolean hasOptionsRequestedPolicyVersion(); + /** + * + * + *
+   * Requested IAM Policy version.
+   * 
+ * + * optional int32 options_requested_policy_version = 499220029; + * + * @return The optionsRequestedPolicyVersion. + */ + int getOptionsRequestedPolicyVersion(); + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * Name or id of the resource for this request.
+   * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The resource. + */ + java.lang.String getResource(); + /** + * + * + *
+   * Name or id of the resource for this request.
+   * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for resource. + */ + com.google.protobuf.ByteString getResourceBytes(); + + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerResizeRequestRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerResizeRequestRequest.java new file mode 100644 index 000000000000..938ee4504c49 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerResizeRequestRequest.java @@ -0,0 +1,1201 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for InstanceGroupManagerResizeRequests.Get. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest} + */ +public final class GetInstanceGroupManagerResizeRequestRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest) + GetInstanceGroupManagerResizeRequestRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetInstanceGroupManagerResizeRequestRequest.newBuilder() to construct. + private GetInstanceGroupManagerResizeRequestRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetInstanceGroupManagerResizeRequestRequest() { + instanceGroupManager_ = ""; + project_ = ""; + resizeRequest_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetInstanceGroupManagerResizeRequestRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetInstanceGroupManagerResizeRequestRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetInstanceGroupManagerResizeRequestRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest.class, + com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest.Builder.class); + } + + public static final int INSTANCE_GROUP_MANAGER_FIELD_NUMBER = 249363395; + + @SuppressWarnings("serial") + private volatile java.lang.Object instanceGroupManager_ = ""; + /** + * + * + *
+   * The name of the managed instance group. Name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceGroupManager. + */ + @java.lang.Override + public java.lang.String getInstanceGroupManager() { + java.lang.Object ref = instanceGroupManager_; + 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(); + instanceGroupManager_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the managed instance group. Name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for instanceGroupManager. + */ + @java.lang.Override + public com.google.protobuf.ByteString getInstanceGroupManagerBytes() { + java.lang.Object ref = instanceGroupManager_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + instanceGroupManager_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESIZE_REQUEST_FIELD_NUMBER = 216941060; + + @SuppressWarnings("serial") + private volatile java.lang.Object resizeRequest_ = ""; + /** + * + * + *
+   * The name of the resize request. Name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The resizeRequest. + */ + @java.lang.Override + public java.lang.String getResizeRequest() { + java.lang.Object ref = resizeRequest_; + 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(); + resizeRequest_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the resize request. Name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for resizeRequest. + */ + @java.lang.Override + public com.google.protobuf.ByteString getResizeRequestBytes() { + java.lang.Object ref = resizeRequest_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + resizeRequest_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * Name of the href="/compute/docs/regions-zones/#available">zone scoping this request. Name should conform to RFC1035.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the href="/compute/docs/regions-zones/#available">zone scoping this request. Name should conform to RFC1035.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resizeRequest_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 216941060, resizeRequest_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceGroupManager_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 249363395, instanceGroupManager_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resizeRequest_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(216941060, resizeRequest_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceGroupManager_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 249363395, instanceGroupManager_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest other = + (com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest) obj; + + if (!getInstanceGroupManager().equals(other.getInstanceGroupManager())) return false; + if (!getProject().equals(other.getProject())) return false; + if (!getResizeRequest().equals(other.getResizeRequest())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INSTANCE_GROUP_MANAGER_FIELD_NUMBER; + hash = (53 * hash) + getInstanceGroupManager().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + RESIZE_REQUEST_FIELD_NUMBER; + hash = (53 * hash) + getResizeRequest().hashCode(); + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for InstanceGroupManagerResizeRequests.Get. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest) + com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetInstanceGroupManagerResizeRequestRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetInstanceGroupManagerResizeRequestRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest.class, + com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + instanceGroupManager_ = ""; + project_ = ""; + resizeRequest_ = ""; + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetInstanceGroupManagerResizeRequestRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest build() { + com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest buildPartial() { + com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest result = + new com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.instanceGroupManager_ = instanceGroupManager_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.project_ = project_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.resizeRequest_ = resizeRequest_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.zone_ = zone_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest other) { + if (other + == com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest + .getDefaultInstance()) return this; + if (!other.getInstanceGroupManager().isEmpty()) { + instanceGroupManager_ = other.instanceGroupManager_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getResizeRequest().isEmpty()) { + resizeRequest_ = other.resizeRequest_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 29957474 + case 1735528482: + { + resizeRequest_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 1735528482 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 1820481738 + case 1994907162: + { + instanceGroupManager_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 1994907162 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object instanceGroupManager_ = ""; + /** + * + * + *
+     * The name of the managed instance group. Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceGroupManager. + */ + public java.lang.String getInstanceGroupManager() { + java.lang.Object ref = instanceGroupManager_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + instanceGroupManager_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the managed instance group. Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for instanceGroupManager. + */ + public com.google.protobuf.ByteString getInstanceGroupManagerBytes() { + java.lang.Object ref = instanceGroupManager_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + instanceGroupManager_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the managed instance group. Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The instanceGroupManager to set. + * @return This builder for chaining. + */ + public Builder setInstanceGroupManager(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + instanceGroupManager_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the managed instance group. Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearInstanceGroupManager() { + instanceGroupManager_ = getDefaultInstance().getInstanceGroupManager(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the managed instance group. Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The bytes for instanceGroupManager to set. + * @return This builder for chaining. + */ + public Builder setInstanceGroupManagerBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceGroupManager_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object resizeRequest_ = ""; + /** + * + * + *
+     * The name of the resize request. Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The resizeRequest. + */ + public java.lang.String getResizeRequest() { + java.lang.Object ref = resizeRequest_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resizeRequest_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the resize request. Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for resizeRequest. + */ + public com.google.protobuf.ByteString getResizeRequestBytes() { + java.lang.Object ref = resizeRequest_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + resizeRequest_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the resize request. Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The resizeRequest to set. + * @return This builder for chaining. + */ + public Builder setResizeRequest(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + resizeRequest_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the resize request. Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearResizeRequest() { + resizeRequest_ = getDefaultInstance().getResizeRequest(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the resize request. Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for resizeRequest to set. + * @return This builder for chaining. + */ + public Builder setResizeRequestBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resizeRequest_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * Name of the href="/compute/docs/regions-zones/#available">zone scoping this request. Name should conform to RFC1035.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the href="/compute/docs/regions-zones/#available">zone scoping this request. Name should conform to RFC1035.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the href="/compute/docs/regions-zones/#available">zone scoping this request. Name should conform to RFC1035.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the href="/compute/docs/regions-zones/#available">zone scoping this request. Name should conform to RFC1035.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the href="/compute/docs/regions-zones/#available">zone scoping this request. Name should conform to RFC1035.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest) + private static final com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest(); + } + + public static com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstanceGroupManagerResizeRequestRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser + getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerResizeRequestRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerResizeRequestRequestOrBuilder.java new file mode 100644 index 000000000000..39f1ee6be6ef --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetInstanceGroupManagerResizeRequestRequestOrBuilder.java @@ -0,0 +1,128 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface GetInstanceGroupManagerResizeRequestRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the managed instance group. Name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceGroupManager. + */ + java.lang.String getInstanceGroupManager(); + /** + * + * + *
+   * The name of the managed instance group. Name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for instanceGroupManager. + */ + com.google.protobuf.ByteString getInstanceGroupManagerBytes(); + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * The name of the resize request. Name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The resizeRequest. + */ + java.lang.String getResizeRequest(); + /** + * + * + *
+   * The name of the resize request. Name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string resize_request = 216941060 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for resizeRequest. + */ + com.google.protobuf.ByteString getResizeRequestBytes(); + + /** + * + * + *
+   * Name of the href="/compute/docs/regions-zones/#available">zone scoping this request. Name should conform to RFC1035.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * Name of the href="/compute/docs/regions-zones/#available">zone scoping this request. Name should conform to RFC1035.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetInstanceSettingRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetInstanceSettingRequest.java new file mode 100644 index 000000000000..8a875cfcbbc1 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetInstanceSettingRequest.java @@ -0,0 +1,808 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for InstanceSettingsService.Get. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetInstanceSettingRequest} + */ +public final class GetInstanceSettingRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetInstanceSettingRequest) + GetInstanceSettingRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetInstanceSettingRequest.newBuilder() to construct. + private GetInstanceSettingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetInstanceSettingRequest() { + project_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetInstanceSettingRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetInstanceSettingRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetInstanceSettingRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetInstanceSettingRequest.class, + com.google.cloud.compute.v1.GetInstanceSettingRequest.Builder.class); + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * Name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.GetInstanceSettingRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetInstanceSettingRequest other = + (com.google.cloud.compute.v1.GetInstanceSettingRequest) obj; + + if (!getProject().equals(other.getProject())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetInstanceSettingRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetInstanceSettingRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetInstanceSettingRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetInstanceSettingRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetInstanceSettingRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetInstanceSettingRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetInstanceSettingRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetInstanceSettingRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetInstanceSettingRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetInstanceSettingRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetInstanceSettingRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetInstanceSettingRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.GetInstanceSettingRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for InstanceSettingsService.Get. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetInstanceSettingRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetInstanceSettingRequest) + com.google.cloud.compute.v1.GetInstanceSettingRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetInstanceSettingRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetInstanceSettingRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetInstanceSettingRequest.class, + com.google.cloud.compute.v1.GetInstanceSettingRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.GetInstanceSettingRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + project_ = ""; + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetInstanceSettingRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetInstanceSettingRequest getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetInstanceSettingRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetInstanceSettingRequest build() { + com.google.cloud.compute.v1.GetInstanceSettingRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetInstanceSettingRequest buildPartial() { + com.google.cloud.compute.v1.GetInstanceSettingRequest result = + new com.google.cloud.compute.v1.GetInstanceSettingRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.GetInstanceSettingRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.project_ = project_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.zone_ = zone_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.GetInstanceSettingRequest) { + return mergeFrom((com.google.cloud.compute.v1.GetInstanceSettingRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.GetInstanceSettingRequest other) { + if (other == com.google.cloud.compute.v1.GetInstanceSettingRequest.getDefaultInstance()) + return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 29957474 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 1820481738 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * Name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.GetInstanceSettingRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetInstanceSettingRequest) + private static final com.google.cloud.compute.v1.GetInstanceSettingRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.GetInstanceSettingRequest(); + } + + public static com.google.cloud.compute.v1.GetInstanceSettingRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstanceSettingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetInstanceSettingRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetInstanceSettingRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetInstanceSettingRequestOrBuilder.java new file mode 100644 index 000000000000..df1ef073f0db --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetInstanceSettingRequestOrBuilder.java @@ -0,0 +1,76 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface GetInstanceSettingRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetInstanceSettingRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * Name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * Name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetStoragePoolRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetStoragePoolRequest.java new file mode 100644 index 000000000000..20d56b4979d6 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetStoragePoolRequest.java @@ -0,0 +1,989 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for StoragePools.Get. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetStoragePoolRequest} + */ +public final class GetStoragePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetStoragePoolRequest) + GetStoragePoolRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetStoragePoolRequest.newBuilder() to construct. + private GetStoragePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetStoragePoolRequest() { + project_ = ""; + storagePool_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetStoragePoolRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetStoragePoolRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetStoragePoolRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetStoragePoolRequest.class, + com.google.cloud.compute.v1.GetStoragePoolRequest.Builder.class); + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STORAGE_POOL_FIELD_NUMBER = 360473440; + + @SuppressWarnings("serial") + private volatile java.lang.Object storagePool_ = ""; + /** + * + * + *
+   * Name of the storage pool to return.
+   * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The storagePool. + */ + @java.lang.Override + public java.lang.String getStoragePool() { + java.lang.Object ref = storagePool_; + 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(); + storagePool_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the storage pool to return.
+   * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for storagePool. + */ + @java.lang.Override + public com.google.protobuf.ByteString getStoragePoolBytes() { + java.lang.Object ref = storagePool_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + storagePool_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storagePool_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 360473440, storagePool_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storagePool_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(360473440, storagePool_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.GetStoragePoolRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetStoragePoolRequest other = + (com.google.cloud.compute.v1.GetStoragePoolRequest) obj; + + if (!getProject().equals(other.getProject())) return false; + if (!getStoragePool().equals(other.getStoragePool())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + STORAGE_POOL_FIELD_NUMBER; + hash = (53 * hash) + getStoragePool().hashCode(); + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetStoragePoolRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetStoragePoolRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetStoragePoolRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetStoragePoolRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetStoragePoolRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetStoragePoolRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetStoragePoolRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetStoragePoolRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetStoragePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetStoragePoolRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetStoragePoolRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetStoragePoolRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.compute.v1.GetStoragePoolRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for StoragePools.Get. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetStoragePoolRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetStoragePoolRequest) + com.google.cloud.compute.v1.GetStoragePoolRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetStoragePoolRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetStoragePoolRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetStoragePoolRequest.class, + com.google.cloud.compute.v1.GetStoragePoolRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.GetStoragePoolRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + project_ = ""; + storagePool_ = ""; + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetStoragePoolRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetStoragePoolRequest getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetStoragePoolRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetStoragePoolRequest build() { + com.google.cloud.compute.v1.GetStoragePoolRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetStoragePoolRequest buildPartial() { + com.google.cloud.compute.v1.GetStoragePoolRequest result = + new com.google.cloud.compute.v1.GetStoragePoolRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.GetStoragePoolRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.project_ = project_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.storagePool_ = storagePool_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.zone_ = zone_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.GetStoragePoolRequest) { + return mergeFrom((com.google.cloud.compute.v1.GetStoragePoolRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.GetStoragePoolRequest other) { + if (other == com.google.cloud.compute.v1.GetStoragePoolRequest.getDefaultInstance()) + return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getStoragePool().isEmpty()) { + storagePool_ = other.storagePool_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 29957474 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 1820481738 + case -1411179774: + { + storagePool_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case -1411179774 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object storagePool_ = ""; + /** + * + * + *
+     * Name of the storage pool to return.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The storagePool. + */ + public java.lang.String getStoragePool() { + java.lang.Object ref = storagePool_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + storagePool_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the storage pool to return.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for storagePool. + */ + public com.google.protobuf.ByteString getStoragePoolBytes() { + java.lang.Object ref = storagePool_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + storagePool_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the storage pool to return.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The storagePool to set. + * @return This builder for chaining. + */ + public Builder setStoragePool(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + storagePool_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the storage pool to return.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearStoragePool() { + storagePool_ = getDefaultInstance().getStoragePool(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the storage pool to return.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for storagePool to set. + * @return This builder for chaining. + */ + public Builder setStoragePoolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + storagePool_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.GetStoragePoolRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetStoragePoolRequest) + private static final com.google.cloud.compute.v1.GetStoragePoolRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.GetStoragePoolRequest(); + } + + public static com.google.cloud.compute.v1.GetStoragePoolRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetStoragePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetStoragePoolRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetStoragePoolRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetStoragePoolRequestOrBuilder.java new file mode 100644 index 000000000000..44f3ed0eb790 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetStoragePoolRequestOrBuilder.java @@ -0,0 +1,101 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface GetStoragePoolRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetStoragePoolRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * Name of the storage pool to return.
+   * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The storagePool. + */ + java.lang.String getStoragePool(); + /** + * + * + *
+   * Name of the storage pool to return.
+   * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for storagePool. + */ + com.google.protobuf.ByteString getStoragePoolBytes(); + + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetStoragePoolTypeRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetStoragePoolTypeRequest.java new file mode 100644 index 000000000000..1f368bcd2620 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetStoragePoolTypeRequest.java @@ -0,0 +1,990 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for StoragePoolTypes.Get. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetStoragePoolTypeRequest} + */ +public final class GetStoragePoolTypeRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetStoragePoolTypeRequest) + GetStoragePoolTypeRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetStoragePoolTypeRequest.newBuilder() to construct. + private GetStoragePoolTypeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetStoragePoolTypeRequest() { + project_ = ""; + storagePoolType_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetStoragePoolTypeRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetStoragePoolTypeRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetStoragePoolTypeRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetStoragePoolTypeRequest.class, + com.google.cloud.compute.v1.GetStoragePoolTypeRequest.Builder.class); + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STORAGE_POOL_TYPE_FIELD_NUMBER = 285999289; + + @SuppressWarnings("serial") + private volatile java.lang.Object storagePoolType_ = ""; + /** + * + * + *
+   * Name of the storage pool type to return.
+   * 
+ * + * string storage_pool_type = 285999289 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The storagePoolType. + */ + @java.lang.Override + public java.lang.String getStoragePoolType() { + java.lang.Object ref = storagePoolType_; + 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(); + storagePoolType_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the storage pool type to return.
+   * 
+ * + * string storage_pool_type = 285999289 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for storagePoolType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getStoragePoolTypeBytes() { + java.lang.Object ref = storagePoolType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + storagePoolType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storagePoolType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 285999289, storagePoolType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storagePoolType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(285999289, storagePoolType_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.GetStoragePoolTypeRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetStoragePoolTypeRequest other = + (com.google.cloud.compute.v1.GetStoragePoolTypeRequest) obj; + + if (!getProject().equals(other.getProject())) return false; + if (!getStoragePoolType().equals(other.getStoragePoolType())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + STORAGE_POOL_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getStoragePoolType().hashCode(); + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetStoragePoolTypeRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetStoragePoolTypeRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetStoragePoolTypeRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetStoragePoolTypeRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetStoragePoolTypeRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetStoragePoolTypeRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetStoragePoolTypeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetStoragePoolTypeRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetStoragePoolTypeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetStoragePoolTypeRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.GetStoragePoolTypeRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetStoragePoolTypeRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.GetStoragePoolTypeRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for StoragePoolTypes.Get. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetStoragePoolTypeRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetStoragePoolTypeRequest) + com.google.cloud.compute.v1.GetStoragePoolTypeRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetStoragePoolTypeRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetStoragePoolTypeRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetStoragePoolTypeRequest.class, + com.google.cloud.compute.v1.GetStoragePoolTypeRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.GetStoragePoolTypeRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + project_ = ""; + storagePoolType_ = ""; + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetStoragePoolTypeRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetStoragePoolTypeRequest getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetStoragePoolTypeRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetStoragePoolTypeRequest build() { + com.google.cloud.compute.v1.GetStoragePoolTypeRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetStoragePoolTypeRequest buildPartial() { + com.google.cloud.compute.v1.GetStoragePoolTypeRequest result = + new com.google.cloud.compute.v1.GetStoragePoolTypeRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.GetStoragePoolTypeRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.project_ = project_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.storagePoolType_ = storagePoolType_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.zone_ = zone_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.GetStoragePoolTypeRequest) { + return mergeFrom((com.google.cloud.compute.v1.GetStoragePoolTypeRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.GetStoragePoolTypeRequest other) { + if (other == com.google.cloud.compute.v1.GetStoragePoolTypeRequest.getDefaultInstance()) + return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getStoragePoolType().isEmpty()) { + storagePoolType_ = other.storagePoolType_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 29957474 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 1820481738 + case -2006972982: + { + storagePoolType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case -2006972982 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object storagePoolType_ = ""; + /** + * + * + *
+     * Name of the storage pool type to return.
+     * 
+ * + * string storage_pool_type = 285999289 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The storagePoolType. + */ + public java.lang.String getStoragePoolType() { + java.lang.Object ref = storagePoolType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + storagePoolType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the storage pool type to return.
+     * 
+ * + * string storage_pool_type = 285999289 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for storagePoolType. + */ + public com.google.protobuf.ByteString getStoragePoolTypeBytes() { + java.lang.Object ref = storagePoolType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + storagePoolType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the storage pool type to return.
+     * 
+ * + * string storage_pool_type = 285999289 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The storagePoolType to set. + * @return This builder for chaining. + */ + public Builder setStoragePoolType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + storagePoolType_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the storage pool type to return.
+     * 
+ * + * string storage_pool_type = 285999289 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearStoragePoolType() { + storagePoolType_ = getDefaultInstance().getStoragePoolType(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the storage pool type to return.
+     * 
+ * + * string storage_pool_type = 285999289 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for storagePoolType to set. + * @return This builder for chaining. + */ + public Builder setStoragePoolTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + storagePoolType_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.GetStoragePoolTypeRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetStoragePoolTypeRequest) + private static final com.google.cloud.compute.v1.GetStoragePoolTypeRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.GetStoragePoolTypeRequest(); + } + + public static com.google.cloud.compute.v1.GetStoragePoolTypeRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetStoragePoolTypeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetStoragePoolTypeRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetStoragePoolTypeRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetStoragePoolTypeRequestOrBuilder.java new file mode 100644 index 000000000000..4314ff7ff4b1 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetStoragePoolTypeRequestOrBuilder.java @@ -0,0 +1,101 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface GetStoragePoolTypeRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetStoragePoolTypeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * Name of the storage pool type to return.
+   * 
+ * + * string storage_pool_type = 285999289 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The storagePoolType. + */ + java.lang.String getStoragePoolType(); + /** + * + * + *
+   * Name of the storage pool type to return.
+   * 
+ * + * string storage_pool_type = 285999289 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for storagePoolType. + */ + com.google.protobuf.ByteString getStoragePoolTypeBytes(); + + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java index 5f64fde51d36..4884afb98d38 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java @@ -67,7 +67,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
+   * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
    * 
* * Protobuf enum {@code google.cloud.compute.v1.GuestOsFeature.Type} @@ -257,7 +257,7 @@ private Type(int value) { * * *
-   * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
+   * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
    * Check the Type enum for the list of possible values.
    * 
* @@ -273,7 +273,7 @@ public boolean hasType() { * * *
-   * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
+   * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
    * Check the Type enum for the list of possible values.
    * 
* @@ -297,7 +297,7 @@ public java.lang.String getType() { * * *
-   * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
+   * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
    * Check the Type enum for the list of possible values.
    * 
* @@ -672,7 +672,7 @@ public Builder mergeFrom( * * *
-     * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
+     * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
      * Check the Type enum for the list of possible values.
      * 
* @@ -687,7 +687,7 @@ public boolean hasType() { * * *
-     * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
+     * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
      * Check the Type enum for the list of possible values.
      * 
* @@ -710,7 +710,7 @@ public java.lang.String getType() { * * *
-     * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
+     * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
      * Check the Type enum for the list of possible values.
      * 
* @@ -733,7 +733,7 @@ public com.google.protobuf.ByteString getTypeBytes() { * * *
-     * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
+     * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
      * Check the Type enum for the list of possible values.
      * 
* @@ -755,7 +755,7 @@ public Builder setType(java.lang.String value) { * * *
-     * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
+     * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
      * Check the Type enum for the list of possible values.
      * 
* @@ -773,7 +773,7 @@ public Builder clearType() { * * *
-     * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
+     * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
      * Check the Type enum for the list of possible values.
      * 
* diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeatureOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeatureOrBuilder.java index 5e982ba76de5..7df9dd2ee653 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeatureOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeatureOrBuilder.java @@ -28,7 +28,7 @@ public interface GuestOsFeatureOrBuilder * * *
-   * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
+   * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
    * Check the Type enum for the list of possible values.
    * 
* @@ -41,7 +41,7 @@ public interface GuestOsFeatureOrBuilder * * *
-   * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
+   * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
    * Check the Type enum for the list of possible values.
    * 
* @@ -54,7 +54,7 @@ public interface GuestOsFeatureOrBuilder * * *
-   * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
+   * The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.
    * Check the Type enum for the list of possible values.
    * 
* diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerResizeRequestRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerResizeRequestRequest.java new file mode 100644 index 000000000000..5c1e2a52b14d --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerResizeRequestRequest.java @@ -0,0 +1,1598 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for InstanceGroupManagerResizeRequests.Insert. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest} + */ +public final class InsertInstanceGroupManagerResizeRequestRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest) + InsertInstanceGroupManagerResizeRequestRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use InsertInstanceGroupManagerResizeRequestRequest.newBuilder() to construct. + private InsertInstanceGroupManagerResizeRequestRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InsertInstanceGroupManagerResizeRequestRequest() { + instanceGroupManager_ = ""; + project_ = ""; + requestId_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InsertInstanceGroupManagerResizeRequestRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerResizeRequestRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerResizeRequestRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest.class, + com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest.Builder + .class); + } + + private int bitField0_; + public static final int INSTANCE_GROUP_MANAGER_FIELD_NUMBER = 249363395; + + @SuppressWarnings("serial") + private volatile java.lang.Object instanceGroupManager_ = ""; + /** + * + * + *
+   * The name of the managed instance group to which the resize request will be added. Name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceGroupManager. + */ + @java.lang.Override + public java.lang.String getInstanceGroupManager() { + java.lang.Object ref = instanceGroupManager_; + 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(); + instanceGroupManager_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the managed instance group to which the resize request will be added. Name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for instanceGroupManager. + */ + @java.lang.Override + public com.google.protobuf.ByteString getInstanceGroupManagerBytes() { + java.lang.Object ref = instanceGroupManager_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + instanceGroupManager_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INSTANCE_GROUP_MANAGER_RESIZE_REQUEST_RESOURCE_FIELD_NUMBER = 468541293; + private com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest + instanceGroupManagerResizeRequestResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.InstanceGroupManagerResizeRequest instance_group_manager_resize_request_resource = 468541293 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the instanceGroupManagerResizeRequestResource field is set. + */ + @java.lang.Override + public boolean hasInstanceGroupManagerResizeRequestResource() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.InstanceGroupManagerResizeRequest instance_group_manager_resize_request_resource = 468541293 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceGroupManagerResizeRequestResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest + getInstanceGroupManagerResizeRequestResource() { + return instanceGroupManagerResizeRequestResource_ == null + ? com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.getDefaultInstance() + : instanceGroupManagerResizeRequestResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.InstanceGroupManagerResizeRequest instance_group_manager_resize_request_resource = 468541293 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestOrBuilder + getInstanceGroupManagerResizeRequestResourceOrBuilder() { + return instanceGroupManagerResizeRequestResource_ == null + ? com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.getDefaultInstance() + : instanceGroupManagerResizeRequestResource_; + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestId_ = ""; + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + @java.lang.Override + public boolean hasRequestId() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + @java.lang.Override + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + 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(); + requestId_ = s; + return s; + } + } + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * The name of the zone where the managed instance group is located and where the resize request will be created. Name should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the zone where the managed instance group is located and where the resize request will be created. Name should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceGroupManager_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 249363395, instanceGroupManager_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(468541293, getInstanceGroupManagerResizeRequestResource()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceGroupManager_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 249363395, instanceGroupManager_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 468541293, getInstanceGroupManagerResizeRequestResource()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest other = + (com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest) obj; + + if (!getInstanceGroupManager().equals(other.getInstanceGroupManager())) return false; + if (hasInstanceGroupManagerResizeRequestResource() + != other.hasInstanceGroupManagerResizeRequestResource()) return false; + if (hasInstanceGroupManagerResizeRequestResource()) { + if (!getInstanceGroupManagerResizeRequestResource() + .equals(other.getInstanceGroupManagerResizeRequestResource())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!getZone().equals(other.getZone())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INSTANCE_GROUP_MANAGER_FIELD_NUMBER; + hash = (53 * hash) + getInstanceGroupManager().hashCode(); + if (hasInstanceGroupManagerResizeRequestResource()) { + hash = (37 * hash) + INSTANCE_GROUP_MANAGER_RESIZE_REQUEST_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getInstanceGroupManagerResizeRequestResource().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for InstanceGroupManagerResizeRequests.Insert. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest) + com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerResizeRequestRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerResizeRequestRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest.class, + com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getInstanceGroupManagerResizeRequestResourceFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + instanceGroupManager_ = ""; + instanceGroupManagerResizeRequestResource_ = null; + if (instanceGroupManagerResizeRequestResourceBuilder_ != null) { + instanceGroupManagerResizeRequestResourceBuilder_.dispose(); + instanceGroupManagerResizeRequestResourceBuilder_ = null; + } + project_ = ""; + requestId_ = ""; + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerResizeRequestRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest build() { + com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + buildPartial() { + com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest result = + new com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.instanceGroupManager_ = instanceGroupManager_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.instanceGroupManagerResizeRequestResource_ = + instanceGroupManagerResizeRequestResourceBuilder_ == null + ? instanceGroupManagerResizeRequestResource_ + : instanceGroupManagerResizeRequestResourceBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.project_ = project_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.requestId_ = requestId_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.zone_ = zone_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest other) { + if (other + == com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + .getDefaultInstance()) return this; + if (!other.getInstanceGroupManager().isEmpty()) { + instanceGroupManager_ = other.instanceGroupManager_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasInstanceGroupManagerResizeRequestResource()) { + mergeInstanceGroupManagerResizeRequestResource( + other.getInstanceGroupManagerResizeRequestResource()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasRequestId()) { + requestId_ = other.requestId_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 29957474 + case 296879706: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 296879706 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 1820481738 + case 1994907162: + { + instanceGroupManager_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 1994907162 + case -546636950: + { + input.readMessage( + getInstanceGroupManagerResizeRequestResourceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case -546636950 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object instanceGroupManager_ = ""; + /** + * + * + *
+     * The name of the managed instance group to which the resize request will be added. Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceGroupManager. + */ + public java.lang.String getInstanceGroupManager() { + java.lang.Object ref = instanceGroupManager_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + instanceGroupManager_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the managed instance group to which the resize request will be added. Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for instanceGroupManager. + */ + public com.google.protobuf.ByteString getInstanceGroupManagerBytes() { + java.lang.Object ref = instanceGroupManager_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + instanceGroupManager_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the managed instance group to which the resize request will be added. Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The instanceGroupManager to set. + * @return This builder for chaining. + */ + public Builder setInstanceGroupManager(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + instanceGroupManager_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the managed instance group to which the resize request will be added. Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearInstanceGroupManager() { + instanceGroupManager_ = getDefaultInstance().getInstanceGroupManager(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the managed instance group to which the resize request will be added. Name should conform to RFC1035 or be a resource ID.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The bytes for instanceGroupManager to set. + * @return This builder for chaining. + */ + public Builder setInstanceGroupManagerBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceGroupManager_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest + instanceGroupManagerResizeRequestResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.Builder, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestOrBuilder> + instanceGroupManagerResizeRequestResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.InstanceGroupManagerResizeRequest instance_group_manager_resize_request_resource = 468541293 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the instanceGroupManagerResizeRequestResource field is set. + */ + public boolean hasInstanceGroupManagerResizeRequestResource() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.InstanceGroupManagerResizeRequest instance_group_manager_resize_request_resource = 468541293 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceGroupManagerResizeRequestResource. + */ + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest + getInstanceGroupManagerResizeRequestResource() { + if (instanceGroupManagerResizeRequestResourceBuilder_ == null) { + return instanceGroupManagerResizeRequestResource_ == null + ? com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.getDefaultInstance() + : instanceGroupManagerResizeRequestResource_; + } else { + return instanceGroupManagerResizeRequestResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.InstanceGroupManagerResizeRequest instance_group_manager_resize_request_resource = 468541293 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setInstanceGroupManagerResizeRequestResource( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest value) { + if (instanceGroupManagerResizeRequestResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + instanceGroupManagerResizeRequestResource_ = value; + } else { + instanceGroupManagerResizeRequestResourceBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.InstanceGroupManagerResizeRequest instance_group_manager_resize_request_resource = 468541293 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setInstanceGroupManagerResizeRequestResource( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.Builder builderForValue) { + if (instanceGroupManagerResizeRequestResourceBuilder_ == null) { + instanceGroupManagerResizeRequestResource_ = builderForValue.build(); + } else { + instanceGroupManagerResizeRequestResourceBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.InstanceGroupManagerResizeRequest instance_group_manager_resize_request_resource = 468541293 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeInstanceGroupManagerResizeRequestResource( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest value) { + if (instanceGroupManagerResizeRequestResourceBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && instanceGroupManagerResizeRequestResource_ != null + && instanceGroupManagerResizeRequestResource_ + != com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest + .getDefaultInstance()) { + getInstanceGroupManagerResizeRequestResourceBuilder().mergeFrom(value); + } else { + instanceGroupManagerResizeRequestResource_ = value; + } + } else { + instanceGroupManagerResizeRequestResourceBuilder_.mergeFrom(value); + } + if (instanceGroupManagerResizeRequestResource_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.InstanceGroupManagerResizeRequest instance_group_manager_resize_request_resource = 468541293 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearInstanceGroupManagerResizeRequestResource() { + bitField0_ = (bitField0_ & ~0x00000002); + instanceGroupManagerResizeRequestResource_ = null; + if (instanceGroupManagerResizeRequestResourceBuilder_ != null) { + instanceGroupManagerResizeRequestResourceBuilder_.dispose(); + instanceGroupManagerResizeRequestResourceBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.InstanceGroupManagerResizeRequest instance_group_manager_resize_request_resource = 468541293 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.Builder + getInstanceGroupManagerResizeRequestResourceBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getInstanceGroupManagerResizeRequestResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.InstanceGroupManagerResizeRequest instance_group_manager_resize_request_resource = 468541293 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestOrBuilder + getInstanceGroupManagerResizeRequestResourceOrBuilder() { + if (instanceGroupManagerResizeRequestResourceBuilder_ != null) { + return instanceGroupManagerResizeRequestResourceBuilder_.getMessageOrBuilder(); + } else { + return instanceGroupManagerResizeRequestResource_ == null + ? com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.getDefaultInstance() + : instanceGroupManagerResizeRequestResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.InstanceGroupManagerResizeRequest instance_group_manager_resize_request_resource = 468541293 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.Builder, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestOrBuilder> + getInstanceGroupManagerResizeRequestResourceFieldBuilder() { + if (instanceGroupManagerResizeRequestResourceBuilder_ == null) { + instanceGroupManagerResizeRequestResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.Builder, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestOrBuilder>( + getInstanceGroupManagerResizeRequestResource(), getParentForChildren(), isClean()); + instanceGroupManagerResizeRequestResource_ = null; + } + return instanceGroupManagerResizeRequestResourceBuilder_; + } + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object requestId_ = ""; + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + public boolean hasRequestId() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @param value The requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return This builder for chaining. + */ + public Builder clearRequestId() { + requestId_ = getDefaultInstance().getRequestId(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * The name of the zone where the managed instance group is located and where the resize request will be created. Name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the zone where the managed instance group is located and where the resize request will be created. Name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the zone where the managed instance group is located and where the resize request will be created. Name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone where the managed instance group is located and where the resize request will be created. Name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone where the managed instance group is located and where the resize request will be created. Name should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest) + private static final com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest(); + } + + public static com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InsertInstanceGroupManagerResizeRequestRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser + parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser + getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerResizeRequestRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerResizeRequestRequestOrBuilder.java new file mode 100644 index 000000000000..1a88b0dc9680 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertInstanceGroupManagerResizeRequestRequestOrBuilder.java @@ -0,0 +1,191 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface InsertInstanceGroupManagerResizeRequestRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the managed instance group to which the resize request will be added. Name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceGroupManager. + */ + java.lang.String getInstanceGroupManager(); + /** + * + * + *
+   * The name of the managed instance group to which the resize request will be added. Name should conform to RFC1035 or be a resource ID.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for instanceGroupManager. + */ + com.google.protobuf.ByteString getInstanceGroupManagerBytes(); + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.InstanceGroupManagerResizeRequest instance_group_manager_resize_request_resource = 468541293 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the instanceGroupManagerResizeRequestResource field is set. + */ + boolean hasInstanceGroupManagerResizeRequestResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.InstanceGroupManagerResizeRequest instance_group_manager_resize_request_resource = 468541293 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceGroupManagerResizeRequestResource. + */ + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest + getInstanceGroupManagerResizeRequestResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.InstanceGroupManagerResizeRequest instance_group_manager_resize_request_resource = 468541293 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestOrBuilder + getInstanceGroupManagerResizeRequestResourceOrBuilder(); + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + boolean hasRequestId(); + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + java.lang.String getRequestId(); + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); + + /** + * + * + *
+   * The name of the zone where the managed instance group is located and where the resize request will be created. Name should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * The name of the zone where the managed instance group is located and where the resize request will be created. Name should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertStoragePoolRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertStoragePoolRequest.java new file mode 100644 index 000000000000..9ac59bb1e392 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertStoragePoolRequest.java @@ -0,0 +1,1363 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for StoragePools.Insert. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InsertStoragePoolRequest} + */ +public final class InsertStoragePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.InsertStoragePoolRequest) + InsertStoragePoolRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use InsertStoragePoolRequest.newBuilder() to construct. + private InsertStoragePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InsertStoragePoolRequest() { + project_ = ""; + requestId_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InsertStoragePoolRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertStoragePoolRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertStoragePoolRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InsertStoragePoolRequest.class, + com.google.cloud.compute.v1.InsertStoragePoolRequest.Builder.class); + } + + private int bitField0_; + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestId_ = ""; + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + @java.lang.Override + public boolean hasRequestId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + @java.lang.Override + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + 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(); + requestId_ = s; + return s; + } + } + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STORAGE_POOL_RESOURCE_FIELD_NUMBER = 157179405; + private com.google.cloud.compute.v1.StoragePool storagePoolResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the storagePoolResource field is set. + */ + @java.lang.Override + public boolean hasStoragePoolResource() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The storagePoolResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePool getStoragePoolResource() { + return storagePoolResource_ == null + ? com.google.cloud.compute.v1.StoragePool.getDefaultInstance() + : storagePoolResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolOrBuilder getStoragePoolResourceOrBuilder() { + return storagePoolResource_ == null + ? com.google.cloud.compute.v1.StoragePool.getDefaultInstance() + : storagePoolResource_; + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 37109963, requestId_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(157179405, getStoragePoolResource()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(37109963, requestId_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 157179405, getStoragePoolResource()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.InsertStoragePoolRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.InsertStoragePoolRequest other = + (com.google.cloud.compute.v1.InsertStoragePoolRequest) obj; + + if (!getProject().equals(other.getProject())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (hasStoragePoolResource() != other.hasStoragePoolResource()) return false; + if (hasStoragePoolResource()) { + if (!getStoragePoolResource().equals(other.getStoragePoolResource())) return false; + } + if (!getZone().equals(other.getZone())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + if (hasStoragePoolResource()) { + hash = (37 * hash) + STORAGE_POOL_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getStoragePoolResource().hashCode(); + } + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.InsertStoragePoolRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InsertStoragePoolRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InsertStoragePoolRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InsertStoragePoolRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InsertStoragePoolRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InsertStoragePoolRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InsertStoragePoolRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InsertStoragePoolRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InsertStoragePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InsertStoragePoolRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InsertStoragePoolRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InsertStoragePoolRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.compute.v1.InsertStoragePoolRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for StoragePools.Insert. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InsertStoragePoolRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.InsertStoragePoolRequest) + com.google.cloud.compute.v1.InsertStoragePoolRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertStoragePoolRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertStoragePoolRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InsertStoragePoolRequest.class, + com.google.cloud.compute.v1.InsertStoragePoolRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.InsertStoragePoolRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getStoragePoolResourceFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + project_ = ""; + requestId_ = ""; + storagePoolResource_ = null; + if (storagePoolResourceBuilder_ != null) { + storagePoolResourceBuilder_.dispose(); + storagePoolResourceBuilder_ = null; + } + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertStoragePoolRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertStoragePoolRequest getDefaultInstanceForType() { + return com.google.cloud.compute.v1.InsertStoragePoolRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertStoragePoolRequest build() { + com.google.cloud.compute.v1.InsertStoragePoolRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertStoragePoolRequest buildPartial() { + com.google.cloud.compute.v1.InsertStoragePoolRequest result = + new com.google.cloud.compute.v1.InsertStoragePoolRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.InsertStoragePoolRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.project_ = project_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.requestId_ = requestId_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.storagePoolResource_ = + storagePoolResourceBuilder_ == null + ? storagePoolResource_ + : storagePoolResourceBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.zone_ = zone_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.InsertStoragePoolRequest) { + return mergeFrom((com.google.cloud.compute.v1.InsertStoragePoolRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.InsertStoragePoolRequest other) { + if (other == com.google.cloud.compute.v1.InsertStoragePoolRequest.getDefaultInstance()) + return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasRequestId()) { + requestId_ = other.requestId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasStoragePoolResource()) { + mergeStoragePoolResource(other.getStoragePoolResource()); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 29957474 + case 296879706: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 296879706 + case 1257435242: + { + input.readMessage( + getStoragePoolResourceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 1257435242 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 1820481738 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object requestId_ = ""; + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + public boolean hasRequestId() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @param value The requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return This builder for chaining. + */ + public Builder clearRequestId() { + requestId_ = getDefaultInstance().getRequestId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.StoragePool storagePoolResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.StoragePool, + com.google.cloud.compute.v1.StoragePool.Builder, + com.google.cloud.compute.v1.StoragePoolOrBuilder> + storagePoolResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the storagePoolResource field is set. + */ + public boolean hasStoragePoolResource() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The storagePoolResource. + */ + public com.google.cloud.compute.v1.StoragePool getStoragePoolResource() { + if (storagePoolResourceBuilder_ == null) { + return storagePoolResource_ == null + ? com.google.cloud.compute.v1.StoragePool.getDefaultInstance() + : storagePoolResource_; + } else { + return storagePoolResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setStoragePoolResource(com.google.cloud.compute.v1.StoragePool value) { + if (storagePoolResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + storagePoolResource_ = value; + } else { + storagePoolResourceBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setStoragePoolResource( + com.google.cloud.compute.v1.StoragePool.Builder builderForValue) { + if (storagePoolResourceBuilder_ == null) { + storagePoolResource_ = builderForValue.build(); + } else { + storagePoolResourceBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeStoragePoolResource(com.google.cloud.compute.v1.StoragePool value) { + if (storagePoolResourceBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && storagePoolResource_ != null + && storagePoolResource_ + != com.google.cloud.compute.v1.StoragePool.getDefaultInstance()) { + getStoragePoolResourceBuilder().mergeFrom(value); + } else { + storagePoolResource_ = value; + } + } else { + storagePoolResourceBuilder_.mergeFrom(value); + } + if (storagePoolResource_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearStoragePoolResource() { + bitField0_ = (bitField0_ & ~0x00000004); + storagePoolResource_ = null; + if (storagePoolResourceBuilder_ != null) { + storagePoolResourceBuilder_.dispose(); + storagePoolResourceBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.StoragePool.Builder getStoragePoolResourceBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getStoragePoolResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.StoragePoolOrBuilder getStoragePoolResourceOrBuilder() { + if (storagePoolResourceBuilder_ != null) { + return storagePoolResourceBuilder_.getMessageOrBuilder(); + } else { + return storagePoolResource_ == null + ? com.google.cloud.compute.v1.StoragePool.getDefaultInstance() + : storagePoolResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.StoragePool, + com.google.cloud.compute.v1.StoragePool.Builder, + com.google.cloud.compute.v1.StoragePoolOrBuilder> + getStoragePoolResourceFieldBuilder() { + if (storagePoolResourceBuilder_ == null) { + storagePoolResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.StoragePool, + com.google.cloud.compute.v1.StoragePool.Builder, + com.google.cloud.compute.v1.StoragePoolOrBuilder>( + getStoragePoolResource(), getParentForChildren(), isClean()); + storagePoolResource_ = null; + } + return storagePoolResourceBuilder_; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.InsertStoragePoolRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.InsertStoragePoolRequest) + private static final com.google.cloud.compute.v1.InsertStoragePoolRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.InsertStoragePoolRequest(); + } + + public static com.google.cloud.compute.v1.InsertStoragePoolRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InsertStoragePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertStoragePoolRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertStoragePoolRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertStoragePoolRequestOrBuilder.java new file mode 100644 index 000000000000..57d414c82dac --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertStoragePoolRequestOrBuilder.java @@ -0,0 +1,162 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface InsertStoragePoolRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InsertStoragePoolRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + boolean hasRequestId(); + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + java.lang.String getRequestId(); + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the storagePoolResource field is set. + */ + boolean hasStoragePoolResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The storagePoolResource. + */ + com.google.cloud.compute.v1.StoragePool getStoragePoolResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.StoragePoolOrBuilder getStoragePoolResourceOrBuilder(); + + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequest.java new file mode 100644 index 000000000000..10b693a7ca0d --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequest.java @@ -0,0 +1,3289 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * InstanceGroupManagerResizeRequest represents a request to create a number of VMs: either immediately or by queuing the request for the specified time. This resize request is nested under InstanceGroupManager and the VMs created by this request are added to the owning InstanceGroupManager.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InstanceGroupManagerResizeRequest} + */ +public final class InstanceGroupManagerResizeRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.InstanceGroupManagerResizeRequest) + InstanceGroupManagerResizeRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use InstanceGroupManagerResizeRequest.newBuilder() to construct. + private InstanceGroupManagerResizeRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InstanceGroupManagerResizeRequest() { + creationTimestamp_ = ""; + description_ = ""; + kind_ = ""; + name_ = ""; + selfLink_ = ""; + selfLinkWithId_ = ""; + state_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InstanceGroupManagerResizeRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.class, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.Builder.class); + } + + /** + * + * + *
+   * [Output only] Current state of the request.
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.InstanceGroupManagerResizeRequest.State} + */ + public enum State implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_STATE = 0; + */ + UNDEFINED_STATE(0), + /** + * + * + *
+     * The request was created successfully and was accepted for provisioning when the capacity becomes available.
+     * 
+ * + * ACCEPTED = 246714279; + */ + ACCEPTED(246714279), + /** + * + * + *
+     * The request is cancelled.
+     * 
+ * + * CANCELLED = 41957681; + */ + CANCELLED(41957681), + /** + * + * + *
+     * Resize request is being created and may still fail creation.
+     * 
+ * + * CREATING = 455564985; + */ + CREATING(455564985), + /** + * + * + *
+     * The request failed before or during provisioning. If the request fails during provisioning, any VMs that were created during provisioning are rolled back and removed from the MIG.
+     * 
+ * + * FAILED = 455706685; + */ + FAILED(455706685), + /** + * + * + *
+     * Default value. This value should never be returned.
+     * 
+ * + * STATE_UNSPECIFIED = 470755401; + */ + STATE_UNSPECIFIED(470755401), + /** + * + * + *
+     * The request succeeded.
+     * 
+ * + * SUCCEEDED = 511103553; + */ + SUCCEEDED(511103553), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_STATE = 0; + */ + public static final int UNDEFINED_STATE_VALUE = 0; + /** + * + * + *
+     * The request was created successfully and was accepted for provisioning when the capacity becomes available.
+     * 
+ * + * ACCEPTED = 246714279; + */ + public static final int ACCEPTED_VALUE = 246714279; + /** + * + * + *
+     * The request is cancelled.
+     * 
+ * + * CANCELLED = 41957681; + */ + public static final int CANCELLED_VALUE = 41957681; + /** + * + * + *
+     * Resize request is being created and may still fail creation.
+     * 
+ * + * CREATING = 455564985; + */ + public static final int CREATING_VALUE = 455564985; + /** + * + * + *
+     * The request failed before or during provisioning. If the request fails during provisioning, any VMs that were created during provisioning are rolled back and removed from the MIG.
+     * 
+ * + * FAILED = 455706685; + */ + public static final int FAILED_VALUE = 455706685; + /** + * + * + *
+     * Default value. This value should never be returned.
+     * 
+ * + * STATE_UNSPECIFIED = 470755401; + */ + public static final int STATE_UNSPECIFIED_VALUE = 470755401; + /** + * + * + *
+     * The request succeeded.
+     * 
+ * + * SUCCEEDED = 511103553; + */ + public static final int SUCCEEDED_VALUE = 511103553; + + 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 State 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 State forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_STATE; + case 246714279: + return ACCEPTED; + case 41957681: + return CANCELLED; + case 455564985: + return CREATING; + case 455706685: + return FAILED; + case 470755401: + return STATE_UNSPECIFIED; + case 511103553: + return SUCCEEDED; + 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 State findValueByNumber(int number) { + return State.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.cloud.compute.v1.InstanceGroupManagerResizeRequest.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final State[] VALUES = values(); + + public static State 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 State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.InstanceGroupManagerResizeRequest.State) + } + + private int bitField0_; + public static final int CREATION_TIMESTAMP_FIELD_NUMBER = 30525366; + + @SuppressWarnings("serial") + private volatile java.lang.Object creationTimestamp_ = ""; + /** + * + * + *
+   * [Output Only] The creation timestamp for this resize request in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return Whether the creationTimestamp field is set. + */ + @java.lang.Override + public boolean hasCreationTimestamp() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * [Output Only] The creation timestamp for this resize request in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The creationTimestamp. + */ + @java.lang.Override + public java.lang.String getCreationTimestamp() { + java.lang.Object ref = creationTimestamp_; + 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(); + creationTimestamp_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] The creation timestamp for this resize request in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The bytes for creationTimestamp. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCreationTimestampBytes() { + java.lang.Object ref = creationTimestamp_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + creationTimestamp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 422937596; + + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + /** + * + * + *
+   * An optional description of this resource.
+   * 
+ * + * optional string description = 422937596; + * + * @return Whether the description field is set. + */ + @java.lang.Override + public boolean hasDescription() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * An optional description of this resource.
+   * 
+ * + * optional string description = 422937596; + * + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + 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(); + description_ = s; + return s; + } + } + /** + * + * + *
+   * An optional description of this resource.
+   * 
+ * + * optional string description = 422937596; + * + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ID_FIELD_NUMBER = 3355; + private long id_ = 0L; + /** + * + * + *
+   * [Output Only] A unique identifier for this resource type. The server generates this identifier.
+   * 
+ * + * optional uint64 id = 3355; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * [Output Only] A unique identifier for this resource type. The server generates this identifier.
+   * 
+ * + * optional uint64 id = 3355; + * + * @return The id. + */ + @java.lang.Override + public long getId() { + return id_; + } + + public static final int KIND_FIELD_NUMBER = 3292052; + + @SuppressWarnings("serial") + private volatile java.lang.Object kind_ = ""; + /** + * + * + *
+   * [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + @java.lang.Override + public boolean hasKind() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + 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(); + kind_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 3373707; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
+   * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
+   * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUESTED_RUN_DURATION_FIELD_NUMBER = 232146425; + private com.google.cloud.compute.v1.Duration requestedRunDuration_; + /** + * + * + *
+   * Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
+   * 
+ * + * optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425; + * + * @return Whether the requestedRunDuration field is set. + */ + @java.lang.Override + public boolean hasRequestedRunDuration() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+   * Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
+   * 
+ * + * optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425; + * + * @return The requestedRunDuration. + */ + @java.lang.Override + public com.google.cloud.compute.v1.Duration getRequestedRunDuration() { + return requestedRunDuration_ == null + ? com.google.cloud.compute.v1.Duration.getDefaultInstance() + : requestedRunDuration_; + } + /** + * + * + *
+   * Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
+   * 
+ * + * optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425; + */ + @java.lang.Override + public com.google.cloud.compute.v1.DurationOrBuilder getRequestedRunDurationOrBuilder() { + return requestedRunDuration_ == null + ? com.google.cloud.compute.v1.Duration.getDefaultInstance() + : requestedRunDuration_; + } + + public static final int RESIZE_BY_FIELD_NUMBER = 533735362; + private int resizeBy_ = 0; + /** + * + * + *
+   * The number of instances to be created by this resize request. The group's target size will be increased by this number.
+   * 
+ * + * optional int32 resize_by = 533735362; + * + * @return Whether the resizeBy field is set. + */ + @java.lang.Override + public boolean hasResizeBy() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+   * The number of instances to be created by this resize request. The group's target size will be increased by this number.
+   * 
+ * + * optional int32 resize_by = 533735362; + * + * @return The resizeBy. + */ + @java.lang.Override + public int getResizeBy() { + return resizeBy_; + } + + public static final int SELF_LINK_FIELD_NUMBER = 456214797; + + @SuppressWarnings("serial") + private volatile java.lang.Object selfLink_ = ""; + /** + * + * + *
+   * [Output Only] The URL for this resize request. The server defines this URL.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + @java.lang.Override + public boolean hasSelfLink() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+   * [Output Only] The URL for this resize request. The server defines this URL.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + @java.lang.Override + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + 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(); + selfLink_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] The URL for this resize request. The server defines this URL.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SELF_LINK_WITH_ID_FIELD_NUMBER = 44520962; + + @SuppressWarnings("serial") + private volatile java.lang.Object selfLinkWithId_ = ""; + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource with the resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return Whether the selfLinkWithId field is set. + */ + @java.lang.Override + public boolean hasSelfLinkWithId() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource with the resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The selfLinkWithId. + */ + @java.lang.Override + public java.lang.String getSelfLinkWithId() { + java.lang.Object ref = selfLinkWithId_; + 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(); + selfLinkWithId_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource with the resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The bytes for selfLinkWithId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSelfLinkWithIdBytes() { + java.lang.Object ref = selfLinkWithId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLinkWithId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STATE_FIELD_NUMBER = 109757585; + + @SuppressWarnings("serial") + private volatile java.lang.Object state_ = ""; + /** + * + * + *
+   * [Output only] Current state of the request.
+   * Check the State enum for the list of possible values.
+   * 
+ * + * optional string state = 109757585; + * + * @return Whether the state field is set. + */ + @java.lang.Override + public boolean hasState() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+   * [Output only] Current state of the request.
+   * Check the State enum for the list of possible values.
+   * 
+ * + * optional string state = 109757585; + * + * @return The state. + */ + @java.lang.Override + public java.lang.String getState() { + java.lang.Object ref = state_; + 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(); + state_ = s; + return s; + } + } + /** + * + * + *
+   * [Output only] Current state of the request.
+   * Check the State enum for the list of possible values.
+   * 
+ * + * optional string state = 109757585; + * + * @return The bytes for state. + */ + @java.lang.Override + public com.google.protobuf.ByteString getStateBytes() { + java.lang.Object ref = state_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + state_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STATUS_FIELD_NUMBER = 181260274; + private com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status_; + /** + * + * + *
+   * [Output only] Status of the request.
+   * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274; + * + * + * @return Whether the status field is set. + */ + @java.lang.Override + public boolean hasStatus() { + return ((bitField0_ & 0x00000400) != 0); + } + /** + * + * + *
+   * [Output only] Status of the request.
+   * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274; + * + * + * @return The status. + */ + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus getStatus() { + return status_ == null + ? com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus.getDefaultInstance() + : status_; + } + /** + * + * + *
+   * [Output only] Status of the request.
+   * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusOrBuilder + getStatusOrBuilder() { + return status_ == null + ? com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus.getDefaultInstance() + : status_; + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.
+   * 
+ * + * optional string zone = 3744684; + * + * @return Whether the zone field is set. + */ + @java.lang.Override + public boolean hasZone() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + * + * + *
+   * [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.
+   * 
+ * + * optional string zone = 3744684; + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.
+   * 
+ * + * optional string zone = 3744684; + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000004) != 0)) { + output.writeUInt64(3355, id_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_); + } + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); + } + if (((bitField0_ & 0x00000800) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 30525366, creationTimestamp_); + } + if (((bitField0_ & 0x00000100) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 44520962, selfLinkWithId_); + } + if (((bitField0_ & 0x00000200) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 109757585, state_); + } + if (((bitField0_ & 0x00000400) != 0)) { + output.writeMessage(181260274, getStatus()); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeMessage(232146425, getRequestedRunDuration()); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 422937596, description_); + } + if (((bitField0_ & 0x00000080) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); + } + if (((bitField0_ & 0x00000040) != 0)) { + output.writeInt32(533735362, resizeBy_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeUInt64Size(3355, id_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); + } + if (((bitField0_ & 0x00000800) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(30525366, creationTimestamp_); + } + if (((bitField0_ & 0x00000100) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(44520962, selfLinkWithId_); + } + if (((bitField0_ & 0x00000200) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(109757585, state_); + } + if (((bitField0_ & 0x00000400) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(181260274, getStatus()); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 232146425, getRequestedRunDuration()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(422937596, description_); + } + if (((bitField0_ & 0x00000080) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); + } + if (((bitField0_ & 0x00000040) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(533735362, resizeBy_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest other = + (com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest) obj; + + if (hasCreationTimestamp() != other.hasCreationTimestamp()) return false; + if (hasCreationTimestamp()) { + if (!getCreationTimestamp().equals(other.getCreationTimestamp())) return false; + } + if (hasDescription() != other.hasDescription()) return false; + if (hasDescription()) { + if (!getDescription().equals(other.getDescription())) return false; + } + if (hasId() != other.hasId()) return false; + if (hasId()) { + if (getId() != other.getId()) return false; + } + if (hasKind() != other.hasKind()) return false; + if (hasKind()) { + if (!getKind().equals(other.getKind())) return false; + } + if (hasName() != other.hasName()) return false; + if (hasName()) { + if (!getName().equals(other.getName())) return false; + } + if (hasRequestedRunDuration() != other.hasRequestedRunDuration()) return false; + if (hasRequestedRunDuration()) { + if (!getRequestedRunDuration().equals(other.getRequestedRunDuration())) return false; + } + if (hasResizeBy() != other.hasResizeBy()) return false; + if (hasResizeBy()) { + if (getResizeBy() != other.getResizeBy()) return false; + } + if (hasSelfLink() != other.hasSelfLink()) return false; + if (hasSelfLink()) { + if (!getSelfLink().equals(other.getSelfLink())) return false; + } + if (hasSelfLinkWithId() != other.hasSelfLinkWithId()) return false; + if (hasSelfLinkWithId()) { + if (!getSelfLinkWithId().equals(other.getSelfLinkWithId())) return false; + } + if (hasState() != other.hasState()) return false; + if (hasState()) { + if (!getState().equals(other.getState())) return false; + } + if (hasStatus() != other.hasStatus()) return false; + if (hasStatus()) { + if (!getStatus().equals(other.getStatus())) return false; + } + if (hasZone() != other.hasZone()) return false; + if (hasZone()) { + if (!getZone().equals(other.getZone())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasCreationTimestamp()) { + hash = (37 * hash) + CREATION_TIMESTAMP_FIELD_NUMBER; + hash = (53 * hash) + getCreationTimestamp().hashCode(); + } + if (hasDescription()) { + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + } + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getId()); + } + if (hasKind()) { + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + } + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + if (hasRequestedRunDuration()) { + hash = (37 * hash) + REQUESTED_RUN_DURATION_FIELD_NUMBER; + hash = (53 * hash) + getRequestedRunDuration().hashCode(); + } + if (hasResizeBy()) { + hash = (37 * hash) + RESIZE_BY_FIELD_NUMBER; + hash = (53 * hash) + getResizeBy(); + } + if (hasSelfLink()) { + hash = (37 * hash) + SELF_LINK_FIELD_NUMBER; + hash = (53 * hash) + getSelfLink().hashCode(); + } + if (hasSelfLinkWithId()) { + hash = (37 * hash) + SELF_LINK_WITH_ID_FIELD_NUMBER; + hash = (53 * hash) + getSelfLinkWithId().hashCode(); + } + if (hasState()) { + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + getState().hashCode(); + } + if (hasStatus()) { + hash = (37 * hash) + STATUS_FIELD_NUMBER; + hash = (53 * hash) + getStatus().hashCode(); + } + if (hasZone()) { + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * InstanceGroupManagerResizeRequest represents a request to create a number of VMs: either immediately or by queuing the request for the specified time. This resize request is nested under InstanceGroupManager and the VMs created by this request are added to the owning InstanceGroupManager.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InstanceGroupManagerResizeRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.InstanceGroupManagerResizeRequest) + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.class, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getRequestedRunDurationFieldBuilder(); + getStatusFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + creationTimestamp_ = ""; + description_ = ""; + id_ = 0L; + kind_ = ""; + name_ = ""; + requestedRunDuration_ = null; + if (requestedRunDurationBuilder_ != null) { + requestedRunDurationBuilder_.dispose(); + requestedRunDurationBuilder_ = null; + } + resizeBy_ = 0; + selfLink_ = ""; + selfLinkWithId_ = ""; + state_ = ""; + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest build() { + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest buildPartial() { + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest result = + new com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.creationTimestamp_ = creationTimestamp_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.description_ = description_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.id_ = id_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.kind_ = kind_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.name_ = name_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.requestedRunDuration_ = + requestedRunDurationBuilder_ == null + ? requestedRunDuration_ + : requestedRunDurationBuilder_.build(); + to_bitField0_ |= 0x00000020; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.resizeBy_ = resizeBy_; + to_bitField0_ |= 0x00000040; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.selfLink_ = selfLink_; + to_bitField0_ |= 0x00000080; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.selfLinkWithId_ = selfLinkWithId_; + to_bitField0_ |= 0x00000100; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.state_ = state_; + to_bitField0_ |= 0x00000200; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build(); + to_bitField0_ |= 0x00000400; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.zone_ = zone_; + to_bitField0_ |= 0x00000800; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest) { + return mergeFrom((com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest other) { + if (other + == com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.getDefaultInstance()) + return this; + if (other.hasCreationTimestamp()) { + creationTimestamp_ = other.creationTimestamp_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasDescription()) { + description_ = other.description_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasId()) { + setId(other.getId()); + } + if (other.hasKind()) { + kind_ = other.kind_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasName()) { + name_ = other.name_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.hasRequestedRunDuration()) { + mergeRequestedRunDuration(other.getRequestedRunDuration()); + } + if (other.hasResizeBy()) { + setResizeBy(other.getResizeBy()); + } + if (other.hasSelfLink()) { + selfLink_ = other.selfLink_; + bitField0_ |= 0x00000080; + onChanged(); + } + if (other.hasSelfLinkWithId()) { + selfLinkWithId_ = other.selfLinkWithId_; + bitField0_ |= 0x00000100; + onChanged(); + } + if (other.hasState()) { + state_ = other.state_; + bitField0_ |= 0x00000200; + onChanged(); + } + if (other.hasStatus()) { + mergeStatus(other.getStatus()); + } + if (other.hasZone()) { + zone_ = other.zone_; + bitField0_ |= 0x00000800; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26840: + { + id_ = input.readUInt64(); + bitField0_ |= 0x00000004; + break; + } // case 26840 + case 26336418: + { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26336418 + case 26989658: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 26989658 + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 29957474 + case 244202930: + { + creationTimestamp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 244202930 + case 356167698: + { + selfLinkWithId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 356167698 + case 878060682: + { + state_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 878060682 + case 1450082194: + { + input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 1450082194 + case 1857171402: + { + input.readMessage( + getRequestedRunDurationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 1857171402 + case -911466526: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case -911466526 + case -645248918: + { + selfLink_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case -645248918 + case -25084400: + { + resizeBy_ = input.readInt32(); + bitField0_ |= 0x00000040; + break; + } // case -25084400 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object creationTimestamp_ = ""; + /** + * + * + *
+     * [Output Only] The creation timestamp for this resize request in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return Whether the creationTimestamp field is set. + */ + public boolean hasCreationTimestamp() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * [Output Only] The creation timestamp for this resize request in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The creationTimestamp. + */ + public java.lang.String getCreationTimestamp() { + java.lang.Object ref = creationTimestamp_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + creationTimestamp_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] The creation timestamp for this resize request in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The bytes for creationTimestamp. + */ + public com.google.protobuf.ByteString getCreationTimestampBytes() { + java.lang.Object ref = creationTimestamp_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + creationTimestamp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] The creation timestamp for this resize request in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @param value The creationTimestamp to set. + * @return This builder for chaining. + */ + public Builder setCreationTimestamp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + creationTimestamp_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The creation timestamp for this resize request in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return This builder for chaining. + */ + public Builder clearCreationTimestamp() { + creationTimestamp_ = getDefaultInstance().getCreationTimestamp(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The creation timestamp for this resize request in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @param value The bytes for creationTimestamp to set. + * @return This builder for chaining. + */ + public Builder setCreationTimestampBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + creationTimestamp_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + * + * + *
+     * An optional description of this resource.
+     * 
+ * + * optional string description = 422937596; + * + * @return Whether the description field is set. + */ + public boolean hasDescription() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * An optional description of this resource.
+     * 
+ * + * optional string description = 422937596; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * An optional description of this resource.
+     * 
+ * + * optional string description = 422937596; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * An optional description of this resource.
+     * 
+ * + * optional string description = 422937596; + * + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + description_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * An optional description of this resource.
+     * 
+ * + * optional string description = 422937596; + * + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * An optional description of this resource.
+     * 
+ * + * optional string description = 422937596; + * + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private long id_; + /** + * + * + *
+     * [Output Only] A unique identifier for this resource type. The server generates this identifier.
+     * 
+ * + * optional uint64 id = 3355; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * [Output Only] A unique identifier for this resource type. The server generates this identifier.
+     * 
+ * + * optional uint64 id = 3355; + * + * @return The id. + */ + @java.lang.Override + public long getId() { + return id_; + } + /** + * + * + *
+     * [Output Only] A unique identifier for this resource type. The server generates this identifier.
+     * 
+ * + * optional uint64 id = 3355; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(long value) { + + id_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] A unique identifier for this resource type. The server generates this identifier.
+     * 
+ * + * optional uint64 id = 3355; + * + * @return This builder for chaining. + */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000004); + id_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object kind_ = ""; + /** + * + * + *
+     * [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
+     * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + public boolean hasKind() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + kind_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
+     * 
+ * + * optional string kind = 3292052; + * + * @return This builder for chaining. + */ + public Builder clearKind() { + kind_ = getDefaultInstance().getKind(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
+     * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
+     * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
+     * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
+     * 
+ * + * optional string name = 3373707; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
+     * 
+ * + * optional string name = 3373707; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
+     * 
+ * + * optional string name = 3373707; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.Duration requestedRunDuration_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Duration, + com.google.cloud.compute.v1.Duration.Builder, + com.google.cloud.compute.v1.DurationOrBuilder> + requestedRunDurationBuilder_; + /** + * + * + *
+     * Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
+     * 
+ * + * optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425; + * + * @return Whether the requestedRunDuration field is set. + */ + public boolean hasRequestedRunDuration() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
+     * 
+ * + * optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425; + * + * @return The requestedRunDuration. + */ + public com.google.cloud.compute.v1.Duration getRequestedRunDuration() { + if (requestedRunDurationBuilder_ == null) { + return requestedRunDuration_ == null + ? com.google.cloud.compute.v1.Duration.getDefaultInstance() + : requestedRunDuration_; + } else { + return requestedRunDurationBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
+     * 
+ * + * optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425; + */ + public Builder setRequestedRunDuration(com.google.cloud.compute.v1.Duration value) { + if (requestedRunDurationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + requestedRunDuration_ = value; + } else { + requestedRunDurationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
+     * 
+ * + * optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425; + */ + public Builder setRequestedRunDuration( + com.google.cloud.compute.v1.Duration.Builder builderForValue) { + if (requestedRunDurationBuilder_ == null) { + requestedRunDuration_ = builderForValue.build(); + } else { + requestedRunDurationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
+     * 
+ * + * optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425; + */ + public Builder mergeRequestedRunDuration(com.google.cloud.compute.v1.Duration value) { + if (requestedRunDurationBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && requestedRunDuration_ != null + && requestedRunDuration_ != com.google.cloud.compute.v1.Duration.getDefaultInstance()) { + getRequestedRunDurationBuilder().mergeFrom(value); + } else { + requestedRunDuration_ = value; + } + } else { + requestedRunDurationBuilder_.mergeFrom(value); + } + if (requestedRunDuration_ != null) { + bitField0_ |= 0x00000020; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
+     * 
+ * + * optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425; + */ + public Builder clearRequestedRunDuration() { + bitField0_ = (bitField0_ & ~0x00000020); + requestedRunDuration_ = null; + if (requestedRunDurationBuilder_ != null) { + requestedRunDurationBuilder_.dispose(); + requestedRunDurationBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
+     * 
+ * + * optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425; + */ + public com.google.cloud.compute.v1.Duration.Builder getRequestedRunDurationBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getRequestedRunDurationFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
+     * 
+ * + * optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425; + */ + public com.google.cloud.compute.v1.DurationOrBuilder getRequestedRunDurationOrBuilder() { + if (requestedRunDurationBuilder_ != null) { + return requestedRunDurationBuilder_.getMessageOrBuilder(); + } else { + return requestedRunDuration_ == null + ? com.google.cloud.compute.v1.Duration.getDefaultInstance() + : requestedRunDuration_; + } + } + /** + * + * + *
+     * Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
+     * 
+ * + * optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Duration, + com.google.cloud.compute.v1.Duration.Builder, + com.google.cloud.compute.v1.DurationOrBuilder> + getRequestedRunDurationFieldBuilder() { + if (requestedRunDurationBuilder_ == null) { + requestedRunDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Duration, + com.google.cloud.compute.v1.Duration.Builder, + com.google.cloud.compute.v1.DurationOrBuilder>( + getRequestedRunDuration(), getParentForChildren(), isClean()); + requestedRunDuration_ = null; + } + return requestedRunDurationBuilder_; + } + + private int resizeBy_; + /** + * + * + *
+     * The number of instances to be created by this resize request. The group's target size will be increased by this number.
+     * 
+ * + * optional int32 resize_by = 533735362; + * + * @return Whether the resizeBy field is set. + */ + @java.lang.Override + public boolean hasResizeBy() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+     * The number of instances to be created by this resize request. The group's target size will be increased by this number.
+     * 
+ * + * optional int32 resize_by = 533735362; + * + * @return The resizeBy. + */ + @java.lang.Override + public int getResizeBy() { + return resizeBy_; + } + /** + * + * + *
+     * The number of instances to be created by this resize request. The group's target size will be increased by this number.
+     * 
+ * + * optional int32 resize_by = 533735362; + * + * @param value The resizeBy to set. + * @return This builder for chaining. + */ + public Builder setResizeBy(int value) { + + resizeBy_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * The number of instances to be created by this resize request. The group's target size will be increased by this number.
+     * 
+ * + * optional int32 resize_by = 533735362; + * + * @return This builder for chaining. + */ + public Builder clearResizeBy() { + bitField0_ = (bitField0_ & ~0x00000040); + resizeBy_ = 0; + onChanged(); + return this; + } + + private java.lang.Object selfLink_ = ""; + /** + * + * + *
+     * [Output Only] The URL for this resize request. The server defines this URL.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + public boolean hasSelfLink() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+     * [Output Only] The URL for this resize request. The server defines this URL.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + selfLink_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] The URL for this resize request. The server defines this URL.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + public com.google.protobuf.ByteString getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] The URL for this resize request. The server defines this URL.
+     * 
+ * + * optional string self_link = 456214797; + * + * @param value The selfLink to set. + * @return This builder for chaining. + */ + public Builder setSelfLink(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + selfLink_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The URL for this resize request. The server defines this URL.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return This builder for chaining. + */ + public Builder clearSelfLink() { + selfLink_ = getDefaultInstance().getSelfLink(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The URL for this resize request. The server defines this URL.
+     * 
+ * + * optional string self_link = 456214797; + * + * @param value The bytes for selfLink to set. + * @return This builder for chaining. + */ + public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + private java.lang.Object selfLinkWithId_ = ""; + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource with the resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return Whether the selfLinkWithId field is set. + */ + public boolean hasSelfLinkWithId() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource with the resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The selfLinkWithId. + */ + public java.lang.String getSelfLinkWithId() { + java.lang.Object ref = selfLinkWithId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + selfLinkWithId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource with the resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The bytes for selfLinkWithId. + */ + public com.google.protobuf.ByteString getSelfLinkWithIdBytes() { + java.lang.Object ref = selfLinkWithId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLinkWithId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource with the resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @param value The selfLinkWithId to set. + * @return This builder for chaining. + */ + public Builder setSelfLinkWithId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + selfLinkWithId_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource with the resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return This builder for chaining. + */ + public Builder clearSelfLinkWithId() { + selfLinkWithId_ = getDefaultInstance().getSelfLinkWithId(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource with the resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @param value The bytes for selfLinkWithId to set. + * @return This builder for chaining. + */ + public Builder setSelfLinkWithIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLinkWithId_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + private java.lang.Object state_ = ""; + /** + * + * + *
+     * [Output only] Current state of the request.
+     * Check the State enum for the list of possible values.
+     * 
+ * + * optional string state = 109757585; + * + * @return Whether the state field is set. + */ + public boolean hasState() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+     * [Output only] Current state of the request.
+     * Check the State enum for the list of possible values.
+     * 
+ * + * optional string state = 109757585; + * + * @return The state. + */ + public java.lang.String getState() { + java.lang.Object ref = state_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + state_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output only] Current state of the request.
+     * Check the State enum for the list of possible values.
+     * 
+ * + * optional string state = 109757585; + * + * @return The bytes for state. + */ + public com.google.protobuf.ByteString getStateBytes() { + java.lang.Object ref = state_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + state_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output only] Current state of the request.
+     * Check the State enum for the list of possible values.
+     * 
+ * + * optional string state = 109757585; + * + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + state_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output only] Current state of the request.
+     * Check the State enum for the list of possible values.
+     * 
+ * + * optional string state = 109757585; + * + * @return This builder for chaining. + */ + public Builder clearState() { + state_ = getDefaultInstance().getState(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output only] Current state of the request.
+     * Check the State enum for the list of possible values.
+     * 
+ * + * optional string state = 109757585; + * + * @param value The bytes for state to set. + * @return This builder for chaining. + */ + public Builder setStateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + state_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus.Builder, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusOrBuilder> + statusBuilder_; + /** + * + * + *
+     * [Output only] Status of the request.
+     * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274; + * + * + * @return Whether the status field is set. + */ + public boolean hasStatus() { + return ((bitField0_ & 0x00000400) != 0); + } + /** + * + * + *
+     * [Output only] Status of the request.
+     * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274; + * + * + * @return The status. + */ + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus getStatus() { + if (statusBuilder_ == null) { + return status_ == null + ? com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus + .getDefaultInstance() + : status_; + } else { + return statusBuilder_.getMessage(); + } + } + /** + * + * + *
+     * [Output only] Status of the request.
+     * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274; + * + */ + public Builder setStatus( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus value) { + if (statusBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + status_ = value; + } else { + statusBuilder_.setMessage(value); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output only] Status of the request.
+     * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274; + * + */ + public Builder setStatus( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus.Builder + builderForValue) { + if (statusBuilder_ == null) { + status_ = builderForValue.build(); + } else { + statusBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output only] Status of the request.
+     * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274; + * + */ + public Builder mergeStatus( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus value) { + if (statusBuilder_ == null) { + if (((bitField0_ & 0x00000400) != 0) + && status_ != null + && status_ + != com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus + .getDefaultInstance()) { + getStatusBuilder().mergeFrom(value); + } else { + status_ = value; + } + } else { + statusBuilder_.mergeFrom(value); + } + if (status_ != null) { + bitField0_ |= 0x00000400; + onChanged(); + } + return this; + } + /** + * + * + *
+     * [Output only] Status of the request.
+     * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274; + * + */ + public Builder clearStatus() { + bitField0_ = (bitField0_ & ~0x00000400); + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * [Output only] Status of the request.
+     * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274; + * + */ + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus.Builder + getStatusBuilder() { + bitField0_ |= 0x00000400; + onChanged(); + return getStatusFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * [Output only] Status of the request.
+     * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274; + * + */ + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusOrBuilder + getStatusOrBuilder() { + if (statusBuilder_ != null) { + return statusBuilder_.getMessageOrBuilder(); + } else { + return status_ == null + ? com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus + .getDefaultInstance() + : status_; + } + } + /** + * + * + *
+     * [Output only] Status of the request.
+     * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus.Builder, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusOrBuilder> + getStatusFieldBuilder() { + if (statusBuilder_ == null) { + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus.Builder, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusOrBuilder>( + getStatus(), getParentForChildren(), isClean()); + status_ = null; + } + return statusBuilder_; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.
+     * 
+ * + * optional string zone = 3744684; + * + * @return Whether the zone field is set. + */ + public boolean hasZone() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + * + * + *
+     * [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.
+     * 
+ * + * optional string zone = 3744684; + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.
+     * 
+ * + * optional string zone = 3744684; + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.
+     * 
+ * + * optional string zone = 3744684; + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.
+     * 
+ * + * optional string zone = 3744684; + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.
+     * 
+ * + * optional string zone = 3744684; + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.InstanceGroupManagerResizeRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.InstanceGroupManagerResizeRequest) + private static final com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest(); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceGroupManagerResizeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestOrBuilder.java new file mode 100644 index 000000000000..a6991f057cb3 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestOrBuilder.java @@ -0,0 +1,451 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface InstanceGroupManagerResizeRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InstanceGroupManagerResizeRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * [Output Only] The creation timestamp for this resize request in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return Whether the creationTimestamp field is set. + */ + boolean hasCreationTimestamp(); + /** + * + * + *
+   * [Output Only] The creation timestamp for this resize request in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The creationTimestamp. + */ + java.lang.String getCreationTimestamp(); + /** + * + * + *
+   * [Output Only] The creation timestamp for this resize request in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The bytes for creationTimestamp. + */ + com.google.protobuf.ByteString getCreationTimestampBytes(); + + /** + * + * + *
+   * An optional description of this resource.
+   * 
+ * + * optional string description = 422937596; + * + * @return Whether the description field is set. + */ + boolean hasDescription(); + /** + * + * + *
+   * An optional description of this resource.
+   * 
+ * + * optional string description = 422937596; + * + * @return The description. + */ + java.lang.String getDescription(); + /** + * + * + *
+   * An optional description of this resource.
+   * 
+ * + * optional string description = 422937596; + * + * @return The bytes for description. + */ + com.google.protobuf.ByteString getDescriptionBytes(); + + /** + * + * + *
+   * [Output Only] A unique identifier for this resource type. The server generates this identifier.
+   * 
+ * + * optional uint64 id = 3355; + * + * @return Whether the id field is set. + */ + boolean hasId(); + /** + * + * + *
+   * [Output Only] A unique identifier for this resource type. The server generates this identifier.
+   * 
+ * + * optional uint64 id = 3355; + * + * @return The id. + */ + long getId(); + + /** + * + * + *
+   * [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + boolean hasKind(); + /** + * + * + *
+   * [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + java.lang.String getKind(); + /** + * + * + *
+   * [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + com.google.protobuf.ByteString getKindBytes(); + + /** + * + * + *
+   * The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + boolean hasName(); + /** + * + * + *
+   * The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
+   * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
+   * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
+   * 
+ * + * optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425; + * + * @return Whether the requestedRunDuration field is set. + */ + boolean hasRequestedRunDuration(); + /** + * + * + *
+   * Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
+   * 
+ * + * optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425; + * + * @return The requestedRunDuration. + */ + com.google.cloud.compute.v1.Duration getRequestedRunDuration(); + /** + * + * + *
+   * Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
+   * 
+ * + * optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425; + */ + com.google.cloud.compute.v1.DurationOrBuilder getRequestedRunDurationOrBuilder(); + + /** + * + * + *
+   * The number of instances to be created by this resize request. The group's target size will be increased by this number.
+   * 
+ * + * optional int32 resize_by = 533735362; + * + * @return Whether the resizeBy field is set. + */ + boolean hasResizeBy(); + /** + * + * + *
+   * The number of instances to be created by this resize request. The group's target size will be increased by this number.
+   * 
+ * + * optional int32 resize_by = 533735362; + * + * @return The resizeBy. + */ + int getResizeBy(); + + /** + * + * + *
+   * [Output Only] The URL for this resize request. The server defines this URL.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + boolean hasSelfLink(); + /** + * + * + *
+   * [Output Only] The URL for this resize request. The server defines this URL.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + java.lang.String getSelfLink(); + /** + * + * + *
+   * [Output Only] The URL for this resize request. The server defines this URL.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + com.google.protobuf.ByteString getSelfLinkBytes(); + + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource with the resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return Whether the selfLinkWithId field is set. + */ + boolean hasSelfLinkWithId(); + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource with the resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The selfLinkWithId. + */ + java.lang.String getSelfLinkWithId(); + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource with the resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The bytes for selfLinkWithId. + */ + com.google.protobuf.ByteString getSelfLinkWithIdBytes(); + + /** + * + * + *
+   * [Output only] Current state of the request.
+   * Check the State enum for the list of possible values.
+   * 
+ * + * optional string state = 109757585; + * + * @return Whether the state field is set. + */ + boolean hasState(); + /** + * + * + *
+   * [Output only] Current state of the request.
+   * Check the State enum for the list of possible values.
+   * 
+ * + * optional string state = 109757585; + * + * @return The state. + */ + java.lang.String getState(); + /** + * + * + *
+   * [Output only] Current state of the request.
+   * Check the State enum for the list of possible values.
+   * 
+ * + * optional string state = 109757585; + * + * @return The bytes for state. + */ + com.google.protobuf.ByteString getStateBytes(); + + /** + * + * + *
+   * [Output only] Status of the request.
+   * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274; + * + * + * @return Whether the status field is set. + */ + boolean hasStatus(); + /** + * + * + *
+   * [Output only] Status of the request.
+   * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274; + * + * + * @return The status. + */ + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus getStatus(); + /** + * + * + *
+   * [Output only] Status of the request.
+   * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274; + * + */ + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusOrBuilder getStatusOrBuilder(); + + /** + * + * + *
+   * [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.
+   * 
+ * + * optional string zone = 3744684; + * + * @return Whether the zone field is set. + */ + boolean hasZone(); + /** + * + * + *
+   * [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.
+   * 
+ * + * optional string zone = 3744684; + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.
+   * 
+ * + * optional string zone = 3744684; + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestStatus.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestStatus.java new file mode 100644 index 000000000000..ce4020b42cea --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestStatus.java @@ -0,0 +1,1037 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus} + */ +public final class InstanceGroupManagerResizeRequestStatus + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus) + InstanceGroupManagerResizeRequestStatusOrBuilder { + private static final long serialVersionUID = 0L; + // Use InstanceGroupManagerResizeRequestStatus.newBuilder() to construct. + private InstanceGroupManagerResizeRequestStatus( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InstanceGroupManagerResizeRequestStatus() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InstanceGroupManagerResizeRequestStatus(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatus_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatus_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus.class, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus.Builder.class); + } + + private int bitField0_; + public static final int ERROR_FIELD_NUMBER = 96784904; + private com.google.cloud.compute.v1.Error error_; + /** + * + * + *
+   * [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.
+   * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + * + * @return Whether the error field is set. + */ + @java.lang.Override + public boolean hasError() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.
+   * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + * + * @return The error. + */ + @java.lang.Override + public com.google.cloud.compute.v1.Error getError() { + return error_ == null ? com.google.cloud.compute.v1.Error.getDefaultInstance() : error_; + } + /** + * + * + *
+   * [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.
+   * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + @java.lang.Override + public com.google.cloud.compute.v1.ErrorOrBuilder getErrorOrBuilder() { + return error_ == null ? com.google.cloud.compute.v1.Error.getDefaultInstance() : error_; + } + + public static final int LAST_ATTEMPT_FIELD_NUMBER = 434771492; + private com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + lastAttempt_; + /** + * + * + *
+   * [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.
+   * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492; + * + * + * @return Whether the lastAttempt field is set. + */ + @java.lang.Override + public boolean hasLastAttempt() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.
+   * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492; + * + * + * @return The lastAttempt. + */ + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + getLastAttempt() { + return lastAttempt_ == null + ? com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + .getDefaultInstance() + : lastAttempt_; + } + /** + * + * + *
+   * [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.
+   * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttemptOrBuilder + getLastAttemptOrBuilder() { + return lastAttempt_ == null + ? com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + .getDefaultInstance() + : lastAttempt_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(96784904, getError()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(434771492, getLastAttempt()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(96784904, getError()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(434771492, getLastAttempt()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus other = + (com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus) obj; + + if (hasError() != other.hasError()) return false; + if (hasError()) { + if (!getError().equals(other.getError())) return false; + } + if (hasLastAttempt() != other.hasLastAttempt()) return false; + if (hasLastAttempt()) { + if (!getLastAttempt().equals(other.getLastAttempt())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasError()) { + hash = (37 * hash) + ERROR_FIELD_NUMBER; + hash = (53 * hash) + getError().hashCode(); + } + if (hasLastAttempt()) { + hash = (37 * hash) + LAST_ATTEMPT_FIELD_NUMBER; + hash = (53 * hash) + getLastAttempt().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus) + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatus_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatus_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus.class, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getErrorFieldBuilder(); + getLastAttemptFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + error_ = null; + if (errorBuilder_ != null) { + errorBuilder_.dispose(); + errorBuilder_ = null; + } + lastAttempt_ = null; + if (lastAttemptBuilder_ != null) { + lastAttemptBuilder_.dispose(); + lastAttemptBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatus_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus build() { + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus buildPartial() { + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus result = + new com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.lastAttempt_ = + lastAttemptBuilder_ == null ? lastAttempt_ : lastAttemptBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus) { + return mergeFrom( + (com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus other) { + if (other + == com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus + .getDefaultInstance()) return this; + if (other.hasError()) { + mergeError(other.getError()); + } + if (other.hasLastAttempt()) { + mergeLastAttempt(other.getLastAttempt()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 774279234: + { + input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 774279234 + case -816795358: + { + input.readMessage(getLastAttemptFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case -816795358 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.compute.v1.Error error_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Error, + com.google.cloud.compute.v1.Error.Builder, + com.google.cloud.compute.v1.ErrorOrBuilder> + errorBuilder_; + /** + * + * + *
+     * [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + * + * @return Whether the error field is set. + */ + public boolean hasError() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + * + * @return The error. + */ + public com.google.cloud.compute.v1.Error getError() { + if (errorBuilder_ == null) { + return error_ == null ? com.google.cloud.compute.v1.Error.getDefaultInstance() : error_; + } else { + return errorBuilder_.getMessage(); + } + } + /** + * + * + *
+     * [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + public Builder setError(com.google.cloud.compute.v1.Error value) { + if (errorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + error_ = value; + } else { + errorBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + public Builder setError(com.google.cloud.compute.v1.Error.Builder builderForValue) { + if (errorBuilder_ == null) { + error_ = builderForValue.build(); + } else { + errorBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + public Builder mergeError(com.google.cloud.compute.v1.Error value) { + if (errorBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && error_ != null + && error_ != com.google.cloud.compute.v1.Error.getDefaultInstance()) { + getErrorBuilder().mergeFrom(value); + } else { + error_ = value; + } + } else { + errorBuilder_.mergeFrom(value); + } + if (error_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * + * + *
+     * [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + public Builder clearError() { + bitField0_ = (bitField0_ & ~0x00000001); + error_ = null; + if (errorBuilder_ != null) { + errorBuilder_.dispose(); + errorBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + public com.google.cloud.compute.v1.Error.Builder getErrorBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getErrorFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + public com.google.cloud.compute.v1.ErrorOrBuilder getErrorOrBuilder() { + if (errorBuilder_ != null) { + return errorBuilder_.getMessageOrBuilder(); + } else { + return error_ == null ? com.google.cloud.compute.v1.Error.getDefaultInstance() : error_; + } + } + /** + * + * + *
+     * [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Error, + com.google.cloud.compute.v1.Error.Builder, + com.google.cloud.compute.v1.ErrorOrBuilder> + getErrorFieldBuilder() { + if (errorBuilder_ == null) { + errorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Error, + com.google.cloud.compute.v1.Error.Builder, + com.google.cloud.compute.v1.ErrorOrBuilder>( + getError(), getParentForChildren(), isClean()); + error_ = null; + } + return errorBuilder_; + } + + private com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + lastAttempt_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt.Builder, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttemptOrBuilder> + lastAttemptBuilder_; + /** + * + * + *
+     * [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.
+     * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492; + * + * + * @return Whether the lastAttempt field is set. + */ + public boolean hasLastAttempt() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.
+     * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492; + * + * + * @return The lastAttempt. + */ + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + getLastAttempt() { + if (lastAttemptBuilder_ == null) { + return lastAttempt_ == null + ? com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + .getDefaultInstance() + : lastAttempt_; + } else { + return lastAttemptBuilder_.getMessage(); + } + } + /** + * + * + *
+     * [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.
+     * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492; + * + */ + public Builder setLastAttempt( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt value) { + if (lastAttemptBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + lastAttempt_ = value; + } else { + lastAttemptBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.
+     * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492; + * + */ + public Builder setLastAttempt( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt.Builder + builderForValue) { + if (lastAttemptBuilder_ == null) { + lastAttempt_ = builderForValue.build(); + } else { + lastAttemptBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.
+     * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492; + * + */ + public Builder mergeLastAttempt( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt value) { + if (lastAttemptBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && lastAttempt_ != null + && lastAttempt_ + != com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + .getDefaultInstance()) { + getLastAttemptBuilder().mergeFrom(value); + } else { + lastAttempt_ = value; + } + } else { + lastAttemptBuilder_.mergeFrom(value); + } + if (lastAttempt_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * + * + *
+     * [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.
+     * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492; + * + */ + public Builder clearLastAttempt() { + bitField0_ = (bitField0_ & ~0x00000002); + lastAttempt_ = null; + if (lastAttemptBuilder_ != null) { + lastAttemptBuilder_.dispose(); + lastAttemptBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.
+     * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492; + * + */ + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt.Builder + getLastAttemptBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getLastAttemptFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.
+     * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492; + * + */ + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttemptOrBuilder + getLastAttemptOrBuilder() { + if (lastAttemptBuilder_ != null) { + return lastAttemptBuilder_.getMessageOrBuilder(); + } else { + return lastAttempt_ == null + ? com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + .getDefaultInstance() + : lastAttempt_; + } + } + /** + * + * + *
+     * [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.
+     * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt.Builder, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttemptOrBuilder> + getLastAttemptFieldBuilder() { + if (lastAttemptBuilder_ == null) { + lastAttemptBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + .Builder, + com.google.cloud.compute.v1 + .InstanceGroupManagerResizeRequestStatusLastAttemptOrBuilder>( + getLastAttempt(), getParentForChildren(), isClean()); + lastAttempt_ = null; + } + return lastAttemptBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus) + private static final com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus(); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceGroupManagerResizeRequestStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestStatusLastAttempt.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestStatusLastAttempt.java new file mode 100644 index 000000000000..c30161503336 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestStatusLastAttempt.java @@ -0,0 +1,747 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt} + */ +public final class InstanceGroupManagerResizeRequestStatusLastAttempt + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt) + InstanceGroupManagerResizeRequestStatusLastAttemptOrBuilder { + private static final long serialVersionUID = 0L; + // Use InstanceGroupManagerResizeRequestStatusLastAttempt.newBuilder() to construct. + private InstanceGroupManagerResizeRequestStatusLastAttempt( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InstanceGroupManagerResizeRequestStatusLastAttempt() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InstanceGroupManagerResizeRequestStatusLastAttempt(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatusLastAttempt_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatusLastAttempt_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt.class, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt.Builder + .class); + } + + private int bitField0_; + public static final int ERROR_FIELD_NUMBER = 96784904; + private com.google.cloud.compute.v1.Error error_; + /** + * + * + *
+   * Errors that prevented the ResizeRequest to be fulfilled.
+   * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + * + * @return Whether the error field is set. + */ + @java.lang.Override + public boolean hasError() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Errors that prevented the ResizeRequest to be fulfilled.
+   * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + * + * @return The error. + */ + @java.lang.Override + public com.google.cloud.compute.v1.Error getError() { + return error_ == null ? com.google.cloud.compute.v1.Error.getDefaultInstance() : error_; + } + /** + * + * + *
+   * Errors that prevented the ResizeRequest to be fulfilled.
+   * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + @java.lang.Override + public com.google.cloud.compute.v1.ErrorOrBuilder getErrorOrBuilder() { + return error_ == null ? com.google.cloud.compute.v1.Error.getDefaultInstance() : error_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(96784904, getError()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(96784904, getError()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt other = + (com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt) obj; + + if (hasError() != other.hasError()) return false; + if (hasError()) { + if (!getError().equals(other.getError())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasError()) { + hash = (37 * hash) + ERROR_FIELD_NUMBER; + hash = (53 * hash) + getError().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * 
+ * + * Protobuf type {@code + * google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt) + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttemptOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatusLastAttempt_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatusLastAttempt_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt.class, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getErrorFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + error_ = null; + if (errorBuilder_ != null) { + errorBuilder_.dispose(); + errorBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestStatusLastAttempt_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt build() { + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + buildPartial() { + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt result = + new com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt) { + return mergeFrom( + (com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt other) { + if (other + == com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + .getDefaultInstance()) return this; + if (other.hasError()) { + mergeError(other.getError()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 774279234: + { + input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 774279234 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.compute.v1.Error error_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Error, + com.google.cloud.compute.v1.Error.Builder, + com.google.cloud.compute.v1.ErrorOrBuilder> + errorBuilder_; + /** + * + * + *
+     * Errors that prevented the ResizeRequest to be fulfilled.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + * + * @return Whether the error field is set. + */ + public boolean hasError() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Errors that prevented the ResizeRequest to be fulfilled.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + * + * @return The error. + */ + public com.google.cloud.compute.v1.Error getError() { + if (errorBuilder_ == null) { + return error_ == null ? com.google.cloud.compute.v1.Error.getDefaultInstance() : error_; + } else { + return errorBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Errors that prevented the ResizeRequest to be fulfilled.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + public Builder setError(com.google.cloud.compute.v1.Error value) { + if (errorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + error_ = value; + } else { + errorBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Errors that prevented the ResizeRequest to be fulfilled.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + public Builder setError(com.google.cloud.compute.v1.Error.Builder builderForValue) { + if (errorBuilder_ == null) { + error_ = builderForValue.build(); + } else { + errorBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Errors that prevented the ResizeRequest to be fulfilled.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + public Builder mergeError(com.google.cloud.compute.v1.Error value) { + if (errorBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && error_ != null + && error_ != com.google.cloud.compute.v1.Error.getDefaultInstance()) { + getErrorBuilder().mergeFrom(value); + } else { + error_ = value; + } + } else { + errorBuilder_.mergeFrom(value); + } + if (error_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Errors that prevented the ResizeRequest to be fulfilled.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + public Builder clearError() { + bitField0_ = (bitField0_ & ~0x00000001); + error_ = null; + if (errorBuilder_ != null) { + errorBuilder_.dispose(); + errorBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Errors that prevented the ResizeRequest to be fulfilled.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + public com.google.cloud.compute.v1.Error.Builder getErrorBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getErrorFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Errors that prevented the ResizeRequest to be fulfilled.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + public com.google.cloud.compute.v1.ErrorOrBuilder getErrorOrBuilder() { + if (errorBuilder_ != null) { + return errorBuilder_.getMessageOrBuilder(); + } else { + return error_ == null ? com.google.cloud.compute.v1.Error.getDefaultInstance() : error_; + } + } + /** + * + * + *
+     * Errors that prevented the ResizeRequest to be fulfilled.
+     * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Error, + com.google.cloud.compute.v1.Error.Builder, + com.google.cloud.compute.v1.ErrorOrBuilder> + getErrorFieldBuilder() { + if (errorBuilder_ == null) { + errorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Error, + com.google.cloud.compute.v1.Error.Builder, + com.google.cloud.compute.v1.ErrorOrBuilder>( + getError(), getParentForChildren(), isClean()); + error_ = null; + } + return errorBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt) + private static final com.google.cloud.compute.v1 + .InstanceGroupManagerResizeRequestStatusLastAttempt + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt(); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser< + InstanceGroupManagerResizeRequestStatusLastAttempt> + PARSER = + new com.google.protobuf.AbstractParser< + InstanceGroupManagerResizeRequestStatusLastAttempt>() { + @java.lang.Override + public InstanceGroupManagerResizeRequestStatusLastAttempt parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser + parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser + getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestStatusLastAttemptOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestStatusLastAttemptOrBuilder.java new file mode 100644 index 000000000000..1c28ba296f23 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestStatusLastAttemptOrBuilder.java @@ -0,0 +1,61 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface InstanceGroupManagerResizeRequestStatusLastAttemptOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Errors that prevented the ResizeRequest to be fulfilled.
+   * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + * + * @return Whether the error field is set. + */ + boolean hasError(); + /** + * + * + *
+   * Errors that prevented the ResizeRequest to be fulfilled.
+   * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + * + * @return The error. + */ + com.google.cloud.compute.v1.Error getError(); + /** + * + * + *
+   * Errors that prevented the ResizeRequest to be fulfilled.
+   * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + com.google.cloud.compute.v1.ErrorOrBuilder getErrorOrBuilder(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestStatusOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestStatusOrBuilder.java new file mode 100644 index 000000000000..37b20193c118 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestStatusOrBuilder.java @@ -0,0 +1,103 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface InstanceGroupManagerResizeRequestStatusOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.
+   * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + * + * @return Whether the error field is set. + */ + boolean hasError(); + /** + * + * + *
+   * [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.
+   * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + * + * @return The error. + */ + com.google.cloud.compute.v1.Error getError(); + /** + * + * + *
+   * [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.
+   * 
+ * + * optional .google.cloud.compute.v1.Error error = 96784904; + */ + com.google.cloud.compute.v1.ErrorOrBuilder getErrorOrBuilder(); + + /** + * + * + *
+   * [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.
+   * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492; + * + * + * @return Whether the lastAttempt field is set. + */ + boolean hasLastAttempt(); + /** + * + * + *
+   * [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.
+   * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492; + * + * + * @return The lastAttempt. + */ + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt getLastAttempt(); + /** + * + * + *
+   * [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.
+   * 
+ * + * + * optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492; + * + */ + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttemptOrBuilder + getLastAttemptOrBuilder(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsListResponse.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsListResponse.java new file mode 100644 index 000000000000..804d701674ed --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsListResponse.java @@ -0,0 +1,2153 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * [Output Only] A list of resize requests.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse} + */ +public final class InstanceGroupManagerResizeRequestsListResponse + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse) + InstanceGroupManagerResizeRequestsListResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use InstanceGroupManagerResizeRequestsListResponse.newBuilder() to construct. + private InstanceGroupManagerResizeRequestsListResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InstanceGroupManagerResizeRequestsListResponse() { + id_ = ""; + items_ = java.util.Collections.emptyList(); + kind_ = ""; + nextPageToken_ = ""; + selfLink_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InstanceGroupManagerResizeRequestsListResponse(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestsListResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestsListResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse.class, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse.Builder + .class); + } + + private int bitField0_; + public static final int ID_FIELD_NUMBER = 3355; + + @SuppressWarnings("serial") + private volatile java.lang.Object id_ = ""; + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The id. + */ + @java.lang.Override + public java.lang.String getId() { + java.lang.Object ref = id_; + 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(); + id_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The bytes for id. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ITEMS_FIELD_NUMBER = 100526016; + + @SuppressWarnings("serial") + private java.util.List items_; + /** + * + * + *
+   * A list of resize request resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + @java.lang.Override + public java.util.List + getItemsList() { + return items_; + } + /** + * + * + *
+   * A list of resize request resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestOrBuilder> + getItemsOrBuilderList() { + return items_; + } + /** + * + * + *
+   * A list of resize request resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + @java.lang.Override + public int getItemsCount() { + return items_.size(); + } + /** + * + * + *
+   * A list of resize request resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest getItems(int index) { + return items_.get(index); + } + /** + * + * + *
+   * A list of resize request resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestOrBuilder getItemsOrBuilder( + int index) { + return items_.get(index); + } + + public static final int KIND_FIELD_NUMBER = 3292052; + + @SuppressWarnings("serial") + private volatile java.lang.Object kind_ = ""; + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#instanceGroupManagerResizeRequestList for a list of resize requests.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + @java.lang.Override + public boolean hasKind() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#instanceGroupManagerResizeRequestList for a list of resize requests.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + 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(); + kind_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#instanceGroupManagerResizeRequestList for a list of resize requests.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 79797525; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return Whether the nextPageToken field is set. + */ + @java.lang.Override + public boolean hasNextPageToken() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + 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(); + nextPageToken_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SELF_LINK_FIELD_NUMBER = 456214797; + + @SuppressWarnings("serial") + private volatile java.lang.Object selfLink_ = ""; + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + @java.lang.Override + public boolean hasSelfLink() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + @java.lang.Override + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + 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(); + selfLink_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int WARNING_FIELD_NUMBER = 50704284; + private com.google.cloud.compute.v1.Warning warning_; + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + @java.lang.Override + public boolean hasWarning() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + @java.lang.Override + public com.google.cloud.compute.v1.Warning getWarning() { + return warning_ == null ? com.google.cloud.compute.v1.Warning.getDefaultInstance() : warning_; + } + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + @java.lang.Override + public com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder() { + return warning_ == null ? com.google.cloud.compute.v1.Warning.getDefaultInstance() : warning_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3355, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeMessage(50704284, getWarning()); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 79797525, nextPageToken_); + } + for (int i = 0; i < items_.size(); i++) { + output.writeMessage(100526016, items_.get(i)); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3355, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(50704284, getWarning()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(79797525, nextPageToken_); + } + for (int i = 0; i < items_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(100526016, items_.get(i)); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse other = + (com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse) obj; + + if (hasId() != other.hasId()) return false; + if (hasId()) { + if (!getId().equals(other.getId())) return false; + } + if (!getItemsList().equals(other.getItemsList())) return false; + if (hasKind() != other.hasKind()) return false; + if (hasKind()) { + if (!getKind().equals(other.getKind())) return false; + } + if (hasNextPageToken() != other.hasNextPageToken()) return false; + if (hasNextPageToken()) { + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + } + if (hasSelfLink() != other.hasSelfLink()) return false; + if (hasSelfLink()) { + if (!getSelfLink().equals(other.getSelfLink())) return false; + } + if (hasWarning() != other.hasWarning()) return false; + if (hasWarning()) { + if (!getWarning().equals(other.getWarning())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + } + if (getItemsCount() > 0) { + hash = (37 * hash) + ITEMS_FIELD_NUMBER; + hash = (53 * hash) + getItemsList().hashCode(); + } + if (hasKind()) { + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + } + if (hasNextPageToken()) { + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + } + if (hasSelfLink()) { + hash = (37 * hash) + SELF_LINK_FIELD_NUMBER; + hash = (53 * hash) + getSelfLink().hashCode(); + } + if (hasWarning()) { + hash = (37 * hash) + WARNING_FIELD_NUMBER; + hash = (53 * hash) + getWarning().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * [Output Only] A list of resize requests.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse) + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestsListResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestsListResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse.class, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getItemsFieldBuilder(); + getWarningFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + id_ = ""; + if (itemsBuilder_ == null) { + items_ = java.util.Collections.emptyList(); + } else { + items_ = null; + itemsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + kind_ = ""; + nextPageToken_ = ""; + selfLink_ = ""; + warning_ = null; + if (warningBuilder_ != null) { + warningBuilder_.dispose(); + warningBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceGroupManagerResizeRequestsListResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse build() { + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + buildPartial() { + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse result = + new com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse result) { + if (itemsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + items_ = java.util.Collections.unmodifiableList(items_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.items_ = items_; + } else { + result.items_ = itemsBuilder_.build(); + } + } + + private void buildPartial0( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.id_ = id_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.kind_ = kind_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.nextPageToken_ = nextPageToken_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.selfLink_ = selfLink_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.warning_ = warningBuilder_ == null ? warning_ : warningBuilder_.build(); + to_bitField0_ |= 0x00000010; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse) { + return mergeFrom( + (com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse other) { + if (other + == com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + .getDefaultInstance()) return this; + if (other.hasId()) { + id_ = other.id_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (itemsBuilder_ == null) { + if (!other.items_.isEmpty()) { + if (items_.isEmpty()) { + items_ = other.items_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureItemsIsMutable(); + items_.addAll(other.items_); + } + onChanged(); + } + } else { + if (!other.items_.isEmpty()) { + if (itemsBuilder_.isEmpty()) { + itemsBuilder_.dispose(); + itemsBuilder_ = null; + items_ = other.items_; + bitField0_ = (bitField0_ & ~0x00000002); + itemsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getItemsFieldBuilder() + : null; + } else { + itemsBuilder_.addAllMessages(other.items_); + } + } + } + if (other.hasKind()) { + kind_ = other.kind_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasNextPageToken()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasSelfLink()) { + selfLink_ = other.selfLink_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.hasWarning()) { + mergeWarning(other.getWarning()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26842: + { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 26842 + case 26336418: + { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26336418 + case 405634274: + { + input.readMessage(getWarningFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 405634274 + case 638380202: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 638380202 + case 804208130: + { + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest m = + input.readMessage( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.parser(), + extensionRegistry); + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.add(m); + } else { + itemsBuilder_.addMessage(m); + } + break; + } // case 804208130 + case -645248918: + { + selfLink_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case -645248918 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object id_ = ""; + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return Whether the id field is set. + */ + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return The id. + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + id_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return The bytes for id. + */ + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + id_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return This builder for chaining. + */ + public Builder clearId() { + id_ = getDefaultInstance().getId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @param value The bytes for id to set. + * @return This builder for chaining. + */ + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.util.List items_ = + java.util.Collections.emptyList(); + + private void ensureItemsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + items_ = + new java.util.ArrayList( + items_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.Builder, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestOrBuilder> + itemsBuilder_; + + /** + * + * + *
+     * A list of resize request resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + public java.util.List + getItemsList() { + if (itemsBuilder_ == null) { + return java.util.Collections.unmodifiableList(items_); + } else { + return itemsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * A list of resize request resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + public int getItemsCount() { + if (itemsBuilder_ == null) { + return items_.size(); + } else { + return itemsBuilder_.getCount(); + } + } + /** + * + * + *
+     * A list of resize request resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest getItems(int index) { + if (itemsBuilder_ == null) { + return items_.get(index); + } else { + return itemsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * A list of resize request resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + public Builder setItems( + int index, com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemsIsMutable(); + items_.set(index, value); + onChanged(); + } else { + itemsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of resize request resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + public Builder setItems( + int index, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.Builder builderForValue) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.set(index, builderForValue.build()); + onChanged(); + } else { + itemsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of resize request resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + public Builder addItems(com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemsIsMutable(); + items_.add(value); + onChanged(); + } else { + itemsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * A list of resize request resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + public Builder addItems( + int index, com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemsIsMutable(); + items_.add(index, value); + onChanged(); + } else { + itemsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of resize request resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + public Builder addItems( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.Builder builderForValue) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.add(builderForValue.build()); + onChanged(); + } else { + itemsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of resize request resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + public Builder addItems( + int index, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.Builder builderForValue) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.add(index, builderForValue.build()); + onChanged(); + } else { + itemsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of resize request resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + public Builder addAllItems( + java.lang.Iterable + values) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, items_); + onChanged(); + } else { + itemsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * A list of resize request resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + public Builder clearItems() { + if (itemsBuilder_ == null) { + items_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + itemsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A list of resize request resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + public Builder removeItems(int index) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.remove(index); + onChanged(); + } else { + itemsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * A list of resize request resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.Builder getItemsBuilder( + int index) { + return getItemsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * A list of resize request resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestOrBuilder getItemsOrBuilder( + int index) { + if (itemsBuilder_ == null) { + return items_.get(index); + } else { + return itemsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * A list of resize request resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + public java.util.List< + ? extends com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestOrBuilder> + getItemsOrBuilderList() { + if (itemsBuilder_ != null) { + return itemsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(items_); + } + } + /** + * + * + *
+     * A list of resize request resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.Builder addItemsBuilder() { + return getItemsFieldBuilder() + .addBuilder( + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.getDefaultInstance()); + } + /** + * + * + *
+     * A list of resize request resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.Builder addItemsBuilder( + int index) { + return getItemsFieldBuilder() + .addBuilder( + index, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.getDefaultInstance()); + } + /** + * + * + *
+     * A list of resize request resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + public java.util.List + getItemsBuilderList() { + return getItemsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.Builder, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestOrBuilder> + getItemsFieldBuilder() { + if (itemsBuilder_ == null) { + itemsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest.Builder, + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestOrBuilder>( + items_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + items_ = null; + } + return itemsBuilder_; + } + + private java.lang.Object kind_ = ""; + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#instanceGroupManagerResizeRequestList for a list of resize requests.
+     * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + public boolean hasKind() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#instanceGroupManagerResizeRequestList for a list of resize requests.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#instanceGroupManagerResizeRequestList for a list of resize requests.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#instanceGroupManagerResizeRequestList for a list of resize requests.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + kind_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#instanceGroupManagerResizeRequestList for a list of resize requests.
+     * 
+ * + * optional string kind = 3292052; + * + * @return This builder for chaining. + */ + public Builder clearKind() { + kind_ = getDefaultInstance().getKind(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#instanceGroupManagerResizeRequestList for a list of resize requests.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return Whether the nextPageToken field is set. + */ + public boolean hasNextPageToken() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object selfLink_ = ""; + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + public boolean hasSelfLink() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + selfLink_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + public com.google.protobuf.ByteString getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @param value The selfLink to set. + * @return This builder for chaining. + */ + public Builder setSelfLink(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + selfLink_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return This builder for chaining. + */ + public Builder clearSelfLink() { + selfLink_ = getDefaultInstance().getSelfLink(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @param value The bytes for selfLink to set. + * @return This builder for chaining. + */ + public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.Warning warning_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder> + warningBuilder_; + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + public boolean hasWarning() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + public com.google.cloud.compute.v1.Warning getWarning() { + if (warningBuilder_ == null) { + return warning_ == null + ? com.google.cloud.compute.v1.Warning.getDefaultInstance() + : warning_; + } else { + return warningBuilder_.getMessage(); + } + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder setWarning(com.google.cloud.compute.v1.Warning value) { + if (warningBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + warning_ = value; + } else { + warningBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder setWarning(com.google.cloud.compute.v1.Warning.Builder builderForValue) { + if (warningBuilder_ == null) { + warning_ = builderForValue.build(); + } else { + warningBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder mergeWarning(com.google.cloud.compute.v1.Warning value) { + if (warningBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && warning_ != null + && warning_ != com.google.cloud.compute.v1.Warning.getDefaultInstance()) { + getWarningBuilder().mergeFrom(value); + } else { + warning_ = value; + } + } else { + warningBuilder_.mergeFrom(value); + } + if (warning_ != null) { + bitField0_ |= 0x00000020; + onChanged(); + } + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder clearWarning() { + bitField0_ = (bitField0_ & ~0x00000020); + warning_ = null; + if (warningBuilder_ != null) { + warningBuilder_.dispose(); + warningBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public com.google.cloud.compute.v1.Warning.Builder getWarningBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getWarningFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder() { + if (warningBuilder_ != null) { + return warningBuilder_.getMessageOrBuilder(); + } else { + return warning_ == null + ? com.google.cloud.compute.v1.Warning.getDefaultInstance() + : warning_; + } + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder> + getWarningFieldBuilder() { + if (warningBuilder_ == null) { + warningBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder>( + getWarning(), getParentForChildren(), isClean()); + warning_ = null; + } + return warningBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse) + private static final com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse(); + } + + public static com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceGroupManagerResizeRequestsListResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser + parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser + getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsListResponseOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsListResponseOrBuilder.java new file mode 100644 index 000000000000..0f71fb40c2f1 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerResizeRequestsListResponseOrBuilder.java @@ -0,0 +1,267 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface InstanceGroupManagerResizeRequestsListResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return Whether the id field is set. + */ + boolean hasId(); + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The id. + */ + java.lang.String getId(); + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The bytes for id. + */ + com.google.protobuf.ByteString getIdBytes(); + + /** + * + * + *
+   * A list of resize request resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + java.util.List getItemsList(); + /** + * + * + *
+   * A list of resize request resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest getItems(int index); + /** + * + * + *
+   * A list of resize request resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + int getItemsCount(); + /** + * + * + *
+   * A list of resize request resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + java.util.List + getItemsOrBuilderList(); + /** + * + * + *
+   * A list of resize request resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.InstanceGroupManagerResizeRequest items = 100526016; + * + */ + com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestOrBuilder getItemsOrBuilder( + int index); + + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#instanceGroupManagerResizeRequestList for a list of resize requests.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + boolean hasKind(); + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#instanceGroupManagerResizeRequestList for a list of resize requests.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + java.lang.String getKind(); + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#instanceGroupManagerResizeRequestList for a list of resize requests.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + com.google.protobuf.ByteString getKindBytes(); + + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return Whether the nextPageToken field is set. + */ + boolean hasNextPageToken(); + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); + + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + boolean hasSelfLink(); + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + java.lang.String getSelfLink(); + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + com.google.protobuf.ByteString getSelfLinkBytes(); + + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + boolean hasWarning(); + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + com.google.cloud.compute.v1.Warning getWarning(); + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatusStateful.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatusStateful.java index 0f1070cb19c8..66c2e052c39f 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatusStateful.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatusStateful.java @@ -102,7 +102,7 @@ public boolean getHasStatefulConfig() { * * *
-   * [Output Only] Status of per-instance configurations on the instance.
+   * [Output Only] Status of per-instance configurations on the instances.
    * 
* * @@ -119,7 +119,7 @@ public boolean hasPerInstanceConfigs() { * * *
-   * [Output Only] Status of per-instance configurations on the instance.
+   * [Output Only] Status of per-instance configurations on the instances.
    * 
* * @@ -140,7 +140,7 @@ public boolean hasPerInstanceConfigs() { * * *
-   * [Output Only] Status of per-instance configurations on the instance.
+   * [Output Only] Status of per-instance configurations on the instances.
    * 
* * @@ -635,7 +635,7 @@ public Builder clearHasStatefulConfig() { * * *
-     * [Output Only] Status of per-instance configurations on the instance.
+     * [Output Only] Status of per-instance configurations on the instances.
      * 
* * @@ -651,7 +651,7 @@ public boolean hasPerInstanceConfigs() { * * *
-     * [Output Only] Status of per-instance configurations on the instance.
+     * [Output Only] Status of per-instance configurations on the instances.
      * 
* * @@ -675,7 +675,7 @@ public boolean hasPerInstanceConfigs() { * * *
-     * [Output Only] Status of per-instance configurations on the instance.
+     * [Output Only] Status of per-instance configurations on the instances.
      * 
* * @@ -700,7 +700,7 @@ public Builder setPerInstanceConfigs( * * *
-     * [Output Only] Status of per-instance configurations on the instance.
+     * [Output Only] Status of per-instance configurations on the instances.
      * 
* * @@ -723,7 +723,7 @@ public Builder setPerInstanceConfigs( * * *
-     * [Output Only] Status of per-instance configurations on the instance.
+     * [Output Only] Status of per-instance configurations on the instances.
      * 
* * @@ -755,7 +755,7 @@ public Builder mergePerInstanceConfigs( * * *
-     * [Output Only] Status of per-instance configurations on the instance.
+     * [Output Only] Status of per-instance configurations on the instances.
      * 
* * @@ -776,7 +776,7 @@ public Builder clearPerInstanceConfigs() { * * *
-     * [Output Only] Status of per-instance configurations on the instance.
+     * [Output Only] Status of per-instance configurations on the instances.
      * 
* * @@ -793,7 +793,7 @@ public Builder clearPerInstanceConfigs() { * * *
-     * [Output Only] Status of per-instance configurations on the instance.
+     * [Output Only] Status of per-instance configurations on the instances.
      * 
* * @@ -815,7 +815,7 @@ public Builder clearPerInstanceConfigs() { * * *
-     * [Output Only] Status of per-instance configurations on the instance.
+     * [Output Only] Status of per-instance configurations on the instances.
      * 
* * diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatusStatefulOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatusStatefulOrBuilder.java index c327b637dd38..e775c29a65ad 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatusStatefulOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerStatusStatefulOrBuilder.java @@ -53,7 +53,7 @@ public interface InstanceGroupManagerStatusStatefulOrBuilder * * *
-   * [Output Only] Status of per-instance configurations on the instance.
+   * [Output Only] Status of per-instance configurations on the instances.
    * 
* * @@ -67,7 +67,7 @@ public interface InstanceGroupManagerStatusStatefulOrBuilder * * *
-   * [Output Only] Status of per-instance configurations on the instance.
+   * [Output Only] Status of per-instance configurations on the instances.
    * 
* * @@ -82,7 +82,7 @@ public interface InstanceGroupManagerStatusStatefulOrBuilder * * *
-   * [Output Only] Status of per-instance configurations on the instance.
+   * [Output Only] Status of per-instance configurations on the instances.
    * 
* * diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceSettings.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceSettings.java new file mode 100644 index 000000000000..47fe81e261b6 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceSettings.java @@ -0,0 +1,1374 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * Represents a Instance Settings resource. You can use instance settings to configure default settings for Compute Engine VM instances. For example, you can use it to configure default machine type of Compute Engine VM instances.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InstanceSettings} + */ +public final class InstanceSettings extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.InstanceSettings) + InstanceSettingsOrBuilder { + private static final long serialVersionUID = 0L; + // Use InstanceSettings.newBuilder() to construct. + private InstanceSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InstanceSettings() { + fingerprint_ = ""; + kind_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InstanceSettings(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InstanceSettings.class, + com.google.cloud.compute.v1.InstanceSettings.Builder.class); + } + + private int bitField0_; + public static final int FINGERPRINT_FIELD_NUMBER = 234678500; + + @SuppressWarnings("serial") + private volatile java.lang.Object fingerprint_ = ""; + /** + * + * + *
+   * Specifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance settings resource. You must always provide an up-to-date fingerprint hash in order to update or change the resource, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
+   * 
+ * + * optional string fingerprint = 234678500; + * + * @return Whether the fingerprint field is set. + */ + @java.lang.Override + public boolean hasFingerprint() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Specifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance settings resource. You must always provide an up-to-date fingerprint hash in order to update or change the resource, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
+   * 
+ * + * optional string fingerprint = 234678500; + * + * @return The fingerprint. + */ + @java.lang.Override + public java.lang.String getFingerprint() { + java.lang.Object ref = fingerprint_; + 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(); + fingerprint_ = s; + return s; + } + } + /** + * + * + *
+   * Specifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance settings resource. You must always provide an up-to-date fingerprint hash in order to update or change the resource, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
+   * 
+ * + * optional string fingerprint = 234678500; + * + * @return The bytes for fingerprint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFingerprintBytes() { + java.lang.Object ref = fingerprint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + fingerprint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int KIND_FIELD_NUMBER = 3292052; + + @SuppressWarnings("serial") + private volatile java.lang.Object kind_ = ""; + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#instance_settings for instance settings.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + @java.lang.Override + public boolean hasKind() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#instance_settings for instance settings.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + 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(); + kind_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#instance_settings for instance settings.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int METADATA_FIELD_NUMBER = 86866735; + private com.google.cloud.compute.v1.InstanceSettingsMetadata metadata_; + /** + * + * + *
+   * The metadata key/value pairs assigned to all the instances in the corresponding scope.
+   * 
+ * + * optional .google.cloud.compute.v1.InstanceSettingsMetadata metadata = 86866735; + * + * @return Whether the metadata field is set. + */ + @java.lang.Override + public boolean hasMetadata() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * The metadata key/value pairs assigned to all the instances in the corresponding scope.
+   * 
+ * + * optional .google.cloud.compute.v1.InstanceSettingsMetadata metadata = 86866735; + * + * @return The metadata. + */ + @java.lang.Override + public com.google.cloud.compute.v1.InstanceSettingsMetadata getMetadata() { + return metadata_ == null + ? com.google.cloud.compute.v1.InstanceSettingsMetadata.getDefaultInstance() + : metadata_; + } + /** + * + * + *
+   * The metadata key/value pairs assigned to all the instances in the corresponding scope.
+   * 
+ * + * optional .google.cloud.compute.v1.InstanceSettingsMetadata metadata = 86866735; + */ + @java.lang.Override + public com.google.cloud.compute.v1.InstanceSettingsMetadataOrBuilder getMetadataOrBuilder() { + return metadata_ == null + ? com.google.cloud.compute.v1.InstanceSettingsMetadata.getDefaultInstance() + : metadata_; + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * [Output Only] URL of the zone where the resource resides You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+   * 
+ * + * optional string zone = 3744684; + * + * @return Whether the zone field is set. + */ + @java.lang.Override + public boolean hasZone() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * [Output Only] URL of the zone where the resource resides You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+   * 
+ * + * optional string zone = 3744684; + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] URL of the zone where the resource resides You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+   * 
+ * + * optional string zone = 3744684; + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(86866735, getMetadata()); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 234678500, fingerprint_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(86866735, getMetadata()); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(234678500, fingerprint_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.InstanceSettings)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.InstanceSettings other = + (com.google.cloud.compute.v1.InstanceSettings) obj; + + if (hasFingerprint() != other.hasFingerprint()) return false; + if (hasFingerprint()) { + if (!getFingerprint().equals(other.getFingerprint())) return false; + } + if (hasKind() != other.hasKind()) return false; + if (hasKind()) { + if (!getKind().equals(other.getKind())) return false; + } + if (hasMetadata() != other.hasMetadata()) return false; + if (hasMetadata()) { + if (!getMetadata().equals(other.getMetadata())) return false; + } + if (hasZone() != other.hasZone()) return false; + if (hasZone()) { + if (!getZone().equals(other.getZone())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasFingerprint()) { + hash = (37 * hash) + FINGERPRINT_FIELD_NUMBER; + hash = (53 * hash) + getFingerprint().hashCode(); + } + if (hasKind()) { + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + } + if (hasMetadata()) { + hash = (37 * hash) + METADATA_FIELD_NUMBER; + hash = (53 * hash) + getMetadata().hashCode(); + } + if (hasZone()) { + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.InstanceSettings parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceSettings parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceSettings parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceSettings parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceSettings parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceSettings parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceSettings parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.compute.v1.InstanceSettings prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents a Instance Settings resource. You can use instance settings to configure default settings for Compute Engine VM instances. For example, you can use it to configure default machine type of Compute Engine VM instances.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InstanceSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.InstanceSettings) + com.google.cloud.compute.v1.InstanceSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InstanceSettings.class, + com.google.cloud.compute.v1.InstanceSettings.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.InstanceSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getMetadataFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + fingerprint_ = ""; + kind_ = ""; + metadata_ = null; + if (metadataBuilder_ != null) { + metadataBuilder_.dispose(); + metadataBuilder_ = null; + } + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceSettings getDefaultInstanceForType() { + return com.google.cloud.compute.v1.InstanceSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceSettings build() { + com.google.cloud.compute.v1.InstanceSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceSettings buildPartial() { + com.google.cloud.compute.v1.InstanceSettings result = + new com.google.cloud.compute.v1.InstanceSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.InstanceSettings result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.fingerprint_ = fingerprint_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.kind_ = kind_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.zone_ = zone_; + to_bitField0_ |= 0x00000008; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.InstanceSettings) { + return mergeFrom((com.google.cloud.compute.v1.InstanceSettings) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.InstanceSettings other) { + if (other == com.google.cloud.compute.v1.InstanceSettings.getDefaultInstance()) return this; + if (other.hasFingerprint()) { + fingerprint_ = other.fingerprint_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasKind()) { + kind_ = other.kind_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasMetadata()) { + mergeMetadata(other.getMetadata()); + } + if (other.hasZone()) { + zone_ = other.zone_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26336418: + { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26336418 + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 29957474 + case 694933882: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 694933882 + case 1877428002: + { + fingerprint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 1877428002 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object fingerprint_ = ""; + /** + * + * + *
+     * Specifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance settings resource. You must always provide an up-to-date fingerprint hash in order to update or change the resource, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
+     * 
+ * + * optional string fingerprint = 234678500; + * + * @return Whether the fingerprint field is set. + */ + public boolean hasFingerprint() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Specifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance settings resource. You must always provide an up-to-date fingerprint hash in order to update or change the resource, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
+     * 
+ * + * optional string fingerprint = 234678500; + * + * @return The fingerprint. + */ + public java.lang.String getFingerprint() { + java.lang.Object ref = fingerprint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fingerprint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Specifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance settings resource. You must always provide an up-to-date fingerprint hash in order to update or change the resource, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
+     * 
+ * + * optional string fingerprint = 234678500; + * + * @return The bytes for fingerprint. + */ + public com.google.protobuf.ByteString getFingerprintBytes() { + java.lang.Object ref = fingerprint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + fingerprint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Specifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance settings resource. You must always provide an up-to-date fingerprint hash in order to update or change the resource, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
+     * 
+ * + * optional string fingerprint = 234678500; + * + * @param value The fingerprint to set. + * @return This builder for chaining. + */ + public Builder setFingerprint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + fingerprint_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance settings resource. You must always provide an up-to-date fingerprint hash in order to update or change the resource, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
+     * 
+ * + * optional string fingerprint = 234678500; + * + * @return This builder for chaining. + */ + public Builder clearFingerprint() { + fingerprint_ = getDefaultInstance().getFingerprint(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance settings resource. You must always provide an up-to-date fingerprint hash in order to update or change the resource, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
+     * 
+ * + * optional string fingerprint = 234678500; + * + * @param value The bytes for fingerprint to set. + * @return This builder for chaining. + */ + public Builder setFingerprintBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fingerprint_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object kind_ = ""; + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#instance_settings for instance settings.
+     * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + public boolean hasKind() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#instance_settings for instance settings.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#instance_settings for instance settings.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#instance_settings for instance settings.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + kind_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#instance_settings for instance settings.
+     * 
+ * + * optional string kind = 3292052; + * + * @return This builder for chaining. + */ + public Builder clearKind() { + kind_ = getDefaultInstance().getKind(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#instance_settings for instance settings.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.InstanceSettingsMetadata metadata_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.InstanceSettingsMetadata, + com.google.cloud.compute.v1.InstanceSettingsMetadata.Builder, + com.google.cloud.compute.v1.InstanceSettingsMetadataOrBuilder> + metadataBuilder_; + /** + * + * + *
+     * The metadata key/value pairs assigned to all the instances in the corresponding scope.
+     * 
+ * + * optional .google.cloud.compute.v1.InstanceSettingsMetadata metadata = 86866735; + * + * @return Whether the metadata field is set. + */ + public boolean hasMetadata() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * The metadata key/value pairs assigned to all the instances in the corresponding scope.
+     * 
+ * + * optional .google.cloud.compute.v1.InstanceSettingsMetadata metadata = 86866735; + * + * @return The metadata. + */ + public com.google.cloud.compute.v1.InstanceSettingsMetadata getMetadata() { + if (metadataBuilder_ == null) { + return metadata_ == null + ? com.google.cloud.compute.v1.InstanceSettingsMetadata.getDefaultInstance() + : metadata_; + } else { + return metadataBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The metadata key/value pairs assigned to all the instances in the corresponding scope.
+     * 
+ * + * optional .google.cloud.compute.v1.InstanceSettingsMetadata metadata = 86866735; + */ + public Builder setMetadata(com.google.cloud.compute.v1.InstanceSettingsMetadata value) { + if (metadataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + metadata_ = value; + } else { + metadataBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The metadata key/value pairs assigned to all the instances in the corresponding scope.
+     * 
+ * + * optional .google.cloud.compute.v1.InstanceSettingsMetadata metadata = 86866735; + */ + public Builder setMetadata( + com.google.cloud.compute.v1.InstanceSettingsMetadata.Builder builderForValue) { + if (metadataBuilder_ == null) { + metadata_ = builderForValue.build(); + } else { + metadataBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The metadata key/value pairs assigned to all the instances in the corresponding scope.
+     * 
+ * + * optional .google.cloud.compute.v1.InstanceSettingsMetadata metadata = 86866735; + */ + public Builder mergeMetadata(com.google.cloud.compute.v1.InstanceSettingsMetadata value) { + if (metadataBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && metadata_ != null + && metadata_ + != com.google.cloud.compute.v1.InstanceSettingsMetadata.getDefaultInstance()) { + getMetadataBuilder().mergeFrom(value); + } else { + metadata_ = value; + } + } else { + metadataBuilder_.mergeFrom(value); + } + if (metadata_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The metadata key/value pairs assigned to all the instances in the corresponding scope.
+     * 
+ * + * optional .google.cloud.compute.v1.InstanceSettingsMetadata metadata = 86866735; + */ + public Builder clearMetadata() { + bitField0_ = (bitField0_ & ~0x00000004); + metadata_ = null; + if (metadataBuilder_ != null) { + metadataBuilder_.dispose(); + metadataBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The metadata key/value pairs assigned to all the instances in the corresponding scope.
+     * 
+ * + * optional .google.cloud.compute.v1.InstanceSettingsMetadata metadata = 86866735; + */ + public com.google.cloud.compute.v1.InstanceSettingsMetadata.Builder getMetadataBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getMetadataFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The metadata key/value pairs assigned to all the instances in the corresponding scope.
+     * 
+ * + * optional .google.cloud.compute.v1.InstanceSettingsMetadata metadata = 86866735; + */ + public com.google.cloud.compute.v1.InstanceSettingsMetadataOrBuilder getMetadataOrBuilder() { + if (metadataBuilder_ != null) { + return metadataBuilder_.getMessageOrBuilder(); + } else { + return metadata_ == null + ? com.google.cloud.compute.v1.InstanceSettingsMetadata.getDefaultInstance() + : metadata_; + } + } + /** + * + * + *
+     * The metadata key/value pairs assigned to all the instances in the corresponding scope.
+     * 
+ * + * optional .google.cloud.compute.v1.InstanceSettingsMetadata metadata = 86866735; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.InstanceSettingsMetadata, + com.google.cloud.compute.v1.InstanceSettingsMetadata.Builder, + com.google.cloud.compute.v1.InstanceSettingsMetadataOrBuilder> + getMetadataFieldBuilder() { + if (metadataBuilder_ == null) { + metadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.InstanceSettingsMetadata, + com.google.cloud.compute.v1.InstanceSettingsMetadata.Builder, + com.google.cloud.compute.v1.InstanceSettingsMetadataOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); + metadata_ = null; + } + return metadataBuilder_; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * [Output Only] URL of the zone where the resource resides You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+     * 
+ * + * optional string zone = 3744684; + * + * @return Whether the zone field is set. + */ + public boolean hasZone() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * [Output Only] URL of the zone where the resource resides You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+     * 
+ * + * optional string zone = 3744684; + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] URL of the zone where the resource resides You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+     * 
+ * + * optional string zone = 3744684; + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] URL of the zone where the resource resides You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+     * 
+ * + * optional string zone = 3744684; + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] URL of the zone where the resource resides You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+     * 
+ * + * optional string zone = 3744684; + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] URL of the zone where the resource resides You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+     * 
+ * + * optional string zone = 3744684; + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.InstanceSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.InstanceSettings) + private static final com.google.cloud.compute.v1.InstanceSettings DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.InstanceSettings(); + } + + public static com.google.cloud.compute.v1.InstanceSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceSettingsMetadata.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceSettingsMetadata.java new file mode 100644 index 000000000000..57b53c9bcdb8 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceSettingsMetadata.java @@ -0,0 +1,993 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InstanceSettingsMetadata} + */ +public final class InstanceSettingsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.InstanceSettingsMetadata) + InstanceSettingsMetadataOrBuilder { + private static final long serialVersionUID = 0L; + // Use InstanceSettingsMetadata.newBuilder() to construct. + private InstanceSettingsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InstanceSettingsMetadata() { + kind_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InstanceSettingsMetadata(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 100526016: + return internalGetItems(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InstanceSettingsMetadata.class, + com.google.cloud.compute.v1.InstanceSettingsMetadata.Builder.class); + } + + private int bitField0_; + public static final int ITEMS_FIELD_NUMBER = 100526016; + + private static final class ItemsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_ItemsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField items_; + + private com.google.protobuf.MapField internalGetItems() { + if (items_ == null) { + return com.google.protobuf.MapField.emptyMapField(ItemsDefaultEntryHolder.defaultEntry); + } + return items_; + } + + public int getItemsCount() { + return internalGetItems().getMap().size(); + } + /** + * + * + *
+   * A metadata key/value items map. The total size of all keys and values must be less than 512KB.
+   * 
+ * + * map<string, string> items = 100526016; + */ + @java.lang.Override + public boolean containsItems(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetItems().getMap().containsKey(key); + } + /** Use {@link #getItemsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getItems() { + return getItemsMap(); + } + /** + * + * + *
+   * A metadata key/value items map. The total size of all keys and values must be less than 512KB.
+   * 
+ * + * map<string, string> items = 100526016; + */ + @java.lang.Override + public java.util.Map getItemsMap() { + return internalGetItems().getMap(); + } + /** + * + * + *
+   * A metadata key/value items map. The total size of all keys and values must be less than 512KB.
+   * 
+ * + * map<string, string> items = 100526016; + */ + @java.lang.Override + public /* nullable */ java.lang.String getItemsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetItems().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * A metadata key/value items map. The total size of all keys and values must be less than 512KB.
+   * 
+ * + * map<string, string> items = 100526016; + */ + @java.lang.Override + public java.lang.String getItemsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetItems().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int KIND_FIELD_NUMBER = 3292052; + + @SuppressWarnings("serial") + private volatile java.lang.Object kind_ = ""; + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#metadata for metadata.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + @java.lang.Override + public boolean hasKind() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#metadata for metadata.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + 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(); + kind_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#metadata for metadata.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetItems(), ItemsDefaultEntryHolder.defaultEntry, 100526016); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); + } + for (java.util.Map.Entry entry : + internalGetItems().getMap().entrySet()) { + com.google.protobuf.MapEntry items__ = + ItemsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(100526016, items__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.InstanceSettingsMetadata)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.InstanceSettingsMetadata other = + (com.google.cloud.compute.v1.InstanceSettingsMetadata) obj; + + if (!internalGetItems().equals(other.internalGetItems())) return false; + if (hasKind() != other.hasKind()) return false; + if (hasKind()) { + if (!getKind().equals(other.getKind())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetItems().getMap().isEmpty()) { + hash = (37 * hash) + ITEMS_FIELD_NUMBER; + hash = (53 * hash) + internalGetItems().hashCode(); + } + if (hasKind()) { + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.InstanceSettingsMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceSettingsMetadata parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceSettingsMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceSettingsMetadata parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceSettingsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceSettingsMetadata parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceSettingsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceSettingsMetadata parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceSettingsMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceSettingsMetadata parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.InstanceSettingsMetadata parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceSettingsMetadata parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.compute.v1.InstanceSettingsMetadata prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InstanceSettingsMetadata} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.InstanceSettingsMetadata) + com.google.cloud.compute.v1.InstanceSettingsMetadataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 100526016: + return internalGetItems(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 100526016: + return internalGetMutableItems(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InstanceSettingsMetadata.class, + com.google.cloud.compute.v1.InstanceSettingsMetadata.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.InstanceSettingsMetadata.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + internalGetMutableItems().clear(); + kind_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceSettingsMetadata_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceSettingsMetadata getDefaultInstanceForType() { + return com.google.cloud.compute.v1.InstanceSettingsMetadata.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceSettingsMetadata build() { + com.google.cloud.compute.v1.InstanceSettingsMetadata result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceSettingsMetadata buildPartial() { + com.google.cloud.compute.v1.InstanceSettingsMetadata result = + new com.google.cloud.compute.v1.InstanceSettingsMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.InstanceSettingsMetadata result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.items_ = internalGetItems(); + result.items_.makeImmutable(); + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.kind_ = kind_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.InstanceSettingsMetadata) { + return mergeFrom((com.google.cloud.compute.v1.InstanceSettingsMetadata) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.InstanceSettingsMetadata other) { + if (other == com.google.cloud.compute.v1.InstanceSettingsMetadata.getDefaultInstance()) + return this; + internalGetMutableItems().mergeFrom(other.internalGetItems()); + bitField0_ |= 0x00000001; + if (other.hasKind()) { + kind_ = other.kind_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26336418: + { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26336418 + case 804208130: + { + com.google.protobuf.MapEntry items__ = + input.readMessage( + ItemsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableItems().getMutableMap().put(items__.getKey(), items__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 804208130 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.protobuf.MapField items_; + + private com.google.protobuf.MapField internalGetItems() { + if (items_ == null) { + return com.google.protobuf.MapField.emptyMapField(ItemsDefaultEntryHolder.defaultEntry); + } + return items_; + } + + private com.google.protobuf.MapField + internalGetMutableItems() { + if (items_ == null) { + items_ = com.google.protobuf.MapField.newMapField(ItemsDefaultEntryHolder.defaultEntry); + } + if (!items_.isMutable()) { + items_ = items_.copy(); + } + bitField0_ |= 0x00000001; + onChanged(); + return items_; + } + + public int getItemsCount() { + return internalGetItems().getMap().size(); + } + /** + * + * + *
+     * A metadata key/value items map. The total size of all keys and values must be less than 512KB.
+     * 
+ * + * map<string, string> items = 100526016; + */ + @java.lang.Override + public boolean containsItems(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetItems().getMap().containsKey(key); + } + /** Use {@link #getItemsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getItems() { + return getItemsMap(); + } + /** + * + * + *
+     * A metadata key/value items map. The total size of all keys and values must be less than 512KB.
+     * 
+ * + * map<string, string> items = 100526016; + */ + @java.lang.Override + public java.util.Map getItemsMap() { + return internalGetItems().getMap(); + } + /** + * + * + *
+     * A metadata key/value items map. The total size of all keys and values must be less than 512KB.
+     * 
+ * + * map<string, string> items = 100526016; + */ + @java.lang.Override + public /* nullable */ java.lang.String getItemsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetItems().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * A metadata key/value items map. The total size of all keys and values must be less than 512KB.
+     * 
+ * + * map<string, string> items = 100526016; + */ + @java.lang.Override + public java.lang.String getItemsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetItems().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearItems() { + bitField0_ = (bitField0_ & ~0x00000001); + internalGetMutableItems().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * A metadata key/value items map. The total size of all keys and values must be less than 512KB.
+     * 
+ * + * map<string, string> items = 100526016; + */ + public Builder removeItems(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableItems().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableItems() { + bitField0_ |= 0x00000001; + return internalGetMutableItems().getMutableMap(); + } + /** + * + * + *
+     * A metadata key/value items map. The total size of all keys and values must be less than 512KB.
+     * 
+ * + * map<string, string> items = 100526016; + */ + public Builder putItems(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableItems().getMutableMap().put(key, value); + bitField0_ |= 0x00000001; + return this; + } + /** + * + * + *
+     * A metadata key/value items map. The total size of all keys and values must be less than 512KB.
+     * 
+ * + * map<string, string> items = 100526016; + */ + public Builder putAllItems(java.util.Map values) { + internalGetMutableItems().getMutableMap().putAll(values); + bitField0_ |= 0x00000001; + return this; + } + + private java.lang.Object kind_ = ""; + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#metadata for metadata.
+     * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + public boolean hasKind() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#metadata for metadata.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#metadata for metadata.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#metadata for metadata.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + kind_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#metadata for metadata.
+     * 
+ * + * optional string kind = 3292052; + * + * @return This builder for chaining. + */ + public Builder clearKind() { + kind_ = getDefaultInstance().getKind(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#metadata for metadata.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.InstanceSettingsMetadata) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.InstanceSettingsMetadata) + private static final com.google.cloud.compute.v1.InstanceSettingsMetadata DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.InstanceSettingsMetadata(); + } + + public static com.google.cloud.compute.v1.InstanceSettingsMetadata getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceSettingsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceSettingsMetadata getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceSettingsMetadataOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceSettingsMetadataOrBuilder.java new file mode 100644 index 000000000000..b4009bcbc111 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceSettingsMetadataOrBuilder.java @@ -0,0 +1,121 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface InstanceSettingsMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InstanceSettingsMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A metadata key/value items map. The total size of all keys and values must be less than 512KB.
+   * 
+ * + * map<string, string> items = 100526016; + */ + int getItemsCount(); + /** + * + * + *
+   * A metadata key/value items map. The total size of all keys and values must be less than 512KB.
+   * 
+ * + * map<string, string> items = 100526016; + */ + boolean containsItems(java.lang.String key); + /** Use {@link #getItemsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getItems(); + /** + * + * + *
+   * A metadata key/value items map. The total size of all keys and values must be less than 512KB.
+   * 
+ * + * map<string, string> items = 100526016; + */ + java.util.Map getItemsMap(); + /** + * + * + *
+   * A metadata key/value items map. The total size of all keys and values must be less than 512KB.
+   * 
+ * + * map<string, string> items = 100526016; + */ + /* nullable */ + java.lang.String getItemsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + /** + * + * + *
+   * A metadata key/value items map. The total size of all keys and values must be less than 512KB.
+   * 
+ * + * map<string, string> items = 100526016; + */ + java.lang.String getItemsOrThrow(java.lang.String key); + + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#metadata for metadata.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + boolean hasKind(); + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#metadata for metadata.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + java.lang.String getKind(); + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#metadata for metadata.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + com.google.protobuf.ByteString getKindBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceSettingsOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceSettingsOrBuilder.java new file mode 100644 index 000000000000..a6482551a65d --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceSettingsOrBuilder.java @@ -0,0 +1,172 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface InstanceSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InstanceSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Specifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance settings resource. You must always provide an up-to-date fingerprint hash in order to update or change the resource, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
+   * 
+ * + * optional string fingerprint = 234678500; + * + * @return Whether the fingerprint field is set. + */ + boolean hasFingerprint(); + /** + * + * + *
+   * Specifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance settings resource. You must always provide an up-to-date fingerprint hash in order to update or change the resource, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
+   * 
+ * + * optional string fingerprint = 234678500; + * + * @return The fingerprint. + */ + java.lang.String getFingerprint(); + /** + * + * + *
+   * Specifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance settings resource. You must always provide an up-to-date fingerprint hash in order to update or change the resource, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
+   * 
+ * + * optional string fingerprint = 234678500; + * + * @return The bytes for fingerprint. + */ + com.google.protobuf.ByteString getFingerprintBytes(); + + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#instance_settings for instance settings.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + boolean hasKind(); + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#instance_settings for instance settings.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + java.lang.String getKind(); + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#instance_settings for instance settings.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + com.google.protobuf.ByteString getKindBytes(); + + /** + * + * + *
+   * The metadata key/value pairs assigned to all the instances in the corresponding scope.
+   * 
+ * + * optional .google.cloud.compute.v1.InstanceSettingsMetadata metadata = 86866735; + * + * @return Whether the metadata field is set. + */ + boolean hasMetadata(); + /** + * + * + *
+   * The metadata key/value pairs assigned to all the instances in the corresponding scope.
+   * 
+ * + * optional .google.cloud.compute.v1.InstanceSettingsMetadata metadata = 86866735; + * + * @return The metadata. + */ + com.google.cloud.compute.v1.InstanceSettingsMetadata getMetadata(); + /** + * + * + *
+   * The metadata key/value pairs assigned to all the instances in the corresponding scope.
+   * 
+ * + * optional .google.cloud.compute.v1.InstanceSettingsMetadata metadata = 86866735; + */ + com.google.cloud.compute.v1.InstanceSettingsMetadataOrBuilder getMetadataOrBuilder(); + + /** + * + * + *
+   * [Output Only] URL of the zone where the resource resides You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+   * 
+ * + * optional string zone = 3744684; + * + * @return Whether the zone field is set. + */ + boolean hasZone(); + /** + * + * + *
+   * [Output Only] URL of the zone where the resource resides You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+   * 
+ * + * optional string zone = 3744684; + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * [Output Only] URL of the zone where the resource resides You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+   * 
+ * + * optional string zone = 3744684; + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.java index 1fdd6a8c1227..464d62493daa 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.java @@ -75,7 +75,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
    * 
* * Protobuf enum {@code @@ -490,7 +490,7 @@ public com.google.protobuf.ByteString getShortNameBytes() { * * *
-   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
    * Check the Type enum for the list of possible values.
    * 
* @@ -506,7 +506,7 @@ public boolean hasType() { * * *
-   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
    * Check the Type enum for the list of possible values.
    * 
* @@ -530,7 +530,7 @@ public java.lang.String getType() { * * *
-   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
    * Check the Type enum for the list of possible values.
    * 
* @@ -1828,7 +1828,7 @@ public Builder setShortNameBytes(com.google.protobuf.ByteString value) { * * *
-     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
      * Check the Type enum for the list of possible values.
      * 
* @@ -1843,7 +1843,7 @@ public boolean hasType() { * * *
-     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
      * Check the Type enum for the list of possible values.
      * 
* @@ -1866,7 +1866,7 @@ public java.lang.String getType() { * * *
-     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
      * Check the Type enum for the list of possible values.
      * 
* @@ -1889,7 +1889,7 @@ public com.google.protobuf.ByteString getTypeBytes() { * * *
-     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
      * Check the Type enum for the list of possible values.
      * 
* @@ -1911,7 +1911,7 @@ public Builder setType(java.lang.String value) { * * *
-     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
      * Check the Type enum for the list of possible values.
      * 
* @@ -1929,7 +1929,7 @@ public Builder clearType() { * * *
-     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
      * Check the Type enum for the list of possible values.
      * 
* diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder.java index f304f0576ba3..8fa42f45656d 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder.java @@ -191,7 +191,7 @@ public interface InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOr * * *
-   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
    * Check the Type enum for the list of possible values.
    * 
* @@ -204,7 +204,7 @@ public interface InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOr * * *
-   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
    * Check the Type enum for the list of possible values.
    * 
* @@ -217,7 +217,7 @@ public interface InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOr * * *
-   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
    * Check the Type enum for the list of possible values.
    * 
* diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstantSnapshot.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstantSnapshot.java index eede08cbc6d9..070ce325c615 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstantSnapshot.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstantSnapshot.java @@ -326,6 +326,16 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { * READY = 77848963; */ READY(77848963), + /** + * + * + *
+     * InstantSnapshot is currently unavailable and cannot be used for Disk restoration
+     * 
+ * + * UNAVAILABLE = 413756464; + */ + UNAVAILABLE(413756464), UNRECOGNIZED(-1), ; @@ -379,6 +389,16 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { * READY = 77848963; */ public static final int READY_VALUE = 77848963; + /** + * + * + *
+     * InstantSnapshot is currently unavailable and cannot be used for Disk restoration
+     * 
+ * + * UNAVAILABLE = 413756464; + */ + public static final int UNAVAILABLE_VALUE = 413756464; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -414,6 +434,8 @@ public static Status forNumber(int value) { return FAILED; case 77848963: return READY; + case 413756464: + return UNAVAILABLE; default: return null; } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectRemoteLocationConstraints.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectRemoteLocationConstraints.java index ff87246931a9..ff5b6fe00822 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectRemoteLocationConstraints.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectRemoteLocationConstraints.java @@ -69,7 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
+   * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
    * 
* * Protobuf enum {@code @@ -397,7 +397,7 @@ private PortPairVlan(int value) { * * *
-   * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
+   * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
    * Check the PortPairRemoteLocation enum for the list of possible values.
    * 
* @@ -413,7 +413,7 @@ public boolean hasPortPairRemoteLocation() { * * *
-   * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
+   * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
    * Check the PortPairRemoteLocation enum for the list of possible values.
    * 
* @@ -437,7 +437,7 @@ public java.lang.String getPortPairRemoteLocation() { * * *
-   * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
+   * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
    * Check the PortPairRemoteLocation enum for the list of possible values.
    * 
* @@ -1029,7 +1029,7 @@ public Builder mergeFrom( * * *
-     * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
+     * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
      * Check the PortPairRemoteLocation enum for the list of possible values.
      * 
* @@ -1044,7 +1044,7 @@ public boolean hasPortPairRemoteLocation() { * * *
-     * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
+     * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
      * Check the PortPairRemoteLocation enum for the list of possible values.
      * 
* @@ -1067,7 +1067,7 @@ public java.lang.String getPortPairRemoteLocation() { * * *
-     * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
+     * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
      * Check the PortPairRemoteLocation enum for the list of possible values.
      * 
* @@ -1090,7 +1090,7 @@ public com.google.protobuf.ByteString getPortPairRemoteLocationBytes() { * * *
-     * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
+     * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
      * Check the PortPairRemoteLocation enum for the list of possible values.
      * 
* @@ -1112,7 +1112,7 @@ public Builder setPortPairRemoteLocation(java.lang.String value) { * * *
-     * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
+     * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
      * Check the PortPairRemoteLocation enum for the list of possible values.
      * 
* @@ -1130,7 +1130,7 @@ public Builder clearPortPairRemoteLocation() { * * *
-     * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
+     * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
      * Check the PortPairRemoteLocation enum for the list of possible values.
      * 
* diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectRemoteLocationConstraintsOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectRemoteLocationConstraintsOrBuilder.java index 25e8e769fef4..ac071c757b0c 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectRemoteLocationConstraintsOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectRemoteLocationConstraintsOrBuilder.java @@ -28,7 +28,7 @@ public interface InterconnectRemoteLocationConstraintsOrBuilder * * *
-   * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
+   * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
    * Check the PortPairRemoteLocation enum for the list of possible values.
    * 
* @@ -41,7 +41,7 @@ public interface InterconnectRemoteLocationConstraintsOrBuilder * * *
-   * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
+   * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
    * Check the PortPairRemoteLocation enum for the list of possible values.
    * 
* @@ -54,7 +54,7 @@ public interface InterconnectRemoteLocationConstraintsOrBuilder * * *
-   * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
+   * [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
    * Check the PortPairRemoteLocation enum for the list of possible values.
    * 
* diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListDisksStoragePoolsRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListDisksStoragePoolsRequest.java new file mode 100644 index 000000000000..214f048c9f5e --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListDisksStoragePoolsRequest.java @@ -0,0 +1,1903 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for StoragePools.ListDisks. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.ListDisksStoragePoolsRequest} + */ +public final class ListDisksStoragePoolsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.ListDisksStoragePoolsRequest) + ListDisksStoragePoolsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListDisksStoragePoolsRequest.newBuilder() to construct. + private ListDisksStoragePoolsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListDisksStoragePoolsRequest() { + filter_ = ""; + orderBy_ = ""; + pageToken_ = ""; + project_ = ""; + storagePool_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListDisksStoragePoolsRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListDisksStoragePoolsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListDisksStoragePoolsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.ListDisksStoragePoolsRequest.class, + com.google.cloud.compute.v1.ListDisksStoragePoolsRequest.Builder.class); + } + + private int bitField0_; + public static final int FILTER_FIELD_NUMBER = 336120696; + + @SuppressWarnings("serial") + private volatile java.lang.Object filter_ = ""; + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + @java.lang.Override + public boolean hasFilter() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + @java.lang.Override + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + 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(); + filter_ = s; + return s; + } + } + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The bytes for filter. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MAX_RESULTS_FIELD_NUMBER = 54715419; + private int maxResults_ = 0; + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return Whether the maxResults field is set. + */ + @java.lang.Override + public boolean hasMaxResults() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return The maxResults. + */ + @java.lang.Override + public int getMaxResults() { + return maxResults_; + } + + public static final int ORDER_BY_FIELD_NUMBER = 160562920; + + @SuppressWarnings("serial") + private volatile java.lang.Object orderBy_ = ""; + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return Whether the orderBy field is set. + */ + @java.lang.Override + public boolean hasOrderBy() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The orderBy. + */ + @java.lang.Override + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + 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(); + orderBy_ = s; + return s; + } + } + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The bytes for orderBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 19994697; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return Whether the pageToken field is set. + */ + @java.lang.Override + public boolean hasPageToken() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + 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(); + pageToken_ = s; + return s; + } + } + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RETURN_PARTIAL_SUCCESS_FIELD_NUMBER = 517198390; + private boolean returnPartialSuccess_ = false; + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return Whether the returnPartialSuccess field is set. + */ + @java.lang.Override + public boolean hasReturnPartialSuccess() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + @java.lang.Override + public boolean getReturnPartialSuccess() { + return returnPartialSuccess_; + } + + public static final int STORAGE_POOL_FIELD_NUMBER = 360473440; + + @SuppressWarnings("serial") + private volatile java.lang.Object storagePool_ = ""; + /** + * + * + *
+   * Name of the storage pool to list disks of.
+   * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The storagePool. + */ + @java.lang.Override + public java.lang.String getStoragePool() { + java.lang.Object ref = storagePool_; + 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(); + storagePool_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the storage pool to list disks of.
+   * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for storagePool. + */ + @java.lang.Override + public com.google.protobuf.ByteString getStoragePoolBytes() { + java.lang.Object ref = storagePool_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + storagePool_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 19994697, pageToken_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeUInt32(54715419, maxResults_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 160562920, orderBy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 336120696, filter_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storagePool_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 360473440, storagePool_); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeBool(517198390, returnPartialSuccess_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19994697, pageToken_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(54715419, maxResults_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(160562920, orderBy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(336120696, filter_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storagePool_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(360473440, storagePool_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(517198390, returnPartialSuccess_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.ListDisksStoragePoolsRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.ListDisksStoragePoolsRequest other = + (com.google.cloud.compute.v1.ListDisksStoragePoolsRequest) obj; + + if (hasFilter() != other.hasFilter()) return false; + if (hasFilter()) { + if (!getFilter().equals(other.getFilter())) return false; + } + if (hasMaxResults() != other.hasMaxResults()) return false; + if (hasMaxResults()) { + if (getMaxResults() != other.getMaxResults()) return false; + } + if (hasOrderBy() != other.hasOrderBy()) return false; + if (hasOrderBy()) { + if (!getOrderBy().equals(other.getOrderBy())) return false; + } + if (hasPageToken() != other.hasPageToken()) return false; + if (hasPageToken()) { + if (!getPageToken().equals(other.getPageToken())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (hasReturnPartialSuccess() != other.hasReturnPartialSuccess()) return false; + if (hasReturnPartialSuccess()) { + if (getReturnPartialSuccess() != other.getReturnPartialSuccess()) return false; + } + if (!getStoragePool().equals(other.getStoragePool())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasFilter()) { + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + } + if (hasMaxResults()) { + hash = (37 * hash) + MAX_RESULTS_FIELD_NUMBER; + hash = (53 * hash) + getMaxResults(); + } + if (hasOrderBy()) { + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); + } + if (hasPageToken()) { + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + if (hasReturnPartialSuccess()) { + hash = (37 * hash) + RETURN_PARTIAL_SUCCESS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPartialSuccess()); + } + hash = (37 * hash) + STORAGE_POOL_FIELD_NUMBER; + hash = (53 * hash) + getStoragePool().hashCode(); + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.ListDisksStoragePoolsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListDisksStoragePoolsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListDisksStoragePoolsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListDisksStoragePoolsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListDisksStoragePoolsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListDisksStoragePoolsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListDisksStoragePoolsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.ListDisksStoragePoolsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListDisksStoragePoolsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.ListDisksStoragePoolsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListDisksStoragePoolsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.ListDisksStoragePoolsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.ListDisksStoragePoolsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for StoragePools.ListDisks. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.ListDisksStoragePoolsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.ListDisksStoragePoolsRequest) + com.google.cloud.compute.v1.ListDisksStoragePoolsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListDisksStoragePoolsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListDisksStoragePoolsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.ListDisksStoragePoolsRequest.class, + com.google.cloud.compute.v1.ListDisksStoragePoolsRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.ListDisksStoragePoolsRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + filter_ = ""; + maxResults_ = 0; + orderBy_ = ""; + pageToken_ = ""; + project_ = ""; + returnPartialSuccess_ = false; + storagePool_ = ""; + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListDisksStoragePoolsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListDisksStoragePoolsRequest getDefaultInstanceForType() { + return com.google.cloud.compute.v1.ListDisksStoragePoolsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListDisksStoragePoolsRequest build() { + com.google.cloud.compute.v1.ListDisksStoragePoolsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListDisksStoragePoolsRequest buildPartial() { + com.google.cloud.compute.v1.ListDisksStoragePoolsRequest result = + new com.google.cloud.compute.v1.ListDisksStoragePoolsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.ListDisksStoragePoolsRequest result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.filter_ = filter_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.maxResults_ = maxResults_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.orderBy_ = orderBy_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.pageToken_ = pageToken_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.project_ = project_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.returnPartialSuccess_ = returnPartialSuccess_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.storagePool_ = storagePool_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.zone_ = zone_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.ListDisksStoragePoolsRequest) { + return mergeFrom((com.google.cloud.compute.v1.ListDisksStoragePoolsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.ListDisksStoragePoolsRequest other) { + if (other == com.google.cloud.compute.v1.ListDisksStoragePoolsRequest.getDefaultInstance()) + return this; + if (other.hasFilter()) { + filter_ = other.filter_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasMaxResults()) { + setMaxResults(other.getMaxResults()); + } + if (other.hasOrderBy()) { + orderBy_ = other.orderBy_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasPageToken()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.hasReturnPartialSuccess()) { + setReturnPartialSuccess(other.getReturnPartialSuccess()); + } + if (!other.getStoragePool().isEmpty()) { + storagePool_ = other.storagePool_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000080; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 29957474 + case 159957578: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 159957578 + case 437723352: + { + maxResults_ = input.readUInt32(); + bitField0_ |= 0x00000002; + break; + } // case 437723352 + case 1284503362: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 1284503362 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 1820481738 + case -1606001726: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case -1606001726 + case -1411179774: + { + storagePool_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case -1411179774 + case -157380176: + { + returnPartialSuccess_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case -157380176 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object filter_ = ""; + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + public boolean hasFilter() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return The bytes for filter. + */ + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @param value The filter to set. + * @return This builder for chaining. + */ + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + filter_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + filter_ = getDefaultInstance().getFilter(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. + */ + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int maxResults_; + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @return Whether the maxResults field is set. + */ + @java.lang.Override + public boolean hasMaxResults() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @return The maxResults. + */ + @java.lang.Override + public int getMaxResults() { + return maxResults_; + } + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @param value The maxResults to set. + * @return This builder for chaining. + */ + public Builder setMaxResults(int value) { + + maxResults_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @return This builder for chaining. + */ + public Builder clearMaxResults() { + bitField0_ = (bitField0_ & ~0x00000002); + maxResults_ = 0; + onChanged(); + return this; + } + + private java.lang.Object orderBy_ = ""; + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return Whether the orderBy field is set. + */ + public boolean hasOrderBy() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return The orderBy. + */ + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return The bytes for orderBy. + */ + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @param value The orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + orderBy_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return This builder for chaining. + */ + public Builder clearOrderBy() { + orderBy_ = getDefaultInstance().getOrderBy(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @param value The bytes for orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return Whether the pageToken field is set. + */ + public boolean hasPageToken() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private boolean returnPartialSuccess_; + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return Whether the returnPartialSuccess field is set. + */ + @java.lang.Override + public boolean hasReturnPartialSuccess() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + @java.lang.Override + public boolean getReturnPartialSuccess() { + return returnPartialSuccess_; + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @param value The returnPartialSuccess to set. + * @return This builder for chaining. + */ + public Builder setReturnPartialSuccess(boolean value) { + + returnPartialSuccess_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return This builder for chaining. + */ + public Builder clearReturnPartialSuccess() { + bitField0_ = (bitField0_ & ~0x00000020); + returnPartialSuccess_ = false; + onChanged(); + return this; + } + + private java.lang.Object storagePool_ = ""; + /** + * + * + *
+     * Name of the storage pool to list disks of.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The storagePool. + */ + public java.lang.String getStoragePool() { + java.lang.Object ref = storagePool_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + storagePool_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the storage pool to list disks of.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for storagePool. + */ + public com.google.protobuf.ByteString getStoragePoolBytes() { + java.lang.Object ref = storagePool_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + storagePool_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the storage pool to list disks of.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The storagePool to set. + * @return This builder for chaining. + */ + public Builder setStoragePool(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + storagePool_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the storage pool to list disks of.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearStoragePool() { + storagePool_ = getDefaultInstance().getStoragePool(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the storage pool to list disks of.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for storagePool to set. + * @return This builder for chaining. + */ + public Builder setStoragePoolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + storagePool_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.ListDisksStoragePoolsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.ListDisksStoragePoolsRequest) + private static final com.google.cloud.compute.v1.ListDisksStoragePoolsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.ListDisksStoragePoolsRequest(); + } + + public static com.google.cloud.compute.v1.ListDisksStoragePoolsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDisksStoragePoolsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListDisksStoragePoolsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListDisksStoragePoolsRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListDisksStoragePoolsRequestOrBuilder.java new file mode 100644 index 000000000000..5d8b894aee26 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListDisksStoragePoolsRequestOrBuilder.java @@ -0,0 +1,262 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface ListDisksStoragePoolsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ListDisksStoragePoolsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + boolean hasFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + java.lang.String getFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The bytes for filter. + */ + com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return Whether the maxResults field is set. + */ + boolean hasMaxResults(); + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return The maxResults. + */ + int getMaxResults(); + + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return Whether the orderBy field is set. + */ + boolean hasOrderBy(); + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The orderBy. + */ + java.lang.String getOrderBy(); + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The bytes for orderBy. + */ + com.google.protobuf.ByteString getOrderByBytes(); + + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return Whether the pageToken field is set. + */ + boolean hasPageToken(); + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return Whether the returnPartialSuccess field is set. + */ + boolean hasReturnPartialSuccess(); + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + boolean getReturnPartialSuccess(); + + /** + * + * + *
+   * Name of the storage pool to list disks of.
+   * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The storagePool. + */ + java.lang.String getStoragePool(); + /** + * + * + *
+   * Name of the storage pool to list disks of.
+   * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for storagePool. + */ + com.google.protobuf.ByteString getStoragePoolBytes(); + + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagerResizeRequestsRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagerResizeRequestsRequest.java new file mode 100644 index 000000000000..09dc0849c145 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagerResizeRequestsRequest.java @@ -0,0 +1,1935 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for InstanceGroupManagerResizeRequests.List. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest} + */ +public final class ListInstanceGroupManagerResizeRequestsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest) + ListInstanceGroupManagerResizeRequestsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListInstanceGroupManagerResizeRequestsRequest.newBuilder() to construct. + private ListInstanceGroupManagerResizeRequestsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListInstanceGroupManagerResizeRequestsRequest() { + filter_ = ""; + instanceGroupManager_ = ""; + orderBy_ = ""; + pageToken_ = ""; + project_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListInstanceGroupManagerResizeRequestsRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListInstanceGroupManagerResizeRequestsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListInstanceGroupManagerResizeRequestsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest.class, + com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest.Builder + .class); + } + + private int bitField0_; + public static final int FILTER_FIELD_NUMBER = 336120696; + + @SuppressWarnings("serial") + private volatile java.lang.Object filter_ = ""; + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + @java.lang.Override + public boolean hasFilter() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + @java.lang.Override + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + 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(); + filter_ = s; + return s; + } + } + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The bytes for filter. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INSTANCE_GROUP_MANAGER_FIELD_NUMBER = 249363395; + + @SuppressWarnings("serial") + private volatile java.lang.Object instanceGroupManager_ = ""; + /** + * + * + *
+   * The name of the managed instance group. The name should conform to RFC1035.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceGroupManager. + */ + @java.lang.Override + public java.lang.String getInstanceGroupManager() { + java.lang.Object ref = instanceGroupManager_; + 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(); + instanceGroupManager_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the managed instance group. The name should conform to RFC1035.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for instanceGroupManager. + */ + @java.lang.Override + public com.google.protobuf.ByteString getInstanceGroupManagerBytes() { + java.lang.Object ref = instanceGroupManager_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + instanceGroupManager_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MAX_RESULTS_FIELD_NUMBER = 54715419; + private int maxResults_ = 0; + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return Whether the maxResults field is set. + */ + @java.lang.Override + public boolean hasMaxResults() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return The maxResults. + */ + @java.lang.Override + public int getMaxResults() { + return maxResults_; + } + + public static final int ORDER_BY_FIELD_NUMBER = 160562920; + + @SuppressWarnings("serial") + private volatile java.lang.Object orderBy_ = ""; + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return Whether the orderBy field is set. + */ + @java.lang.Override + public boolean hasOrderBy() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The orderBy. + */ + @java.lang.Override + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + 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(); + orderBy_ = s; + return s; + } + } + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The bytes for orderBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 19994697; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return Whether the pageToken field is set. + */ + @java.lang.Override + public boolean hasPageToken() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + 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(); + pageToken_ = s; + return s; + } + } + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RETURN_PARTIAL_SUCCESS_FIELD_NUMBER = 517198390; + private boolean returnPartialSuccess_ = false; + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return Whether the returnPartialSuccess field is set. + */ + @java.lang.Override + public boolean hasReturnPartialSuccess() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + @java.lang.Override + public boolean getReturnPartialSuccess() { + return returnPartialSuccess_; + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 19994697, pageToken_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeUInt32(54715419, maxResults_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 160562920, orderBy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceGroupManager_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 249363395, instanceGroupManager_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 336120696, filter_); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeBool(517198390, returnPartialSuccess_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19994697, pageToken_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(54715419, maxResults_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(160562920, orderBy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceGroupManager_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 249363395, instanceGroupManager_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(336120696, filter_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(517198390, returnPartialSuccess_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest other = + (com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest) obj; + + if (hasFilter() != other.hasFilter()) return false; + if (hasFilter()) { + if (!getFilter().equals(other.getFilter())) return false; + } + if (!getInstanceGroupManager().equals(other.getInstanceGroupManager())) return false; + if (hasMaxResults() != other.hasMaxResults()) return false; + if (hasMaxResults()) { + if (getMaxResults() != other.getMaxResults()) return false; + } + if (hasOrderBy() != other.hasOrderBy()) return false; + if (hasOrderBy()) { + if (!getOrderBy().equals(other.getOrderBy())) return false; + } + if (hasPageToken() != other.hasPageToken()) return false; + if (hasPageToken()) { + if (!getPageToken().equals(other.getPageToken())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (hasReturnPartialSuccess() != other.hasReturnPartialSuccess()) return false; + if (hasReturnPartialSuccess()) { + if (getReturnPartialSuccess() != other.getReturnPartialSuccess()) return false; + } + if (!getZone().equals(other.getZone())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasFilter()) { + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + } + hash = (37 * hash) + INSTANCE_GROUP_MANAGER_FIELD_NUMBER; + hash = (53 * hash) + getInstanceGroupManager().hashCode(); + if (hasMaxResults()) { + hash = (37 * hash) + MAX_RESULTS_FIELD_NUMBER; + hash = (53 * hash) + getMaxResults(); + } + if (hasOrderBy()) { + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); + } + if (hasPageToken()) { + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + if (hasReturnPartialSuccess()) { + hash = (37 * hash) + RETURN_PARTIAL_SUCCESS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPartialSuccess()); + } + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for InstanceGroupManagerResizeRequests.List. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest) + com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListInstanceGroupManagerResizeRequestsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListInstanceGroupManagerResizeRequestsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest.class, + com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + filter_ = ""; + instanceGroupManager_ = ""; + maxResults_ = 0; + orderBy_ = ""; + pageToken_ = ""; + project_ = ""; + returnPartialSuccess_ = false; + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListInstanceGroupManagerResizeRequestsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest build() { + com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest + buildPartial() { + com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest result = + new com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.filter_ = filter_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.instanceGroupManager_ = instanceGroupManager_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.maxResults_ = maxResults_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.orderBy_ = orderBy_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.pageToken_ = pageToken_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.project_ = project_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.returnPartialSuccess_ = returnPartialSuccess_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.zone_ = zone_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest other) { + if (other + == com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest + .getDefaultInstance()) return this; + if (other.hasFilter()) { + filter_ = other.filter_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getInstanceGroupManager().isEmpty()) { + instanceGroupManager_ = other.instanceGroupManager_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasMaxResults()) { + setMaxResults(other.getMaxResults()); + } + if (other.hasOrderBy()) { + orderBy_ = other.orderBy_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasPageToken()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (other.hasReturnPartialSuccess()) { + setReturnPartialSuccess(other.getReturnPartialSuccess()); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000080; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 29957474 + case 159957578: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 159957578 + case 437723352: + { + maxResults_ = input.readUInt32(); + bitField0_ |= 0x00000004; + break; + } // case 437723352 + case 1284503362: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 1284503362 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 1820481738 + case 1994907162: + { + instanceGroupManager_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 1994907162 + case -1606001726: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case -1606001726 + case -157380176: + { + returnPartialSuccess_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case -157380176 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object filter_ = ""; + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + public boolean hasFilter() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return The bytes for filter. + */ + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @param value The filter to set. + * @return This builder for chaining. + */ + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + filter_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + filter_ = getDefaultInstance().getFilter(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. + */ + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object instanceGroupManager_ = ""; + /** + * + * + *
+     * The name of the managed instance group. The name should conform to RFC1035.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceGroupManager. + */ + public java.lang.String getInstanceGroupManager() { + java.lang.Object ref = instanceGroupManager_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + instanceGroupManager_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the managed instance group. The name should conform to RFC1035.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for instanceGroupManager. + */ + public com.google.protobuf.ByteString getInstanceGroupManagerBytes() { + java.lang.Object ref = instanceGroupManager_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + instanceGroupManager_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the managed instance group. The name should conform to RFC1035.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The instanceGroupManager to set. + * @return This builder for chaining. + */ + public Builder setInstanceGroupManager(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + instanceGroupManager_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the managed instance group. The name should conform to RFC1035.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearInstanceGroupManager() { + instanceGroupManager_ = getDefaultInstance().getInstanceGroupManager(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the managed instance group. The name should conform to RFC1035.
+     * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The bytes for instanceGroupManager to set. + * @return This builder for chaining. + */ + public Builder setInstanceGroupManagerBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceGroupManager_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int maxResults_; + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @return Whether the maxResults field is set. + */ + @java.lang.Override + public boolean hasMaxResults() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @return The maxResults. + */ + @java.lang.Override + public int getMaxResults() { + return maxResults_; + } + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @param value The maxResults to set. + * @return This builder for chaining. + */ + public Builder setMaxResults(int value) { + + maxResults_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @return This builder for chaining. + */ + public Builder clearMaxResults() { + bitField0_ = (bitField0_ & ~0x00000004); + maxResults_ = 0; + onChanged(); + return this; + } + + private java.lang.Object orderBy_ = ""; + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return Whether the orderBy field is set. + */ + public boolean hasOrderBy() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return The orderBy. + */ + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return The bytes for orderBy. + */ + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @param value The orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + orderBy_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return This builder for chaining. + */ + public Builder clearOrderBy() { + orderBy_ = getDefaultInstance().getOrderBy(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @param value The bytes for orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return Whether the pageToken field is set. + */ + public boolean hasPageToken() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageToken_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private boolean returnPartialSuccess_; + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return Whether the returnPartialSuccess field is set. + */ + @java.lang.Override + public boolean hasReturnPartialSuccess() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + @java.lang.Override + public boolean getReturnPartialSuccess() { + return returnPartialSuccess_; + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @param value The returnPartialSuccess to set. + * @return This builder for chaining. + */ + public Builder setReturnPartialSuccess(boolean value) { + + returnPartialSuccess_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return This builder for chaining. + */ + public Builder clearReturnPartialSuccess() { + bitField0_ = (bitField0_ & ~0x00000040); + returnPartialSuccess_ = false; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest) + private static final com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest(); + } + + public static com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstanceGroupManagerResizeRequestsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser + getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagerResizeRequestsRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagerResizeRequestsRequestOrBuilder.java new file mode 100644 index 000000000000..7c9ad0e687f9 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListInstanceGroupManagerResizeRequestsRequestOrBuilder.java @@ -0,0 +1,264 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface ListInstanceGroupManagerResizeRequestsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + boolean hasFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + java.lang.String getFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The bytes for filter. + */ + com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * The name of the managed instance group. The name should conform to RFC1035.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceGroupManager. + */ + java.lang.String getInstanceGroupManager(); + /** + * + * + *
+   * The name of the managed instance group. The name should conform to RFC1035.
+   * 
+ * + * string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for instanceGroupManager. + */ + com.google.protobuf.ByteString getInstanceGroupManagerBytes(); + + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return Whether the maxResults field is set. + */ + boolean hasMaxResults(); + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return The maxResults. + */ + int getMaxResults(); + + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return Whether the orderBy field is set. + */ + boolean hasOrderBy(); + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The orderBy. + */ + java.lang.String getOrderBy(); + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The bytes for orderBy. + */ + com.google.protobuf.ByteString getOrderByBytes(); + + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return Whether the pageToken field is set. + */ + boolean hasPageToken(); + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return Whether the returnPartialSuccess field is set. + */ + boolean hasReturnPartialSuccess(); + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + boolean getReturnPartialSuccess(); + + /** + * + * + *
+   * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * The name of the zone where the managed instance group is located. The name should conform to RFC1035.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListStoragePoolTypesRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListStoragePoolTypesRequest.java new file mode 100644 index 000000000000..8416a912ba5f --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListStoragePoolTypesRequest.java @@ -0,0 +1,1721 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for StoragePoolTypes.List. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.ListStoragePoolTypesRequest} + */ +public final class ListStoragePoolTypesRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.ListStoragePoolTypesRequest) + ListStoragePoolTypesRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListStoragePoolTypesRequest.newBuilder() to construct. + private ListStoragePoolTypesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListStoragePoolTypesRequest() { + filter_ = ""; + orderBy_ = ""; + pageToken_ = ""; + project_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListStoragePoolTypesRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListStoragePoolTypesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListStoragePoolTypesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.ListStoragePoolTypesRequest.class, + com.google.cloud.compute.v1.ListStoragePoolTypesRequest.Builder.class); + } + + private int bitField0_; + public static final int FILTER_FIELD_NUMBER = 336120696; + + @SuppressWarnings("serial") + private volatile java.lang.Object filter_ = ""; + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + @java.lang.Override + public boolean hasFilter() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + @java.lang.Override + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + 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(); + filter_ = s; + return s; + } + } + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The bytes for filter. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MAX_RESULTS_FIELD_NUMBER = 54715419; + private int maxResults_ = 0; + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return Whether the maxResults field is set. + */ + @java.lang.Override + public boolean hasMaxResults() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return The maxResults. + */ + @java.lang.Override + public int getMaxResults() { + return maxResults_; + } + + public static final int ORDER_BY_FIELD_NUMBER = 160562920; + + @SuppressWarnings("serial") + private volatile java.lang.Object orderBy_ = ""; + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return Whether the orderBy field is set. + */ + @java.lang.Override + public boolean hasOrderBy() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The orderBy. + */ + @java.lang.Override + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + 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(); + orderBy_ = s; + return s; + } + } + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The bytes for orderBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 19994697; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return Whether the pageToken field is set. + */ + @java.lang.Override + public boolean hasPageToken() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + 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(); + pageToken_ = s; + return s; + } + } + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RETURN_PARTIAL_SUCCESS_FIELD_NUMBER = 517198390; + private boolean returnPartialSuccess_ = false; + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return Whether the returnPartialSuccess field is set. + */ + @java.lang.Override + public boolean hasReturnPartialSuccess() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + @java.lang.Override + public boolean getReturnPartialSuccess() { + return returnPartialSuccess_; + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 19994697, pageToken_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeUInt32(54715419, maxResults_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 160562920, orderBy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 336120696, filter_); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeBool(517198390, returnPartialSuccess_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19994697, pageToken_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(54715419, maxResults_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(160562920, orderBy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(336120696, filter_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(517198390, returnPartialSuccess_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.ListStoragePoolTypesRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.ListStoragePoolTypesRequest other = + (com.google.cloud.compute.v1.ListStoragePoolTypesRequest) obj; + + if (hasFilter() != other.hasFilter()) return false; + if (hasFilter()) { + if (!getFilter().equals(other.getFilter())) return false; + } + if (hasMaxResults() != other.hasMaxResults()) return false; + if (hasMaxResults()) { + if (getMaxResults() != other.getMaxResults()) return false; + } + if (hasOrderBy() != other.hasOrderBy()) return false; + if (hasOrderBy()) { + if (!getOrderBy().equals(other.getOrderBy())) return false; + } + if (hasPageToken() != other.hasPageToken()) return false; + if (hasPageToken()) { + if (!getPageToken().equals(other.getPageToken())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (hasReturnPartialSuccess() != other.hasReturnPartialSuccess()) return false; + if (hasReturnPartialSuccess()) { + if (getReturnPartialSuccess() != other.getReturnPartialSuccess()) return false; + } + if (!getZone().equals(other.getZone())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasFilter()) { + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + } + if (hasMaxResults()) { + hash = (37 * hash) + MAX_RESULTS_FIELD_NUMBER; + hash = (53 * hash) + getMaxResults(); + } + if (hasOrderBy()) { + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); + } + if (hasPageToken()) { + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + if (hasReturnPartialSuccess()) { + hash = (37 * hash) + RETURN_PARTIAL_SUCCESS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPartialSuccess()); + } + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.ListStoragePoolTypesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListStoragePoolTypesRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListStoragePoolTypesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListStoragePoolTypesRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListStoragePoolTypesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListStoragePoolTypesRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListStoragePoolTypesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.ListStoragePoolTypesRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListStoragePoolTypesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.ListStoragePoolTypesRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListStoragePoolTypesRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.ListStoragePoolTypesRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.ListStoragePoolTypesRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for StoragePoolTypes.List. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.ListStoragePoolTypesRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.ListStoragePoolTypesRequest) + com.google.cloud.compute.v1.ListStoragePoolTypesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListStoragePoolTypesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListStoragePoolTypesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.ListStoragePoolTypesRequest.class, + com.google.cloud.compute.v1.ListStoragePoolTypesRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.ListStoragePoolTypesRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + filter_ = ""; + maxResults_ = 0; + orderBy_ = ""; + pageToken_ = ""; + project_ = ""; + returnPartialSuccess_ = false; + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListStoragePoolTypesRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListStoragePoolTypesRequest getDefaultInstanceForType() { + return com.google.cloud.compute.v1.ListStoragePoolTypesRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListStoragePoolTypesRequest build() { + com.google.cloud.compute.v1.ListStoragePoolTypesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListStoragePoolTypesRequest buildPartial() { + com.google.cloud.compute.v1.ListStoragePoolTypesRequest result = + new com.google.cloud.compute.v1.ListStoragePoolTypesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.ListStoragePoolTypesRequest result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.filter_ = filter_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.maxResults_ = maxResults_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.orderBy_ = orderBy_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.pageToken_ = pageToken_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.project_ = project_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.returnPartialSuccess_ = returnPartialSuccess_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.zone_ = zone_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.ListStoragePoolTypesRequest) { + return mergeFrom((com.google.cloud.compute.v1.ListStoragePoolTypesRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.ListStoragePoolTypesRequest other) { + if (other == com.google.cloud.compute.v1.ListStoragePoolTypesRequest.getDefaultInstance()) + return this; + if (other.hasFilter()) { + filter_ = other.filter_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasMaxResults()) { + setMaxResults(other.getMaxResults()); + } + if (other.hasOrderBy()) { + orderBy_ = other.orderBy_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasPageToken()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.hasReturnPartialSuccess()) { + setReturnPartialSuccess(other.getReturnPartialSuccess()); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000040; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 29957474 + case 159957578: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 159957578 + case 437723352: + { + maxResults_ = input.readUInt32(); + bitField0_ |= 0x00000002; + break; + } // case 437723352 + case 1284503362: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 1284503362 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 1820481738 + case -1606001726: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case -1606001726 + case -157380176: + { + returnPartialSuccess_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case -157380176 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object filter_ = ""; + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + public boolean hasFilter() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return The bytes for filter. + */ + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @param value The filter to set. + * @return This builder for chaining. + */ + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + filter_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + filter_ = getDefaultInstance().getFilter(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. + */ + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int maxResults_; + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @return Whether the maxResults field is set. + */ + @java.lang.Override + public boolean hasMaxResults() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @return The maxResults. + */ + @java.lang.Override + public int getMaxResults() { + return maxResults_; + } + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @param value The maxResults to set. + * @return This builder for chaining. + */ + public Builder setMaxResults(int value) { + + maxResults_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @return This builder for chaining. + */ + public Builder clearMaxResults() { + bitField0_ = (bitField0_ & ~0x00000002); + maxResults_ = 0; + onChanged(); + return this; + } + + private java.lang.Object orderBy_ = ""; + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return Whether the orderBy field is set. + */ + public boolean hasOrderBy() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return The orderBy. + */ + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return The bytes for orderBy. + */ + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @param value The orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + orderBy_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return This builder for chaining. + */ + public Builder clearOrderBy() { + orderBy_ = getDefaultInstance().getOrderBy(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @param value The bytes for orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return Whether the pageToken field is set. + */ + public boolean hasPageToken() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private boolean returnPartialSuccess_; + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return Whether the returnPartialSuccess field is set. + */ + @java.lang.Override + public boolean hasReturnPartialSuccess() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + @java.lang.Override + public boolean getReturnPartialSuccess() { + return returnPartialSuccess_; + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @param value The returnPartialSuccess to set. + * @return This builder for chaining. + */ + public Builder setReturnPartialSuccess(boolean value) { + + returnPartialSuccess_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return This builder for chaining. + */ + public Builder clearReturnPartialSuccess() { + bitField0_ = (bitField0_ & ~0x00000020); + returnPartialSuccess_ = false; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.ListStoragePoolTypesRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.ListStoragePoolTypesRequest) + private static final com.google.cloud.compute.v1.ListStoragePoolTypesRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.ListStoragePoolTypesRequest(); + } + + public static com.google.cloud.compute.v1.ListStoragePoolTypesRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListStoragePoolTypesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListStoragePoolTypesRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListStoragePoolTypesRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListStoragePoolTypesRequestOrBuilder.java new file mode 100644 index 000000000000..bf65fc86f065 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListStoragePoolTypesRequestOrBuilder.java @@ -0,0 +1,237 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface ListStoragePoolTypesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ListStoragePoolTypesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + boolean hasFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + java.lang.String getFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The bytes for filter. + */ + com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return Whether the maxResults field is set. + */ + boolean hasMaxResults(); + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return The maxResults. + */ + int getMaxResults(); + + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return Whether the orderBy field is set. + */ + boolean hasOrderBy(); + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The orderBy. + */ + java.lang.String getOrderBy(); + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The bytes for orderBy. + */ + com.google.protobuf.ByteString getOrderByBytes(); + + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return Whether the pageToken field is set. + */ + boolean hasPageToken(); + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return Whether the returnPartialSuccess field is set. + */ + boolean hasReturnPartialSuccess(); + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + boolean getReturnPartialSuccess(); + + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListStoragePoolsRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListStoragePoolsRequest.java new file mode 100644 index 000000000000..7031bf638d85 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListStoragePoolsRequest.java @@ -0,0 +1,1720 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for StoragePools.List. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.ListStoragePoolsRequest} + */ +public final class ListStoragePoolsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.ListStoragePoolsRequest) + ListStoragePoolsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListStoragePoolsRequest.newBuilder() to construct. + private ListStoragePoolsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListStoragePoolsRequest() { + filter_ = ""; + orderBy_ = ""; + pageToken_ = ""; + project_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListStoragePoolsRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListStoragePoolsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListStoragePoolsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.ListStoragePoolsRequest.class, + com.google.cloud.compute.v1.ListStoragePoolsRequest.Builder.class); + } + + private int bitField0_; + public static final int FILTER_FIELD_NUMBER = 336120696; + + @SuppressWarnings("serial") + private volatile java.lang.Object filter_ = ""; + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + @java.lang.Override + public boolean hasFilter() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + @java.lang.Override + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + 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(); + filter_ = s; + return s; + } + } + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The bytes for filter. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MAX_RESULTS_FIELD_NUMBER = 54715419; + private int maxResults_ = 0; + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return Whether the maxResults field is set. + */ + @java.lang.Override + public boolean hasMaxResults() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return The maxResults. + */ + @java.lang.Override + public int getMaxResults() { + return maxResults_; + } + + public static final int ORDER_BY_FIELD_NUMBER = 160562920; + + @SuppressWarnings("serial") + private volatile java.lang.Object orderBy_ = ""; + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return Whether the orderBy field is set. + */ + @java.lang.Override + public boolean hasOrderBy() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The orderBy. + */ + @java.lang.Override + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + 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(); + orderBy_ = s; + return s; + } + } + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The bytes for orderBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 19994697; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return Whether the pageToken field is set. + */ + @java.lang.Override + public boolean hasPageToken() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + 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(); + pageToken_ = s; + return s; + } + } + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RETURN_PARTIAL_SUCCESS_FIELD_NUMBER = 517198390; + private boolean returnPartialSuccess_ = false; + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return Whether the returnPartialSuccess field is set. + */ + @java.lang.Override + public boolean hasReturnPartialSuccess() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + @java.lang.Override + public boolean getReturnPartialSuccess() { + return returnPartialSuccess_; + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 19994697, pageToken_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeUInt32(54715419, maxResults_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 160562920, orderBy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 336120696, filter_); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeBool(517198390, returnPartialSuccess_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19994697, pageToken_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(54715419, maxResults_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(160562920, orderBy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(336120696, filter_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(517198390, returnPartialSuccess_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.ListStoragePoolsRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.ListStoragePoolsRequest other = + (com.google.cloud.compute.v1.ListStoragePoolsRequest) obj; + + if (hasFilter() != other.hasFilter()) return false; + if (hasFilter()) { + if (!getFilter().equals(other.getFilter())) return false; + } + if (hasMaxResults() != other.hasMaxResults()) return false; + if (hasMaxResults()) { + if (getMaxResults() != other.getMaxResults()) return false; + } + if (hasOrderBy() != other.hasOrderBy()) return false; + if (hasOrderBy()) { + if (!getOrderBy().equals(other.getOrderBy())) return false; + } + if (hasPageToken() != other.hasPageToken()) return false; + if (hasPageToken()) { + if (!getPageToken().equals(other.getPageToken())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (hasReturnPartialSuccess() != other.hasReturnPartialSuccess()) return false; + if (hasReturnPartialSuccess()) { + if (getReturnPartialSuccess() != other.getReturnPartialSuccess()) return false; + } + if (!getZone().equals(other.getZone())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasFilter()) { + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + } + if (hasMaxResults()) { + hash = (37 * hash) + MAX_RESULTS_FIELD_NUMBER; + hash = (53 * hash) + getMaxResults(); + } + if (hasOrderBy()) { + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); + } + if (hasPageToken()) { + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + if (hasReturnPartialSuccess()) { + hash = (37 * hash) + RETURN_PARTIAL_SUCCESS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPartialSuccess()); + } + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.ListStoragePoolsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListStoragePoolsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListStoragePoolsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListStoragePoolsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListStoragePoolsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListStoragePoolsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListStoragePoolsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.ListStoragePoolsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListStoragePoolsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.ListStoragePoolsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.ListStoragePoolsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.ListStoragePoolsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.compute.v1.ListStoragePoolsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for StoragePools.List. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.ListStoragePoolsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.ListStoragePoolsRequest) + com.google.cloud.compute.v1.ListStoragePoolsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListStoragePoolsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListStoragePoolsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.ListStoragePoolsRequest.class, + com.google.cloud.compute.v1.ListStoragePoolsRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.ListStoragePoolsRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + filter_ = ""; + maxResults_ = 0; + orderBy_ = ""; + pageToken_ = ""; + project_ = ""; + returnPartialSuccess_ = false; + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListStoragePoolsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListStoragePoolsRequest getDefaultInstanceForType() { + return com.google.cloud.compute.v1.ListStoragePoolsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListStoragePoolsRequest build() { + com.google.cloud.compute.v1.ListStoragePoolsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListStoragePoolsRequest buildPartial() { + com.google.cloud.compute.v1.ListStoragePoolsRequest result = + new com.google.cloud.compute.v1.ListStoragePoolsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.ListStoragePoolsRequest result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.filter_ = filter_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.maxResults_ = maxResults_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.orderBy_ = orderBy_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.pageToken_ = pageToken_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.project_ = project_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.returnPartialSuccess_ = returnPartialSuccess_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.zone_ = zone_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.ListStoragePoolsRequest) { + return mergeFrom((com.google.cloud.compute.v1.ListStoragePoolsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.ListStoragePoolsRequest other) { + if (other == com.google.cloud.compute.v1.ListStoragePoolsRequest.getDefaultInstance()) + return this; + if (other.hasFilter()) { + filter_ = other.filter_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasMaxResults()) { + setMaxResults(other.getMaxResults()); + } + if (other.hasOrderBy()) { + orderBy_ = other.orderBy_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasPageToken()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.hasReturnPartialSuccess()) { + setReturnPartialSuccess(other.getReturnPartialSuccess()); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000040; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 29957474 + case 159957578: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 159957578 + case 437723352: + { + maxResults_ = input.readUInt32(); + bitField0_ |= 0x00000002; + break; + } // case 437723352 + case 1284503362: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 1284503362 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 1820481738 + case -1606001726: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case -1606001726 + case -157380176: + { + returnPartialSuccess_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case -157380176 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object filter_ = ""; + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + public boolean hasFilter() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return The bytes for filter. + */ + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @param value The filter to set. + * @return This builder for chaining. + */ + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + filter_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + filter_ = getDefaultInstance().getFilter(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+     * 
+ * + * optional string filter = 336120696; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. + */ + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int maxResults_; + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @return Whether the maxResults field is set. + */ + @java.lang.Override + public boolean hasMaxResults() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @return The maxResults. + */ + @java.lang.Override + public int getMaxResults() { + return maxResults_; + } + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @param value The maxResults to set. + * @return This builder for chaining. + */ + public Builder setMaxResults(int value) { + + maxResults_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+     * 
+ * + * optional uint32 max_results = 54715419; + * + * @return This builder for chaining. + */ + public Builder clearMaxResults() { + bitField0_ = (bitField0_ & ~0x00000002); + maxResults_ = 0; + onChanged(); + return this; + } + + private java.lang.Object orderBy_ = ""; + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return Whether the orderBy field is set. + */ + public boolean hasOrderBy() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return The orderBy. + */ + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return The bytes for orderBy. + */ + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @param value The orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + orderBy_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @return This builder for chaining. + */ + public Builder clearOrderBy() { + orderBy_ = getDefaultInstance().getOrderBy(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+     * 
+ * + * optional string order_by = 160562920; + * + * @param value The bytes for orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return Whether the pageToken field is set. + */ + public boolean hasPageToken() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+     * 
+ * + * optional string page_token = 19994697; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private boolean returnPartialSuccess_; + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return Whether the returnPartialSuccess field is set. + */ + @java.lang.Override + public boolean hasReturnPartialSuccess() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + @java.lang.Override + public boolean getReturnPartialSuccess() { + return returnPartialSuccess_; + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @param value The returnPartialSuccess to set. + * @return This builder for chaining. + */ + public Builder setReturnPartialSuccess(boolean value) { + + returnPartialSuccess_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return This builder for chaining. + */ + public Builder clearReturnPartialSuccess() { + bitField0_ = (bitField0_ & ~0x00000020); + returnPartialSuccess_ = false; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.ListStoragePoolsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.ListStoragePoolsRequest) + private static final com.google.cloud.compute.v1.ListStoragePoolsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.ListStoragePoolsRequest(); + } + + public static com.google.cloud.compute.v1.ListStoragePoolsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListStoragePoolsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListStoragePoolsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListStoragePoolsRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListStoragePoolsRequestOrBuilder.java new file mode 100644 index 000000000000..b2c5777038a0 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListStoragePoolsRequestOrBuilder.java @@ -0,0 +1,237 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface ListStoragePoolsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ListStoragePoolsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + boolean hasFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + java.lang.String getFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
+   * 
+ * + * optional string filter = 336120696; + * + * @return The bytes for filter. + */ + com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return Whether the maxResults field is set. + */ + boolean hasMaxResults(); + /** + * + * + *
+   * The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
+   * 
+ * + * optional uint32 max_results = 54715419; + * + * @return The maxResults. + */ + int getMaxResults(); + + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return Whether the orderBy field is set. + */ + boolean hasOrderBy(); + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The orderBy. + */ + java.lang.String getOrderBy(); + /** + * + * + *
+   * Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+   * 
+ * + * optional string order_by = 160562920; + * + * @return The bytes for orderBy. + */ + com.google.protobuf.ByteString getOrderByBytes(); + + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return Whether the pageToken field is set. + */ + boolean hasPageToken(); + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
+   * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
+   * 
+ * + * optional string page_token = 19994697; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return Whether the returnPartialSuccess field is set. + */ + boolean hasReturnPartialSuccess(); + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + boolean getReturnPartialSuccess(); + + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroup.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroup.java index 410e67db0e3e..4a5aa1e91126 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroup.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroup.java @@ -89,7 +89,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * * *
-   * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
+   * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
    * 
* * Protobuf enum {@code google.cloud.compute.v1.NetworkEndpointGroup.NetworkEndpointType} @@ -1027,7 +1027,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * * *
-   * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
+   * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
    * Check the NetworkEndpointType enum for the list of possible values.
    * 
* @@ -1043,7 +1043,7 @@ public boolean hasNetworkEndpointType() { * * *
-   * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
+   * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
    * Check the NetworkEndpointType enum for the list of possible values.
    * 
* @@ -1067,7 +1067,7 @@ public java.lang.String getNetworkEndpointType() { * * *
-   * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
+   * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
    * Check the NetworkEndpointType enum for the list of possible values.
    * 
* @@ -3931,7 +3931,7 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { * * *
-     * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
+     * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
      * Check the NetworkEndpointType enum for the list of possible values.
      * 
* @@ -3946,7 +3946,7 @@ public boolean hasNetworkEndpointType() { * * *
-     * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
+     * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
      * Check the NetworkEndpointType enum for the list of possible values.
      * 
* @@ -3969,7 +3969,7 @@ public java.lang.String getNetworkEndpointType() { * * *
-     * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
+     * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
      * Check the NetworkEndpointType enum for the list of possible values.
      * 
* @@ -3992,7 +3992,7 @@ public com.google.protobuf.ByteString getNetworkEndpointTypeBytes() { * * *
-     * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
+     * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
      * Check the NetworkEndpointType enum for the list of possible values.
      * 
* @@ -4014,7 +4014,7 @@ public Builder setNetworkEndpointType(java.lang.String value) { * * *
-     * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
+     * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
      * Check the NetworkEndpointType enum for the list of possible values.
      * 
* @@ -4032,7 +4032,7 @@ public Builder clearNetworkEndpointType() { * * *
-     * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
+     * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
      * Check the NetworkEndpointType enum for the list of possible values.
      * 
* diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroupOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroupOrBuilder.java index 6ccd5c45be5b..57a888182f57 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroupOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroupOrBuilder.java @@ -439,7 +439,7 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
+   * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
    * Check the NetworkEndpointType enum for the list of possible values.
    * 
* @@ -452,7 +452,7 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
+   * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
    * Check the NetworkEndpointType enum for the list of possible values.
    * 
* @@ -465,7 +465,7 @@ java.lang.String getAnnotationsOrDefault( * * *
-   * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
+   * Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
    * Check the NetworkEndpointType enum for the list of possible values.
    * 
* diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroup.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroup.java index b0ad63ecd19c..d57bb610278d 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroup.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroup.java @@ -44,6 +44,7 @@ private NodeGroup() { fingerprint_ = ""; kind_ = ""; locationHint_ = ""; + maintenanceInterval_ = ""; maintenancePolicy_ = ""; name_ = ""; nodeTemplate_ = ""; @@ -73,6 +74,166 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.compute.v1.NodeGroup.Builder.class); } + /** + * + * + *
+   * Specifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`.
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.NodeGroup.MaintenanceInterval} + */ + public enum MaintenanceInterval implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MAINTENANCE_INTERVAL = 0; + */ + UNDEFINED_MAINTENANCE_INTERVAL(0), + /** + * + * + *
+     * VMs are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the VM than the PERIODIC and RECURRENT options.
+     * 
+ * + * AS_NEEDED = 500724834; + */ + AS_NEEDED(500724834), + /** + * + * + *
+     * VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. RECURRENT is used for GEN3 and Slice of Hardware VMs.
+     * 
+ * + * RECURRENT = 194244550; + */ + RECURRENT(194244550), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MAINTENANCE_INTERVAL = 0; + */ + public static final int UNDEFINED_MAINTENANCE_INTERVAL_VALUE = 0; + /** + * + * + *
+     * VMs are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the VM than the PERIODIC and RECURRENT options.
+     * 
+ * + * AS_NEEDED = 500724834; + */ + public static final int AS_NEEDED_VALUE = 500724834; + /** + * + * + *
+     * VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. RECURRENT is used for GEN3 and Slice of Hardware VMs.
+     * 
+ * + * RECURRENT = 194244550; + */ + public static final int RECURRENT_VALUE = 194244550; + + 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 MaintenanceInterval 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 MaintenanceInterval forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_MAINTENANCE_INTERVAL; + case 500724834: + return AS_NEEDED; + case 194244550: + return RECURRENT; + 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 MaintenanceInterval findValueByNumber(int number) { + return MaintenanceInterval.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.cloud.compute.v1.NodeGroup.getDescriptor().getEnumTypes().get(0); + } + + private static final MaintenanceInterval[] VALUES = values(); + + public static MaintenanceInterval 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 MaintenanceInterval(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.NodeGroup.MaintenanceInterval) + } + /** * * @@ -236,7 +397,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.compute.v1.NodeGroup.getDescriptor().getEnumTypes().get(0); + return com.google.cloud.compute.v1.NodeGroup.getDescriptor().getEnumTypes().get(1); } private static final MaintenancePolicy[] VALUES = values(); @@ -373,7 +534,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.compute.v1.NodeGroup.getDescriptor().getEnumTypes().get(1); + return com.google.cloud.compute.v1.NodeGroup.getDescriptor().getEnumTypes().get(2); } private static final Status[] VALUES = values(); @@ -800,6 +961,75 @@ public com.google.protobuf.ByteString getLocationHintBytes() { } } + public static final int MAINTENANCE_INTERVAL_FIELD_NUMBER = 403368049; + + @SuppressWarnings("serial") + private volatile java.lang.Object maintenanceInterval_ = ""; + /** + * + * + *
+   * Specifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`.
+   * Check the MaintenanceInterval enum for the list of possible values.
+   * 
+ * + * optional string maintenance_interval = 403368049; + * + * @return Whether the maintenanceInterval field is set. + */ + @java.lang.Override + public boolean hasMaintenanceInterval() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+   * Specifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`.
+   * Check the MaintenanceInterval enum for the list of possible values.
+   * 
+ * + * optional string maintenance_interval = 403368049; + * + * @return The maintenanceInterval. + */ + @java.lang.Override + public java.lang.String getMaintenanceInterval() { + java.lang.Object ref = maintenanceInterval_; + 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(); + maintenanceInterval_ = s; + return s; + } + } + /** + * + * + *
+   * Specifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`.
+   * Check the MaintenanceInterval enum for the list of possible values.
+   * 
+ * + * optional string maintenance_interval = 403368049; + * + * @return The bytes for maintenanceInterval. + */ + @java.lang.Override + public com.google.protobuf.ByteString getMaintenanceIntervalBytes() { + java.lang.Object ref = maintenanceInterval_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + maintenanceInterval_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int MAINTENANCE_POLICY_FIELD_NUMBER = 528327646; @SuppressWarnings("serial") @@ -818,7 +1048,7 @@ public com.google.protobuf.ByteString getLocationHintBytes() { */ @java.lang.Override public boolean hasMaintenancePolicy() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -880,7 +1110,7 @@ public com.google.protobuf.ByteString getMaintenancePolicyBytes() { */ @java.lang.Override public boolean hasMaintenanceWindow() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * @@ -925,7 +1155,7 @@ public com.google.cloud.compute.v1.NodeGroupMaintenanceWindow getMaintenanceWind */ @java.lang.Override public boolean hasName() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** * @@ -991,7 +1221,7 @@ public com.google.protobuf.ByteString getNameBytes() { */ @java.lang.Override public boolean hasNodeTemplate() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** * @@ -1057,7 +1287,7 @@ public com.google.protobuf.ByteString getNodeTemplateBytes() { */ @java.lang.Override public boolean hasSelfLink() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** * @@ -1121,7 +1351,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { */ @java.lang.Override public boolean hasShareSettings() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * @@ -1171,7 +1401,7 @@ public com.google.cloud.compute.v1.ShareSettingsOrBuilder getShareSettingsOrBuil */ @java.lang.Override public boolean hasSize() { - return ((bitField0_ & 0x00002000) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** * @@ -1207,7 +1437,7 @@ public int getSize() { */ @java.lang.Override public boolean hasStatus() { - return ((bitField0_ & 0x00004000) != 0); + return ((bitField0_ & 0x00008000) != 0); } /** * @@ -1275,7 +1505,7 @@ public com.google.protobuf.ByteString getStatusBytes() { */ @java.lang.Override public boolean hasZone() { - return ((bitField0_ & 0x00008000) != 0); + return ((bitField0_ & 0x00010000) != 0); } /** * @@ -1344,22 +1574,22 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); } - if (((bitField0_ & 0x00002000) != 0)) { + if (((bitField0_ & 0x00004000) != 0)) { output.writeInt32(3530753, size_); } - if (((bitField0_ & 0x00008000) != 0)) { + if (((bitField0_ & 0x00010000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 30525366, creationTimestamp_); } - if (((bitField0_ & 0x00004000) != 0)) { + if (((bitField0_ & 0x00008000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 181260274, status_); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { output.writeMessage(186374812, getMaintenanceWindow()); } if (((bitField0_ & 0x00000001) != 0)) { @@ -1368,22 +1598,25 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 234678500, fingerprint_); } - if (((bitField0_ & 0x00001000) != 0)) { + if (((bitField0_ & 0x00002000) != 0)) { output.writeMessage(266668163, getShareSettings()); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 323154455, nodeTemplate_); } if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 350519505, locationHint_); } + if (((bitField0_ & 0x00000080) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 403368049, maintenanceInterval_); + } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 422937596, description_); } - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 528327646, maintenancePolicy_); } getUnknownFields().writeTo(output); @@ -1401,23 +1634,23 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); } - if (((bitField0_ & 0x00002000) != 0)) { + if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3530753, size_); } - if (((bitField0_ & 0x00008000) != 0)) { + if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30525366, creationTimestamp_); } - if (((bitField0_ & 0x00004000) != 0)) { + if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(181260274, status_); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 186374812, getMaintenanceWindow()); @@ -1430,23 +1663,27 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(234678500, fingerprint_); } - if (((bitField0_ & 0x00001000) != 0)) { + if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(266668163, getShareSettings()); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(323154455, nodeTemplate_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(350519505, locationHint_); } + if (((bitField0_ & 0x00000080) != 0)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(403368049, maintenanceInterval_); + } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(422937596, description_); } - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(528327646, maintenancePolicy_); } @@ -1493,6 +1730,10 @@ public boolean equals(final java.lang.Object obj) { if (hasLocationHint()) { if (!getLocationHint().equals(other.getLocationHint())) return false; } + if (hasMaintenanceInterval() != other.hasMaintenanceInterval()) return false; + if (hasMaintenanceInterval()) { + if (!getMaintenanceInterval().equals(other.getMaintenanceInterval())) return false; + } if (hasMaintenancePolicy() != other.hasMaintenancePolicy()) return false; if (hasMaintenancePolicy()) { if (!getMaintenancePolicy().equals(other.getMaintenancePolicy())) return false; @@ -1568,6 +1809,10 @@ public int hashCode() { hash = (37 * hash) + LOCATION_HINT_FIELD_NUMBER; hash = (53 * hash) + getLocationHint().hashCode(); } + if (hasMaintenanceInterval()) { + hash = (37 * hash) + MAINTENANCE_INTERVAL_FIELD_NUMBER; + hash = (53 * hash) + getMaintenanceInterval().hashCode(); + } if (hasMaintenancePolicy()) { hash = (37 * hash) + MAINTENANCE_POLICY_FIELD_NUMBER; hash = (53 * hash) + getMaintenancePolicy().hashCode(); @@ -1764,6 +2009,7 @@ public Builder clear() { id_ = 0L; kind_ = ""; locationHint_ = ""; + maintenanceInterval_ = ""; maintenancePolicy_ = ""; maintenanceWindow_ = null; if (maintenanceWindowBuilder_ != null) { @@ -1850,45 +2096,49 @@ private void buildPartial0(com.google.cloud.compute.v1.NodeGroup result) { to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.maintenancePolicy_ = maintenancePolicy_; + result.maintenanceInterval_ = maintenanceInterval_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { + result.maintenancePolicy_ = maintenancePolicy_; + to_bitField0_ |= 0x00000100; + } + if (((from_bitField0_ & 0x00000200) != 0)) { result.maintenanceWindow_ = maintenanceWindowBuilder_ == null ? maintenanceWindow_ : maintenanceWindowBuilder_.build(); - to_bitField0_ |= 0x00000100; - } - if (((from_bitField0_ & 0x00000200) != 0)) { - result.name_ = name_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000400) != 0)) { - result.nodeTemplate_ = nodeTemplate_; + result.name_ = name_; to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00000800) != 0)) { - result.selfLink_ = selfLink_; + result.nodeTemplate_ = nodeTemplate_; to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00001000) != 0)) { - result.shareSettings_ = - shareSettingsBuilder_ == null ? shareSettings_ : shareSettingsBuilder_.build(); + result.selfLink_ = selfLink_; to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.size_ = size_; + result.shareSettings_ = + shareSettingsBuilder_ == null ? shareSettings_ : shareSettingsBuilder_.build(); to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00004000) != 0)) { - result.status_ = status_; + result.size_ = size_; to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00008000) != 0)) { - result.zone_ = zone_; + result.status_ = status_; to_bitField0_ |= 0x00008000; } + if (((from_bitField0_ & 0x00010000) != 0)) { + result.zone_ = zone_; + to_bitField0_ |= 0x00010000; + } result.bitField0_ |= to_bitField0_; } @@ -1968,9 +2218,14 @@ public Builder mergeFrom(com.google.cloud.compute.v1.NodeGroup other) { bitField0_ |= 0x00000040; onChanged(); } + if (other.hasMaintenanceInterval()) { + maintenanceInterval_ = other.maintenanceInterval_; + bitField0_ |= 0x00000080; + onChanged(); + } if (other.hasMaintenancePolicy()) { maintenancePolicy_ = other.maintenancePolicy_; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); } if (other.hasMaintenanceWindow()) { @@ -1978,17 +2233,17 @@ public Builder mergeFrom(com.google.cloud.compute.v1.NodeGroup other) { } if (other.hasName()) { name_ = other.name_; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); } if (other.hasNodeTemplate()) { nodeTemplate_ = other.nodeTemplate_; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); } if (other.hasSelfLink()) { selfLink_ = other.selfLink_; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); } if (other.hasShareSettings()) { @@ -1999,12 +2254,12 @@ public Builder mergeFrom(com.google.cloud.compute.v1.NodeGroup other) { } if (other.hasStatus()) { status_ = other.status_; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); } if (other.hasZone()) { zone_ = other.zone_; - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -2048,19 +2303,19 @@ public Builder mergeFrom( case 26989658: { name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; break; } // case 26989658 case 28246024: { size_ = input.readInt32(); - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; break; } // case 28246024 case 29957474: { zone_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; break; } // case 29957474 case 244202930: @@ -2072,14 +2327,14 @@ public Builder mergeFrom( case 1450082194: { status_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; break; } // case 1450082194 case 1490998498: { input.readMessage( getMaintenanceWindowFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; break; } // case 1490998498 case 1775600330: @@ -2098,13 +2353,13 @@ public Builder mergeFrom( case 2133345306: { input.readMessage(getShareSettingsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; break; } // case 2133345306 case -1709731654: { nodeTemplate_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; break; } // case -1709731654 case -1490811254: @@ -2113,6 +2368,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000040; break; } // case -1490811254 + case -1068022902: + { + maintenanceInterval_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case -1068022902 case -911466526: { description_ = input.readStringRequireUtf8(); @@ -2122,13 +2383,13 @@ public Builder mergeFrom( case -645248918: { selfLink_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; break; } // case -645248918 case -68346126: { maintenancePolicy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; break; } // case -68346126 default: @@ -2991,6 +3252,132 @@ public Builder setLocationHintBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object maintenanceInterval_ = ""; + /** + * + * + *
+     * Specifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`.
+     * Check the MaintenanceInterval enum for the list of possible values.
+     * 
+ * + * optional string maintenance_interval = 403368049; + * + * @return Whether the maintenanceInterval field is set. + */ + public boolean hasMaintenanceInterval() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+     * Specifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`.
+     * Check the MaintenanceInterval enum for the list of possible values.
+     * 
+ * + * optional string maintenance_interval = 403368049; + * + * @return The maintenanceInterval. + */ + public java.lang.String getMaintenanceInterval() { + java.lang.Object ref = maintenanceInterval_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + maintenanceInterval_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Specifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`.
+     * Check the MaintenanceInterval enum for the list of possible values.
+     * 
+ * + * optional string maintenance_interval = 403368049; + * + * @return The bytes for maintenanceInterval. + */ + public com.google.protobuf.ByteString getMaintenanceIntervalBytes() { + java.lang.Object ref = maintenanceInterval_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + maintenanceInterval_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Specifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`.
+     * Check the MaintenanceInterval enum for the list of possible values.
+     * 
+ * + * optional string maintenance_interval = 403368049; + * + * @param value The maintenanceInterval to set. + * @return This builder for chaining. + */ + public Builder setMaintenanceInterval(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + maintenanceInterval_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`.
+     * Check the MaintenanceInterval enum for the list of possible values.
+     * 
+ * + * optional string maintenance_interval = 403368049; + * + * @return This builder for chaining. + */ + public Builder clearMaintenanceInterval() { + maintenanceInterval_ = getDefaultInstance().getMaintenanceInterval(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`.
+     * Check the MaintenanceInterval enum for the list of possible values.
+     * 
+ * + * optional string maintenance_interval = 403368049; + * + * @param value The bytes for maintenanceInterval to set. + * @return This builder for chaining. + */ + public Builder setMaintenanceIntervalBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + maintenanceInterval_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + private java.lang.Object maintenancePolicy_ = ""; /** * @@ -3005,7 +3392,7 @@ public Builder setLocationHintBytes(com.google.protobuf.ByteString value) { * @return Whether the maintenancePolicy field is set. */ public boolean hasMaintenancePolicy() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -3071,7 +3458,7 @@ public Builder setMaintenancePolicy(java.lang.String value) { throw new NullPointerException(); } maintenancePolicy_ = value; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -3089,7 +3476,7 @@ public Builder setMaintenancePolicy(java.lang.String value) { */ public Builder clearMaintenancePolicy() { maintenancePolicy_ = getDefaultInstance().getMaintenancePolicy(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } @@ -3112,7 +3499,7 @@ public Builder setMaintenancePolicyBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); maintenancePolicy_ = value; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -3131,7 +3518,7 @@ public Builder setMaintenancePolicyBytes(com.google.protobuf.ByteString value) { * @return Whether the maintenanceWindow field is set. */ public boolean hasMaintenanceWindow() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * @@ -3164,7 +3551,7 @@ public Builder setMaintenanceWindow( } else { maintenanceWindowBuilder_.setMessage(value); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -3180,7 +3567,7 @@ public Builder setMaintenanceWindow( } else { maintenanceWindowBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -3192,7 +3579,7 @@ public Builder setMaintenanceWindow( public Builder mergeMaintenanceWindow( com.google.cloud.compute.v1.NodeGroupMaintenanceWindow value) { if (maintenanceWindowBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) + if (((bitField0_ & 0x00000200) != 0) && maintenanceWindow_ != null && maintenanceWindow_ != com.google.cloud.compute.v1.NodeGroupMaintenanceWindow.getDefaultInstance()) { @@ -3204,7 +3591,7 @@ public Builder mergeMaintenanceWindow( maintenanceWindowBuilder_.mergeFrom(value); } if (maintenanceWindow_ != null) { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); } return this; @@ -3215,7 +3602,7 @@ public Builder mergeMaintenanceWindow( * */ public Builder clearMaintenanceWindow() { - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); maintenanceWindow_ = null; if (maintenanceWindowBuilder_ != null) { maintenanceWindowBuilder_.dispose(); @@ -3231,7 +3618,7 @@ public Builder clearMaintenanceWindow() { */ public com.google.cloud.compute.v1.NodeGroupMaintenanceWindow.Builder getMaintenanceWindowBuilder() { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return getMaintenanceWindowFieldBuilder().getBuilder(); } @@ -3285,7 +3672,7 @@ public Builder clearMaintenanceWindow() { * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** * @@ -3348,7 +3735,7 @@ public Builder setName(java.lang.String value) { throw new NullPointerException(); } name_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -3365,7 +3752,7 @@ public Builder setName(java.lang.String value) { */ public Builder clearName() { name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } @@ -3387,7 +3774,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); name_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -3405,7 +3792,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * @return Whether the nodeTemplate field is set. */ public boolean hasNodeTemplate() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** * @@ -3468,7 +3855,7 @@ public Builder setNodeTemplate(java.lang.String value) { throw new NullPointerException(); } nodeTemplate_ = value; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -3485,7 +3872,7 @@ public Builder setNodeTemplate(java.lang.String value) { */ public Builder clearNodeTemplate() { nodeTemplate_ = getDefaultInstance().getNodeTemplate(); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); onChanged(); return this; } @@ -3507,7 +3894,7 @@ public Builder setNodeTemplateBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); nodeTemplate_ = value; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -3525,7 +3912,7 @@ public Builder setNodeTemplateBytes(com.google.protobuf.ByteString value) { * @return Whether the selfLink field is set. */ public boolean hasSelfLink() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** * @@ -3588,7 +3975,7 @@ public Builder setSelfLink(java.lang.String value) { throw new NullPointerException(); } selfLink_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -3605,7 +3992,7 @@ public Builder setSelfLink(java.lang.String value) { */ public Builder clearSelfLink() { selfLink_ = getDefaultInstance().getSelfLink(); - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } @@ -3627,7 +4014,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); selfLink_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -3650,7 +4037,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * @return Whether the shareSettings field is set. */ public boolean hasShareSettings() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * @@ -3690,7 +4077,7 @@ public Builder setShareSettings(com.google.cloud.compute.v1.ShareSettings value) } else { shareSettingsBuilder_.setMessage(value); } - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -3710,7 +4097,7 @@ public Builder setShareSettings( } else { shareSettingsBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -3725,7 +4112,7 @@ public Builder setShareSettings( */ public Builder mergeShareSettings(com.google.cloud.compute.v1.ShareSettings value) { if (shareSettingsBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) + if (((bitField0_ & 0x00002000) != 0) && shareSettings_ != null && shareSettings_ != com.google.cloud.compute.v1.ShareSettings.getDefaultInstance()) { getShareSettingsBuilder().mergeFrom(value); @@ -3736,7 +4123,7 @@ public Builder mergeShareSettings(com.google.cloud.compute.v1.ShareSettings valu shareSettingsBuilder_.mergeFrom(value); } if (shareSettings_ != null) { - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); } return this; @@ -3751,7 +4138,7 @@ public Builder mergeShareSettings(com.google.cloud.compute.v1.ShareSettings valu * optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163; */ public Builder clearShareSettings() { - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); shareSettings_ = null; if (shareSettingsBuilder_ != null) { shareSettingsBuilder_.dispose(); @@ -3770,7 +4157,7 @@ public Builder clearShareSettings() { * optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163; */ public com.google.cloud.compute.v1.ShareSettings.Builder getShareSettingsBuilder() { - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return getShareSettingsFieldBuilder().getBuilder(); } @@ -3832,7 +4219,7 @@ public com.google.cloud.compute.v1.ShareSettingsOrBuilder getShareSettingsOrBuil */ @java.lang.Override public boolean hasSize() { - return ((bitField0_ & 0x00002000) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** * @@ -3864,7 +4251,7 @@ public int getSize() { public Builder setSize(int value) { size_ = value; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -3880,7 +4267,7 @@ public Builder setSize(int value) { * @return This builder for chaining. */ public Builder clearSize() { - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00004000); size_ = 0; onChanged(); return this; @@ -3900,7 +4287,7 @@ public Builder clearSize() { * @return Whether the status field is set. */ public boolean hasStatus() { - return ((bitField0_ & 0x00004000) != 0); + return ((bitField0_ & 0x00008000) != 0); } /** * @@ -3966,7 +4353,7 @@ public Builder setStatus(java.lang.String value) { throw new NullPointerException(); } status_ = value; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -3984,7 +4371,7 @@ public Builder setStatus(java.lang.String value) { */ public Builder clearStatus() { status_ = getDefaultInstance().getStatus(); - bitField0_ = (bitField0_ & ~0x00004000); + bitField0_ = (bitField0_ & ~0x00008000); onChanged(); return this; } @@ -4007,7 +4394,7 @@ public Builder setStatusBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); status_ = value; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -4025,7 +4412,7 @@ public Builder setStatusBytes(com.google.protobuf.ByteString value) { * @return Whether the zone field is set. */ public boolean hasZone() { - return ((bitField0_ & 0x00008000) != 0); + return ((bitField0_ & 0x00010000) != 0); } /** * @@ -4088,7 +4475,7 @@ public Builder setZone(java.lang.String value) { throw new NullPointerException(); } zone_ = value; - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -4105,7 +4492,7 @@ public Builder setZone(java.lang.String value) { */ public Builder clearZone() { zone_ = getDefaultInstance().getZone(); - bitField0_ = (bitField0_ & ~0x00008000); + bitField0_ = (bitField0_ & ~0x00010000); onChanged(); return this; } @@ -4127,7 +4514,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); zone_ = value; - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; onChanged(); return this; } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroupNode.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroupNode.java index e8636c320e1e..f6555a96487b 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroupNode.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroupNode.java @@ -1164,6 +1164,60 @@ public com.google.cloud.compute.v1.InstanceConsumptionInfoOrBuilder getTotalReso : totalResources_; } + public static final int UPCOMING_MAINTENANCE_FIELD_NUMBER = 227348592; + private com.google.cloud.compute.v1.UpcomingMaintenance upcomingMaintenance_; + /** + * + * + *
+   * [Output Only] The information about an upcoming maintenance event.
+   * 
+ * + * optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; + * + * + * @return Whether the upcomingMaintenance field is set. + */ + @java.lang.Override + public boolean hasUpcomingMaintenance() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+   * [Output Only] The information about an upcoming maintenance event.
+   * 
+ * + * optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; + * + * + * @return The upcomingMaintenance. + */ + @java.lang.Override + public com.google.cloud.compute.v1.UpcomingMaintenance getUpcomingMaintenance() { + return upcomingMaintenance_ == null + ? com.google.cloud.compute.v1.UpcomingMaintenance.getDefaultInstance() + : upcomingMaintenance_; + } + /** + * + * + *
+   * [Output Only] The information about an upcoming maintenance event.
+   * 
+ * + * optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.UpcomingMaintenanceOrBuilder + getUpcomingMaintenanceOrBuilder() { + return upcomingMaintenance_ == null + ? com.google.cloud.compute.v1.UpcomingMaintenance.getDefaultInstance() + : upcomingMaintenance_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1199,6 +1253,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(208179593, getServerBinding()); } + if (((bitField0_ & 0x00000200) != 0)) { + output.writeMessage(227348592, getUpcomingMaintenance()); + } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 247727959, cpuOvercommitType_); } @@ -1256,6 +1313,11 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeMessageSize(208179593, getServerBinding()); } + if (((bitField0_ & 0x00000200) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 227348592, getUpcomingMaintenance()); + } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(247727959, cpuOvercommitType_); @@ -1335,6 +1397,10 @@ public boolean equals(final java.lang.Object obj) { if (hasTotalResources()) { if (!getTotalResources().equals(other.getTotalResources())) return false; } + if (hasUpcomingMaintenance() != other.hasUpcomingMaintenance()) return false; + if (hasUpcomingMaintenance()) { + if (!getUpcomingMaintenance().equals(other.getUpcomingMaintenance())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1398,6 +1464,10 @@ public int hashCode() { hash = (37 * hash) + TOTAL_RESOURCES_FIELD_NUMBER; hash = (53 * hash) + getTotalResources().hashCode(); } + if (hasUpcomingMaintenance()) { + hash = (37 * hash) + UPCOMING_MAINTENANCE_FIELD_NUMBER; + hash = (53 * hash) + getUpcomingMaintenance().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -1543,6 +1613,7 @@ private void maybeForceBuilderInitialization() { getInstanceConsumptionDataFieldBuilder(); getServerBindingFieldBuilder(); getTotalResourcesFieldBuilder(); + getUpcomingMaintenanceFieldBuilder(); } } @@ -1593,6 +1664,11 @@ public Builder clear() { totalResourcesBuilder_.dispose(); totalResourcesBuilder_ = null; } + upcomingMaintenance_ = null; + if (upcomingMaintenanceBuilder_ != null) { + upcomingMaintenanceBuilder_.dispose(); + upcomingMaintenanceBuilder_ = null; + } return this; } @@ -1707,6 +1783,13 @@ private void buildPartial0(com.google.cloud.compute.v1.NodeGroupNode result) { totalResourcesBuilder_ == null ? totalResources_ : totalResourcesBuilder_.build(); to_bitField0_ |= 0x00000100; } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.upcomingMaintenance_ = + upcomingMaintenanceBuilder_ == null + ? upcomingMaintenance_ + : upcomingMaintenanceBuilder_.build(); + to_bitField0_ |= 0x00000200; + } result.bitField0_ |= to_bitField0_; } @@ -1883,6 +1966,9 @@ public Builder mergeFrom(com.google.cloud.compute.v1.NodeGroupNode other) { if (other.hasTotalResources()) { mergeTotalResources(other.getTotalResources()); } + if (other.hasUpcomingMaintenance()) { + mergeUpcomingMaintenance(other.getUpcomingMaintenance()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1967,6 +2053,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000200; break; } // case 1665436746 + case 1818788738: + { + input.readMessage( + getUpcomingMaintenanceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 1818788738 case 1981823674: { cpuOvercommitType_ = input.readStringRequireUtf8(); @@ -4576,6 +4669,203 @@ public com.google.cloud.compute.v1.InstanceConsumptionInfo.Builder getTotalResou return totalResourcesBuilder_; } + private com.google.cloud.compute.v1.UpcomingMaintenance upcomingMaintenance_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.UpcomingMaintenance, + com.google.cloud.compute.v1.UpcomingMaintenance.Builder, + com.google.cloud.compute.v1.UpcomingMaintenanceOrBuilder> + upcomingMaintenanceBuilder_; + /** + * + * + *
+     * [Output Only] The information about an upcoming maintenance event.
+     * 
+ * + * optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; + * + * + * @return Whether the upcomingMaintenance field is set. + */ + public boolean hasUpcomingMaintenance() { + return ((bitField0_ & 0x00002000) != 0); + } + /** + * + * + *
+     * [Output Only] The information about an upcoming maintenance event.
+     * 
+ * + * optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; + * + * + * @return The upcomingMaintenance. + */ + public com.google.cloud.compute.v1.UpcomingMaintenance getUpcomingMaintenance() { + if (upcomingMaintenanceBuilder_ == null) { + return upcomingMaintenance_ == null + ? com.google.cloud.compute.v1.UpcomingMaintenance.getDefaultInstance() + : upcomingMaintenance_; + } else { + return upcomingMaintenanceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * [Output Only] The information about an upcoming maintenance event.
+     * 
+ * + * optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; + * + */ + public Builder setUpcomingMaintenance(com.google.cloud.compute.v1.UpcomingMaintenance value) { + if (upcomingMaintenanceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + upcomingMaintenance_ = value; + } else { + upcomingMaintenanceBuilder_.setMessage(value); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The information about an upcoming maintenance event.
+     * 
+ * + * optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; + * + */ + public Builder setUpcomingMaintenance( + com.google.cloud.compute.v1.UpcomingMaintenance.Builder builderForValue) { + if (upcomingMaintenanceBuilder_ == null) { + upcomingMaintenance_ = builderForValue.build(); + } else { + upcomingMaintenanceBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The information about an upcoming maintenance event.
+     * 
+ * + * optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; + * + */ + public Builder mergeUpcomingMaintenance(com.google.cloud.compute.v1.UpcomingMaintenance value) { + if (upcomingMaintenanceBuilder_ == null) { + if (((bitField0_ & 0x00002000) != 0) + && upcomingMaintenance_ != null + && upcomingMaintenance_ + != com.google.cloud.compute.v1.UpcomingMaintenance.getDefaultInstance()) { + getUpcomingMaintenanceBuilder().mergeFrom(value); + } else { + upcomingMaintenance_ = value; + } + } else { + upcomingMaintenanceBuilder_.mergeFrom(value); + } + if (upcomingMaintenance_ != null) { + bitField0_ |= 0x00002000; + onChanged(); + } + return this; + } + /** + * + * + *
+     * [Output Only] The information about an upcoming maintenance event.
+     * 
+ * + * optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; + * + */ + public Builder clearUpcomingMaintenance() { + bitField0_ = (bitField0_ & ~0x00002000); + upcomingMaintenance_ = null; + if (upcomingMaintenanceBuilder_ != null) { + upcomingMaintenanceBuilder_.dispose(); + upcomingMaintenanceBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The information about an upcoming maintenance event.
+     * 
+ * + * optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; + * + */ + public com.google.cloud.compute.v1.UpcomingMaintenance.Builder getUpcomingMaintenanceBuilder() { + bitField0_ |= 0x00002000; + onChanged(); + return getUpcomingMaintenanceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * [Output Only] The information about an upcoming maintenance event.
+     * 
+ * + * optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; + * + */ + public com.google.cloud.compute.v1.UpcomingMaintenanceOrBuilder + getUpcomingMaintenanceOrBuilder() { + if (upcomingMaintenanceBuilder_ != null) { + return upcomingMaintenanceBuilder_.getMessageOrBuilder(); + } else { + return upcomingMaintenance_ == null + ? com.google.cloud.compute.v1.UpcomingMaintenance.getDefaultInstance() + : upcomingMaintenance_; + } + } + /** + * + * + *
+     * [Output Only] The information about an upcoming maintenance event.
+     * 
+ * + * optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.UpcomingMaintenance, + com.google.cloud.compute.v1.UpcomingMaintenance.Builder, + com.google.cloud.compute.v1.UpcomingMaintenanceOrBuilder> + getUpcomingMaintenanceFieldBuilder() { + if (upcomingMaintenanceBuilder_ == null) { + upcomingMaintenanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.UpcomingMaintenance, + com.google.cloud.compute.v1.UpcomingMaintenance.Builder, + com.google.cloud.compute.v1.UpcomingMaintenanceOrBuilder>( + getUpcomingMaintenance(), getParentForChildren(), isClean()); + upcomingMaintenance_ = null; + } + return upcomingMaintenanceBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroupNodeOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroupNodeOrBuilder.java index 27196f9f9f20..8e3ee5ca2adc 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroupNodeOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroupNodeOrBuilder.java @@ -568,4 +568,42 @@ com.google.cloud.compute.v1.InstanceConsumptionDataOrBuilder getInstanceConsumpt *
*/ com.google.cloud.compute.v1.InstanceConsumptionInfoOrBuilder getTotalResourcesOrBuilder(); + + /** + * + * + *
+   * [Output Only] The information about an upcoming maintenance event.
+   * 
+ * + * optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; + * + * + * @return Whether the upcomingMaintenance field is set. + */ + boolean hasUpcomingMaintenance(); + /** + * + * + *
+   * [Output Only] The information about an upcoming maintenance event.
+   * 
+ * + * optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; + * + * + * @return The upcomingMaintenance. + */ + com.google.cloud.compute.v1.UpcomingMaintenance getUpcomingMaintenance(); + /** + * + * + *
+   * [Output Only] The information about an upcoming maintenance event.
+   * 
+ * + * optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592; + * + */ + com.google.cloud.compute.v1.UpcomingMaintenanceOrBuilder getUpcomingMaintenanceOrBuilder(); } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroupOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroupOrBuilder.java index 08fd4f035333..00641d141be9 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroupOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroupOrBuilder.java @@ -257,6 +257,46 @@ public interface NodeGroupOrBuilder */ com.google.protobuf.ByteString getLocationHintBytes(); + /** + * + * + *
+   * Specifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`.
+   * Check the MaintenanceInterval enum for the list of possible values.
+   * 
+ * + * optional string maintenance_interval = 403368049; + * + * @return Whether the maintenanceInterval field is set. + */ + boolean hasMaintenanceInterval(); + /** + * + * + *
+   * Specifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`.
+   * Check the MaintenanceInterval enum for the list of possible values.
+   * 
+ * + * optional string maintenance_interval = 403368049; + * + * @return The maintenanceInterval. + */ + java.lang.String getMaintenanceInterval(); + /** + * + * + *
+   * Specifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`.
+   * Check the MaintenanceInterval enum for the list of possible values.
+   * 
+ * + * optional string maintenance_interval = 403368049; + * + * @return The bytes for maintenanceInterval. + */ + com.google.protobuf.ByteString getMaintenanceIntervalBytes(); + /** * * diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroupsPerformMaintenanceRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroupsPerformMaintenanceRequest.java new file mode 100644 index 000000000000..3eb37e4fd27e --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroupsPerformMaintenanceRequest.java @@ -0,0 +1,948 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest} + */ +public final class NodeGroupsPerformMaintenanceRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest) + NodeGroupsPerformMaintenanceRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use NodeGroupsPerformMaintenanceRequest.newBuilder() to construct. + private NodeGroupsPerformMaintenanceRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NodeGroupsPerformMaintenanceRequest() { + nodes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + startTime_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NodeGroupsPerformMaintenanceRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_NodeGroupsPerformMaintenanceRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_NodeGroupsPerformMaintenanceRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest.class, + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest.Builder.class); + } + + private int bitField0_; + public static final int NODES_FIELD_NUMBER = 104993457; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList nodes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
+   * [Required] List of nodes affected by the call.
+   * 
+ * + * repeated string nodes = 104993457; + * + * @return A list containing the nodes. + */ + public com.google.protobuf.ProtocolStringList getNodesList() { + return nodes_; + } + /** + * + * + *
+   * [Required] List of nodes affected by the call.
+   * 
+ * + * repeated string nodes = 104993457; + * + * @return The count of nodes. + */ + public int getNodesCount() { + return nodes_.size(); + } + /** + * + * + *
+   * [Required] List of nodes affected by the call.
+   * 
+ * + * repeated string nodes = 104993457; + * + * @param index The index of the element to return. + * @return The nodes at the given index. + */ + public java.lang.String getNodes(int index) { + return nodes_.get(index); + } + /** + * + * + *
+   * [Required] List of nodes affected by the call.
+   * 
+ * + * repeated string nodes = 104993457; + * + * @param index The index of the value to return. + * @return The bytes of the nodes at the given index. + */ + public com.google.protobuf.ByteString getNodesBytes(int index) { + return nodes_.getByteString(index); + } + + public static final int START_TIME_FIELD_NUMBER = 37467274; + + @SuppressWarnings("serial") + private volatile java.lang.Object startTime_ = ""; + /** + * + * + *
+   * The start time of the schedule. The timestamp is an RFC3339 string.
+   * 
+ * + * optional string start_time = 37467274; + * + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The start time of the schedule. The timestamp is an RFC3339 string.
+   * 
+ * + * optional string start_time = 37467274; + * + * @return The startTime. + */ + @java.lang.Override + public java.lang.String getStartTime() { + java.lang.Object ref = startTime_; + 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(); + startTime_ = s; + return s; + } + } + /** + * + * + *
+   * The start time of the schedule. The timestamp is an RFC3339 string.
+   * 
+ * + * optional string start_time = 37467274; + * + * @return The bytes for startTime. + */ + @java.lang.Override + public com.google.protobuf.ByteString getStartTimeBytes() { + java.lang.Object ref = startTime_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + startTime_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 37467274, startTime_); + } + for (int i = 0; i < nodes_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 104993457, nodes_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(37467274, startTime_); + } + { + int dataSize = 0; + for (int i = 0; i < nodes_.size(); i++) { + dataSize += computeStringSizeNoTag(nodes_.getRaw(i)); + } + size += dataSize; + size += 5 * getNodesList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest other = + (com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest) obj; + + if (!getNodesList().equals(other.getNodesList())) return false; + if (hasStartTime() != other.hasStartTime()) return false; + if (hasStartTime()) { + if (!getStartTime().equals(other.getStartTime())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getNodesCount() > 0) { + hash = (37 * hash) + NODES_FIELD_NUMBER; + hash = (53 * hash) + getNodesList().hashCode(); + } + if (hasStartTime()) { + hash = (37 * hash) + START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getStartTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest) + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_NodeGroupsPerformMaintenanceRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_NodeGroupsPerformMaintenanceRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest.class, + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + nodes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + startTime_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_NodeGroupsPerformMaintenanceRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest build() { + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest buildPartial() { + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest result = + new com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + nodes_.makeImmutable(); + result.nodes_ = nodes_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.startTime_ = startTime_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest) { + return mergeFrom((com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest other) { + if (other + == com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest.getDefaultInstance()) + return this; + if (!other.nodes_.isEmpty()) { + if (nodes_.isEmpty()) { + nodes_ = other.nodes_; + bitField0_ |= 0x00000001; + } else { + ensureNodesIsMutable(); + nodes_.addAll(other.nodes_); + } + onChanged(); + } + if (other.hasStartTime()) { + startTime_ = other.startTime_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 299738194: + { + startTime_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 299738194 + case 839947658: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureNodesIsMutable(); + nodes_.add(s); + break; + } // case 839947658 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList nodes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureNodesIsMutable() { + if (!nodes_.isModifiable()) { + nodes_ = new com.google.protobuf.LazyStringArrayList(nodes_); + } + bitField0_ |= 0x00000001; + } + /** + * + * + *
+     * [Required] List of nodes affected by the call.
+     * 
+ * + * repeated string nodes = 104993457; + * + * @return A list containing the nodes. + */ + public com.google.protobuf.ProtocolStringList getNodesList() { + nodes_.makeImmutable(); + return nodes_; + } + /** + * + * + *
+     * [Required] List of nodes affected by the call.
+     * 
+ * + * repeated string nodes = 104993457; + * + * @return The count of nodes. + */ + public int getNodesCount() { + return nodes_.size(); + } + /** + * + * + *
+     * [Required] List of nodes affected by the call.
+     * 
+ * + * repeated string nodes = 104993457; + * + * @param index The index of the element to return. + * @return The nodes at the given index. + */ + public java.lang.String getNodes(int index) { + return nodes_.get(index); + } + /** + * + * + *
+     * [Required] List of nodes affected by the call.
+     * 
+ * + * repeated string nodes = 104993457; + * + * @param index The index of the value to return. + * @return The bytes of the nodes at the given index. + */ + public com.google.protobuf.ByteString getNodesBytes(int index) { + return nodes_.getByteString(index); + } + /** + * + * + *
+     * [Required] List of nodes affected by the call.
+     * 
+ * + * repeated string nodes = 104993457; + * + * @param index The index to set the value at. + * @param value The nodes to set. + * @return This builder for chaining. + */ + public Builder setNodes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureNodesIsMutable(); + nodes_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * [Required] List of nodes affected by the call.
+     * 
+ * + * repeated string nodes = 104993457; + * + * @param value The nodes to add. + * @return This builder for chaining. + */ + public Builder addNodes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureNodesIsMutable(); + nodes_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * [Required] List of nodes affected by the call.
+     * 
+ * + * repeated string nodes = 104993457; + * + * @param values The nodes to add. + * @return This builder for chaining. + */ + public Builder addAllNodes(java.lang.Iterable values) { + ensureNodesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodes_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * [Required] List of nodes affected by the call.
+     * 
+ * + * repeated string nodes = 104993457; + * + * @return This builder for chaining. + */ + public Builder clearNodes() { + nodes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; + onChanged(); + return this; + } + /** + * + * + *
+     * [Required] List of nodes affected by the call.
+     * 
+ * + * repeated string nodes = 104993457; + * + * @param value The bytes of the nodes to add. + * @return This builder for chaining. + */ + public Builder addNodesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureNodesIsMutable(); + nodes_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object startTime_ = ""; + /** + * + * + *
+     * The start time of the schedule. The timestamp is an RFC3339 string.
+     * 
+ * + * optional string start_time = 37467274; + * + * @return Whether the startTime field is set. + */ + public boolean hasStartTime() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * The start time of the schedule. The timestamp is an RFC3339 string.
+     * 
+ * + * optional string start_time = 37467274; + * + * @return The startTime. + */ + public java.lang.String getStartTime() { + java.lang.Object ref = startTime_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + startTime_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The start time of the schedule. The timestamp is an RFC3339 string.
+     * 
+ * + * optional string start_time = 37467274; + * + * @return The bytes for startTime. + */ + public com.google.protobuf.ByteString getStartTimeBytes() { + java.lang.Object ref = startTime_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + startTime_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The start time of the schedule. The timestamp is an RFC3339 string.
+     * 
+ * + * optional string start_time = 37467274; + * + * @param value The startTime to set. + * @return This builder for chaining. + */ + public Builder setStartTime(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + startTime_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The start time of the schedule. The timestamp is an RFC3339 string.
+     * 
+ * + * optional string start_time = 37467274; + * + * @return This builder for chaining. + */ + public Builder clearStartTime() { + startTime_ = getDefaultInstance().getStartTime(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * The start time of the schedule. The timestamp is an RFC3339 string.
+     * 
+ * + * optional string start_time = 37467274; + * + * @param value The bytes for startTime to set. + * @return This builder for chaining. + */ + public Builder setStartTimeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + startTime_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest) + private static final com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest(); + } + + public static com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeGroupsPerformMaintenanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroupsPerformMaintenanceRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroupsPerformMaintenanceRequestOrBuilder.java new file mode 100644 index 000000000000..6ec190f1cabf --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NodeGroupsPerformMaintenanceRequestOrBuilder.java @@ -0,0 +1,114 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface NodeGroupsPerformMaintenanceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * [Required] List of nodes affected by the call.
+   * 
+ * + * repeated string nodes = 104993457; + * + * @return A list containing the nodes. + */ + java.util.List getNodesList(); + /** + * + * + *
+   * [Required] List of nodes affected by the call.
+   * 
+ * + * repeated string nodes = 104993457; + * + * @return The count of nodes. + */ + int getNodesCount(); + /** + * + * + *
+   * [Required] List of nodes affected by the call.
+   * 
+ * + * repeated string nodes = 104993457; + * + * @param index The index of the element to return. + * @return The nodes at the given index. + */ + java.lang.String getNodes(int index); + /** + * + * + *
+   * [Required] List of nodes affected by the call.
+   * 
+ * + * repeated string nodes = 104993457; + * + * @param index The index of the value to return. + * @return The bytes of the nodes at the given index. + */ + com.google.protobuf.ByteString getNodesBytes(int index); + + /** + * + * + *
+   * The start time of the schedule. The timestamp is an RFC3339 string.
+   * 
+ * + * optional string start_time = 37467274; + * + * @return Whether the startTime field is set. + */ + boolean hasStartTime(); + /** + * + * + *
+   * The start time of the schedule. The timestamp is an RFC3339 string.
+   * 
+ * + * optional string start_time = 37467274; + * + * @return The startTime. + */ + java.lang.String getStartTime(); + /** + * + * + *
+   * The start time of the schedule. The timestamp is an RFC3339 string.
+   * 
+ * + * optional string start_time = 37467274; + * + * @return The bytes for startTime. + */ + com.google.protobuf.ByteString getStartTimeBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PacketMirroring.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PacketMirroring.java index 216bcf0d51d0..251542f11ad0 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PacketMirroring.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PacketMirroring.java @@ -459,7 +459,7 @@ public com.google.protobuf.ByteString getEnableBytes() { * * *
-   * Filter for mirrored traffic. If unspecified, all traffic is mirrored.
+   * Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
    * 
* * optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; @@ -474,7 +474,7 @@ public boolean hasFilter() { * * *
-   * Filter for mirrored traffic. If unspecified, all traffic is mirrored.
+   * Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
    * 
* * optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; @@ -491,7 +491,7 @@ public com.google.cloud.compute.v1.PacketMirroringFilter getFilter() { * * *
-   * Filter for mirrored traffic. If unspecified, all traffic is mirrored.
+   * Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
    * 
* * optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; @@ -2260,7 +2260,7 @@ public Builder setEnableBytes(com.google.protobuf.ByteString value) { * * *
-     * Filter for mirrored traffic. If unspecified, all traffic is mirrored.
+     * Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
      * 
* * optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; @@ -2274,7 +2274,7 @@ public boolean hasFilter() { * * *
-     * Filter for mirrored traffic. If unspecified, all traffic is mirrored.
+     * Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
      * 
* * optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; @@ -2294,7 +2294,7 @@ public com.google.cloud.compute.v1.PacketMirroringFilter getFilter() { * * *
-     * Filter for mirrored traffic. If unspecified, all traffic is mirrored.
+     * Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
      * 
* * optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; @@ -2316,7 +2316,7 @@ public Builder setFilter(com.google.cloud.compute.v1.PacketMirroringFilter value * * *
-     * Filter for mirrored traffic. If unspecified, all traffic is mirrored.
+     * Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
      * 
* * optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; @@ -2336,7 +2336,7 @@ public Builder setFilter( * * *
-     * Filter for mirrored traffic. If unspecified, all traffic is mirrored.
+     * Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
      * 
* * optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; @@ -2363,7 +2363,7 @@ public Builder mergeFilter(com.google.cloud.compute.v1.PacketMirroringFilter val * * *
-     * Filter for mirrored traffic. If unspecified, all traffic is mirrored.
+     * Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
      * 
* * optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; @@ -2382,7 +2382,7 @@ public Builder clearFilter() { * * *
-     * Filter for mirrored traffic. If unspecified, all traffic is mirrored.
+     * Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
      * 
* * optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; @@ -2396,7 +2396,7 @@ public com.google.cloud.compute.v1.PacketMirroringFilter.Builder getFilterBuilde * * *
-     * Filter for mirrored traffic. If unspecified, all traffic is mirrored.
+     * Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
      * 
* * optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; @@ -2414,7 +2414,7 @@ public com.google.cloud.compute.v1.PacketMirroringFilterOrBuilder getFilterOrBui * * *
-     * Filter for mirrored traffic. If unspecified, all traffic is mirrored.
+     * Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
      * 
* * optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PacketMirroringFilter.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PacketMirroringFilter.java index 844eab7cdd45..452642f7f82d 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PacketMirroringFilter.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PacketMirroringFilter.java @@ -319,7 +319,7 @@ public com.google.protobuf.ByteString getIPProtocolsBytes(int index) { * * *
-   * One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.
+   * One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
    * 
* * repeated string cidr_ranges = 487901697; @@ -333,7 +333,7 @@ public com.google.protobuf.ProtocolStringList getCidrRangesList() { * * *
-   * One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.
+   * One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
    * 
* * repeated string cidr_ranges = 487901697; @@ -347,7 +347,7 @@ public int getCidrRangesCount() { * * *
-   * One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.
+   * One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
    * 
* * repeated string cidr_ranges = 487901697; @@ -362,7 +362,7 @@ public java.lang.String getCidrRanges(int index) { * * *
-   * One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.
+   * One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
    * 
* * repeated string cidr_ranges = 487901697; @@ -1055,7 +1055,7 @@ private void ensureCidrRangesIsMutable() { * * *
-     * One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.
+     * One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
      * 
* * repeated string cidr_ranges = 487901697; @@ -1070,7 +1070,7 @@ public com.google.protobuf.ProtocolStringList getCidrRangesList() { * * *
-     * One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.
+     * One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
      * 
* * repeated string cidr_ranges = 487901697; @@ -1084,7 +1084,7 @@ public int getCidrRangesCount() { * * *
-     * One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.
+     * One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
      * 
* * repeated string cidr_ranges = 487901697; @@ -1099,7 +1099,7 @@ public java.lang.String getCidrRanges(int index) { * * *
-     * One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.
+     * One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
      * 
* * repeated string cidr_ranges = 487901697; @@ -1114,7 +1114,7 @@ public com.google.protobuf.ByteString getCidrRangesBytes(int index) { * * *
-     * One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.
+     * One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
      * 
* * repeated string cidr_ranges = 487901697; @@ -1137,7 +1137,7 @@ public Builder setCidrRanges(int index, java.lang.String value) { * * *
-     * One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.
+     * One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
      * 
* * repeated string cidr_ranges = 487901697; @@ -1159,7 +1159,7 @@ public Builder addCidrRanges(java.lang.String value) { * * *
-     * One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.
+     * One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
      * 
* * repeated string cidr_ranges = 487901697; @@ -1178,7 +1178,7 @@ public Builder addAllCidrRanges(java.lang.Iterable values) { * * *
-     * One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.
+     * One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
      * 
* * repeated string cidr_ranges = 487901697; @@ -1196,7 +1196,7 @@ public Builder clearCidrRanges() { * * *
-     * One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.
+     * One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
      * 
* * repeated string cidr_ranges = 487901697; diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PacketMirroringFilterOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PacketMirroringFilterOrBuilder.java index 62dcfde895a3..3c8e90bb5f20 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PacketMirroringFilterOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PacketMirroringFilterOrBuilder.java @@ -79,7 +79,7 @@ public interface PacketMirroringFilterOrBuilder * * *
-   * One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.
+   * One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
    * 
* * repeated string cidr_ranges = 487901697; @@ -91,7 +91,7 @@ public interface PacketMirroringFilterOrBuilder * * *
-   * One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.
+   * One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
    * 
* * repeated string cidr_ranges = 487901697; @@ -103,7 +103,7 @@ public interface PacketMirroringFilterOrBuilder * * *
-   * One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.
+   * One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
    * 
* * repeated string cidr_ranges = 487901697; @@ -116,7 +116,7 @@ public interface PacketMirroringFilterOrBuilder * * *
-   * One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview.
+   * One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".
    * 
* * repeated string cidr_ranges = 487901697; diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PacketMirroringOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PacketMirroringOrBuilder.java index b269d63b8a12..498e9e273b1e 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PacketMirroringOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PacketMirroringOrBuilder.java @@ -183,7 +183,7 @@ public interface PacketMirroringOrBuilder * * *
-   * Filter for mirrored traffic. If unspecified, all traffic is mirrored.
+   * Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
    * 
* * optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; @@ -195,7 +195,7 @@ public interface PacketMirroringOrBuilder * * *
-   * Filter for mirrored traffic. If unspecified, all traffic is mirrored.
+   * Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
    * 
* * optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; @@ -207,7 +207,7 @@ public interface PacketMirroringOrBuilder * * *
-   * Filter for mirrored traffic. If unspecified, all traffic is mirrored.
+   * Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
    * 
* * optional .google.cloud.compute.v1.PacketMirroringFilter filter = 336120696; diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchInstanceSettingRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchInstanceSettingRequest.java new file mode 100644 index 000000000000..5d1f86bac37e --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchInstanceSettingRequest.java @@ -0,0 +1,1585 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for InstanceSettingsService.Patch. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.PatchInstanceSettingRequest} + */ +public final class PatchInstanceSettingRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.PatchInstanceSettingRequest) + PatchInstanceSettingRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use PatchInstanceSettingRequest.newBuilder() to construct. + private PatchInstanceSettingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PatchInstanceSettingRequest() { + project_ = ""; + requestId_ = ""; + updateMask_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PatchInstanceSettingRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchInstanceSettingRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchInstanceSettingRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.PatchInstanceSettingRequest.class, + com.google.cloud.compute.v1.PatchInstanceSettingRequest.Builder.class); + } + + private int bitField0_; + public static final int INSTANCE_SETTINGS_RESOURCE_FIELD_NUMBER = 290689920; + private com.google.cloud.compute.v1.InstanceSettings instanceSettingsResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.InstanceSettings instance_settings_resource = 290689920 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the instanceSettingsResource field is set. + */ + @java.lang.Override + public boolean hasInstanceSettingsResource() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.InstanceSettings instance_settings_resource = 290689920 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceSettingsResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.InstanceSettings getInstanceSettingsResource() { + return instanceSettingsResource_ == null + ? com.google.cloud.compute.v1.InstanceSettings.getDefaultInstance() + : instanceSettingsResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.InstanceSettings instance_settings_resource = 290689920 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.InstanceSettingsOrBuilder + getInstanceSettingsResourceOrBuilder() { + return instanceSettingsResource_ == null + ? com.google.cloud.compute.v1.InstanceSettings.getDefaultInstance() + : instanceSettingsResource_; + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestId_ = ""; + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + @java.lang.Override + public boolean hasRequestId() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + @java.lang.Override + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + 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(); + requestId_ = s; + return s; + } + } + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UPDATE_MASK_FIELD_NUMBER = 500079778; + + @SuppressWarnings("serial") + private volatile java.lang.Object updateMask_ = ""; + /** + * + * + *
+   * update_mask indicates fields to be updated as part of this request.
+   * 
+ * + * optional string update_mask = 500079778; + * + * @return Whether the updateMask field is set. + */ + @java.lang.Override + public boolean hasUpdateMask() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * update_mask indicates fields to be updated as part of this request.
+   * 
+ * + * optional string update_mask = 500079778; + * + * @return The updateMask. + */ + @java.lang.Override + public java.lang.String getUpdateMask() { + java.lang.Object ref = updateMask_; + 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(); + updateMask_ = s; + return s; + } + } + /** + * + * + *
+   * update_mask indicates fields to be updated as part of this request.
+   * 
+ * + * optional string update_mask = 500079778; + * + * @return The bytes for updateMask. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUpdateMaskBytes() { + java.lang.Object ref = updateMask_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + updateMask_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * The zone scoping this request. It should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * The zone scoping this request. It should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(290689920, getInstanceSettingsResource()); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 500079778, updateMask_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 290689920, getInstanceSettingsResource()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(500079778, updateMask_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.PatchInstanceSettingRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.PatchInstanceSettingRequest other = + (com.google.cloud.compute.v1.PatchInstanceSettingRequest) obj; + + if (hasInstanceSettingsResource() != other.hasInstanceSettingsResource()) return false; + if (hasInstanceSettingsResource()) { + if (!getInstanceSettingsResource().equals(other.getInstanceSettingsResource())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (hasUpdateMask() != other.hasUpdateMask()) return false; + if (hasUpdateMask()) { + if (!getUpdateMask().equals(other.getUpdateMask())) return false; + } + if (!getZone().equals(other.getZone())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasInstanceSettingsResource()) { + hash = (37 * hash) + INSTANCE_SETTINGS_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getInstanceSettingsResource().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + if (hasUpdateMask()) { + hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; + hash = (53 * hash) + getUpdateMask().hashCode(); + } + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.PatchInstanceSettingRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchInstanceSettingRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.PatchInstanceSettingRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchInstanceSettingRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.PatchInstanceSettingRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchInstanceSettingRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.PatchInstanceSettingRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PatchInstanceSettingRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.PatchInstanceSettingRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PatchInstanceSettingRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.PatchInstanceSettingRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PatchInstanceSettingRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.PatchInstanceSettingRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for InstanceSettingsService.Patch. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.PatchInstanceSettingRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.PatchInstanceSettingRequest) + com.google.cloud.compute.v1.PatchInstanceSettingRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchInstanceSettingRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchInstanceSettingRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.PatchInstanceSettingRequest.class, + com.google.cloud.compute.v1.PatchInstanceSettingRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.PatchInstanceSettingRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getInstanceSettingsResourceFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + instanceSettingsResource_ = null; + if (instanceSettingsResourceBuilder_ != null) { + instanceSettingsResourceBuilder_.dispose(); + instanceSettingsResourceBuilder_ = null; + } + project_ = ""; + requestId_ = ""; + updateMask_ = ""; + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchInstanceSettingRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchInstanceSettingRequest getDefaultInstanceForType() { + return com.google.cloud.compute.v1.PatchInstanceSettingRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchInstanceSettingRequest build() { + com.google.cloud.compute.v1.PatchInstanceSettingRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchInstanceSettingRequest buildPartial() { + com.google.cloud.compute.v1.PatchInstanceSettingRequest result = + new com.google.cloud.compute.v1.PatchInstanceSettingRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.PatchInstanceSettingRequest result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.instanceSettingsResource_ = + instanceSettingsResourceBuilder_ == null + ? instanceSettingsResource_ + : instanceSettingsResourceBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.project_ = project_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.requestId_ = requestId_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.updateMask_ = updateMask_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.zone_ = zone_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.PatchInstanceSettingRequest) { + return mergeFrom((com.google.cloud.compute.v1.PatchInstanceSettingRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.PatchInstanceSettingRequest other) { + if (other == com.google.cloud.compute.v1.PatchInstanceSettingRequest.getDefaultInstance()) + return this; + if (other.hasInstanceSettingsResource()) { + mergeInstanceSettingsResource(other.getInstanceSettingsResource()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasRequestId()) { + requestId_ = other.requestId_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasUpdateMask()) { + updateMask_ = other.updateMask_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 29957474 + case 296879706: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 296879706 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 1820481738 + case -1969447934: + { + input.readMessage( + getInstanceSettingsResourceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case -1969447934 + case -294329070: + { + updateMask_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case -294329070 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.compute.v1.InstanceSettings instanceSettingsResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.InstanceSettings, + com.google.cloud.compute.v1.InstanceSettings.Builder, + com.google.cloud.compute.v1.InstanceSettingsOrBuilder> + instanceSettingsResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.InstanceSettings instance_settings_resource = 290689920 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the instanceSettingsResource field is set. + */ + public boolean hasInstanceSettingsResource() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.InstanceSettings instance_settings_resource = 290689920 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceSettingsResource. + */ + public com.google.cloud.compute.v1.InstanceSettings getInstanceSettingsResource() { + if (instanceSettingsResourceBuilder_ == null) { + return instanceSettingsResource_ == null + ? com.google.cloud.compute.v1.InstanceSettings.getDefaultInstance() + : instanceSettingsResource_; + } else { + return instanceSettingsResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.InstanceSettings instance_settings_resource = 290689920 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setInstanceSettingsResource(com.google.cloud.compute.v1.InstanceSettings value) { + if (instanceSettingsResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + instanceSettingsResource_ = value; + } else { + instanceSettingsResourceBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.InstanceSettings instance_settings_resource = 290689920 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setInstanceSettingsResource( + com.google.cloud.compute.v1.InstanceSettings.Builder builderForValue) { + if (instanceSettingsResourceBuilder_ == null) { + instanceSettingsResource_ = builderForValue.build(); + } else { + instanceSettingsResourceBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.InstanceSettings instance_settings_resource = 290689920 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeInstanceSettingsResource( + com.google.cloud.compute.v1.InstanceSettings value) { + if (instanceSettingsResourceBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && instanceSettingsResource_ != null + && instanceSettingsResource_ + != com.google.cloud.compute.v1.InstanceSettings.getDefaultInstance()) { + getInstanceSettingsResourceBuilder().mergeFrom(value); + } else { + instanceSettingsResource_ = value; + } + } else { + instanceSettingsResourceBuilder_.mergeFrom(value); + } + if (instanceSettingsResource_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.InstanceSettings instance_settings_resource = 290689920 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearInstanceSettingsResource() { + bitField0_ = (bitField0_ & ~0x00000001); + instanceSettingsResource_ = null; + if (instanceSettingsResourceBuilder_ != null) { + instanceSettingsResourceBuilder_.dispose(); + instanceSettingsResourceBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.InstanceSettings instance_settings_resource = 290689920 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.InstanceSettings.Builder + getInstanceSettingsResourceBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getInstanceSettingsResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.InstanceSettings instance_settings_resource = 290689920 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.InstanceSettingsOrBuilder + getInstanceSettingsResourceOrBuilder() { + if (instanceSettingsResourceBuilder_ != null) { + return instanceSettingsResourceBuilder_.getMessageOrBuilder(); + } else { + return instanceSettingsResource_ == null + ? com.google.cloud.compute.v1.InstanceSettings.getDefaultInstance() + : instanceSettingsResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.InstanceSettings instance_settings_resource = 290689920 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.InstanceSettings, + com.google.cloud.compute.v1.InstanceSettings.Builder, + com.google.cloud.compute.v1.InstanceSettingsOrBuilder> + getInstanceSettingsResourceFieldBuilder() { + if (instanceSettingsResourceBuilder_ == null) { + instanceSettingsResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.InstanceSettings, + com.google.cloud.compute.v1.InstanceSettings.Builder, + com.google.cloud.compute.v1.InstanceSettingsOrBuilder>( + getInstanceSettingsResource(), getParentForChildren(), isClean()); + instanceSettingsResource_ = null; + } + return instanceSettingsResourceBuilder_; + } + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object requestId_ = ""; + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + public boolean hasRequestId() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @param value The requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return This builder for chaining. + */ + public Builder clearRequestId() { + requestId_ = getDefaultInstance().getRequestId(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object updateMask_ = ""; + /** + * + * + *
+     * update_mask indicates fields to be updated as part of this request.
+     * 
+ * + * optional string update_mask = 500079778; + * + * @return Whether the updateMask field is set. + */ + public boolean hasUpdateMask() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * update_mask indicates fields to be updated as part of this request.
+     * 
+ * + * optional string update_mask = 500079778; + * + * @return The updateMask. + */ + public java.lang.String getUpdateMask() { + java.lang.Object ref = updateMask_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + updateMask_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * update_mask indicates fields to be updated as part of this request.
+     * 
+ * + * optional string update_mask = 500079778; + * + * @return The bytes for updateMask. + */ + public com.google.protobuf.ByteString getUpdateMaskBytes() { + java.lang.Object ref = updateMask_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + updateMask_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * update_mask indicates fields to be updated as part of this request.
+     * 
+ * + * optional string update_mask = 500079778; + * + * @param value The updateMask to set. + * @return This builder for chaining. + */ + public Builder setUpdateMask(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + updateMask_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * update_mask indicates fields to be updated as part of this request.
+     * 
+ * + * optional string update_mask = 500079778; + * + * @return This builder for chaining. + */ + public Builder clearUpdateMask() { + updateMask_ = getDefaultInstance().getUpdateMask(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * update_mask indicates fields to be updated as part of this request.
+     * 
+ * + * optional string update_mask = 500079778; + * + * @param value The bytes for updateMask to set. + * @return This builder for chaining. + */ + public Builder setUpdateMaskBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + updateMask_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * The zone scoping this request. It should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The zone scoping this request. It should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The zone scoping this request. It should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * The zone scoping this request. It should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * The zone scoping this request. It should conform to RFC1035.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.PatchInstanceSettingRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.PatchInstanceSettingRequest) + private static final com.google.cloud.compute.v1.PatchInstanceSettingRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.PatchInstanceSettingRequest(); + } + + public static com.google.cloud.compute.v1.PatchInstanceSettingRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchInstanceSettingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchInstanceSettingRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchInstanceSettingRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchInstanceSettingRequestOrBuilder.java new file mode 100644 index 000000000000..8dc695c06b49 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchInstanceSettingRequestOrBuilder.java @@ -0,0 +1,199 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface PatchInstanceSettingRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.PatchInstanceSettingRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.InstanceSettings instance_settings_resource = 290689920 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the instanceSettingsResource field is set. + */ + boolean hasInstanceSettingsResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.InstanceSettings instance_settings_resource = 290689920 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The instanceSettingsResource. + */ + com.google.cloud.compute.v1.InstanceSettings getInstanceSettingsResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.InstanceSettings instance_settings_resource = 290689920 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.InstanceSettingsOrBuilder getInstanceSettingsResourceOrBuilder(); + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + boolean hasRequestId(); + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + java.lang.String getRequestId(); + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); + + /** + * + * + *
+   * update_mask indicates fields to be updated as part of this request.
+   * 
+ * + * optional string update_mask = 500079778; + * + * @return Whether the updateMask field is set. + */ + boolean hasUpdateMask(); + /** + * + * + *
+   * update_mask indicates fields to be updated as part of this request.
+   * 
+ * + * optional string update_mask = 500079778; + * + * @return The updateMask. + */ + java.lang.String getUpdateMask(); + /** + * + * + *
+   * update_mask indicates fields to be updated as part of this request.
+   * 
+ * + * optional string update_mask = 500079778; + * + * @return The bytes for updateMask. + */ + com.google.protobuf.ByteString getUpdateMaskBytes(); + + /** + * + * + *
+   * The zone scoping this request. It should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * The zone scoping this request. It should conform to RFC1035.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PathMatcher.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PathMatcher.java index cd913b0702f3..2818480fe54c 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PathMatcher.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PathMatcher.java @@ -74,7 +74,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
+   * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
    * 
* * optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466; @@ -90,7 +90,7 @@ public boolean hasDefaultRouteAction() { * * *
-   * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
+   * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
    * 
* * optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466; @@ -108,7 +108,7 @@ public com.google.cloud.compute.v1.HttpRouteAction getDefaultRouteAction() { * * *
-   * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
+   * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
    * 
* * optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466; @@ -129,7 +129,7 @@ public com.google.cloud.compute.v1.HttpRouteActionOrBuilder getDefaultRouteActio * * *
-   * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
+   * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect or defaultRouteAction.weightedBackendService. Don't set both. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
    * 
* * optional string default_service = 370242231; @@ -144,7 +144,7 @@ public boolean hasDefaultService() { * * *
-   * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
+   * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect or defaultRouteAction.weightedBackendService. Don't set both. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
    * 
* * optional string default_service = 370242231; @@ -167,7 +167,7 @@ public java.lang.String getDefaultService() { * * *
-   * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
+   * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect or defaultRouteAction.weightedBackendService. Don't set both. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
    * 
* * optional string default_service = 370242231; @@ -193,7 +193,7 @@ public com.google.protobuf.ByteString getDefaultServiceBytes() { * * *
-   * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
+   * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, then set either defaultService or defaultRouteAction. Don't set both. Not supported when the URL map is bound to a target gRPC proxy.
    * 
* * optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338; @@ -209,7 +209,7 @@ public boolean hasDefaultUrlRedirect() { * * *
-   * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
+   * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, then set either defaultService or defaultRouteAction. Don't set both. Not supported when the URL map is bound to a target gRPC proxy.
    * 
* * optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338; @@ -227,7 +227,7 @@ public com.google.cloud.compute.v1.HttpRedirectAction getDefaultUrlRedirect() { * * *
-   * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
+   * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, then set either defaultService or defaultRouteAction. Don't set both. Not supported when the URL map is bound to a target gRPC proxy.
    * 
* * optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338; @@ -1245,7 +1245,7 @@ public Builder mergeFrom( * * *
-     * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
+     * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
      * 
* * optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466; @@ -1260,7 +1260,7 @@ public boolean hasDefaultRouteAction() { * * *
-     * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
+     * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
      * 
* * optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466; @@ -1281,7 +1281,7 @@ public com.google.cloud.compute.v1.HttpRouteAction getDefaultRouteAction() { * * *
-     * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
+     * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
      * 
* * optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466; @@ -1304,7 +1304,7 @@ public Builder setDefaultRouteAction(com.google.cloud.compute.v1.HttpRouteAction * * *
-     * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
+     * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
      * 
* * optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466; @@ -1325,7 +1325,7 @@ public Builder setDefaultRouteAction( * * *
-     * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
+     * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
      * 
* * optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466; @@ -1354,7 +1354,7 @@ public Builder mergeDefaultRouteAction(com.google.cloud.compute.v1.HttpRouteActi * * *
-     * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
+     * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
      * 
* * optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466; @@ -1374,7 +1374,7 @@ public Builder clearDefaultRouteAction() { * * *
-     * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
+     * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
      * 
* * optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466; @@ -1389,7 +1389,7 @@ public com.google.cloud.compute.v1.HttpRouteAction.Builder getDefaultRouteAction * * *
-     * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
+     * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
      * 
* * optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466; @@ -1408,7 +1408,7 @@ public com.google.cloud.compute.v1.HttpRouteActionOrBuilder getDefaultRouteActio * * *
-     * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
+     * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
      * 
* * optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466; @@ -1436,7 +1436,7 @@ public com.google.cloud.compute.v1.HttpRouteActionOrBuilder getDefaultRouteActio * * *
-     * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
+     * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect or defaultRouteAction.weightedBackendService. Don't set both. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
      * 
* * optional string default_service = 370242231; @@ -1450,7 +1450,7 @@ public boolean hasDefaultService() { * * *
-     * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
+     * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect or defaultRouteAction.weightedBackendService. Don't set both. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
      * 
* * optional string default_service = 370242231; @@ -1472,7 +1472,7 @@ public java.lang.String getDefaultService() { * * *
-     * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
+     * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect or defaultRouteAction.weightedBackendService. Don't set both. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
      * 
* * optional string default_service = 370242231; @@ -1494,7 +1494,7 @@ public com.google.protobuf.ByteString getDefaultServiceBytes() { * * *
-     * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
+     * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect or defaultRouteAction.weightedBackendService. Don't set both. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
      * 
* * optional string default_service = 370242231; @@ -1515,7 +1515,7 @@ public Builder setDefaultService(java.lang.String value) { * * *
-     * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
+     * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect or defaultRouteAction.weightedBackendService. Don't set both. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
      * 
* * optional string default_service = 370242231; @@ -1532,7 +1532,7 @@ public Builder clearDefaultService() { * * *
-     * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
+     * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect or defaultRouteAction.weightedBackendService. Don't set both. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
      * 
* * optional string default_service = 370242231; @@ -1561,7 +1561,7 @@ public Builder setDefaultServiceBytes(com.google.protobuf.ByteString value) { * * *
-     * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
+     * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, then set either defaultService or defaultRouteAction. Don't set both. Not supported when the URL map is bound to a target gRPC proxy.
      * 
* * optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338; @@ -1576,7 +1576,7 @@ public boolean hasDefaultUrlRedirect() { * * *
-     * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
+     * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, then set either defaultService or defaultRouteAction. Don't set both. Not supported when the URL map is bound to a target gRPC proxy.
      * 
* * optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338; @@ -1597,7 +1597,7 @@ public com.google.cloud.compute.v1.HttpRedirectAction getDefaultUrlRedirect() { * * *
-     * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
+     * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, then set either defaultService or defaultRouteAction. Don't set both. Not supported when the URL map is bound to a target gRPC proxy.
      * 
* * optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338; @@ -1620,7 +1620,7 @@ public Builder setDefaultUrlRedirect(com.google.cloud.compute.v1.HttpRedirectAct * * *
-     * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
+     * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, then set either defaultService or defaultRouteAction. Don't set both. Not supported when the URL map is bound to a target gRPC proxy.
      * 
* * optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338; @@ -1641,7 +1641,7 @@ public Builder setDefaultUrlRedirect( * * *
-     * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
+     * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, then set either defaultService or defaultRouteAction. Don't set both. Not supported when the URL map is bound to a target gRPC proxy.
      * 
* * optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338; @@ -1670,7 +1670,7 @@ public Builder mergeDefaultUrlRedirect(com.google.cloud.compute.v1.HttpRedirectA * * *
-     * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
+     * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, then set either defaultService or defaultRouteAction. Don't set both. Not supported when the URL map is bound to a target gRPC proxy.
      * 
* * optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338; @@ -1690,7 +1690,7 @@ public Builder clearDefaultUrlRedirect() { * * *
-     * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
+     * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, then set either defaultService or defaultRouteAction. Don't set both. Not supported when the URL map is bound to a target gRPC proxy.
      * 
* * optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338; @@ -1705,7 +1705,7 @@ public com.google.cloud.compute.v1.HttpRedirectAction.Builder getDefaultUrlRedir * * *
-     * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
+     * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, then set either defaultService or defaultRouteAction. Don't set both. Not supported when the URL map is bound to a target gRPC proxy.
      * 
* * optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338; @@ -1725,7 +1725,7 @@ public com.google.cloud.compute.v1.HttpRedirectAction.Builder getDefaultUrlRedir * * *
-     * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
+     * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, then set either defaultService or defaultRouteAction. Don't set both. Not supported when the URL map is bound to a target gRPC proxy.
      * 
* * optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338; diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PathMatcherOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PathMatcherOrBuilder.java index 2a0695efdf55..e2d906a08382 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PathMatcherOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PathMatcherOrBuilder.java @@ -28,7 +28,7 @@ public interface PathMatcherOrBuilder * * *
-   * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
+   * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
    * 
* * optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466; @@ -41,7 +41,7 @@ public interface PathMatcherOrBuilder * * *
-   * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
+   * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
    * 
* * optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466; @@ -54,7 +54,7 @@ public interface PathMatcherOrBuilder * * *
-   * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
+   * defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
    * 
* * optional .google.cloud.compute.v1.HttpRouteAction default_route_action = 378919466; @@ -66,7 +66,7 @@ public interface PathMatcherOrBuilder * * *
-   * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
+   * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect or defaultRouteAction.weightedBackendService. Don't set both. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
    * 
* * optional string default_service = 370242231; @@ -78,7 +78,7 @@ public interface PathMatcherOrBuilder * * *
-   * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
+   * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect or defaultRouteAction.weightedBackendService. Don't set both. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
    * 
* * optional string default_service = 370242231; @@ -90,7 +90,7 @@ public interface PathMatcherOrBuilder * * *
-   * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
+   * The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect or defaultRouteAction.weightedBackendService. Don't set both. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use
    * 
* * optional string default_service = 370242231; @@ -103,7 +103,7 @@ public interface PathMatcherOrBuilder * * *
-   * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
+   * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, then set either defaultService or defaultRouteAction. Don't set both. Not supported when the URL map is bound to a target gRPC proxy.
    * 
* * optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338; @@ -116,7 +116,7 @@ public interface PathMatcherOrBuilder * * *
-   * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
+   * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, then set either defaultService or defaultRouteAction. Don't set both. Not supported when the URL map is bound to a target gRPC proxy.
    * 
* * optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338; @@ -129,7 +129,7 @@ public interface PathMatcherOrBuilder * * *
-   * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.
+   * When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, then set either defaultService or defaultRouteAction. Don't set both. Not supported when the URL map is bound to a target gRPC proxy.
    * 
* * optional .google.cloud.compute.v1.HttpRedirectAction default_url_redirect = 359503338; diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PerformMaintenanceNodeGroupRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PerformMaintenanceNodeGroupRequest.java new file mode 100644 index 000000000000..1122a58ea19c --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PerformMaintenanceNodeGroupRequest.java @@ -0,0 +1,1569 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NodeGroups.PerformMaintenance. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest} + */ +public final class PerformMaintenanceNodeGroupRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest) + PerformMaintenanceNodeGroupRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use PerformMaintenanceNodeGroupRequest.newBuilder() to construct. + private PerformMaintenanceNodeGroupRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PerformMaintenanceNodeGroupRequest() { + nodeGroup_ = ""; + project_ = ""; + requestId_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PerformMaintenanceNodeGroupRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PerformMaintenanceNodeGroupRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PerformMaintenanceNodeGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest.class, + com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest.Builder.class); + } + + private int bitField0_; + public static final int NODE_GROUP_FIELD_NUMBER = 469958146; + + @SuppressWarnings("serial") + private volatile java.lang.Object nodeGroup_ = ""; + /** + * + * + *
+   * Name of the node group scoping this request.
+   * 
+ * + * string node_group = 469958146 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The nodeGroup. + */ + @java.lang.Override + public java.lang.String getNodeGroup() { + java.lang.Object ref = nodeGroup_; + 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(); + nodeGroup_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the node group scoping this request.
+   * 
+ * + * string node_group = 469958146 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for nodeGroup. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNodeGroupBytes() { + java.lang.Object ref = nodeGroup_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nodeGroup_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NODE_GROUPS_PERFORM_MAINTENANCE_REQUEST_RESOURCE_FIELD_NUMBER = 185310294; + private com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest + nodeGroupsPerformMaintenanceRequestResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest node_groups_perform_maintenance_request_resource = 185310294 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the nodeGroupsPerformMaintenanceRequestResource field is set. + */ + @java.lang.Override + public boolean hasNodeGroupsPerformMaintenanceRequestResource() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest node_groups_perform_maintenance_request_resource = 185310294 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The nodeGroupsPerformMaintenanceRequestResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest + getNodeGroupsPerformMaintenanceRequestResource() { + return nodeGroupsPerformMaintenanceRequestResource_ == null + ? com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest.getDefaultInstance() + : nodeGroupsPerformMaintenanceRequestResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest node_groups_perform_maintenance_request_resource = 185310294 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequestOrBuilder + getNodeGroupsPerformMaintenanceRequestResourceOrBuilder() { + return nodeGroupsPerformMaintenanceRequestResource_ == null + ? com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest.getDefaultInstance() + : nodeGroupsPerformMaintenanceRequestResource_; + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestId_ = ""; + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + @java.lang.Override + public boolean hasRequestId() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + @java.lang.Override + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + 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(); + requestId_ = s; + return s; + } + } + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 37109963, requestId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(185310294, getNodeGroupsPerformMaintenanceRequestResource()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodeGroup_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 469958146, nodeGroup_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(37109963, requestId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 185310294, getNodeGroupsPerformMaintenanceRequestResource()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodeGroup_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(469958146, nodeGroup_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest other = + (com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest) obj; + + if (!getNodeGroup().equals(other.getNodeGroup())) return false; + if (hasNodeGroupsPerformMaintenanceRequestResource() + != other.hasNodeGroupsPerformMaintenanceRequestResource()) return false; + if (hasNodeGroupsPerformMaintenanceRequestResource()) { + if (!getNodeGroupsPerformMaintenanceRequestResource() + .equals(other.getNodeGroupsPerformMaintenanceRequestResource())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!getZone().equals(other.getZone())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NODE_GROUP_FIELD_NUMBER; + hash = (53 * hash) + getNodeGroup().hashCode(); + if (hasNodeGroupsPerformMaintenanceRequestResource()) { + hash = (37 * hash) + NODE_GROUPS_PERFORM_MAINTENANCE_REQUEST_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getNodeGroupsPerformMaintenanceRequestResource().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for NodeGroups.PerformMaintenance. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest) + com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PerformMaintenanceNodeGroupRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PerformMaintenanceNodeGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest.class, + com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getNodeGroupsPerformMaintenanceRequestResourceFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + nodeGroup_ = ""; + nodeGroupsPerformMaintenanceRequestResource_ = null; + if (nodeGroupsPerformMaintenanceRequestResourceBuilder_ != null) { + nodeGroupsPerformMaintenanceRequestResourceBuilder_.dispose(); + nodeGroupsPerformMaintenanceRequestResourceBuilder_ = null; + } + project_ = ""; + requestId_ = ""; + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PerformMaintenanceNodeGroupRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest build() { + com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest buildPartial() { + com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest result = + new com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.nodeGroup_ = nodeGroup_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nodeGroupsPerformMaintenanceRequestResource_ = + nodeGroupsPerformMaintenanceRequestResourceBuilder_ == null + ? nodeGroupsPerformMaintenanceRequestResource_ + : nodeGroupsPerformMaintenanceRequestResourceBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.project_ = project_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.requestId_ = requestId_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.zone_ = zone_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest) { + return mergeFrom((com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest other) { + if (other + == com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest.getDefaultInstance()) + return this; + if (!other.getNodeGroup().isEmpty()) { + nodeGroup_ = other.nodeGroup_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasNodeGroupsPerformMaintenanceRequestResource()) { + mergeNodeGroupsPerformMaintenanceRequestResource( + other.getNodeGroupsPerformMaintenanceRequestResource()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasRequestId()) { + requestId_ = other.requestId_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 29957474 + case 296879706: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 296879706 + case 1482482354: + { + input.readMessage( + getNodeGroupsPerformMaintenanceRequestResourceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 1482482354 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 1820481738 + case -535302126: + { + nodeGroup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case -535302126 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object nodeGroup_ = ""; + /** + * + * + *
+     * Name of the node group scoping this request.
+     * 
+ * + * string node_group = 469958146 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The nodeGroup. + */ + public java.lang.String getNodeGroup() { + java.lang.Object ref = nodeGroup_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nodeGroup_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the node group scoping this request.
+     * 
+ * + * string node_group = 469958146 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for nodeGroup. + */ + public com.google.protobuf.ByteString getNodeGroupBytes() { + java.lang.Object ref = nodeGroup_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nodeGroup_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the node group scoping this request.
+     * 
+ * + * string node_group = 469958146 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The nodeGroup to set. + * @return This builder for chaining. + */ + public Builder setNodeGroup(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nodeGroup_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the node group scoping this request.
+     * 
+ * + * string node_group = 469958146 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearNodeGroup() { + nodeGroup_ = getDefaultInstance().getNodeGroup(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the node group scoping this request.
+     * 
+ * + * string node_group = 469958146 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for nodeGroup to set. + * @return This builder for chaining. + */ + public Builder setNodeGroupBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeGroup_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest + nodeGroupsPerformMaintenanceRequestResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest, + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest.Builder, + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequestOrBuilder> + nodeGroupsPerformMaintenanceRequestResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest node_groups_perform_maintenance_request_resource = 185310294 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the nodeGroupsPerformMaintenanceRequestResource field is set. + */ + public boolean hasNodeGroupsPerformMaintenanceRequestResource() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest node_groups_perform_maintenance_request_resource = 185310294 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The nodeGroupsPerformMaintenanceRequestResource. + */ + public com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest + getNodeGroupsPerformMaintenanceRequestResource() { + if (nodeGroupsPerformMaintenanceRequestResourceBuilder_ == null) { + return nodeGroupsPerformMaintenanceRequestResource_ == null + ? com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest.getDefaultInstance() + : nodeGroupsPerformMaintenanceRequestResource_; + } else { + return nodeGroupsPerformMaintenanceRequestResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest node_groups_perform_maintenance_request_resource = 185310294 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setNodeGroupsPerformMaintenanceRequestResource( + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest value) { + if (nodeGroupsPerformMaintenanceRequestResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nodeGroupsPerformMaintenanceRequestResource_ = value; + } else { + nodeGroupsPerformMaintenanceRequestResourceBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest node_groups_perform_maintenance_request_resource = 185310294 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setNodeGroupsPerformMaintenanceRequestResource( + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest.Builder builderForValue) { + if (nodeGroupsPerformMaintenanceRequestResourceBuilder_ == null) { + nodeGroupsPerformMaintenanceRequestResource_ = builderForValue.build(); + } else { + nodeGroupsPerformMaintenanceRequestResourceBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest node_groups_perform_maintenance_request_resource = 185310294 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeNodeGroupsPerformMaintenanceRequestResource( + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest value) { + if (nodeGroupsPerformMaintenanceRequestResourceBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && nodeGroupsPerformMaintenanceRequestResource_ != null + && nodeGroupsPerformMaintenanceRequestResource_ + != com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest + .getDefaultInstance()) { + getNodeGroupsPerformMaintenanceRequestResourceBuilder().mergeFrom(value); + } else { + nodeGroupsPerformMaintenanceRequestResource_ = value; + } + } else { + nodeGroupsPerformMaintenanceRequestResourceBuilder_.mergeFrom(value); + } + if (nodeGroupsPerformMaintenanceRequestResource_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest node_groups_perform_maintenance_request_resource = 185310294 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearNodeGroupsPerformMaintenanceRequestResource() { + bitField0_ = (bitField0_ & ~0x00000002); + nodeGroupsPerformMaintenanceRequestResource_ = null; + if (nodeGroupsPerformMaintenanceRequestResourceBuilder_ != null) { + nodeGroupsPerformMaintenanceRequestResourceBuilder_.dispose(); + nodeGroupsPerformMaintenanceRequestResourceBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest node_groups_perform_maintenance_request_resource = 185310294 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest.Builder + getNodeGroupsPerformMaintenanceRequestResourceBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getNodeGroupsPerformMaintenanceRequestResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest node_groups_perform_maintenance_request_resource = 185310294 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequestOrBuilder + getNodeGroupsPerformMaintenanceRequestResourceOrBuilder() { + if (nodeGroupsPerformMaintenanceRequestResourceBuilder_ != null) { + return nodeGroupsPerformMaintenanceRequestResourceBuilder_.getMessageOrBuilder(); + } else { + return nodeGroupsPerformMaintenanceRequestResource_ == null + ? com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest.getDefaultInstance() + : nodeGroupsPerformMaintenanceRequestResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest node_groups_perform_maintenance_request_resource = 185310294 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest, + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest.Builder, + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequestOrBuilder> + getNodeGroupsPerformMaintenanceRequestResourceFieldBuilder() { + if (nodeGroupsPerformMaintenanceRequestResourceBuilder_ == null) { + nodeGroupsPerformMaintenanceRequestResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest, + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest.Builder, + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequestOrBuilder>( + getNodeGroupsPerformMaintenanceRequestResource(), + getParentForChildren(), + isClean()); + nodeGroupsPerformMaintenanceRequestResource_ = null; + } + return nodeGroupsPerformMaintenanceRequestResourceBuilder_; + } + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object requestId_ = ""; + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + public boolean hasRequestId() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @param value The requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return This builder for chaining. + */ + public Builder clearRequestId() { + requestId_ = getDefaultInstance().getRequestId(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest) + private static final com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest(); + } + + public static com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PerformMaintenanceNodeGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PerformMaintenanceNodeGroupRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PerformMaintenanceNodeGroupRequestOrBuilder.java new file mode 100644 index 000000000000..9f33cca72bd4 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PerformMaintenanceNodeGroupRequestOrBuilder.java @@ -0,0 +1,189 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface PerformMaintenanceNodeGroupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the node group scoping this request.
+   * 
+ * + * string node_group = 469958146 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The nodeGroup. + */ + java.lang.String getNodeGroup(); + /** + * + * + *
+   * Name of the node group scoping this request.
+   * 
+ * + * string node_group = 469958146 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for nodeGroup. + */ + com.google.protobuf.ByteString getNodeGroupBytes(); + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest node_groups_perform_maintenance_request_resource = 185310294 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the nodeGroupsPerformMaintenanceRequestResource field is set. + */ + boolean hasNodeGroupsPerformMaintenanceRequestResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest node_groups_perform_maintenance_request_resource = 185310294 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The nodeGroupsPerformMaintenanceRequestResource. + */ + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest + getNodeGroupsPerformMaintenanceRequestResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest node_groups_perform_maintenance_request_resource = 185310294 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequestOrBuilder + getNodeGroupsPerformMaintenanceRequestResourceOrBuilder(); + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + boolean hasRequestId(); + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + java.lang.String getRequestId(); + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); + + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PublicDelegatedPrefix.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PublicDelegatedPrefix.java index 7b8fdbb3b3dc..a42c9c87c5c6 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PublicDelegatedPrefix.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PublicDelegatedPrefix.java @@ -45,6 +45,7 @@ private PublicDelegatedPrefix() { fingerprint_ = ""; ipCidrRange_ = ""; kind_ = ""; + mode_ = ""; name_ = ""; parentPrefix_ = ""; publicDelegatedSubPrefixs_ = java.util.Collections.emptyList(); @@ -235,6 +236,165 @@ private ByoipApiVersion(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.PublicDelegatedPrefix.ByoipApiVersion) } + /** + * + * + *
+   * The public delegated prefix mode for IPv6 only.
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.PublicDelegatedPrefix.Mode} + */ + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MODE = 0; + */ + UNDEFINED_MODE(0), + /** + * + * + *
+     * The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
+     * 
+ * + * DELEGATION = 264149288; + */ + DELEGATION(264149288), + /** + * + * + *
+     * The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
+     * 
+ * + * EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398684356; + */ + EXTERNAL_IPV6_FORWARDING_RULE_CREATION(398684356), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MODE = 0; + */ + public static final int UNDEFINED_MODE_VALUE = 0; + /** + * + * + *
+     * The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
+     * 
+ * + * DELEGATION = 264149288; + */ + public static final int DELEGATION_VALUE = 264149288; + /** + * + * + *
+     * The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
+     * 
+ * + * EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398684356; + */ + public static final int EXTERNAL_IPV6_FORWARDING_RULE_CREATION_VALUE = 398684356; + + 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 Mode 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 Mode forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_MODE; + case 264149288: + return DELEGATION; + case 398684356: + return EXTERNAL_IPV6_FORWARDING_RULE_CREATION; + 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 Mode findValueByNumber(int number) { + return Mode.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.cloud.compute.v1.PublicDelegatedPrefix.getDescriptor() + .getEnumTypes() + .get(1); + } + + private static final Mode[] VALUES = values(); + + public static Mode 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 Mode(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.PublicDelegatedPrefix.Mode) + } + /** * * @@ -458,7 +618,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.compute.v1.PublicDelegatedPrefix.getDescriptor() .getEnumTypes() - .get(1); + .get(2); } private static final Status[] VALUES = values(); @@ -483,6 +643,39 @@ private Status(int value) { } private int bitField0_; + public static final int ALLOCATABLE_PREFIX_LENGTH_FIELD_NUMBER = 38427446; + private int allocatablePrefixLength_ = 0; + /** + * + * + *
+   * The allocatable prefix length supported by this public delegated prefix. This field is optional and cannot be set for prefixes in DELEGATION mode. It cannot be set for IPv4 prefixes either, and it always defaults to 32.
+   * 
+ * + * optional int32 allocatable_prefix_length = 38427446; + * + * @return Whether the allocatablePrefixLength field is set. + */ + @java.lang.Override + public boolean hasAllocatablePrefixLength() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The allocatable prefix length supported by this public delegated prefix. This field is optional and cannot be set for prefixes in DELEGATION mode. It cannot be set for IPv4 prefixes either, and it always defaults to 32.
+   * 
+ * + * optional int32 allocatable_prefix_length = 38427446; + * + * @return The allocatablePrefixLength. + */ + @java.lang.Override + public int getAllocatablePrefixLength() { + return allocatablePrefixLength_; + } + public static final int BYOIP_API_VERSION_FIELD_NUMBER = 162683283; @SuppressWarnings("serial") @@ -501,7 +694,7 @@ private Status(int value) { */ @java.lang.Override public boolean hasByoipApiVersion() { - return ((bitField0_ & 0x00000001) != 0); + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -569,7 +762,7 @@ public com.google.protobuf.ByteString getByoipApiVersionBytes() { */ @java.lang.Override public boolean hasCreationTimestamp() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** * @@ -635,7 +828,7 @@ public com.google.protobuf.ByteString getCreationTimestampBytes() { */ @java.lang.Override public boolean hasDescription() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** * @@ -701,7 +894,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { */ @java.lang.Override public boolean hasFingerprint() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** * @@ -765,7 +958,7 @@ public com.google.protobuf.ByteString getFingerprintBytes() { */ @java.lang.Override public boolean hasId() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** * @@ -800,7 +993,7 @@ public long getId() { */ @java.lang.Override public boolean hasIpCidrRange() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** * @@ -864,7 +1057,7 @@ public com.google.protobuf.ByteString getIpCidrRangeBytes() { */ @java.lang.Override public boolean hasIsLiveMigration() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** * @@ -899,7 +1092,7 @@ public boolean getIsLiveMigration() { */ @java.lang.Override public boolean hasKind() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -948,6 +1141,75 @@ public com.google.protobuf.ByteString getKindBytes() { } } + public static final int MODE_FIELD_NUMBER = 3357091; + + @SuppressWarnings("serial") + private volatile java.lang.Object mode_ = ""; + /** + * + * + *
+   * The public delegated prefix mode for IPv6 only.
+   * Check the Mode enum for the list of possible values.
+   * 
+ * + * optional string mode = 3357091; + * + * @return Whether the mode field is set. + */ + @java.lang.Override + public boolean hasMode() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+   * The public delegated prefix mode for IPv6 only.
+   * Check the Mode enum for the list of possible values.
+   * 
+ * + * optional string mode = 3357091; + * + * @return The mode. + */ + @java.lang.Override + public java.lang.String getMode() { + java.lang.Object ref = mode_; + 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(); + mode_ = s; + return s; + } + } + /** + * + * + *
+   * The public delegated prefix mode for IPv6 only.
+   * Check the Mode enum for the list of possible values.
+   * 
+ * + * optional string mode = 3357091; + * + * @return The bytes for mode. + */ + @java.lang.Override + public com.google.protobuf.ByteString getModeBytes() { + java.lang.Object ref = mode_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + mode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int NAME_FIELD_NUMBER = 3373707; @SuppressWarnings("serial") @@ -965,7 +1227,7 @@ public com.google.protobuf.ByteString getKindBytes() { */ @java.lang.Override public boolean hasName() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** * @@ -1031,7 +1293,7 @@ public com.google.protobuf.ByteString getNameBytes() { */ @java.lang.Override public boolean hasParentPrefix() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** * @@ -1184,7 +1446,7 @@ public int getPublicDelegatedSubPrefixsCount() { */ @java.lang.Override public boolean hasRegion() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** * @@ -1250,7 +1512,7 @@ public com.google.protobuf.ByteString getRegionBytes() { */ @java.lang.Override public boolean hasSelfLink() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * @@ -1317,7 +1579,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { */ @java.lang.Override public boolean hasStatus() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** * @@ -1382,46 +1644,52 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt64(3355, id_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3357091, mode_); + } + if (((bitField0_ & 0x00000400) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15233991, parentPrefix_); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 30525366, creationTimestamp_); } - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt32(38427446, allocatablePrefixLength_); + } + if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 98117322, ipCidrRange_); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); } - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 162683283, byoipApiVersion_); } - if (((bitField0_ & 0x00001000) != 0)) { + if (((bitField0_ & 0x00004000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 181260274, status_); } for (int i = 0; i < publicDelegatedSubPrefixs_.size(); i++) { output.writeMessage(188940044, publicDelegatedSubPrefixs_.get(i)); } - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 234678500, fingerprint_); } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 422937596, description_); } - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00002000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { output.writeBool(511823856, isLiveMigration_); } getUnknownFields().writeTo(output); @@ -1433,32 +1701,40 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream.computeUInt64Size(3355, id_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3357091, mode_); + } + if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15233991, parentPrefix_); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30525366, creationTimestamp_); } - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 38427446, allocatablePrefixLength_); + } + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(98117322, ipCidrRange_); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); } - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(162683283, byoipApiVersion_); } - if (((bitField0_ & 0x00001000) != 0)) { + if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(181260274, status_); } for (int i = 0; i < publicDelegatedSubPrefixs_.size(); i++) { @@ -1466,16 +1742,16 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 188940044, publicDelegatedSubPrefixs_.get(i)); } - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(234678500, fingerprint_); } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(422937596, description_); } - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(511823856, isLiveMigration_); } size += getUnknownFields().getSerializedSize(); @@ -1494,6 +1770,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.compute.v1.PublicDelegatedPrefix other = (com.google.cloud.compute.v1.PublicDelegatedPrefix) obj; + if (hasAllocatablePrefixLength() != other.hasAllocatablePrefixLength()) return false; + if (hasAllocatablePrefixLength()) { + if (getAllocatablePrefixLength() != other.getAllocatablePrefixLength()) return false; + } if (hasByoipApiVersion() != other.hasByoipApiVersion()) return false; if (hasByoipApiVersion()) { if (!getByoipApiVersion().equals(other.getByoipApiVersion())) return false; @@ -1526,6 +1806,10 @@ public boolean equals(final java.lang.Object obj) { if (hasKind()) { if (!getKind().equals(other.getKind())) return false; } + if (hasMode() != other.hasMode()) return false; + if (hasMode()) { + if (!getMode().equals(other.getMode())) return false; + } if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName().equals(other.getName())) return false; @@ -1559,6 +1843,10 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); + if (hasAllocatablePrefixLength()) { + hash = (37 * hash) + ALLOCATABLE_PREFIX_LENGTH_FIELD_NUMBER; + hash = (53 * hash) + getAllocatablePrefixLength(); + } if (hasByoipApiVersion()) { hash = (37 * hash) + BYOIP_API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getByoipApiVersion().hashCode(); @@ -1591,6 +1879,10 @@ public int hashCode() { hash = (37 * hash) + KIND_FIELD_NUMBER; hash = (53 * hash) + getKind().hashCode(); } + if (hasMode()) { + hash = (37 * hash) + MODE_FIELD_NUMBER; + hash = (53 * hash) + getMode().hashCode(); + } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); @@ -1754,6 +2046,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { public Builder clear() { super.clear(); bitField0_ = 0; + allocatablePrefixLength_ = 0; byoipApiVersion_ = ""; creationTimestamp_ = ""; description_ = ""; @@ -1762,6 +2055,7 @@ public Builder clear() { ipCidrRange_ = ""; isLiveMigration_ = false; kind_ = ""; + mode_ = ""; name_ = ""; parentPrefix_ = ""; if (publicDelegatedSubPrefixsBuilder_ == null) { @@ -1770,7 +2064,7 @@ public Builder clear() { publicDelegatedSubPrefixs_ = null; publicDelegatedSubPrefixsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00001000); region_ = ""; selfLink_ = ""; status_ = ""; @@ -1812,10 +2106,10 @@ public com.google.cloud.compute.v1.PublicDelegatedPrefix buildPartial() { private void buildPartialRepeatedFields( com.google.cloud.compute.v1.PublicDelegatedPrefix result) { if (publicDelegatedSubPrefixsBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { publicDelegatedSubPrefixs_ = java.util.Collections.unmodifiableList(publicDelegatedSubPrefixs_); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00001000); } result.publicDelegatedSubPrefixs_ = publicDelegatedSubPrefixs_; } else { @@ -1827,57 +2121,65 @@ private void buildPartial0(com.google.cloud.compute.v1.PublicDelegatedPrefix res int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.byoipApiVersion_ = byoipApiVersion_; + result.allocatablePrefixLength_ = allocatablePrefixLength_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.creationTimestamp_ = creationTimestamp_; + result.byoipApiVersion_ = byoipApiVersion_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.description_ = description_; + result.creationTimestamp_ = creationTimestamp_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.fingerprint_ = fingerprint_; + result.description_ = description_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.id_ = id_; + result.fingerprint_ = fingerprint_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.ipCidrRange_ = ipCidrRange_; + result.id_ = id_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.isLiveMigration_ = isLiveMigration_; + result.ipCidrRange_ = ipCidrRange_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.kind_ = kind_; + result.isLiveMigration_ = isLiveMigration_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.name_ = name_; + result.kind_ = kind_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { - result.parentPrefix_ = parentPrefix_; + result.mode_ = mode_; to_bitField0_ |= 0x00000200; } - if (((from_bitField0_ & 0x00000800) != 0)) { - result.region_ = region_; + if (((from_bitField0_ & 0x00000400) != 0)) { + result.name_ = name_; to_bitField0_ |= 0x00000400; } - if (((from_bitField0_ & 0x00001000) != 0)) { - result.selfLink_ = selfLink_; + if (((from_bitField0_ & 0x00000800) != 0)) { + result.parentPrefix_ = parentPrefix_; to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.status_ = status_; + result.region_ = region_; to_bitField0_ |= 0x00001000; } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.selfLink_ = selfLink_; + to_bitField0_ |= 0x00002000; + } + if (((from_bitField0_ & 0x00008000) != 0)) { + result.status_ = status_; + to_bitField0_ |= 0x00004000; + } result.bitField0_ |= to_bitField0_; } @@ -1927,24 +2229,27 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.compute.v1.PublicDelegatedPrefix other) { if (other == com.google.cloud.compute.v1.PublicDelegatedPrefix.getDefaultInstance()) return this; + if (other.hasAllocatablePrefixLength()) { + setAllocatablePrefixLength(other.getAllocatablePrefixLength()); + } if (other.hasByoipApiVersion()) { byoipApiVersion_ = other.byoipApiVersion_; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); } if (other.hasCreationTimestamp()) { creationTimestamp_ = other.creationTimestamp_; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); } if (other.hasDescription()) { description_ = other.description_; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); } if (other.hasFingerprint()) { fingerprint_ = other.fingerprint_; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); } if (other.hasId()) { @@ -1952,7 +2257,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.PublicDelegatedPrefix other } if (other.hasIpCidrRange()) { ipCidrRange_ = other.ipCidrRange_; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); } if (other.hasIsLiveMigration()) { @@ -1960,24 +2265,29 @@ public Builder mergeFrom(com.google.cloud.compute.v1.PublicDelegatedPrefix other } if (other.hasKind()) { kind_ = other.kind_; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; + onChanged(); + } + if (other.hasMode()) { + mode_ = other.mode_; + bitField0_ |= 0x00000200; onChanged(); } if (other.hasName()) { name_ = other.name_; - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; onChanged(); } if (other.hasParentPrefix()) { parentPrefix_ = other.parentPrefix_; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000800; onChanged(); } if (publicDelegatedSubPrefixsBuilder_ == null) { if (!other.publicDelegatedSubPrefixs_.isEmpty()) { if (publicDelegatedSubPrefixs_.isEmpty()) { publicDelegatedSubPrefixs_ = other.publicDelegatedSubPrefixs_; - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00001000); } else { ensurePublicDelegatedSubPrefixsIsMutable(); publicDelegatedSubPrefixs_.addAll(other.publicDelegatedSubPrefixs_); @@ -1990,7 +2300,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.PublicDelegatedPrefix other publicDelegatedSubPrefixsBuilder_.dispose(); publicDelegatedSubPrefixsBuilder_ = null; publicDelegatedSubPrefixs_ = other.publicDelegatedSubPrefixs_; - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00001000); publicDelegatedSubPrefixsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPublicDelegatedSubPrefixsFieldBuilder() @@ -2002,17 +2312,17 @@ public Builder mergeFrom(com.google.cloud.compute.v1.PublicDelegatedPrefix other } if (other.hasRegion()) { region_ = other.region_; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00002000; onChanged(); } if (other.hasSelfLink()) { selfLink_ = other.selfLink_; - bitField0_ |= 0x00001000; + bitField0_ |= 0x00004000; onChanged(); } if (other.hasStatus()) { status_ = other.status_; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00008000; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -2044,55 +2354,67 @@ public Builder mergeFrom( case 26840: { id_ = input.readUInt64(); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; break; } // case 26840 case 26336418: { kind_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; break; } // case 26336418 + case 26856730: + { + mode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 26856730 case 26989658: { name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; break; } // case 26989658 case 121871930: { parentPrefix_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000800; break; } // case 121871930 case 244202930: { creationTimestamp_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; break; } // case 244202930 + case 307419568: + { + allocatablePrefixLength_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 307419568 case 784938578: { ipCidrRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; break; } // case 784938578 case 1111570338: { region_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00002000; break; } // case 1111570338 case 1301466266: { byoipApiVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; break; } // case 1301466266 case 1450082194: { status_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; + bitField0_ |= 0x00008000; break; } // case 1450082194 case 1511520354: @@ -2113,25 +2435,25 @@ public Builder mergeFrom( case 1877428002: { fingerprint_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; break; } // case 1877428002 case -911466526: { description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; break; } // case -911466526 case -645248918: { selfLink_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; + bitField0_ |= 0x00004000; break; } // case -645248918 case -200376448: { isLiveMigration_ = input.readBool(); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; break; } // case -200376448 default: @@ -2153,6 +2475,74 @@ public Builder mergeFrom( private int bitField0_; + private int allocatablePrefixLength_; + /** + * + * + *
+     * The allocatable prefix length supported by this public delegated prefix. This field is optional and cannot be set for prefixes in DELEGATION mode. It cannot be set for IPv4 prefixes either, and it always defaults to 32.
+     * 
+ * + * optional int32 allocatable_prefix_length = 38427446; + * + * @return Whether the allocatablePrefixLength field is set. + */ + @java.lang.Override + public boolean hasAllocatablePrefixLength() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The allocatable prefix length supported by this public delegated prefix. This field is optional and cannot be set for prefixes in DELEGATION mode. It cannot be set for IPv4 prefixes either, and it always defaults to 32.
+     * 
+ * + * optional int32 allocatable_prefix_length = 38427446; + * + * @return The allocatablePrefixLength. + */ + @java.lang.Override + public int getAllocatablePrefixLength() { + return allocatablePrefixLength_; + } + /** + * + * + *
+     * The allocatable prefix length supported by this public delegated prefix. This field is optional and cannot be set for prefixes in DELEGATION mode. It cannot be set for IPv4 prefixes either, and it always defaults to 32.
+     * 
+ * + * optional int32 allocatable_prefix_length = 38427446; + * + * @param value The allocatablePrefixLength to set. + * @return This builder for chaining. + */ + public Builder setAllocatablePrefixLength(int value) { + + allocatablePrefixLength_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The allocatable prefix length supported by this public delegated prefix. This field is optional and cannot be set for prefixes in DELEGATION mode. It cannot be set for IPv4 prefixes either, and it always defaults to 32.
+     * 
+ * + * optional int32 allocatable_prefix_length = 38427446; + * + * @return This builder for chaining. + */ + public Builder clearAllocatablePrefixLength() { + bitField0_ = (bitField0_ & ~0x00000001); + allocatablePrefixLength_ = 0; + onChanged(); + return this; + } + private java.lang.Object byoipApiVersion_ = ""; /** * @@ -2167,7 +2557,7 @@ public Builder mergeFrom( * @return Whether the byoipApiVersion field is set. */ public boolean hasByoipApiVersion() { - return ((bitField0_ & 0x00000001) != 0); + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -2233,7 +2623,7 @@ public Builder setByoipApiVersion(java.lang.String value) { throw new NullPointerException(); } byoipApiVersion_ = value; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -2251,7 +2641,7 @@ public Builder setByoipApiVersion(java.lang.String value) { */ public Builder clearByoipApiVersion() { byoipApiVersion_ = getDefaultInstance().getByoipApiVersion(); - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -2274,7 +2664,7 @@ public Builder setByoipApiVersionBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); byoipApiVersion_ = value; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -2292,7 +2682,7 @@ public Builder setByoipApiVersionBytes(com.google.protobuf.ByteString value) { * @return Whether the creationTimestamp field is set. */ public boolean hasCreationTimestamp() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** * @@ -2355,7 +2745,7 @@ public Builder setCreationTimestamp(java.lang.String value) { throw new NullPointerException(); } creationTimestamp_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -2372,7 +2762,7 @@ public Builder setCreationTimestamp(java.lang.String value) { */ public Builder clearCreationTimestamp() { creationTimestamp_ = getDefaultInstance().getCreationTimestamp(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -2394,7 +2784,7 @@ public Builder setCreationTimestampBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); creationTimestamp_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -2412,7 +2802,7 @@ public Builder setCreationTimestampBytes(com.google.protobuf.ByteString value) { * @return Whether the description field is set. */ public boolean hasDescription() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** * @@ -2475,7 +2865,7 @@ public Builder setDescription(java.lang.String value) { throw new NullPointerException(); } description_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -2492,7 +2882,7 @@ public Builder setDescription(java.lang.String value) { */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -2514,7 +2904,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); description_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -2532,7 +2922,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * @return Whether the fingerprint field is set. */ public boolean hasFingerprint() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** * @@ -2595,7 +2985,7 @@ public Builder setFingerprint(java.lang.String value) { throw new NullPointerException(); } fingerprint_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -2612,7 +3002,7 @@ public Builder setFingerprint(java.lang.String value) { */ public Builder clearFingerprint() { fingerprint_ = getDefaultInstance().getFingerprint(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } @@ -2634,7 +3024,7 @@ public Builder setFingerprintBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); fingerprint_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -2653,7 +3043,7 @@ public Builder setFingerprintBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasId() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** * @@ -2685,7 +3075,7 @@ public long getId() { public Builder setId(long value) { id_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2701,7 +3091,7 @@ public Builder setId(long value) { * @return This builder for chaining. */ public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); id_ = 0L; onChanged(); return this; @@ -2720,7 +3110,7 @@ public Builder clearId() { * @return Whether the ipCidrRange field is set. */ public boolean hasIpCidrRange() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** * @@ -2783,7 +3173,7 @@ public Builder setIpCidrRange(java.lang.String value) { throw new NullPointerException(); } ipCidrRange_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -2800,7 +3190,7 @@ public Builder setIpCidrRange(java.lang.String value) { */ public Builder clearIpCidrRange() { ipCidrRange_ = getDefaultInstance().getIpCidrRange(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @@ -2822,7 +3212,7 @@ public Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); ipCidrRange_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -2841,7 +3231,7 @@ public Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasIsLiveMigration() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** * @@ -2873,7 +3263,7 @@ public boolean getIsLiveMigration() { public Builder setIsLiveMigration(boolean value) { isLiveMigration_ = value; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -2889,7 +3279,7 @@ public Builder setIsLiveMigration(boolean value) { * @return This builder for chaining. */ public Builder clearIsLiveMigration() { - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); isLiveMigration_ = false; onChanged(); return this; @@ -2908,7 +3298,7 @@ public Builder clearIsLiveMigration() { * @return Whether the kind field is set. */ public boolean hasKind() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -2971,7 +3361,7 @@ public Builder setKind(java.lang.String value) { throw new NullPointerException(); } kind_ = value; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -2988,7 +3378,7 @@ public Builder setKind(java.lang.String value) { */ public Builder clearKind() { kind_ = getDefaultInstance().getKind(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } @@ -3010,7 +3400,133 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); kind_ = value; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + private java.lang.Object mode_ = ""; + /** + * + * + *
+     * The public delegated prefix mode for IPv6 only.
+     * Check the Mode enum for the list of possible values.
+     * 
+ * + * optional string mode = 3357091; + * + * @return Whether the mode field is set. + */ + public boolean hasMode() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+     * The public delegated prefix mode for IPv6 only.
+     * Check the Mode enum for the list of possible values.
+     * 
+ * + * optional string mode = 3357091; + * + * @return The mode. + */ + public java.lang.String getMode() { + java.lang.Object ref = mode_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + mode_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The public delegated prefix mode for IPv6 only.
+     * Check the Mode enum for the list of possible values.
+     * 
+ * + * optional string mode = 3357091; + * + * @return The bytes for mode. + */ + public com.google.protobuf.ByteString getModeBytes() { + java.lang.Object ref = mode_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + mode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The public delegated prefix mode for IPv6 only.
+     * Check the Mode enum for the list of possible values.
+     * 
+ * + * optional string mode = 3357091; + * + * @param value The mode to set. + * @return This builder for chaining. + */ + public Builder setMode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + mode_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * The public delegated prefix mode for IPv6 only.
+     * Check the Mode enum for the list of possible values.
+     * 
+ * + * optional string mode = 3357091; + * + * @return This builder for chaining. + */ + public Builder clearMode() { + mode_ = getDefaultInstance().getMode(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + /** + * + * + *
+     * The public delegated prefix mode for IPv6 only.
+     * Check the Mode enum for the list of possible values.
+     * 
+ * + * optional string mode = 3357091; + * + * @param value The bytes for mode to set. + * @return This builder for chaining. + */ + public Builder setModeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mode_ = value; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -3028,7 +3544,7 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** * @@ -3091,7 +3607,7 @@ public Builder setName(java.lang.String value) { throw new NullPointerException(); } name_ = value; - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -3108,7 +3624,7 @@ public Builder setName(java.lang.String value) { */ public Builder clearName() { name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } @@ -3130,7 +3646,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); name_ = value; - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -3148,7 +3664,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * @return Whether the parentPrefix field is set. */ public boolean hasParentPrefix() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** * @@ -3211,7 +3727,7 @@ public Builder setParentPrefix(java.lang.String value) { throw new NullPointerException(); } parentPrefix_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -3228,7 +3744,7 @@ public Builder setParentPrefix(java.lang.String value) { */ public Builder clearParentPrefix() { parentPrefix_ = getDefaultInstance().getParentPrefix(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000800); onChanged(); return this; } @@ -3250,7 +3766,7 @@ public Builder setParentPrefixBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); parentPrefix_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -3260,12 +3776,12 @@ public Builder setParentPrefixBytes(com.google.protobuf.ByteString value) { publicDelegatedSubPrefixs_ = java.util.Collections.emptyList(); private void ensurePublicDelegatedSubPrefixsIsMutable() { - if (!((bitField0_ & 0x00000400) != 0)) { + if (!((bitField0_ & 0x00001000) != 0)) { publicDelegatedSubPrefixs_ = new java.util.ArrayList< com.google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix>( publicDelegatedSubPrefixs_); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00001000; } } @@ -3517,7 +4033,7 @@ public Builder addAllPublicDelegatedSubPrefixs( public Builder clearPublicDelegatedSubPrefixs() { if (publicDelegatedSubPrefixsBuilder_ == null) { publicDelegatedSubPrefixs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00001000); onChanged(); } else { publicDelegatedSubPrefixsBuilder_.clear(); @@ -3666,7 +4182,7 @@ public Builder removePublicDelegatedSubPrefixs(int index) { com.google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder, com.google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefixOrBuilder>( publicDelegatedSubPrefixs_, - ((bitField0_ & 0x00000400) != 0), + ((bitField0_ & 0x00001000) != 0), getParentForChildren(), isClean()); publicDelegatedSubPrefixs_ = null; @@ -3687,7 +4203,7 @@ public Builder removePublicDelegatedSubPrefixs(int index) { * @return Whether the region field is set. */ public boolean hasRegion() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * @@ -3750,7 +4266,7 @@ public Builder setRegion(java.lang.String value) { throw new NullPointerException(); } region_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -3767,7 +4283,7 @@ public Builder setRegion(java.lang.String value) { */ public Builder clearRegion() { region_ = getDefaultInstance().getRegion(); - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } @@ -3789,7 +4305,7 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); region_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -3807,7 +4323,7 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * @return Whether the selfLink field is set. */ public boolean hasSelfLink() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** * @@ -3870,7 +4386,7 @@ public Builder setSelfLink(java.lang.String value) { throw new NullPointerException(); } selfLink_ = value; - bitField0_ |= 0x00001000; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -3887,7 +4403,7 @@ public Builder setSelfLink(java.lang.String value) { */ public Builder clearSelfLink() { selfLink_ = getDefaultInstance().getSelfLink(); - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00004000); onChanged(); return this; } @@ -3909,7 +4425,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); selfLink_ = value; - bitField0_ |= 0x00001000; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -3928,7 +4444,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * @return Whether the status field is set. */ public boolean hasStatus() { - return ((bitField0_ & 0x00002000) != 0); + return ((bitField0_ & 0x00008000) != 0); } /** * @@ -3994,7 +4510,7 @@ public Builder setStatus(java.lang.String value) { throw new NullPointerException(); } status_ = value; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -4012,7 +4528,7 @@ public Builder setStatus(java.lang.String value) { */ public Builder clearStatus() { status_ = getDefaultInstance().getStatus(); - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00008000); onChanged(); return this; } @@ -4035,7 +4551,7 @@ public Builder setStatusBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); status_ = value; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00008000; onChanged(); return this; } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PublicDelegatedPrefixOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PublicDelegatedPrefixOrBuilder.java index 7aaa07f18b1d..87833b97a01d 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PublicDelegatedPrefixOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PublicDelegatedPrefixOrBuilder.java @@ -24,6 +24,31 @@ public interface PublicDelegatedPrefixOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.PublicDelegatedPrefix) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The allocatable prefix length supported by this public delegated prefix. This field is optional and cannot be set for prefixes in DELEGATION mode. It cannot be set for IPv4 prefixes either, and it always defaults to 32.
+   * 
+ * + * optional int32 allocatable_prefix_length = 38427446; + * + * @return Whether the allocatablePrefixLength field is set. + */ + boolean hasAllocatablePrefixLength(); + /** + * + * + *
+   * The allocatable prefix length supported by this public delegated prefix. This field is optional and cannot be set for prefixes in DELEGATION mode. It cannot be set for IPv4 prefixes either, and it always defaults to 32.
+   * 
+ * + * optional int32 allocatable_prefix_length = 38427446; + * + * @return The allocatablePrefixLength. + */ + int getAllocatablePrefixLength(); + /** * * @@ -299,6 +324,46 @@ public interface PublicDelegatedPrefixOrBuilder */ com.google.protobuf.ByteString getKindBytes(); + /** + * + * + *
+   * The public delegated prefix mode for IPv6 only.
+   * Check the Mode enum for the list of possible values.
+   * 
+ * + * optional string mode = 3357091; + * + * @return Whether the mode field is set. + */ + boolean hasMode(); + /** + * + * + *
+   * The public delegated prefix mode for IPv6 only.
+   * Check the Mode enum for the list of possible values.
+   * 
+ * + * optional string mode = 3357091; + * + * @return The mode. + */ + java.lang.String getMode(); + /** + * + * + *
+   * The public delegated prefix mode for IPv6 only.
+   * Check the Mode enum for the list of possible values.
+   * 
+ * + * optional string mode = 3357091; + * + * @return The bytes for mode. + */ + com.google.protobuf.ByteString getModeBytes(); + /** * * diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PublicDelegatedPrefixPublicDelegatedSubPrefix.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PublicDelegatedPrefixPublicDelegatedSubPrefix.java index 44f7e71bc8a7..0674486e70b6 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PublicDelegatedPrefixPublicDelegatedSubPrefix.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PublicDelegatedPrefixPublicDelegatedSubPrefix.java @@ -44,6 +44,7 @@ private PublicDelegatedPrefixPublicDelegatedSubPrefix() { delegateeProject_ = ""; description_ = ""; ipCidrRange_ = ""; + mode_ = ""; name_ = ""; region_ = ""; status_ = ""; @@ -71,6 +72,167 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .class); } + /** + * + * + *
+   * The PublicDelegatedSubPrefix mode for IPv6 only.
+   * 
+ * + * Protobuf enum {@code + * google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix.Mode} + */ + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MODE = 0; + */ + UNDEFINED_MODE(0), + /** + * + * + *
+     * The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
+     * 
+ * + * DELEGATION = 264149288; + */ + DELEGATION(264149288), + /** + * + * + *
+     * The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
+     * 
+ * + * EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398684356; + */ + EXTERNAL_IPV6_FORWARDING_RULE_CREATION(398684356), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MODE = 0; + */ + public static final int UNDEFINED_MODE_VALUE = 0; + /** + * + * + *
+     * The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
+     * 
+ * + * DELEGATION = 264149288; + */ + public static final int DELEGATION_VALUE = 264149288; + /** + * + * + *
+     * The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
+     * 
+ * + * EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398684356; + */ + public static final int EXTERNAL_IPV6_FORWARDING_RULE_CREATION_VALUE = 398684356; + + 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 Mode 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 Mode forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_MODE; + case 264149288: + return DELEGATION; + case 398684356: + return EXTERNAL_IPV6_FORWARDING_RULE_CREATION; + 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 Mode findValueByNumber(int number) { + return Mode.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.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix + .getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Mode[] VALUES = values(); + + public static Mode 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 Mode(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix.Mode) + } + /** * * @@ -176,7 +338,7 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor return com.google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix .getDescriptor() .getEnumTypes() - .get(0); + .get(1); } private static final Status[] VALUES = values(); @@ -201,6 +363,39 @@ private Status(int value) { } private int bitField0_; + public static final int ALLOCATABLE_PREFIX_LENGTH_FIELD_NUMBER = 38427446; + private int allocatablePrefixLength_ = 0; + /** + * + * + *
+   * The allocatable prefix length supported by this PublicDelegatedSubPrefix.
+   * 
+ * + * optional int32 allocatable_prefix_length = 38427446; + * + * @return Whether the allocatablePrefixLength field is set. + */ + @java.lang.Override + public boolean hasAllocatablePrefixLength() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The allocatable prefix length supported by this PublicDelegatedSubPrefix.
+   * 
+ * + * optional int32 allocatable_prefix_length = 38427446; + * + * @return The allocatablePrefixLength. + */ + @java.lang.Override + public int getAllocatablePrefixLength() { + return allocatablePrefixLength_; + } + public static final int DELEGATEE_PROJECT_FIELD_NUMBER = 414860634; @SuppressWarnings("serial") @@ -218,7 +413,7 @@ private Status(int value) { */ @java.lang.Override public boolean hasDelegateeProject() { - return ((bitField0_ & 0x00000001) != 0); + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -284,7 +479,7 @@ public com.google.protobuf.ByteString getDelegateeProjectBytes() { */ @java.lang.Override public boolean hasDescription() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** * @@ -350,7 +545,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { */ @java.lang.Override public boolean hasIpCidrRange() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** * @@ -414,7 +609,7 @@ public com.google.protobuf.ByteString getIpCidrRangeBytes() { */ @java.lang.Override public boolean hasIsAddress() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** * @@ -432,6 +627,75 @@ public boolean getIsAddress() { return isAddress_; } + public static final int MODE_FIELD_NUMBER = 3357091; + + @SuppressWarnings("serial") + private volatile java.lang.Object mode_ = ""; + /** + * + * + *
+   * The PublicDelegatedSubPrefix mode for IPv6 only.
+   * Check the Mode enum for the list of possible values.
+   * 
+ * + * optional string mode = 3357091; + * + * @return Whether the mode field is set. + */ + @java.lang.Override + public boolean hasMode() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+   * The PublicDelegatedSubPrefix mode for IPv6 only.
+   * Check the Mode enum for the list of possible values.
+   * 
+ * + * optional string mode = 3357091; + * + * @return The mode. + */ + @java.lang.Override + public java.lang.String getMode() { + java.lang.Object ref = mode_; + 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(); + mode_ = s; + return s; + } + } + /** + * + * + *
+   * The PublicDelegatedSubPrefix mode for IPv6 only.
+   * Check the Mode enum for the list of possible values.
+   * 
+ * + * optional string mode = 3357091; + * + * @return The bytes for mode. + */ + @java.lang.Override + public com.google.protobuf.ByteString getModeBytes() { + java.lang.Object ref = mode_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + mode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int NAME_FIELD_NUMBER = 3373707; @SuppressWarnings("serial") @@ -449,7 +713,7 @@ public boolean getIsAddress() { */ @java.lang.Override public boolean hasName() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** * @@ -515,7 +779,7 @@ public com.google.protobuf.ByteString getNameBytes() { */ @java.lang.Override public boolean hasRegion() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** * @@ -582,7 +846,7 @@ public com.google.protobuf.ByteString getRegionBytes() { */ @java.lang.Override public boolean hasStatus() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -647,25 +911,31 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3357091, mode_); + } + if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt32(38427446, allocatablePrefixLength_); + } + if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 98117322, ipCidrRange_); } - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 181260274, status_); } - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { output.writeBool(352617951, isAddress_); } - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 414860634, delegateeProject_); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 422937596, description_); } getUnknownFields().writeTo(output); @@ -677,26 +947,34 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3357091, mode_); + } + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 38427446, allocatablePrefixLength_); + } + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(98117322, ipCidrRange_); } - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(181260274, status_); } - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(352617951, isAddress_); } - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(414860634, delegateeProject_); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(422937596, description_); } size += getUnknownFields().getSerializedSize(); @@ -716,6 +994,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix other = (com.google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix) obj; + if (hasAllocatablePrefixLength() != other.hasAllocatablePrefixLength()) return false; + if (hasAllocatablePrefixLength()) { + if (getAllocatablePrefixLength() != other.getAllocatablePrefixLength()) return false; + } if (hasDelegateeProject() != other.hasDelegateeProject()) return false; if (hasDelegateeProject()) { if (!getDelegateeProject().equals(other.getDelegateeProject())) return false; @@ -732,6 +1014,10 @@ public boolean equals(final java.lang.Object obj) { if (hasIsAddress()) { if (getIsAddress() != other.getIsAddress()) return false; } + if (hasMode() != other.hasMode()) return false; + if (hasMode()) { + if (!getMode().equals(other.getMode())) return false; + } if (hasName() != other.hasName()) return false; if (hasName()) { if (!getName().equals(other.getName())) return false; @@ -755,6 +1041,10 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); + if (hasAllocatablePrefixLength()) { + hash = (37 * hash) + ALLOCATABLE_PREFIX_LENGTH_FIELD_NUMBER; + hash = (53 * hash) + getAllocatablePrefixLength(); + } if (hasDelegateeProject()) { hash = (37 * hash) + DELEGATEE_PROJECT_FIELD_NUMBER; hash = (53 * hash) + getDelegateeProject().hashCode(); @@ -771,6 +1061,10 @@ public int hashCode() { hash = (37 * hash) + IS_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsAddress()); } + if (hasMode()) { + hash = (37 * hash) + MODE_FIELD_NUMBER; + hash = (53 * hash) + getMode().hashCode(); + } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); @@ -926,10 +1220,12 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { public Builder clear() { super.clear(); bitField0_ = 0; + allocatablePrefixLength_ = 0; delegateeProject_ = ""; description_ = ""; ipCidrRange_ = ""; isAddress_ = false; + mode_ = ""; name_ = ""; region_ = ""; status_ = ""; @@ -976,33 +1272,41 @@ private void buildPartial0( int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.delegateeProject_ = delegateeProject_; + result.allocatablePrefixLength_ = allocatablePrefixLength_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.description_ = description_; + result.delegateeProject_ = delegateeProject_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.ipCidrRange_ = ipCidrRange_; + result.description_ = description_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.isAddress_ = isAddress_; + result.ipCidrRange_ = ipCidrRange_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.name_ = name_; + result.isAddress_ = isAddress_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.region_ = region_; + result.mode_ = mode_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.status_ = status_; + result.name_ = name_; to_bitField0_ |= 0x00000040; } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.region_ = region_; + to_bitField0_ |= 0x00000080; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.status_ = status_; + to_bitField0_ |= 0x00000100; + } result.bitField0_ |= to_bitField0_; } @@ -1056,37 +1360,45 @@ public Builder mergeFrom( if (other == com.google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix .getDefaultInstance()) return this; + if (other.hasAllocatablePrefixLength()) { + setAllocatablePrefixLength(other.getAllocatablePrefixLength()); + } if (other.hasDelegateeProject()) { delegateeProject_ = other.delegateeProject_; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); } if (other.hasDescription()) { description_ = other.description_; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); } if (other.hasIpCidrRange()) { ipCidrRange_ = other.ipCidrRange_; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); } if (other.hasIsAddress()) { setIsAddress(other.getIsAddress()); } + if (other.hasMode()) { + mode_ = other.mode_; + bitField0_ |= 0x00000020; + onChanged(); + } if (other.hasName()) { name_ = other.name_; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); } if (other.hasRegion()) { region_ = other.region_; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); } if (other.hasStatus()) { status_ = other.status_; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -1115,46 +1427,58 @@ public Builder mergeFrom( case 0: done = true; break; + case 26856730: + { + mode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 26856730 case 26989658: { name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; break; } // case 26989658 + case 307419568: + { + allocatablePrefixLength_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 307419568 case 784938578: { ipCidrRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; break; } // case 784938578 case 1111570338: { region_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; break; } // case 1111570338 case 1450082194: { status_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; break; } // case 1450082194 case -1474023688: { isAddress_ = input.readBool(); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; break; } // case -1474023688 case -976082222: { delegateeProject_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; break; } // case -976082222 case -911466526: { description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; break; } // case -911466526 default: @@ -1176,6 +1500,74 @@ public Builder mergeFrom( private int bitField0_; + private int allocatablePrefixLength_; + /** + * + * + *
+     * The allocatable prefix length supported by this PublicDelegatedSubPrefix.
+     * 
+ * + * optional int32 allocatable_prefix_length = 38427446; + * + * @return Whether the allocatablePrefixLength field is set. + */ + @java.lang.Override + public boolean hasAllocatablePrefixLength() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The allocatable prefix length supported by this PublicDelegatedSubPrefix.
+     * 
+ * + * optional int32 allocatable_prefix_length = 38427446; + * + * @return The allocatablePrefixLength. + */ + @java.lang.Override + public int getAllocatablePrefixLength() { + return allocatablePrefixLength_; + } + /** + * + * + *
+     * The allocatable prefix length supported by this PublicDelegatedSubPrefix.
+     * 
+ * + * optional int32 allocatable_prefix_length = 38427446; + * + * @param value The allocatablePrefixLength to set. + * @return This builder for chaining. + */ + public Builder setAllocatablePrefixLength(int value) { + + allocatablePrefixLength_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The allocatable prefix length supported by this PublicDelegatedSubPrefix.
+     * 
+ * + * optional int32 allocatable_prefix_length = 38427446; + * + * @return This builder for chaining. + */ + public Builder clearAllocatablePrefixLength() { + bitField0_ = (bitField0_ & ~0x00000001); + allocatablePrefixLength_ = 0; + onChanged(); + return this; + } + private java.lang.Object delegateeProject_ = ""; /** * @@ -1189,7 +1581,7 @@ public Builder mergeFrom( * @return Whether the delegateeProject field is set. */ public boolean hasDelegateeProject() { - return ((bitField0_ & 0x00000001) != 0); + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -1252,7 +1644,7 @@ public Builder setDelegateeProject(java.lang.String value) { throw new NullPointerException(); } delegateeProject_ = value; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1269,7 +1661,7 @@ public Builder setDelegateeProject(java.lang.String value) { */ public Builder clearDelegateeProject() { delegateeProject_ = getDefaultInstance().getDelegateeProject(); - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -1291,7 +1683,7 @@ public Builder setDelegateeProjectBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); delegateeProject_ = value; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1309,7 +1701,7 @@ public Builder setDelegateeProjectBytes(com.google.protobuf.ByteString value) { * @return Whether the description field is set. */ public boolean hasDescription() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** * @@ -1372,7 +1764,7 @@ public Builder setDescription(java.lang.String value) { throw new NullPointerException(); } description_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -1389,7 +1781,7 @@ public Builder setDescription(java.lang.String value) { */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -1411,7 +1803,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); description_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -1429,7 +1821,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * @return Whether the ipCidrRange field is set. */ public boolean hasIpCidrRange() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** * @@ -1492,7 +1884,7 @@ public Builder setIpCidrRange(java.lang.String value) { throw new NullPointerException(); } ipCidrRange_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1509,7 +1901,7 @@ public Builder setIpCidrRange(java.lang.String value) { */ public Builder clearIpCidrRange() { ipCidrRange_ = getDefaultInstance().getIpCidrRange(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -1531,7 +1923,7 @@ public Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); ipCidrRange_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1550,7 +1942,7 @@ public Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasIsAddress() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** * @@ -1582,7 +1974,7 @@ public boolean getIsAddress() { public Builder setIsAddress(boolean value) { isAddress_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -1598,12 +1990,138 @@ public Builder setIsAddress(boolean value) { * @return This builder for chaining. */ public Builder clearIsAddress() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); isAddress_ = false; onChanged(); return this; } + private java.lang.Object mode_ = ""; + /** + * + * + *
+     * The PublicDelegatedSubPrefix mode for IPv6 only.
+     * Check the Mode enum for the list of possible values.
+     * 
+ * + * optional string mode = 3357091; + * + * @return Whether the mode field is set. + */ + public boolean hasMode() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * The PublicDelegatedSubPrefix mode for IPv6 only.
+     * Check the Mode enum for the list of possible values.
+     * 
+ * + * optional string mode = 3357091; + * + * @return The mode. + */ + public java.lang.String getMode() { + java.lang.Object ref = mode_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + mode_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The PublicDelegatedSubPrefix mode for IPv6 only.
+     * Check the Mode enum for the list of possible values.
+     * 
+ * + * optional string mode = 3357091; + * + * @return The bytes for mode. + */ + public com.google.protobuf.ByteString getModeBytes() { + java.lang.Object ref = mode_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + mode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The PublicDelegatedSubPrefix mode for IPv6 only.
+     * Check the Mode enum for the list of possible values.
+     * 
+ * + * optional string mode = 3357091; + * + * @param value The mode to set. + * @return This builder for chaining. + */ + public Builder setMode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + mode_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * The PublicDelegatedSubPrefix mode for IPv6 only.
+     * Check the Mode enum for the list of possible values.
+     * 
+ * + * optional string mode = 3357091; + * + * @return This builder for chaining. + */ + public Builder clearMode() { + mode_ = getDefaultInstance().getMode(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * + * + *
+     * The PublicDelegatedSubPrefix mode for IPv6 only.
+     * Check the Mode enum for the list of possible values.
+     * 
+ * + * optional string mode = 3357091; + * + * @param value The bytes for mode to set. + * @return This builder for chaining. + */ + public Builder setModeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mode_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + private java.lang.Object name_ = ""; /** * @@ -1617,7 +2135,7 @@ public Builder clearIsAddress() { * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** * @@ -1680,7 +2198,7 @@ public Builder setName(java.lang.String value) { throw new NullPointerException(); } name_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -1697,7 +2215,7 @@ public Builder setName(java.lang.String value) { */ public Builder clearName() { name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @@ -1719,7 +2237,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); name_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -1737,7 +2255,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * @return Whether the region field is set. */ public boolean hasRegion() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** * @@ -1800,7 +2318,7 @@ public Builder setRegion(java.lang.String value) { throw new NullPointerException(); } region_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -1817,7 +2335,7 @@ public Builder setRegion(java.lang.String value) { */ public Builder clearRegion() { region_ = getDefaultInstance().getRegion(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } @@ -1839,7 +2357,7 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); region_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -1858,7 +2376,7 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * @return Whether the status field is set. */ public boolean hasStatus() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -1924,7 +2442,7 @@ public Builder setStatus(java.lang.String value) { throw new NullPointerException(); } status_ = value; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -1942,7 +2460,7 @@ public Builder setStatus(java.lang.String value) { */ public Builder clearStatus() { status_ = getDefaultInstance().getStatus(); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } @@ -1965,7 +2483,7 @@ public Builder setStatusBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); status_ = value; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; onChanged(); return this; } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PublicDelegatedPrefixPublicDelegatedSubPrefixOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PublicDelegatedPrefixPublicDelegatedSubPrefixOrBuilder.java index 791c1f47c379..221dca4b1b10 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PublicDelegatedPrefixPublicDelegatedSubPrefixOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PublicDelegatedPrefixPublicDelegatedSubPrefixOrBuilder.java @@ -24,6 +24,31 @@ public interface PublicDelegatedPrefixPublicDelegatedSubPrefixOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The allocatable prefix length supported by this PublicDelegatedSubPrefix.
+   * 
+ * + * optional int32 allocatable_prefix_length = 38427446; + * + * @return Whether the allocatablePrefixLength field is set. + */ + boolean hasAllocatablePrefixLength(); + /** + * + * + *
+   * The allocatable prefix length supported by this PublicDelegatedSubPrefix.
+   * 
+ * + * optional int32 allocatable_prefix_length = 38427446; + * + * @return The allocatablePrefixLength. + */ + int getAllocatablePrefixLength(); + /** * * @@ -160,6 +185,46 @@ public interface PublicDelegatedPrefixPublicDelegatedSubPrefixOrBuilder */ boolean getIsAddress(); + /** + * + * + *
+   * The PublicDelegatedSubPrefix mode for IPv6 only.
+   * Check the Mode enum for the list of possible values.
+   * 
+ * + * optional string mode = 3357091; + * + * @return Whether the mode field is set. + */ + boolean hasMode(); + /** + * + * + *
+   * The PublicDelegatedSubPrefix mode for IPv6 only.
+   * Check the Mode enum for the list of possible values.
+   * 
+ * + * optional string mode = 3357091; + * + * @return The mode. + */ + java.lang.String getMode(); + /** + * + * + *
+   * The PublicDelegatedSubPrefix mode for IPv6 only.
+   * Check the Mode enum for the list of possible values.
+   * 
+ * + * optional string mode = 3357091; + * + * @return The bytes for mode. + */ + com.google.protobuf.ByteString getModeBytes(); + /** * * diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Quota.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Quota.java index 32b1b417c93d..58c5afb5af76 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Quota.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Quota.java @@ -194,6 +194,12 @@ public enum Metric implements com.google.protobuf.ProtocolMessageEnum { GLOBAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES(323514196), /** GPUS_ALL_REGIONS = 39387177; */ GPUS_ALL_REGIONS(39387177), + /** HDB_TOTAL_GB = 319316271; */ + HDB_TOTAL_GB(319316271), + /** HDB_TOTAL_IOPS = 309720317; */ + HDB_TOTAL_IOPS(309720317), + /** HDB_TOTAL_THROUGHPUT = 20981374; */ + HDB_TOTAL_THROUGHPUT(20981374), /** HEALTH_CHECKS = 289347502; */ HEALTH_CHECKS(289347502), /** IMAGES = 15562360; */ @@ -340,6 +346,8 @@ public enum Metric implements com.google.protobuf.ProtocolMessageEnum { REGIONAL_INTERNAL_LB_BACKEND_SERVICES(137983760), /** REGIONAL_INTERNAL_MANAGED_BACKEND_SERVICES = 96282539; */ REGIONAL_INTERNAL_MANAGED_BACKEND_SERVICES(96282539), + /** REGIONAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES = 483162968; */ + REGIONAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES(483162968), /** RESERVATIONS = 32644647; */ RESERVATIONS(32644647), /** RESOURCE_POLICIES = 83955297; */ @@ -376,6 +384,8 @@ public enum Metric implements com.google.protobuf.ProtocolMessageEnum { SSD_TOTAL_GB(161732561), /** SSL_CERTIFICATES = 378372399; */ SSL_CERTIFICATES(378372399), + /** SSL_POLICIES = 523254339; */ + SSL_POLICIES(523254339), /** STATIC_ADDRESSES = 93624049; */ STATIC_ADDRESSES(93624049), /** STATIC_BYOIP_ADDRESSES = 275809649; */ @@ -539,6 +549,12 @@ public enum Metric implements com.google.protobuf.ProtocolMessageEnum { public static final int GLOBAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES_VALUE = 323514196; /** GPUS_ALL_REGIONS = 39387177; */ public static final int GPUS_ALL_REGIONS_VALUE = 39387177; + /** HDB_TOTAL_GB = 319316271; */ + public static final int HDB_TOTAL_GB_VALUE = 319316271; + /** HDB_TOTAL_IOPS = 309720317; */ + public static final int HDB_TOTAL_IOPS_VALUE = 309720317; + /** HDB_TOTAL_THROUGHPUT = 20981374; */ + public static final int HDB_TOTAL_THROUGHPUT_VALUE = 20981374; /** HEALTH_CHECKS = 289347502; */ public static final int HEALTH_CHECKS_VALUE = 289347502; /** IMAGES = 15562360; */ @@ -686,6 +702,8 @@ public enum Metric implements com.google.protobuf.ProtocolMessageEnum { public static final int REGIONAL_INTERNAL_LB_BACKEND_SERVICES_VALUE = 137983760; /** REGIONAL_INTERNAL_MANAGED_BACKEND_SERVICES = 96282539; */ public static final int REGIONAL_INTERNAL_MANAGED_BACKEND_SERVICES_VALUE = 96282539; + /** REGIONAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES = 483162968; */ + public static final int REGIONAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES_VALUE = 483162968; /** RESERVATIONS = 32644647; */ public static final int RESERVATIONS_VALUE = 32644647; /** RESOURCE_POLICIES = 83955297; */ @@ -722,6 +740,8 @@ public enum Metric implements com.google.protobuf.ProtocolMessageEnum { public static final int SSD_TOTAL_GB_VALUE = 161732561; /** SSL_CERTIFICATES = 378372399; */ public static final int SSL_CERTIFICATES_VALUE = 378372399; + /** SSL_POLICIES = 523254339; */ + public static final int SSL_POLICIES_VALUE = 523254339; /** STATIC_ADDRESSES = 93624049; */ public static final int STATIC_ADDRESSES_VALUE = 93624049; /** STATIC_BYOIP_ADDRESSES = 275809649; */ @@ -891,6 +911,12 @@ public static Metric forNumber(int value) { return GLOBAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES; case 39387177: return GPUS_ALL_REGIONS; + case 319316271: + return HDB_TOTAL_GB; + case 309720317: + return HDB_TOTAL_IOPS; + case 20981374: + return HDB_TOTAL_THROUGHPUT; case 289347502: return HEALTH_CHECKS; case 15562360: @@ -1037,6 +1063,8 @@ public static Metric forNumber(int value) { return REGIONAL_INTERNAL_LB_BACKEND_SERVICES; case 96282539: return REGIONAL_INTERNAL_MANAGED_BACKEND_SERVICES; + case 483162968: + return REGIONAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES; case 32644647: return RESERVATIONS; case 83955297: @@ -1065,6 +1093,8 @@ public static Metric forNumber(int value) { return SSD_TOTAL_GB; case 378372399: return SSL_CERTIFICATES; + case 523254339: + return SSL_POLICIES; case 93624049: return STATIC_ADDRESSES; case 275809649: diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/QuotaStatusWarning.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/QuotaStatusWarning.java new file mode 100644 index 000000000000..b93532cd0ca1 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/QuotaStatusWarning.java @@ -0,0 +1,2105 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.QuotaStatusWarning} + */ +public final class QuotaStatusWarning extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.QuotaStatusWarning) + QuotaStatusWarningOrBuilder { + private static final long serialVersionUID = 0L; + // Use QuotaStatusWarning.newBuilder() to construct. + private QuotaStatusWarning(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private QuotaStatusWarning() { + code_ = ""; + data_ = java.util.Collections.emptyList(); + message_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new QuotaStatusWarning(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_QuotaStatusWarning_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_QuotaStatusWarning_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.QuotaStatusWarning.class, + com.google.cloud.compute.v1.QuotaStatusWarning.Builder.class); + } + + /** + * + * + *
+   * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.QuotaStatusWarning.Code} + */ + public enum Code implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_CODE = 0; + */ + UNDEFINED_CODE(0), + /** + * + * + *
+     * Warning about failed cleanup of transient changes made by a failed operation.
+     * 
+ * + * CLEANUP_FAILED = 150308440; + */ + CLEANUP_FAILED(150308440), + /** + * + * + *
+     * A link to a deprecated resource was created.
+     * 
+ * + * DEPRECATED_RESOURCE_USED = 391835586; + */ + DEPRECATED_RESOURCE_USED(391835586), + /** + * + * + *
+     * When deploying and at least one of the resources has a type marked as deprecated
+     * 
+ * + * DEPRECATED_TYPE_USED = 346526230; + */ + DEPRECATED_TYPE_USED(346526230), + /** + * + * + *
+     * The user created a boot disk that is larger than image size.
+     * 
+ * + * DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967; + */ + DISK_SIZE_LARGER_THAN_IMAGE_SIZE(369442967), + /** + * + * + *
+     * When deploying and at least one of the resources has a type marked as experimental
+     * 
+ * + * EXPERIMENTAL_TYPE_USED = 451954443; + */ + EXPERIMENTAL_TYPE_USED(451954443), + /** + * + * + *
+     * Warning that is present in an external api call
+     * 
+ * + * EXTERNAL_API_WARNING = 175546307; + */ + EXTERNAL_API_WARNING(175546307), + /** + * + * + *
+     * Warning that value of a field has been overridden. Deprecated unused field.
+     * 
+ * + * FIELD_VALUE_OVERRIDEN = 329669423; + */ + FIELD_VALUE_OVERRIDEN(329669423), + /** + * + * + *
+     * The operation involved use of an injected kernel, which is deprecated.
+     * 
+ * + * INJECTED_KERNELS_DEPRECATED = 417377419; + */ + INJECTED_KERNELS_DEPRECATED(417377419), + /** + * + * + *
+     * A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.
+     * 
+ * + * INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB = 401542606; + */ + INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB(401542606), + /** + * + * + *
+     * When deploying a deployment with a exceedingly large number of resources
+     * 
+ * + * LARGE_DEPLOYMENT_WARNING = 481440678; + */ + LARGE_DEPLOYMENT_WARNING(481440678), + /** + * + * + *
+     * Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.
+     * 
+ * + * LIST_OVERHEAD_QUOTA_EXCEED = 47618117; + */ + LIST_OVERHEAD_QUOTA_EXCEED(47618117), + /** + * + * + *
+     * A resource depends on a missing type
+     * 
+ * + * MISSING_TYPE_DEPENDENCY = 344505463; + */ + MISSING_TYPE_DEPENDENCY(344505463), + /** + * + * + *
+     * The route's nextHopIp address is not assigned to an instance on the network.
+     * 
+ * + * NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999; + */ + NEXT_HOP_ADDRESS_NOT_ASSIGNED(324964999), + /** + * + * + *
+     * The route's next hop instance cannot ip forward.
+     * 
+ * + * NEXT_HOP_CANNOT_IP_FORWARD = 383382887; + */ + NEXT_HOP_CANNOT_IP_FORWARD(383382887), + /** + * + * + *
+     * The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.
+     * 
+ * + * NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE = 146748434; + */ + NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE(146748434), + /** + * + * + *
+     * The route's nextHopInstance URL refers to an instance that does not exist.
+     * 
+ * + * NEXT_HOP_INSTANCE_NOT_FOUND = 464250446; + */ + NEXT_HOP_INSTANCE_NOT_FOUND(464250446), + /** + * + * + *
+     * The route's nextHopInstance URL refers to an instance that is not on the same network as the route.
+     * 
+ * + * NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146; + */ + NEXT_HOP_INSTANCE_NOT_ON_NETWORK(243758146), + /** + * + * + *
+     * The route's next hop instance does not have a status of RUNNING.
+     * 
+ * + * NEXT_HOP_NOT_RUNNING = 417081265; + */ + NEXT_HOP_NOT_RUNNING(417081265), + /** + * + * + *
+     * Error which is not critical. We decided to continue the process despite the mentioned error.
+     * 
+ * + * NOT_CRITICAL_ERROR = 105763924; + */ + NOT_CRITICAL_ERROR(105763924), + /** + * + * + *
+     * No results are present on a particular list page.
+     * 
+ * + * NO_RESULTS_ON_PAGE = 30036744; + */ + NO_RESULTS_ON_PAGE(30036744), + /** + * + * + *
+     * Success is reported, but some results may be missing due to errors
+     * 
+ * + * PARTIAL_SUCCESS = 39966469; + */ + PARTIAL_SUCCESS(39966469), + /** + * + * + *
+     * The user attempted to use a resource that requires a TOS they have not accepted.
+     * 
+ * + * REQUIRED_TOS_AGREEMENT = 3745539; + */ + REQUIRED_TOS_AGREEMENT(3745539), + /** + * + * + *
+     * Warning that a resource is in use.
+     * 
+ * + * RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641; + */ + RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING(496728641), + /** + * + * + *
+     * One or more of the resources set to auto-delete could not be deleted because they were in use.
+     * 
+ * + * RESOURCE_NOT_DELETED = 168598460; + */ + RESOURCE_NOT_DELETED(168598460), + /** + * + * + *
+     * When a resource schema validation is ignored.
+     * 
+ * + * SCHEMA_VALIDATION_IGNORED = 275245642; + */ + SCHEMA_VALIDATION_IGNORED(275245642), + /** + * + * + *
+     * Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.
+     * 
+ * + * SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617; + */ + SINGLE_INSTANCE_PROPERTY_TEMPLATE(268305617), + /** + * + * + *
+     * When undeclared properties in the schema are present
+     * 
+ * + * UNDECLARED_PROPERTIES = 390513439; + */ + UNDECLARED_PROPERTIES(390513439), + /** + * + * + *
+     * A given scope cannot be reached.
+     * 
+ * + * UNREACHABLE = 13328052; + */ + UNREACHABLE(13328052), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_CODE = 0; + */ + public static final int UNDEFINED_CODE_VALUE = 0; + /** + * + * + *
+     * Warning about failed cleanup of transient changes made by a failed operation.
+     * 
+ * + * CLEANUP_FAILED = 150308440; + */ + public static final int CLEANUP_FAILED_VALUE = 150308440; + /** + * + * + *
+     * A link to a deprecated resource was created.
+     * 
+ * + * DEPRECATED_RESOURCE_USED = 391835586; + */ + public static final int DEPRECATED_RESOURCE_USED_VALUE = 391835586; + /** + * + * + *
+     * When deploying and at least one of the resources has a type marked as deprecated
+     * 
+ * + * DEPRECATED_TYPE_USED = 346526230; + */ + public static final int DEPRECATED_TYPE_USED_VALUE = 346526230; + /** + * + * + *
+     * The user created a boot disk that is larger than image size.
+     * 
+ * + * DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967; + */ + public static final int DISK_SIZE_LARGER_THAN_IMAGE_SIZE_VALUE = 369442967; + /** + * + * + *
+     * When deploying and at least one of the resources has a type marked as experimental
+     * 
+ * + * EXPERIMENTAL_TYPE_USED = 451954443; + */ + public static final int EXPERIMENTAL_TYPE_USED_VALUE = 451954443; + /** + * + * + *
+     * Warning that is present in an external api call
+     * 
+ * + * EXTERNAL_API_WARNING = 175546307; + */ + public static final int EXTERNAL_API_WARNING_VALUE = 175546307; + /** + * + * + *
+     * Warning that value of a field has been overridden. Deprecated unused field.
+     * 
+ * + * FIELD_VALUE_OVERRIDEN = 329669423; + */ + public static final int FIELD_VALUE_OVERRIDEN_VALUE = 329669423; + /** + * + * + *
+     * The operation involved use of an injected kernel, which is deprecated.
+     * 
+ * + * INJECTED_KERNELS_DEPRECATED = 417377419; + */ + public static final int INJECTED_KERNELS_DEPRECATED_VALUE = 417377419; + /** + * + * + *
+     * A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.
+     * 
+ * + * INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB = 401542606; + */ + public static final int INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB_VALUE = 401542606; + /** + * + * + *
+     * When deploying a deployment with a exceedingly large number of resources
+     * 
+ * + * LARGE_DEPLOYMENT_WARNING = 481440678; + */ + public static final int LARGE_DEPLOYMENT_WARNING_VALUE = 481440678; + /** + * + * + *
+     * Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.
+     * 
+ * + * LIST_OVERHEAD_QUOTA_EXCEED = 47618117; + */ + public static final int LIST_OVERHEAD_QUOTA_EXCEED_VALUE = 47618117; + /** + * + * + *
+     * A resource depends on a missing type
+     * 
+ * + * MISSING_TYPE_DEPENDENCY = 344505463; + */ + public static final int MISSING_TYPE_DEPENDENCY_VALUE = 344505463; + /** + * + * + *
+     * The route's nextHopIp address is not assigned to an instance on the network.
+     * 
+ * + * NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999; + */ + public static final int NEXT_HOP_ADDRESS_NOT_ASSIGNED_VALUE = 324964999; + /** + * + * + *
+     * The route's next hop instance cannot ip forward.
+     * 
+ * + * NEXT_HOP_CANNOT_IP_FORWARD = 383382887; + */ + public static final int NEXT_HOP_CANNOT_IP_FORWARD_VALUE = 383382887; + /** + * + * + *
+     * The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.
+     * 
+ * + * NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE = 146748434; + */ + public static final int NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE_VALUE = 146748434; + /** + * + * + *
+     * The route's nextHopInstance URL refers to an instance that does not exist.
+     * 
+ * + * NEXT_HOP_INSTANCE_NOT_FOUND = 464250446; + */ + public static final int NEXT_HOP_INSTANCE_NOT_FOUND_VALUE = 464250446; + /** + * + * + *
+     * The route's nextHopInstance URL refers to an instance that is not on the same network as the route.
+     * 
+ * + * NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146; + */ + public static final int NEXT_HOP_INSTANCE_NOT_ON_NETWORK_VALUE = 243758146; + /** + * + * + *
+     * The route's next hop instance does not have a status of RUNNING.
+     * 
+ * + * NEXT_HOP_NOT_RUNNING = 417081265; + */ + public static final int NEXT_HOP_NOT_RUNNING_VALUE = 417081265; + /** + * + * + *
+     * Error which is not critical. We decided to continue the process despite the mentioned error.
+     * 
+ * + * NOT_CRITICAL_ERROR = 105763924; + */ + public static final int NOT_CRITICAL_ERROR_VALUE = 105763924; + /** + * + * + *
+     * No results are present on a particular list page.
+     * 
+ * + * NO_RESULTS_ON_PAGE = 30036744; + */ + public static final int NO_RESULTS_ON_PAGE_VALUE = 30036744; + /** + * + * + *
+     * Success is reported, but some results may be missing due to errors
+     * 
+ * + * PARTIAL_SUCCESS = 39966469; + */ + public static final int PARTIAL_SUCCESS_VALUE = 39966469; + /** + * + * + *
+     * The user attempted to use a resource that requires a TOS they have not accepted.
+     * 
+ * + * REQUIRED_TOS_AGREEMENT = 3745539; + */ + public static final int REQUIRED_TOS_AGREEMENT_VALUE = 3745539; + /** + * + * + *
+     * Warning that a resource is in use.
+     * 
+ * + * RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641; + */ + public static final int RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING_VALUE = 496728641; + /** + * + * + *
+     * One or more of the resources set to auto-delete could not be deleted because they were in use.
+     * 
+ * + * RESOURCE_NOT_DELETED = 168598460; + */ + public static final int RESOURCE_NOT_DELETED_VALUE = 168598460; + /** + * + * + *
+     * When a resource schema validation is ignored.
+     * 
+ * + * SCHEMA_VALIDATION_IGNORED = 275245642; + */ + public static final int SCHEMA_VALIDATION_IGNORED_VALUE = 275245642; + /** + * + * + *
+     * Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.
+     * 
+ * + * SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617; + */ + public static final int SINGLE_INSTANCE_PROPERTY_TEMPLATE_VALUE = 268305617; + /** + * + * + *
+     * When undeclared properties in the schema are present
+     * 
+ * + * UNDECLARED_PROPERTIES = 390513439; + */ + public static final int UNDECLARED_PROPERTIES_VALUE = 390513439; + /** + * + * + *
+     * A given scope cannot be reached.
+     * 
+ * + * UNREACHABLE = 13328052; + */ + public static final int UNREACHABLE_VALUE = 13328052; + + 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 Code 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 Code forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_CODE; + case 150308440: + return CLEANUP_FAILED; + case 391835586: + return DEPRECATED_RESOURCE_USED; + case 346526230: + return DEPRECATED_TYPE_USED; + case 369442967: + return DISK_SIZE_LARGER_THAN_IMAGE_SIZE; + case 451954443: + return EXPERIMENTAL_TYPE_USED; + case 175546307: + return EXTERNAL_API_WARNING; + case 329669423: + return FIELD_VALUE_OVERRIDEN; + case 417377419: + return INJECTED_KERNELS_DEPRECATED; + case 401542606: + return INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB; + case 481440678: + return LARGE_DEPLOYMENT_WARNING; + case 47618117: + return LIST_OVERHEAD_QUOTA_EXCEED; + case 344505463: + return MISSING_TYPE_DEPENDENCY; + case 324964999: + return NEXT_HOP_ADDRESS_NOT_ASSIGNED; + case 383382887: + return NEXT_HOP_CANNOT_IP_FORWARD; + case 146748434: + return NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE; + case 464250446: + return NEXT_HOP_INSTANCE_NOT_FOUND; + case 243758146: + return NEXT_HOP_INSTANCE_NOT_ON_NETWORK; + case 417081265: + return NEXT_HOP_NOT_RUNNING; + case 105763924: + return NOT_CRITICAL_ERROR; + case 30036744: + return NO_RESULTS_ON_PAGE; + case 39966469: + return PARTIAL_SUCCESS; + case 3745539: + return REQUIRED_TOS_AGREEMENT; + case 496728641: + return RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING; + case 168598460: + return RESOURCE_NOT_DELETED; + case 275245642: + return SCHEMA_VALIDATION_IGNORED; + case 268305617: + return SINGLE_INSTANCE_PROPERTY_TEMPLATE; + case 390513439: + return UNDECLARED_PROPERTIES; + case 13328052: + return UNREACHABLE; + 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 Code findValueByNumber(int number) { + return Code.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.cloud.compute.v1.QuotaStatusWarning.getDescriptor().getEnumTypes().get(0); + } + + private static final Code[] VALUES = values(); + + public static Code 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 Code(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.QuotaStatusWarning.Code) + } + + private int bitField0_; + public static final int CODE_FIELD_NUMBER = 3059181; + + @SuppressWarnings("serial") + private volatile java.lang.Object code_ = ""; + /** + * + * + *
+   * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
+   * Check the Code enum for the list of possible values.
+   * 
+ * + * optional string code = 3059181; + * + * @return Whether the code field is set. + */ + @java.lang.Override + public boolean hasCode() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
+   * Check the Code enum for the list of possible values.
+   * 
+ * + * optional string code = 3059181; + * + * @return The code. + */ + @java.lang.Override + public java.lang.String getCode() { + java.lang.Object ref = code_; + 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(); + code_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
+   * Check the Code enum for the list of possible values.
+   * 
+ * + * optional string code = 3059181; + * + * @return The bytes for code. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCodeBytes() { + java.lang.Object ref = code_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + code_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DATA_FIELD_NUMBER = 3076010; + + @SuppressWarnings("serial") + private java.util.List data_; + /** + * + * + *
+   * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+   * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + @java.lang.Override + public java.util.List getDataList() { + return data_; + } + /** + * + * + *
+   * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+   * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + @java.lang.Override + public java.util.List + getDataOrBuilderList() { + return data_; + } + /** + * + * + *
+   * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+   * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + @java.lang.Override + public int getDataCount() { + return data_.size(); + } + /** + * + * + *
+   * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+   * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + @java.lang.Override + public com.google.cloud.compute.v1.Data getData(int index) { + return data_.get(index); + } + /** + * + * + *
+   * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+   * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + @java.lang.Override + public com.google.cloud.compute.v1.DataOrBuilder getDataOrBuilder(int index) { + return data_.get(index); + } + + public static final int MESSAGE_FIELD_NUMBER = 418054151; + + @SuppressWarnings("serial") + private volatile java.lang.Object message_ = ""; + /** + * + * + *
+   * [Output Only] A human-readable description of the warning code.
+   * 
+ * + * optional string message = 418054151; + * + * @return Whether the message field is set. + */ + @java.lang.Override + public boolean hasMessage() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * [Output Only] A human-readable description of the warning code.
+   * 
+ * + * optional string message = 418054151; + * + * @return The message. + */ + @java.lang.Override + public java.lang.String getMessage() { + java.lang.Object ref = message_; + 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(); + message_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] A human-readable description of the warning code.
+   * 
+ * + * optional string message = 418054151; + * + * @return The bytes for message. + */ + @java.lang.Override + public com.google.protobuf.ByteString getMessageBytes() { + java.lang.Object ref = message_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + message_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3059181, code_); + } + for (int i = 0; i < data_.size(); i++) { + output.writeMessage(3076010, data_.get(i)); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 418054151, message_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3059181, code_); + } + for (int i = 0; i < data_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3076010, data_.get(i)); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(418054151, message_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.QuotaStatusWarning)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.QuotaStatusWarning other = + (com.google.cloud.compute.v1.QuotaStatusWarning) obj; + + if (hasCode() != other.hasCode()) return false; + if (hasCode()) { + if (!getCode().equals(other.getCode())) return false; + } + if (!getDataList().equals(other.getDataList())) return false; + if (hasMessage() != other.hasMessage()) return false; + if (hasMessage()) { + if (!getMessage().equals(other.getMessage())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasCode()) { + hash = (37 * hash) + CODE_FIELD_NUMBER; + hash = (53 * hash) + getCode().hashCode(); + } + if (getDataCount() > 0) { + hash = (37 * hash) + DATA_FIELD_NUMBER; + hash = (53 * hash) + getDataList().hashCode(); + } + if (hasMessage()) { + hash = (37 * hash) + MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getMessage().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.QuotaStatusWarning parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.QuotaStatusWarning parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.QuotaStatusWarning parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.QuotaStatusWarning parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.QuotaStatusWarning parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.QuotaStatusWarning parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.QuotaStatusWarning parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.QuotaStatusWarning parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.QuotaStatusWarning parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.QuotaStatusWarning parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.QuotaStatusWarning parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.QuotaStatusWarning parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.compute.v1.QuotaStatusWarning prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.QuotaStatusWarning} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.QuotaStatusWarning) + com.google.cloud.compute.v1.QuotaStatusWarningOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_QuotaStatusWarning_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_QuotaStatusWarning_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.QuotaStatusWarning.class, + com.google.cloud.compute.v1.QuotaStatusWarning.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.QuotaStatusWarning.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + code_ = ""; + if (dataBuilder_ == null) { + data_ = java.util.Collections.emptyList(); + } else { + data_ = null; + dataBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + message_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_QuotaStatusWarning_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.QuotaStatusWarning getDefaultInstanceForType() { + return com.google.cloud.compute.v1.QuotaStatusWarning.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.QuotaStatusWarning build() { + com.google.cloud.compute.v1.QuotaStatusWarning result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.QuotaStatusWarning buildPartial() { + com.google.cloud.compute.v1.QuotaStatusWarning result = + new com.google.cloud.compute.v1.QuotaStatusWarning(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.cloud.compute.v1.QuotaStatusWarning result) { + if (dataBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + data_ = java.util.Collections.unmodifiableList(data_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.data_ = data_; + } else { + result.data_ = dataBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.compute.v1.QuotaStatusWarning result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.code_ = code_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.message_ = message_; + to_bitField0_ |= 0x00000002; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.QuotaStatusWarning) { + return mergeFrom((com.google.cloud.compute.v1.QuotaStatusWarning) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.QuotaStatusWarning other) { + if (other == com.google.cloud.compute.v1.QuotaStatusWarning.getDefaultInstance()) return this; + if (other.hasCode()) { + code_ = other.code_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (dataBuilder_ == null) { + if (!other.data_.isEmpty()) { + if (data_.isEmpty()) { + data_ = other.data_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureDataIsMutable(); + data_.addAll(other.data_); + } + onChanged(); + } + } else { + if (!other.data_.isEmpty()) { + if (dataBuilder_.isEmpty()) { + dataBuilder_.dispose(); + dataBuilder_ = null; + data_ = other.data_; + bitField0_ = (bitField0_ & ~0x00000002); + dataBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDataFieldBuilder() + : null; + } else { + dataBuilder_.addAllMessages(other.data_); + } + } + } + if (other.hasMessage()) { + message_ = other.message_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 24473450: + { + code_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 24473450 + case 24608082: + { + com.google.cloud.compute.v1.Data m = + input.readMessage(com.google.cloud.compute.v1.Data.parser(), extensionRegistry); + if (dataBuilder_ == null) { + ensureDataIsMutable(); + data_.add(m); + } else { + dataBuilder_.addMessage(m); + } + break; + } // case 24608082 + case -950534086: + { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case -950534086 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object code_ = ""; + /** + * + * + *
+     * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
+     * Check the Code enum for the list of possible values.
+     * 
+ * + * optional string code = 3059181; + * + * @return Whether the code field is set. + */ + public boolean hasCode() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
+     * Check the Code enum for the list of possible values.
+     * 
+ * + * optional string code = 3059181; + * + * @return The code. + */ + public java.lang.String getCode() { + java.lang.Object ref = code_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + code_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
+     * Check the Code enum for the list of possible values.
+     * 
+ * + * optional string code = 3059181; + * + * @return The bytes for code. + */ + public com.google.protobuf.ByteString getCodeBytes() { + java.lang.Object ref = code_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + code_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
+     * Check the Code enum for the list of possible values.
+     * 
+ * + * optional string code = 3059181; + * + * @param value The code to set. + * @return This builder for chaining. + */ + public Builder setCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + code_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
+     * Check the Code enum for the list of possible values.
+     * 
+ * + * optional string code = 3059181; + * + * @return This builder for chaining. + */ + public Builder clearCode() { + code_ = getDefaultInstance().getCode(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
+     * Check the Code enum for the list of possible values.
+     * 
+ * + * optional string code = 3059181; + * + * @param value The bytes for code to set. + * @return This builder for chaining. + */ + public Builder setCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + code_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.util.List data_ = + java.util.Collections.emptyList(); + + private void ensureDataIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + data_ = new java.util.ArrayList(data_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.Data, + com.google.cloud.compute.v1.Data.Builder, + com.google.cloud.compute.v1.DataOrBuilder> + dataBuilder_; + + /** + * + * + *
+     * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+     * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + public java.util.List getDataList() { + if (dataBuilder_ == null) { + return java.util.Collections.unmodifiableList(data_); + } else { + return dataBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+     * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + public int getDataCount() { + if (dataBuilder_ == null) { + return data_.size(); + } else { + return dataBuilder_.getCount(); + } + } + /** + * + * + *
+     * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+     * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + public com.google.cloud.compute.v1.Data getData(int index) { + if (dataBuilder_ == null) { + return data_.get(index); + } else { + return dataBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+     * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + public Builder setData(int index, com.google.cloud.compute.v1.Data value) { + if (dataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDataIsMutable(); + data_.set(index, value); + onChanged(); + } else { + dataBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+     * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + public Builder setData(int index, com.google.cloud.compute.v1.Data.Builder builderForValue) { + if (dataBuilder_ == null) { + ensureDataIsMutable(); + data_.set(index, builderForValue.build()); + onChanged(); + } else { + dataBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+     * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + public Builder addData(com.google.cloud.compute.v1.Data value) { + if (dataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDataIsMutable(); + data_.add(value); + onChanged(); + } else { + dataBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+     * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + public Builder addData(int index, com.google.cloud.compute.v1.Data value) { + if (dataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDataIsMutable(); + data_.add(index, value); + onChanged(); + } else { + dataBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+     * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + public Builder addData(com.google.cloud.compute.v1.Data.Builder builderForValue) { + if (dataBuilder_ == null) { + ensureDataIsMutable(); + data_.add(builderForValue.build()); + onChanged(); + } else { + dataBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+     * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + public Builder addData(int index, com.google.cloud.compute.v1.Data.Builder builderForValue) { + if (dataBuilder_ == null) { + ensureDataIsMutable(); + data_.add(index, builderForValue.build()); + onChanged(); + } else { + dataBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+     * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + public Builder addAllData( + java.lang.Iterable values) { + if (dataBuilder_ == null) { + ensureDataIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, data_); + onChanged(); + } else { + dataBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+     * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + public Builder clearData() { + if (dataBuilder_ == null) { + data_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + dataBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+     * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + public Builder removeData(int index) { + if (dataBuilder_ == null) { + ensureDataIsMutable(); + data_.remove(index); + onChanged(); + } else { + dataBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+     * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + public com.google.cloud.compute.v1.Data.Builder getDataBuilder(int index) { + return getDataFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+     * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + public com.google.cloud.compute.v1.DataOrBuilder getDataOrBuilder(int index) { + if (dataBuilder_ == null) { + return data_.get(index); + } else { + return dataBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+     * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + public java.util.List + getDataOrBuilderList() { + if (dataBuilder_ != null) { + return dataBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(data_); + } + } + /** + * + * + *
+     * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+     * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + public com.google.cloud.compute.v1.Data.Builder addDataBuilder() { + return getDataFieldBuilder() + .addBuilder(com.google.cloud.compute.v1.Data.getDefaultInstance()); + } + /** + * + * + *
+     * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+     * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + public com.google.cloud.compute.v1.Data.Builder addDataBuilder(int index) { + return getDataFieldBuilder() + .addBuilder(index, com.google.cloud.compute.v1.Data.getDefaultInstance()); + } + /** + * + * + *
+     * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+     * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + public java.util.List getDataBuilderList() { + return getDataFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.Data, + com.google.cloud.compute.v1.Data.Builder, + com.google.cloud.compute.v1.DataOrBuilder> + getDataFieldBuilder() { + if (dataBuilder_ == null) { + dataBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.Data, + com.google.cloud.compute.v1.Data.Builder, + com.google.cloud.compute.v1.DataOrBuilder>( + data_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + data_ = null; + } + return dataBuilder_; + } + + private java.lang.Object message_ = ""; + /** + * + * + *
+     * [Output Only] A human-readable description of the warning code.
+     * 
+ * + * optional string message = 418054151; + * + * @return Whether the message field is set. + */ + public boolean hasMessage() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * [Output Only] A human-readable description of the warning code.
+     * 
+ * + * optional string message = 418054151; + * + * @return The message. + */ + public java.lang.String getMessage() { + java.lang.Object ref = message_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + message_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] A human-readable description of the warning code.
+     * 
+ * + * optional string message = 418054151; + * + * @return The bytes for message. + */ + public com.google.protobuf.ByteString getMessageBytes() { + java.lang.Object ref = message_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + message_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] A human-readable description of the warning code.
+     * 
+ * + * optional string message = 418054151; + * + * @param value The message to set. + * @return This builder for chaining. + */ + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + message_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] A human-readable description of the warning code.
+     * 
+ * + * optional string message = 418054151; + * + * @return This builder for chaining. + */ + public Builder clearMessage() { + message_ = getDefaultInstance().getMessage(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] A human-readable description of the warning code.
+     * 
+ * + * optional string message = 418054151; + * + * @param value The bytes for message to set. + * @return This builder for chaining. + */ + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + message_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.QuotaStatusWarning) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.QuotaStatusWarning) + private static final com.google.cloud.compute.v1.QuotaStatusWarning DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.QuotaStatusWarning(); + } + + public static com.google.cloud.compute.v1.QuotaStatusWarning getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuotaStatusWarning parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.QuotaStatusWarning getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/QuotaStatusWarningOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/QuotaStatusWarningOrBuilder.java new file mode 100644 index 000000000000..363be614c6fb --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/QuotaStatusWarningOrBuilder.java @@ -0,0 +1,154 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface QuotaStatusWarningOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.QuotaStatusWarning) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
+   * Check the Code enum for the list of possible values.
+   * 
+ * + * optional string code = 3059181; + * + * @return Whether the code field is set. + */ + boolean hasCode(); + /** + * + * + *
+   * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
+   * Check the Code enum for the list of possible values.
+   * 
+ * + * optional string code = 3059181; + * + * @return The code. + */ + java.lang.String getCode(); + /** + * + * + *
+   * [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
+   * Check the Code enum for the list of possible values.
+   * 
+ * + * optional string code = 3059181; + * + * @return The bytes for code. + */ + com.google.protobuf.ByteString getCodeBytes(); + + /** + * + * + *
+   * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+   * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + java.util.List getDataList(); + /** + * + * + *
+   * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+   * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + com.google.cloud.compute.v1.Data getData(int index); + /** + * + * + *
+   * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+   * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + int getDataCount(); + /** + * + * + *
+   * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+   * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + java.util.List getDataOrBuilderList(); + /** + * + * + *
+   * [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
+   * 
+ * + * repeated .google.cloud.compute.v1.Data data = 3076010; + */ + com.google.cloud.compute.v1.DataOrBuilder getDataOrBuilder(int index); + + /** + * + * + *
+   * [Output Only] A human-readable description of the warning code.
+   * 
+ * + * optional string message = 418054151; + * + * @return Whether the message field is set. + */ + boolean hasMessage(); + /** + * + * + *
+   * [Output Only] A human-readable description of the warning code.
+   * 
+ * + * optional string message = 418054151; + * + * @return The message. + */ + java.lang.String getMessage(); + /** + * + * + *
+   * [Output Only] A human-readable description of the warning code.
+   * 
+ * + * optional string message = 418054151; + * + * @return The bytes for message. + */ + com.google.protobuf.ByteString getMessageBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Region.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Region.java index 29a856932ebe..1d26cb0267b7 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Region.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Region.java @@ -543,6 +543,59 @@ public com.google.protobuf.ByteString getNameBytes() { } } + public static final int QUOTA_STATUS_WARNING_FIELD_NUMBER = 302941430; + private com.google.cloud.compute.v1.QuotaStatusWarning quotaStatusWarning_; + /** + * + * + *
+   * [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
+   * 
+ * + * optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430; + * + * + * @return Whether the quotaStatusWarning field is set. + */ + @java.lang.Override + public boolean hasQuotaStatusWarning() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+   * [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
+   * 
+ * + * optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430; + * + * + * @return The quotaStatusWarning. + */ + @java.lang.Override + public com.google.cloud.compute.v1.QuotaStatusWarning getQuotaStatusWarning() { + return quotaStatusWarning_ == null + ? com.google.cloud.compute.v1.QuotaStatusWarning.getDefaultInstance() + : quotaStatusWarning_; + } + /** + * + * + *
+   * [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
+   * 
+ * + * optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.QuotaStatusWarningOrBuilder getQuotaStatusWarningOrBuilder() { + return quotaStatusWarning_ == null + ? com.google.cloud.compute.v1.QuotaStatusWarning.getDefaultInstance() + : quotaStatusWarning_; + } + public static final int QUOTAS_FIELD_NUMBER = 125341947; @SuppressWarnings("serial") @@ -631,7 +684,7 @@ public com.google.cloud.compute.v1.QuotaOrBuilder getQuotasOrBuilder(int index) */ @java.lang.Override public boolean hasSelfLink() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** * @@ -698,7 +751,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { */ @java.lang.Override public boolean hasStatus() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -764,7 +817,7 @@ public com.google.protobuf.ByteString getStatusBytes() { */ @java.lang.Override public boolean hasSupportsPzs() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * @@ -872,7 +925,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 30525366, creationTimestamp_); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { output.writeBool(83983214, supportsPzs_); } for (int i = 0; i < zones_.size(); i++) { @@ -881,13 +934,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < quotas_.size(); i++) { output.writeMessage(125341947, quotas_.get(i)); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 181260274, status_); } + if (((bitField0_ & 0x00000040) != 0)) { + output.writeMessage(302941430, getQuotaStatusWarning()); + } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 422937596, description_); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); } if (((bitField0_ & 0x00000002) != 0)) { @@ -915,7 +971,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30525366, creationTimestamp_); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(83983214, supportsPzs_); } { @@ -929,13 +985,18 @@ public int getSerializedSize() { for (int i = 0; i < quotas_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(125341947, quotas_.get(i)); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(181260274, status_); } + if (((bitField0_ & 0x00000040) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 302941430, getQuotaStatusWarning()); + } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(422937596, description_); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); } if (((bitField0_ & 0x00000002) != 0)) { @@ -980,6 +1041,10 @@ public boolean equals(final java.lang.Object obj) { if (hasName()) { if (!getName().equals(other.getName())) return false; } + if (hasQuotaStatusWarning() != other.hasQuotaStatusWarning()) return false; + if (hasQuotaStatusWarning()) { + if (!getQuotaStatusWarning().equals(other.getQuotaStatusWarning())) return false; + } if (!getQuotasList().equals(other.getQuotasList())) return false; if (hasSelfLink() != other.hasSelfLink()) return false; if (hasSelfLink()) { @@ -1029,6 +1094,10 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } + if (hasQuotaStatusWarning()) { + hash = (37 * hash) + QUOTA_STATUS_WARNING_FIELD_NUMBER; + hash = (53 * hash) + getQuotaStatusWarning().hashCode(); + } if (getQuotasCount() > 0) { hash = (37 * hash) + QUOTAS_FIELD_NUMBER; hash = (53 * hash) + getQuotasList().hashCode(); @@ -1189,6 +1258,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDeprecatedFieldBuilder(); + getQuotaStatusWarningFieldBuilder(); getQuotasFieldBuilder(); } } @@ -1207,13 +1277,18 @@ public Builder clear() { id_ = 0L; kind_ = ""; name_ = ""; + quotaStatusWarning_ = null; + if (quotaStatusWarningBuilder_ != null) { + quotaStatusWarningBuilder_.dispose(); + quotaStatusWarningBuilder_ = null; + } if (quotasBuilder_ == null) { quotas_ = java.util.Collections.emptyList(); } else { quotas_ = null; quotasBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); selfLink_ = ""; status_ = ""; supportsPzs_ = false; @@ -1254,9 +1329,9 @@ public com.google.cloud.compute.v1.Region buildPartial() { private void buildPartialRepeatedFields(com.google.cloud.compute.v1.Region result) { if (quotasBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { quotas_ = java.util.Collections.unmodifiableList(quotas_); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); } result.quotas_ = quotas_; } else { @@ -1291,19 +1366,26 @@ private void buildPartial0(com.google.cloud.compute.v1.Region result) { result.name_ = name_; to_bitField0_ |= 0x00000020; } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.selfLink_ = selfLink_; + if (((from_bitField0_ & 0x00000040) != 0)) { + result.quotaStatusWarning_ = + quotaStatusWarningBuilder_ == null + ? quotaStatusWarning_ + : quotaStatusWarningBuilder_.build(); to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.status_ = status_; + result.selfLink_ = selfLink_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000200) != 0)) { - result.supportsPzs_ = supportsPzs_; + result.status_ = status_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000400) != 0)) { + result.supportsPzs_ = supportsPzs_; + to_bitField0_ |= 0x00000200; + } + if (((from_bitField0_ & 0x00000800) != 0)) { zones_.makeImmutable(); result.zones_ = zones_; } @@ -1381,11 +1463,14 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Region other) { bitField0_ |= 0x00000020; onChanged(); } + if (other.hasQuotaStatusWarning()) { + mergeQuotaStatusWarning(other.getQuotaStatusWarning()); + } if (quotasBuilder_ == null) { if (!other.quotas_.isEmpty()) { if (quotas_.isEmpty()) { quotas_ = other.quotas_; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); } else { ensureQuotasIsMutable(); quotas_.addAll(other.quotas_); @@ -1398,7 +1483,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Region other) { quotasBuilder_.dispose(); quotasBuilder_ = null; quotas_ = other.quotas_; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); quotasBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getQuotasFieldBuilder() @@ -1410,12 +1495,12 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Region other) { } if (other.hasSelfLink()) { selfLink_ = other.selfLink_; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); } if (other.hasStatus()) { status_ = other.status_; - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); } if (other.hasSupportsPzs()) { @@ -1424,7 +1509,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Region other) { if (!other.zones_.isEmpty()) { if (zones_.isEmpty()) { zones_ = other.zones_; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; } else { ensureZonesIsMutable(); zones_.addAll(other.zones_); @@ -1484,7 +1569,7 @@ public Builder mergeFrom( case 671865712: { supportsPzs_ = input.readBool(); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; break; } // case 671865712 case 928682554: @@ -1510,9 +1595,16 @@ public Builder mergeFrom( case 1450082194: { status_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; break; } // case 1450082194 + case -1871435854: + { + input.readMessage( + getQuotaStatusWarningFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case -1871435854 case -911466526: { description_ = input.readStringRequireUtf8(); @@ -1522,7 +1614,7 @@ public Builder mergeFrom( case -645248918: { selfLink_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; break; } // case -645248918 case -173855334: @@ -2284,13 +2376,210 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.cloud.compute.v1.QuotaStatusWarning quotaStatusWarning_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.QuotaStatusWarning, + com.google.cloud.compute.v1.QuotaStatusWarning.Builder, + com.google.cloud.compute.v1.QuotaStatusWarningOrBuilder> + quotaStatusWarningBuilder_; + /** + * + * + *
+     * [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
+     * 
+ * + * optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430; + * + * + * @return Whether the quotaStatusWarning field is set. + */ + public boolean hasQuotaStatusWarning() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+     * [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
+     * 
+ * + * optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430; + * + * + * @return The quotaStatusWarning. + */ + public com.google.cloud.compute.v1.QuotaStatusWarning getQuotaStatusWarning() { + if (quotaStatusWarningBuilder_ == null) { + return quotaStatusWarning_ == null + ? com.google.cloud.compute.v1.QuotaStatusWarning.getDefaultInstance() + : quotaStatusWarning_; + } else { + return quotaStatusWarningBuilder_.getMessage(); + } + } + /** + * + * + *
+     * [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
+     * 
+ * + * optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430; + * + */ + public Builder setQuotaStatusWarning(com.google.cloud.compute.v1.QuotaStatusWarning value) { + if (quotaStatusWarningBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + quotaStatusWarning_ = value; + } else { + quotaStatusWarningBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
+     * 
+ * + * optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430; + * + */ + public Builder setQuotaStatusWarning( + com.google.cloud.compute.v1.QuotaStatusWarning.Builder builderForValue) { + if (quotaStatusWarningBuilder_ == null) { + quotaStatusWarning_ = builderForValue.build(); + } else { + quotaStatusWarningBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
+     * 
+ * + * optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430; + * + */ + public Builder mergeQuotaStatusWarning(com.google.cloud.compute.v1.QuotaStatusWarning value) { + if (quotaStatusWarningBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) + && quotaStatusWarning_ != null + && quotaStatusWarning_ + != com.google.cloud.compute.v1.QuotaStatusWarning.getDefaultInstance()) { + getQuotaStatusWarningBuilder().mergeFrom(value); + } else { + quotaStatusWarning_ = value; + } + } else { + quotaStatusWarningBuilder_.mergeFrom(value); + } + if (quotaStatusWarning_ != null) { + bitField0_ |= 0x00000040; + onChanged(); + } + return this; + } + /** + * + * + *
+     * [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
+     * 
+ * + * optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430; + * + */ + public Builder clearQuotaStatusWarning() { + bitField0_ = (bitField0_ & ~0x00000040); + quotaStatusWarning_ = null; + if (quotaStatusWarningBuilder_ != null) { + quotaStatusWarningBuilder_.dispose(); + quotaStatusWarningBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
+     * 
+ * + * optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430; + * + */ + public com.google.cloud.compute.v1.QuotaStatusWarning.Builder getQuotaStatusWarningBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getQuotaStatusWarningFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
+     * 
+ * + * optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430; + * + */ + public com.google.cloud.compute.v1.QuotaStatusWarningOrBuilder + getQuotaStatusWarningOrBuilder() { + if (quotaStatusWarningBuilder_ != null) { + return quotaStatusWarningBuilder_.getMessageOrBuilder(); + } else { + return quotaStatusWarning_ == null + ? com.google.cloud.compute.v1.QuotaStatusWarning.getDefaultInstance() + : quotaStatusWarning_; + } + } + /** + * + * + *
+     * [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
+     * 
+ * + * optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.QuotaStatusWarning, + com.google.cloud.compute.v1.QuotaStatusWarning.Builder, + com.google.cloud.compute.v1.QuotaStatusWarningOrBuilder> + getQuotaStatusWarningFieldBuilder() { + if (quotaStatusWarningBuilder_ == null) { + quotaStatusWarningBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.QuotaStatusWarning, + com.google.cloud.compute.v1.QuotaStatusWarning.Builder, + com.google.cloud.compute.v1.QuotaStatusWarningOrBuilder>( + getQuotaStatusWarning(), getParentForChildren(), isClean()); + quotaStatusWarning_ = null; + } + return quotaStatusWarningBuilder_; + } + private java.util.List quotas_ = java.util.Collections.emptyList(); private void ensureQuotasIsMutable() { - if (!((bitField0_ & 0x00000040) != 0)) { + if (!((bitField0_ & 0x00000080) != 0)) { quotas_ = new java.util.ArrayList(quotas_); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; } } @@ -2503,7 +2792,7 @@ public Builder addAllQuotas( public Builder clearQuotas() { if (quotasBuilder_ == null) { quotas_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { quotasBuilder_.clear(); @@ -2624,7 +2913,7 @@ public java.util.List getQuotasBuilde com.google.cloud.compute.v1.Quota, com.google.cloud.compute.v1.Quota.Builder, com.google.cloud.compute.v1.QuotaOrBuilder>( - quotas_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); + quotas_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); quotas_ = null; } return quotasBuilder_; @@ -2643,7 +2932,7 @@ public java.util.List getQuotasBuilde * @return Whether the selfLink field is set. */ public boolean hasSelfLink() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -2706,7 +2995,7 @@ public Builder setSelfLink(java.lang.String value) { throw new NullPointerException(); } selfLink_ = value; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -2723,7 +3012,7 @@ public Builder setSelfLink(java.lang.String value) { */ public Builder clearSelfLink() { selfLink_ = getDefaultInstance().getSelfLink(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } @@ -2745,7 +3034,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); selfLink_ = value; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -2764,7 +3053,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * @return Whether the status field is set. */ public boolean hasStatus() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * @@ -2830,7 +3119,7 @@ public Builder setStatus(java.lang.String value) { throw new NullPointerException(); } status_ = value; - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -2848,7 +3137,7 @@ public Builder setStatus(java.lang.String value) { */ public Builder clearStatus() { status_ = getDefaultInstance().getStatus(); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } @@ -2871,7 +3160,7 @@ public Builder setStatusBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); status_ = value; - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -2890,7 +3179,7 @@ public Builder setStatusBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasSupportsPzs() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** * @@ -2922,7 +3211,7 @@ public boolean getSupportsPzs() { public Builder setSupportsPzs(boolean value) { supportsPzs_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -2938,7 +3227,7 @@ public Builder setSupportsPzs(boolean value) { * @return This builder for chaining. */ public Builder clearSupportsPzs() { - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); supportsPzs_ = false; onChanged(); return this; @@ -2951,7 +3240,7 @@ private void ensureZonesIsMutable() { if (!zones_.isModifiable()) { zones_ = new com.google.protobuf.LazyStringArrayList(zones_); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; } /** * @@ -3031,7 +3320,7 @@ public Builder setZones(int index, java.lang.String value) { } ensureZonesIsMutable(); zones_.set(index, value); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -3053,7 +3342,7 @@ public Builder addZones(java.lang.String value) { } ensureZonesIsMutable(); zones_.add(value); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -3072,7 +3361,7 @@ public Builder addZones(java.lang.String value) { public Builder addAllZones(java.lang.Iterable values) { ensureZonesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, zones_); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -3089,7 +3378,7 @@ public Builder addAllZones(java.lang.Iterable values) { */ public Builder clearZones() { zones_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); ; onChanged(); return this; @@ -3113,7 +3402,7 @@ public Builder addZonesBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureZonesIsMutable(); zones_.add(value); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.java index bce7c5cf6612..6666fe52a9f9 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.java @@ -78,7 +78,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
    * 
* * Protobuf enum {@code @@ -428,7 +428,7 @@ public com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder getRulesOrBuilder * * *
-   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
    * Check the Type enum for the list of possible values.
    * 
* @@ -444,7 +444,7 @@ public boolean hasType() { * * *
-   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
    * Check the Type enum for the list of possible values.
    * 
* @@ -468,7 +468,7 @@ public java.lang.String getType() { * * *
-   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
    * Check the Type enum for the list of possible values.
    * 
* @@ -1630,7 +1630,7 @@ public com.google.cloud.compute.v1.FirewallPolicyRule.Builder addRulesBuilder(in * * *
-     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
      * Check the Type enum for the list of possible values.
      * 
* @@ -1645,7 +1645,7 @@ public boolean hasType() { * * *
-     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
      * Check the Type enum for the list of possible values.
      * 
* @@ -1668,7 +1668,7 @@ public java.lang.String getType() { * * *
-     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
      * Check the Type enum for the list of possible values.
      * 
* @@ -1691,7 +1691,7 @@ public com.google.protobuf.ByteString getTypeBytes() { * * *
-     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
      * Check the Type enum for the list of possible values.
      * 
* @@ -1713,7 +1713,7 @@ public Builder setType(java.lang.String value) { * * *
-     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
      * Check the Type enum for the list of possible values.
      * 
* @@ -1731,7 +1731,7 @@ public Builder clearType() { * * *
-     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
      * Check the Type enum for the list of possible values.
      * 
* diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder.java index 72b937ccdc99..2304ad684340 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder.java @@ -155,7 +155,7 @@ interface RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFir * * *
-   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
    * Check the Type enum for the list of possible values.
    * 
* @@ -168,7 +168,7 @@ interface RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFir * * *
-   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
    * Check the Type enum for the list of possible values.
    * 
* @@ -181,7 +181,7 @@ interface RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFir * * *
-   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
    * Check the Type enum for the list of possible values.
    * 
* diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionOrBuilder.java index 5942889ba015..592ff523efdb 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionOrBuilder.java @@ -232,6 +232,44 @@ public interface RegionOrBuilder */ com.google.protobuf.ByteString getNameBytes(); + /** + * + * + *
+   * [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
+   * 
+ * + * optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430; + * + * + * @return Whether the quotaStatusWarning field is set. + */ + boolean hasQuotaStatusWarning(); + /** + * + * + *
+   * [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
+   * 
+ * + * optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430; + * + * + * @return The quotaStatusWarning. + */ + com.google.cloud.compute.v1.QuotaStatusWarning getQuotaStatusWarning(); + /** + * + * + *
+   * [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
+   * 
+ * + * optional .google.cloud.compute.v1.QuotaStatusWarning quota_status_warning = 302941430; + * + */ + com.google.cloud.compute.v1.QuotaStatusWarningOrBuilder getQuotaStatusWarningOrBuilder(); + /** * * diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ResourcePolicyGroupPlacementPolicy.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ResourcePolicyGroupPlacementPolicy.java index 712413573ad5..667e5f763bb9 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ResourcePolicyGroupPlacementPolicy.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ResourcePolicyGroupPlacementPolicy.java @@ -23,7 +23,7 @@ * * *
- * A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality
+ * A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation
  * 
* * Protobuf type {@code google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy} @@ -526,7 +526,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality
+   * A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation
    * 
* * Protobuf type {@code google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgp.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgp.java index 4abfe76c65d2..619da5f77d36 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgp.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgp.java @@ -41,6 +41,7 @@ private RouterBgp() { advertiseMode_ = ""; advertisedGroups_ = com.google.protobuf.LazyStringArrayList.emptyList(); advertisedIpRanges_ = java.util.Collections.emptyList(); + identifierRange_ = ""; } @java.lang.Override @@ -579,6 +580,72 @@ public int getAsn() { return asn_; } + public static final int IDENTIFIER_RANGE_FIELD_NUMBER = 501573159; + + @SuppressWarnings("serial") + private volatile java.lang.Object identifierRange_ = ""; + /** + * + * + *
+   * Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
+   * 
+ * + * optional string identifier_range = 501573159; + * + * @return Whether the identifierRange field is set. + */ + @java.lang.Override + public boolean hasIdentifierRange() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
+   * 
+ * + * optional string identifier_range = 501573159; + * + * @return The identifierRange. + */ + @java.lang.Override + public java.lang.String getIdentifierRange() { + java.lang.Object ref = identifierRange_; + 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(); + identifierRange_ = s; + return s; + } + } + /** + * + * + *
+   * Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
+   * 
+ * + * optional string identifier_range = 501573159; + * + * @return The bytes for identifierRange. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIdentifierRangeBytes() { + java.lang.Object ref = identifierRange_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + identifierRange_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int KEEPALIVE_INTERVAL_FIELD_NUMBER = 276771516; private int keepaliveInterval_ = 0; /** @@ -594,7 +661,7 @@ public int getAsn() { */ @java.lang.Override public boolean hasKeepaliveInterval() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** * @@ -636,12 +703,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < advertisedIpRanges_.size(); i++) { output.writeMessage(35449932, advertisedIpRanges_.get(i)); } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(276771516, keepaliveInterval_); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 312134331, advertiseMode_); } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 501573159, identifierRange_); + } getUnknownFields().writeTo(output); } @@ -667,13 +737,16 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 35449932, advertisedIpRanges_.get(i)); } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream.computeUInt32Size(276771516, keepaliveInterval_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(312134331, advertiseMode_); } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(501573159, identifierRange_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -699,6 +772,10 @@ public boolean equals(final java.lang.Object obj) { if (hasAsn()) { if (getAsn() != other.getAsn()) return false; } + if (hasIdentifierRange() != other.hasIdentifierRange()) return false; + if (hasIdentifierRange()) { + if (!getIdentifierRange().equals(other.getIdentifierRange())) return false; + } if (hasKeepaliveInterval() != other.hasKeepaliveInterval()) return false; if (hasKeepaliveInterval()) { if (getKeepaliveInterval() != other.getKeepaliveInterval()) return false; @@ -730,6 +807,10 @@ public int hashCode() { hash = (37 * hash) + ASN_FIELD_NUMBER; hash = (53 * hash) + getAsn(); } + if (hasIdentifierRange()) { + hash = (37 * hash) + IDENTIFIER_RANGE_FIELD_NUMBER; + hash = (53 * hash) + getIdentifierRange().hashCode(); + } if (hasKeepaliveInterval()) { hash = (37 * hash) + KEEPALIVE_INTERVAL_FIELD_NUMBER; hash = (53 * hash) + getKeepaliveInterval(); @@ -881,6 +962,7 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000004); asn_ = 0; + identifierRange_ = ""; keepaliveInterval_ = 0; return this; } @@ -945,9 +1027,13 @@ private void buildPartial0(com.google.cloud.compute.v1.RouterBgp result) { to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.keepaliveInterval_ = keepaliveInterval_; + result.identifierRange_ = identifierRange_; to_bitField0_ |= 0x00000004; } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.keepaliveInterval_ = keepaliveInterval_; + to_bitField0_ |= 0x00000008; + } result.bitField0_ |= to_bitField0_; } @@ -1041,6 +1127,11 @@ public Builder mergeFrom(com.google.cloud.compute.v1.RouterBgp other) { if (other.hasAsn()) { setAsn(other.getAsn()); } + if (other.hasIdentifierRange()) { + identifierRange_ = other.identifierRange_; + bitField0_ |= 0x00000010; + onChanged(); + } if (other.hasKeepaliveInterval()) { setKeepaliveInterval(other.getKeepaliveInterval()); } @@ -1100,7 +1191,7 @@ public Builder mergeFrom( case -2080795168: { keepaliveInterval_ = input.readUInt32(); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; break; } // case -2080795168 case -1797892646: @@ -1109,6 +1200,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case -1797892646 + case -282382022: + { + identifierRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case -282382022 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1905,6 +2002,126 @@ public Builder clearAsn() { return this; } + private java.lang.Object identifierRange_ = ""; + /** + * + * + *
+     * Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
+     * 
+ * + * optional string identifier_range = 501573159; + * + * @return Whether the identifierRange field is set. + */ + public boolean hasIdentifierRange() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
+     * 
+ * + * optional string identifier_range = 501573159; + * + * @return The identifierRange. + */ + public java.lang.String getIdentifierRange() { + java.lang.Object ref = identifierRange_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + identifierRange_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
+     * 
+ * + * optional string identifier_range = 501573159; + * + * @return The bytes for identifierRange. + */ + public com.google.protobuf.ByteString getIdentifierRangeBytes() { + java.lang.Object ref = identifierRange_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + identifierRange_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
+     * 
+ * + * optional string identifier_range = 501573159; + * + * @param value The identifierRange to set. + * @return This builder for chaining. + */ + public Builder setIdentifierRange(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + identifierRange_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
+     * 
+ * + * optional string identifier_range = 501573159; + * + * @return This builder for chaining. + */ + public Builder clearIdentifierRange() { + identifierRange_ = getDefaultInstance().getIdentifierRange(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
+     * 
+ * + * optional string identifier_range = 501573159; + * + * @param value The bytes for identifierRange to set. + * @return This builder for chaining. + */ + public Builder setIdentifierRangeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + identifierRange_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + private int keepaliveInterval_; /** * @@ -1919,7 +2136,7 @@ public Builder clearAsn() { */ @java.lang.Override public boolean hasKeepaliveInterval() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** * @@ -1951,7 +2168,7 @@ public int getKeepaliveInterval() { public Builder setKeepaliveInterval(int value) { keepaliveInterval_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -1967,7 +2184,7 @@ public Builder setKeepaliveInterval(int value) { * @return This builder for chaining. */ public Builder clearKeepaliveInterval() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); keepaliveInterval_ = 0; onChanged(); return this; diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpOrBuilder.java index b1350113a3fa..f4805c029f1a 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpOrBuilder.java @@ -207,6 +207,43 @@ com.google.cloud.compute.v1.RouterAdvertisedIpRangeOrBuilder getAdvertisedIpRang */ int getAsn(); + /** + * + * + *
+   * Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
+   * 
+ * + * optional string identifier_range = 501573159; + * + * @return Whether the identifierRange field is set. + */ + boolean hasIdentifierRange(); + /** + * + * + *
+   * Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
+   * 
+ * + * optional string identifier_range = 501573159; + * + * @return The identifierRange. + */ + java.lang.String getIdentifierRange(); + /** + * + * + *
+   * Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
+   * 
+ * + * optional string identifier_range = 501573159; + * + * @return The bytes for identifierRange. + */ + com.google.protobuf.ByteString getIdentifierRangeBytes(); + /** * * diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpPeer.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpPeer.java index 34daf777635f..bb3c2bb2d595 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpPeer.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpPeer.java @@ -43,13 +43,17 @@ private RouterBgpPeer() { advertisedIpRanges_ = java.util.Collections.emptyList(); customLearnedIpRanges_ = java.util.Collections.emptyList(); enable_ = ""; + exportPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); + importPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); interfaceName_ = ""; ipAddress_ = ""; + ipv4NexthopAddress_ = ""; ipv6NexthopAddress_ = ""; managementType_ = ""; md5AuthenticationKeyName_ = ""; name_ = ""; peerIpAddress_ = ""; + peerIpv4NexthopAddress_ = ""; peerIpv6NexthopAddress_ = ""; routerApplianceInstance_ = ""; } @@ -1106,13 +1110,46 @@ public com.google.protobuf.ByteString getEnableBytes() { } } + public static final int ENABLE_IPV4_FIELD_NUMBER = 181467937; + private boolean enableIpv4_ = false; + /** + * + * + *
+   * Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
+   * 
+ * + * optional bool enable_ipv4 = 181467937; + * + * @return Whether the enableIpv4 field is set. + */ + @java.lang.Override + public boolean hasEnableIpv4() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+   * Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
+   * 
+ * + * optional bool enable_ipv4 = 181467937; + * + * @return The enableIpv4. + */ + @java.lang.Override + public boolean getEnableIpv4() { + return enableIpv4_; + } + public static final int ENABLE_IPV6_FIELD_NUMBER = 181467939; private boolean enableIpv6_ = false; /** * * *
-   * Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
+   * Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
    * 
* * optional bool enable_ipv6 = 181467939; @@ -1121,13 +1158,13 @@ public com.google.protobuf.ByteString getEnableBytes() { */ @java.lang.Override public boolean hasEnableIpv6() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** * * *
-   * Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
+   * Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
    * 
* * optional bool enable_ipv6 = 181467939; @@ -1139,6 +1176,134 @@ public boolean getEnableIpv6() { return enableIpv6_; } + public static final int EXPORT_POLICIES_FIELD_NUMBER = 134084987; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList exportPolicies_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
+   * List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+   * 
+ * + * repeated string export_policies = 134084987; + * + * @return A list containing the exportPolicies. + */ + public com.google.protobuf.ProtocolStringList getExportPoliciesList() { + return exportPolicies_; + } + /** + * + * + *
+   * List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+   * 
+ * + * repeated string export_policies = 134084987; + * + * @return The count of exportPolicies. + */ + public int getExportPoliciesCount() { + return exportPolicies_.size(); + } + /** + * + * + *
+   * List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+   * 
+ * + * repeated string export_policies = 134084987; + * + * @param index The index of the element to return. + * @return The exportPolicies at the given index. + */ + public java.lang.String getExportPolicies(int index) { + return exportPolicies_.get(index); + } + /** + * + * + *
+   * List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+   * 
+ * + * repeated string export_policies = 134084987; + * + * @param index The index of the value to return. + * @return The bytes of the exportPolicies at the given index. + */ + public com.google.protobuf.ByteString getExportPoliciesBytes(int index) { + return exportPolicies_.getByteString(index); + } + + public static final int IMPORT_POLICIES_FIELD_NUMBER = 451147946; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList importPolicies_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
+   * List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+   * 
+ * + * repeated string import_policies = 451147946; + * + * @return A list containing the importPolicies. + */ + public com.google.protobuf.ProtocolStringList getImportPoliciesList() { + return importPolicies_; + } + /** + * + * + *
+   * List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+   * 
+ * + * repeated string import_policies = 451147946; + * + * @return The count of importPolicies. + */ + public int getImportPoliciesCount() { + return importPolicies_.size(); + } + /** + * + * + *
+   * List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+   * 
+ * + * repeated string import_policies = 451147946; + * + * @param index The index of the element to return. + * @return The importPolicies at the given index. + */ + public java.lang.String getImportPolicies(int index) { + return importPolicies_.get(index); + } + /** + * + * + *
+   * List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+   * 
+ * + * repeated string import_policies = 451147946; + * + * @param index The index of the value to return. + * @return The bytes of the importPolicies at the given index. + */ + public com.google.protobuf.ByteString getImportPoliciesBytes(int index) { + return importPolicies_.getByteString(index); + } + public static final int INTERFACE_NAME_FIELD_NUMBER = 437854673; @SuppressWarnings("serial") @@ -1156,7 +1321,7 @@ public boolean getEnableIpv6() { */ @java.lang.Override public boolean hasInterfaceName() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** * @@ -1213,7 +1378,7 @@ public com.google.protobuf.ByteString getInterfaceNameBytes() { * * *
-   * IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
+   * IP address of the interface inside Google Cloud Platform.
    * 
* * optional string ip_address = 406272220; @@ -1222,13 +1387,13 @@ public com.google.protobuf.ByteString getInterfaceNameBytes() { */ @java.lang.Override public boolean hasIpAddress() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * * *
-   * IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
+   * IP address of the interface inside Google Cloud Platform.
    * 
* * optional string ip_address = 406272220; @@ -1251,7 +1416,7 @@ public java.lang.String getIpAddress() { * * *
-   * IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
+   * IP address of the interface inside Google Cloud Platform.
    * 
* * optional string ip_address = 406272220; @@ -1271,6 +1436,72 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } } + public static final int IPV4_NEXTHOP_ADDRESS_FIELD_NUMBER = 5703377; + + @SuppressWarnings("serial") + private volatile java.lang.Object ipv4NexthopAddress_ = ""; + /** + * + * + *
+   * IPv4 address of the interface inside Google Cloud Platform.
+   * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return Whether the ipv4NexthopAddress field is set. + */ + @java.lang.Override + public boolean hasIpv4NexthopAddress() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+   * IPv4 address of the interface inside Google Cloud Platform.
+   * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return The ipv4NexthopAddress. + */ + @java.lang.Override + public java.lang.String getIpv4NexthopAddress() { + java.lang.Object ref = ipv4NexthopAddress_; + 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(); + ipv4NexthopAddress_ = s; + return s; + } + } + /** + * + * + *
+   * IPv4 address of the interface inside Google Cloud Platform.
+   * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return The bytes for ipv4NexthopAddress. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIpv4NexthopAddressBytes() { + java.lang.Object ref = ipv4NexthopAddress_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + ipv4NexthopAddress_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER = 27968211; @SuppressWarnings("serial") @@ -1288,7 +1519,7 @@ public com.google.protobuf.ByteString getIpAddressBytes() { */ @java.lang.Override public boolean hasIpv6NexthopAddress() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** * @@ -1355,7 +1586,7 @@ public com.google.protobuf.ByteString getIpv6NexthopAddressBytes() { */ @java.lang.Override public boolean hasManagementType() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** * @@ -1423,7 +1654,7 @@ public com.google.protobuf.ByteString getManagementTypeBytes() { */ @java.lang.Override public boolean hasMd5AuthenticationKeyName() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** * @@ -1489,7 +1720,7 @@ public com.google.protobuf.ByteString getMd5AuthenticationKeyNameBytes() { */ @java.lang.Override public boolean hasName() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * @@ -1553,7 +1784,7 @@ public com.google.protobuf.ByteString getNameBytes() { */ @java.lang.Override public boolean hasPeerAsn() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** * @@ -1579,7 +1810,7 @@ public int getPeerAsn() { * * *
-   * IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
+   * IP address of the BGP interface outside Google Cloud Platform.
    * 
* * optional string peer_ip_address = 207735769; @@ -1588,13 +1819,13 @@ public int getPeerAsn() { */ @java.lang.Override public boolean hasPeerIpAddress() { - return ((bitField0_ & 0x00002000) != 0); + return ((bitField0_ & 0x00008000) != 0); } /** * * *
-   * IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
+   * IP address of the BGP interface outside Google Cloud Platform.
    * 
* * optional string peer_ip_address = 207735769; @@ -1617,7 +1848,7 @@ public java.lang.String getPeerIpAddress() { * * *
-   * IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
+   * IP address of the BGP interface outside Google Cloud Platform.
    * 
* * optional string peer_ip_address = 207735769; @@ -1637,6 +1868,72 @@ public com.google.protobuf.ByteString getPeerIpAddressBytes() { } } + public static final int PEER_IPV4_NEXTHOP_ADDRESS_FIELD_NUMBER = 469221774; + + @SuppressWarnings("serial") + private volatile java.lang.Object peerIpv4NexthopAddress_ = ""; + /** + * + * + *
+   * IPv4 address of the BGP interface outside Google Cloud Platform.
+   * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return Whether the peerIpv4NexthopAddress field is set. + */ + @java.lang.Override + public boolean hasPeerIpv4NexthopAddress() { + return ((bitField0_ & 0x00010000) != 0); + } + /** + * + * + *
+   * IPv4 address of the BGP interface outside Google Cloud Platform.
+   * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return The peerIpv4NexthopAddress. + */ + @java.lang.Override + public java.lang.String getPeerIpv4NexthopAddress() { + java.lang.Object ref = peerIpv4NexthopAddress_; + 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(); + peerIpv4NexthopAddress_ = s; + return s; + } + } + /** + * + * + *
+   * IPv4 address of the BGP interface outside Google Cloud Platform.
+   * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return The bytes for peerIpv4NexthopAddress. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPeerIpv4NexthopAddressBytes() { + java.lang.Object ref = peerIpv4NexthopAddress_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + peerIpv4NexthopAddress_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int PEER_IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER = 491486608; @SuppressWarnings("serial") @@ -1654,7 +1951,7 @@ public com.google.protobuf.ByteString getPeerIpAddressBytes() { */ @java.lang.Override public boolean hasPeerIpv6NexthopAddress() { - return ((bitField0_ & 0x00004000) != 0); + return ((bitField0_ & 0x00020000) != 0); } /** * @@ -1720,7 +2017,7 @@ public com.google.protobuf.ByteString getPeerIpv6NexthopAddressBytes() { */ @java.lang.Override public boolean hasRouterApplianceInstance() { - return ((bitField0_ & 0x00008000) != 0); + return ((bitField0_ & 0x00040000) != 0); } /** * @@ -1786,35 +2083,45 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(97440, getBfd()); } - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00002000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); } + if (((bitField0_ & 0x00000200) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5703377, ipv4NexthopAddress_); + } for (int i = 0; i < advertisedGroups_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString( output, 21065526, advertisedGroups_.getRaw(i)); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 27968211, ipv6NexthopAddress_); } for (int i = 0; i < advertisedIpRanges_.size(); i++) { output.writeMessage(35449932, advertisedIpRanges_.get(i)); } - if (((bitField0_ & 0x00001000) != 0)) { + if (((bitField0_ & 0x00004000) != 0)) { output.writeUInt32(69573151, peerAsn_); } - if (((bitField0_ & 0x00000200) != 0)) { + for (int i = 0; i < exportPolicies_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 134084987, exportPolicies_.getRaw(i)); + } + if (((bitField0_ & 0x00000800) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 173703606, managementType_); } if (((bitField0_ & 0x00000020) != 0)) { + output.writeBool(181467937, enableIpv4_); + } + if (((bitField0_ & 0x00000040) != 0)) { output.writeBool(181467939, enableIpv6_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(186486332, advertisedRoutePriority_); } - if (((bitField0_ & 0x00002000) != 0)) { + if (((bitField0_ & 0x00008000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 207735769, peerIpAddress_); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString( output, 281075345, md5AuthenticationKeyName_); } @@ -1827,20 +2134,28 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000008) != 0)) { output.writeInt32(330412356, customLearnedRoutePriority_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 406272220, ipAddress_); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 437854673, interfaceName_); } - if (((bitField0_ & 0x00008000) != 0)) { + for (int i = 0; i < importPolicies_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 451147946, importPolicies_.getRaw(i)); + } + if (((bitField0_ & 0x00040000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString( output, 468312989, routerApplianceInstance_); } + if (((bitField0_ & 0x00010000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 469221774, peerIpv4NexthopAddress_); + } for (int i = 0; i < customLearnedIpRanges_.size(); i++) { output.writeMessage(481363012, customLearnedIpRanges_.get(i)); } - if (((bitField0_ & 0x00004000) != 0)) { + if (((bitField0_ & 0x00020000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString( output, 491486608, peerIpv6NexthopAddress_); } @@ -1856,9 +2171,13 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(97440, getBfd()); } - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); } + if (((bitField0_ & 0x00000200) != 0)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(5703377, ipv4NexthopAddress_); + } { int dataSize = 0; for (int i = 0; i < advertisedGroups_.size(); i++) { @@ -1867,7 +2186,7 @@ public int getSerializedSize() { size += dataSize; size += 4 * getAdvertisedGroupsList().size(); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27968211, ipv6NexthopAddress_); } @@ -1876,13 +2195,24 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 35449932, advertisedIpRanges_.get(i)); } - if (((bitField0_ & 0x00001000) != 0)) { + if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeUInt32Size(69573151, peerAsn_); } - if (((bitField0_ & 0x00000200) != 0)) { + { + int dataSize = 0; + for (int i = 0; i < exportPolicies_.size(); i++) { + dataSize += computeStringSizeNoTag(exportPolicies_.getRaw(i)); + } + size += dataSize; + size += 5 * getExportPoliciesList().size(); + } + if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(173703606, managementType_); } if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(181467937, enableIpv4_); + } + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(181467939, enableIpv6_); } if (((bitField0_ & 0x00000002) != 0)) { @@ -1890,10 +2220,10 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeUInt32Size( 186486332, advertisedRoutePriority_); } - if (((bitField0_ & 0x00002000) != 0)) { + if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(207735769, peerIpAddress_); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize( 281075345, md5AuthenticationKeyName_); @@ -1909,23 +2239,36 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeInt32Size( 330412356, customLearnedRoutePriority_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(406272220, ipAddress_); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(437854673, interfaceName_); } - if (((bitField0_ & 0x00008000) != 0)) { + { + int dataSize = 0; + for (int i = 0; i < importPolicies_.size(); i++) { + dataSize += computeStringSizeNoTag(importPolicies_.getRaw(i)); + } + size += dataSize; + size += 5 * getImportPoliciesList().size(); + } + if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize( 468312989, routerApplianceInstance_); } + if (((bitField0_ & 0x00010000) != 0)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 469221774, peerIpv4NexthopAddress_); + } for (int i = 0; i < customLearnedIpRanges_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 481363012, customLearnedIpRanges_.get(i)); } - if (((bitField0_ & 0x00004000) != 0)) { + if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize( 491486608, peerIpv6NexthopAddress_); @@ -1969,10 +2312,16 @@ public boolean equals(final java.lang.Object obj) { if (hasEnable()) { if (!getEnable().equals(other.getEnable())) return false; } + if (hasEnableIpv4() != other.hasEnableIpv4()) return false; + if (hasEnableIpv4()) { + if (getEnableIpv4() != other.getEnableIpv4()) return false; + } if (hasEnableIpv6() != other.hasEnableIpv6()) return false; if (hasEnableIpv6()) { if (getEnableIpv6() != other.getEnableIpv6()) return false; } + if (!getExportPoliciesList().equals(other.getExportPoliciesList())) return false; + if (!getImportPoliciesList().equals(other.getImportPoliciesList())) return false; if (hasInterfaceName() != other.hasInterfaceName()) return false; if (hasInterfaceName()) { if (!getInterfaceName().equals(other.getInterfaceName())) return false; @@ -1981,6 +2330,10 @@ public boolean equals(final java.lang.Object obj) { if (hasIpAddress()) { if (!getIpAddress().equals(other.getIpAddress())) return false; } + if (hasIpv4NexthopAddress() != other.hasIpv4NexthopAddress()) return false; + if (hasIpv4NexthopAddress()) { + if (!getIpv4NexthopAddress().equals(other.getIpv4NexthopAddress())) return false; + } if (hasIpv6NexthopAddress() != other.hasIpv6NexthopAddress()) return false; if (hasIpv6NexthopAddress()) { if (!getIpv6NexthopAddress().equals(other.getIpv6NexthopAddress())) return false; @@ -2005,6 +2358,10 @@ public boolean equals(final java.lang.Object obj) { if (hasPeerIpAddress()) { if (!getPeerIpAddress().equals(other.getPeerIpAddress())) return false; } + if (hasPeerIpv4NexthopAddress() != other.hasPeerIpv4NexthopAddress()) return false; + if (hasPeerIpv4NexthopAddress()) { + if (!getPeerIpv4NexthopAddress().equals(other.getPeerIpv4NexthopAddress())) return false; + } if (hasPeerIpv6NexthopAddress() != other.hasPeerIpv6NexthopAddress()) return false; if (hasPeerIpv6NexthopAddress()) { if (!getPeerIpv6NexthopAddress().equals(other.getPeerIpv6NexthopAddress())) return false; @@ -2056,10 +2413,22 @@ public int hashCode() { hash = (37 * hash) + ENABLE_FIELD_NUMBER; hash = (53 * hash) + getEnable().hashCode(); } + if (hasEnableIpv4()) { + hash = (37 * hash) + ENABLE_IPV4_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableIpv4()); + } if (hasEnableIpv6()) { hash = (37 * hash) + ENABLE_IPV6_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableIpv6()); } + if (getExportPoliciesCount() > 0) { + hash = (37 * hash) + EXPORT_POLICIES_FIELD_NUMBER; + hash = (53 * hash) + getExportPoliciesList().hashCode(); + } + if (getImportPoliciesCount() > 0) { + hash = (37 * hash) + IMPORT_POLICIES_FIELD_NUMBER; + hash = (53 * hash) + getImportPoliciesList().hashCode(); + } if (hasInterfaceName()) { hash = (37 * hash) + INTERFACE_NAME_FIELD_NUMBER; hash = (53 * hash) + getInterfaceName().hashCode(); @@ -2068,6 +2437,10 @@ public int hashCode() { hash = (37 * hash) + IP_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getIpAddress().hashCode(); } + if (hasIpv4NexthopAddress()) { + hash = (37 * hash) + IPV4_NEXTHOP_ADDRESS_FIELD_NUMBER; + hash = (53 * hash) + getIpv4NexthopAddress().hashCode(); + } if (hasIpv6NexthopAddress()) { hash = (37 * hash) + IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getIpv6NexthopAddress().hashCode(); @@ -2092,6 +2465,10 @@ public int hashCode() { hash = (37 * hash) + PEER_IP_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getPeerIpAddress().hashCode(); } + if (hasPeerIpv4NexthopAddress()) { + hash = (37 * hash) + PEER_IPV4_NEXTHOP_ADDRESS_FIELD_NUMBER; + hash = (53 * hash) + getPeerIpv4NexthopAddress().hashCode(); + } if (hasPeerIpv6NexthopAddress()) { hash = (37 * hash) + PEER_IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getPeerIpv6NexthopAddress().hashCode(); @@ -2273,15 +2650,20 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00000020); customLearnedRoutePriority_ = 0; enable_ = ""; + enableIpv4_ = false; enableIpv6_ = false; + exportPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); + importPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); interfaceName_ = ""; ipAddress_ = ""; + ipv4NexthopAddress_ = ""; ipv6NexthopAddress_ = ""; managementType_ = ""; md5AuthenticationKeyName_ = ""; name_ = ""; peerAsn_ = 0; peerIpAddress_ = ""; + peerIpv4NexthopAddress_ = ""; peerIpv6NexthopAddress_ = ""; routerApplianceInstance_ = ""; return this; @@ -2368,49 +2750,69 @@ private void buildPartial0(com.google.cloud.compute.v1.RouterBgpPeer result) { to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.enableIpv6_ = enableIpv6_; + result.enableIpv4_ = enableIpv4_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000200) != 0)) { - result.interfaceName_ = interfaceName_; + result.enableIpv6_ = enableIpv6_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000400) != 0)) { - result.ipAddress_ = ipAddress_; - to_bitField0_ |= 0x00000080; + exportPolicies_.makeImmutable(); + result.exportPolicies_ = exportPolicies_; } if (((from_bitField0_ & 0x00000800) != 0)) { - result.ipv6NexthopAddress_ = ipv6NexthopAddress_; - to_bitField0_ |= 0x00000100; + importPolicies_.makeImmutable(); + result.importPolicies_ = importPolicies_; } if (((from_bitField0_ & 0x00001000) != 0)) { - result.managementType_ = managementType_; - to_bitField0_ |= 0x00000200; + result.interfaceName_ = interfaceName_; + to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.md5AuthenticationKeyName_ = md5AuthenticationKeyName_; - to_bitField0_ |= 0x00000400; + result.ipAddress_ = ipAddress_; + to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00004000) != 0)) { - result.name_ = name_; - to_bitField0_ |= 0x00000800; + result.ipv4NexthopAddress_ = ipv4NexthopAddress_; + to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00008000) != 0)) { - result.peerAsn_ = peerAsn_; - to_bitField0_ |= 0x00001000; + result.ipv6NexthopAddress_ = ipv6NexthopAddress_; + to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00010000) != 0)) { - result.peerIpAddress_ = peerIpAddress_; - to_bitField0_ |= 0x00002000; + result.managementType_ = managementType_; + to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00020000) != 0)) { - result.peerIpv6NexthopAddress_ = peerIpv6NexthopAddress_; - to_bitField0_ |= 0x00004000; + result.md5AuthenticationKeyName_ = md5AuthenticationKeyName_; + to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00040000) != 0)) { - result.routerApplianceInstance_ = routerApplianceInstance_; + result.name_ = name_; + to_bitField0_ |= 0x00002000; + } + if (((from_bitField0_ & 0x00080000) != 0)) { + result.peerAsn_ = peerAsn_; + to_bitField0_ |= 0x00004000; + } + if (((from_bitField0_ & 0x00100000) != 0)) { + result.peerIpAddress_ = peerIpAddress_; to_bitField0_ |= 0x00008000; } + if (((from_bitField0_ & 0x00200000) != 0)) { + result.peerIpv4NexthopAddress_ = peerIpv4NexthopAddress_; + to_bitField0_ |= 0x00010000; + } + if (((from_bitField0_ & 0x00400000) != 0)) { + result.peerIpv6NexthopAddress_ = peerIpv6NexthopAddress_; + to_bitField0_ |= 0x00020000; + } + if (((from_bitField0_ & 0x00800000) != 0)) { + result.routerApplianceInstance_ = routerApplianceInstance_; + to_bitField0_ |= 0x00040000; + } result.bitField0_ |= to_bitField0_; } @@ -2542,37 +2944,65 @@ public Builder mergeFrom(com.google.cloud.compute.v1.RouterBgpPeer other) { bitField0_ |= 0x00000080; onChanged(); } + if (other.hasEnableIpv4()) { + setEnableIpv4(other.getEnableIpv4()); + } if (other.hasEnableIpv6()) { setEnableIpv6(other.getEnableIpv6()); } + if (!other.exportPolicies_.isEmpty()) { + if (exportPolicies_.isEmpty()) { + exportPolicies_ = other.exportPolicies_; + bitField0_ |= 0x00000400; + } else { + ensureExportPoliciesIsMutable(); + exportPolicies_.addAll(other.exportPolicies_); + } + onChanged(); + } + if (!other.importPolicies_.isEmpty()) { + if (importPolicies_.isEmpty()) { + importPolicies_ = other.importPolicies_; + bitField0_ |= 0x00000800; + } else { + ensureImportPoliciesIsMutable(); + importPolicies_.addAll(other.importPolicies_); + } + onChanged(); + } if (other.hasInterfaceName()) { interfaceName_ = other.interfaceName_; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00001000; onChanged(); } if (other.hasIpAddress()) { ipAddress_ = other.ipAddress_; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00002000; + onChanged(); + } + if (other.hasIpv4NexthopAddress()) { + ipv4NexthopAddress_ = other.ipv4NexthopAddress_; + bitField0_ |= 0x00004000; onChanged(); } if (other.hasIpv6NexthopAddress()) { ipv6NexthopAddress_ = other.ipv6NexthopAddress_; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00008000; onChanged(); } if (other.hasManagementType()) { managementType_ = other.managementType_; - bitField0_ |= 0x00001000; + bitField0_ |= 0x00010000; onChanged(); } if (other.hasMd5AuthenticationKeyName()) { md5AuthenticationKeyName_ = other.md5AuthenticationKeyName_; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00020000; onChanged(); } if (other.hasName()) { name_ = other.name_; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00040000; onChanged(); } if (other.hasPeerAsn()) { @@ -2580,17 +3010,22 @@ public Builder mergeFrom(com.google.cloud.compute.v1.RouterBgpPeer other) { } if (other.hasPeerIpAddress()) { peerIpAddress_ = other.peerIpAddress_; - bitField0_ |= 0x00010000; + bitField0_ |= 0x00100000; + onChanged(); + } + if (other.hasPeerIpv4NexthopAddress()) { + peerIpv4NexthopAddress_ = other.peerIpv4NexthopAddress_; + bitField0_ |= 0x00200000; onChanged(); } if (other.hasPeerIpv6NexthopAddress()) { peerIpv6NexthopAddress_ = other.peerIpv6NexthopAddress_; - bitField0_ |= 0x00020000; + bitField0_ |= 0x00400000; onChanged(); } if (other.hasRouterApplianceInstance()) { routerApplianceInstance_ = other.routerApplianceInstance_; - bitField0_ |= 0x00040000; + bitField0_ |= 0x00800000; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -2628,9 +3063,15 @@ public Builder mergeFrom( case 26989658: { name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00004000; + bitField0_ |= 0x00040000; break; } // case 26989658 + case 45627018: + { + ipv4NexthopAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00004000; + break; + } // case 45627018 case 168524210: { java.lang.String s = input.readStringRequireUtf8(); @@ -2641,7 +3082,7 @@ public Builder mergeFrom( case 223745690: { ipv6NexthopAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00008000; break; } // case 223745690 case 283599458: @@ -2661,19 +3102,32 @@ public Builder mergeFrom( case 556585208: { peerAsn_ = input.readUInt32(); - bitField0_ |= 0x00008000; + bitField0_ |= 0x00080000; break; } // case 556585208 + case 1072679898: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureExportPoliciesIsMutable(); + exportPolicies_.add(s); + break; + } // case 1072679898 case 1389628850: { managementType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; + bitField0_ |= 0x00010000; break; } // case 1389628850 + case 1451743496: + { + enableIpv4_ = input.readBool(); + bitField0_ |= 0x00000100; + break; + } // case 1451743496 case 1451743512: { enableIpv6_ = input.readBool(); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; break; } // case 1451743512 case 1491890656: @@ -2685,13 +3139,13 @@ public Builder mergeFrom( case 1661886154: { peerIpAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00010000; + bitField0_ |= 0x00100000; break; } // case 1661886154 case -2046364534: { md5AuthenticationKeyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; + bitField0_ |= 0x00020000; break; } // case -2046364534 case -1800852454: @@ -2715,21 +3169,34 @@ public Builder mergeFrom( case -1044789534: { ipAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00002000; break; } // case -1044789534 case -792129910: { interfaceName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00001000; break; } // case -792129910 + case -685783726: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureImportPoliciesIsMutable(); + importPolicies_.add(s); + break; + } // case -685783726 case -548463382: { routerApplianceInstance_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00040000; + bitField0_ |= 0x00800000; break; } // case -548463382 + case -541193102: + { + peerIpv4NexthopAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00200000; + break; + } // case -541193102 case -444063198: { com.google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange m = @@ -2747,7 +3214,7 @@ public Builder mergeFrom( case -363074430: { peerIpv6NexthopAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00020000; + bitField0_ |= 0x00400000; break; } // case -363074430 default: @@ -4332,12 +4799,80 @@ public Builder setEnableBytes(com.google.protobuf.ByteString value) { return this; } + private boolean enableIpv4_; + /** + * + * + *
+     * Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
+     * 
+ * + * optional bool enable_ipv4 = 181467937; + * + * @return Whether the enableIpv4 field is set. + */ + @java.lang.Override + public boolean hasEnableIpv4() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+     * Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
+     * 
+ * + * optional bool enable_ipv4 = 181467937; + * + * @return The enableIpv4. + */ + @java.lang.Override + public boolean getEnableIpv4() { + return enableIpv4_; + } + /** + * + * + *
+     * Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
+     * 
+ * + * optional bool enable_ipv4 = 181467937; + * + * @param value The enableIpv4 to set. + * @return This builder for chaining. + */ + public Builder setEnableIpv4(boolean value) { + + enableIpv4_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+     * Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
+     * 
+ * + * optional bool enable_ipv4 = 181467937; + * + * @return This builder for chaining. + */ + public Builder clearEnableIpv4() { + bitField0_ = (bitField0_ & ~0x00000100); + enableIpv4_ = false; + onChanged(); + return this; + } + private boolean enableIpv6_; /** * * *
-     * Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
+     * Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
      * 
* * optional bool enable_ipv6 = 181467939; @@ -4346,13 +4881,13 @@ public Builder setEnableBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasEnableIpv6() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * * *
-     * Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
+     * Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
      * 
* * optional bool enable_ipv6 = 181467939; @@ -4367,18 +4902,360 @@ public boolean getEnableIpv6() { * * *
-     * Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
+     * Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
+     * 
+ * + * optional bool enable_ipv6 = 181467939; + * + * @param value The enableIpv6 to set. + * @return This builder for chaining. + */ + public Builder setEnableIpv6(boolean value) { + + enableIpv6_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
+     * 
+ * + * optional bool enable_ipv6 = 181467939; + * + * @return This builder for chaining. + */ + public Builder clearEnableIpv6() { + bitField0_ = (bitField0_ & ~0x00000200); + enableIpv6_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList exportPolicies_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureExportPoliciesIsMutable() { + if (!exportPolicies_.isModifiable()) { + exportPolicies_ = new com.google.protobuf.LazyStringArrayList(exportPolicies_); + } + bitField0_ |= 0x00000400; + } + /** + * + * + *
+     * List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+     * 
+ * + * repeated string export_policies = 134084987; + * + * @return A list containing the exportPolicies. + */ + public com.google.protobuf.ProtocolStringList getExportPoliciesList() { + exportPolicies_.makeImmutable(); + return exportPolicies_; + } + /** + * + * + *
+     * List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+     * 
+ * + * repeated string export_policies = 134084987; + * + * @return The count of exportPolicies. + */ + public int getExportPoliciesCount() { + return exportPolicies_.size(); + } + /** + * + * + *
+     * List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+     * 
+ * + * repeated string export_policies = 134084987; + * + * @param index The index of the element to return. + * @return The exportPolicies at the given index. + */ + public java.lang.String getExportPolicies(int index) { + return exportPolicies_.get(index); + } + /** + * + * + *
+     * List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+     * 
+ * + * repeated string export_policies = 134084987; + * + * @param index The index of the value to return. + * @return The bytes of the exportPolicies at the given index. + */ + public com.google.protobuf.ByteString getExportPoliciesBytes(int index) { + return exportPolicies_.getByteString(index); + } + /** + * + * + *
+     * List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+     * 
+ * + * repeated string export_policies = 134084987; + * + * @param index The index to set the value at. + * @param value The exportPolicies to set. + * @return This builder for chaining. + */ + public Builder setExportPolicies(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExportPoliciesIsMutable(); + exportPolicies_.set(index, value); + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * + * + *
+     * List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+     * 
+ * + * repeated string export_policies = 134084987; + * + * @param value The exportPolicies to add. + * @return This builder for chaining. + */ + public Builder addExportPolicies(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExportPoliciesIsMutable(); + exportPolicies_.add(value); + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * + * + *
+     * List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+     * 
+ * + * repeated string export_policies = 134084987; + * + * @param values The exportPolicies to add. + * @return This builder for chaining. + */ + public Builder addAllExportPolicies(java.lang.Iterable values) { + ensureExportPoliciesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exportPolicies_); + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * + * + *
+     * List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+     * 
+ * + * repeated string export_policies = 134084987; + * + * @return This builder for chaining. + */ + public Builder clearExportPolicies() { + exportPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000400); + ; + onChanged(); + return this; + } + /** + * + * + *
+     * List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+     * 
+ * + * repeated string export_policies = 134084987; + * + * @param value The bytes of the exportPolicies to add. + * @return This builder for chaining. + */ + public Builder addExportPoliciesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureExportPoliciesIsMutable(); + exportPolicies_.add(value); + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList importPolicies_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureImportPoliciesIsMutable() { + if (!importPolicies_.isModifiable()) { + importPolicies_ = new com.google.protobuf.LazyStringArrayList(importPolicies_); + } + bitField0_ |= 0x00000800; + } + /** + * + * + *
+     * List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+     * 
+ * + * repeated string import_policies = 451147946; + * + * @return A list containing the importPolicies. + */ + public com.google.protobuf.ProtocolStringList getImportPoliciesList() { + importPolicies_.makeImmutable(); + return importPolicies_; + } + /** + * + * + *
+     * List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+     * 
+ * + * repeated string import_policies = 451147946; + * + * @return The count of importPolicies. + */ + public int getImportPoliciesCount() { + return importPolicies_.size(); + } + /** + * + * + *
+     * List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+     * 
+ * + * repeated string import_policies = 451147946; + * + * @param index The index of the element to return. + * @return The importPolicies at the given index. + */ + public java.lang.String getImportPolicies(int index) { + return importPolicies_.get(index); + } + /** + * + * + *
+     * List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+     * 
+ * + * repeated string import_policies = 451147946; + * + * @param index The index of the value to return. + * @return The bytes of the importPolicies at the given index. + */ + public com.google.protobuf.ByteString getImportPoliciesBytes(int index) { + return importPolicies_.getByteString(index); + } + /** + * + * + *
+     * List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+     * 
+ * + * repeated string import_policies = 451147946; + * + * @param index The index to set the value at. + * @param value The importPolicies to set. + * @return This builder for chaining. + */ + public Builder setImportPolicies(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureImportPoliciesIsMutable(); + importPolicies_.set(index, value); + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * + * + *
+     * List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+     * 
+ * + * repeated string import_policies = 451147946; + * + * @param value The importPolicies to add. + * @return This builder for chaining. + */ + public Builder addImportPolicies(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureImportPoliciesIsMutable(); + importPolicies_.add(value); + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * + * + *
+     * List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+     * 
+ * + * repeated string import_policies = 451147946; + * + * @param values The importPolicies to add. + * @return This builder for chaining. + */ + public Builder addAllImportPolicies(java.lang.Iterable values) { + ensureImportPoliciesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, importPolicies_); + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * + * + *
+     * List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
      * 
* - * optional bool enable_ipv6 = 181467939; + * repeated string import_policies = 451147946; * - * @param value The enableIpv6 to set. * @return This builder for chaining. */ - public Builder setEnableIpv6(boolean value) { - - enableIpv6_ = value; - bitField0_ |= 0x00000100; + public Builder clearImportPolicies() { + importPolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000800); + ; onChanged(); return this; } @@ -4386,16 +5263,22 @@ public Builder setEnableIpv6(boolean value) { * * *
-     * Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
+     * List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
      * 
* - * optional bool enable_ipv6 = 181467939; + * repeated string import_policies = 451147946; * + * @param value The bytes of the importPolicies to add. * @return This builder for chaining. */ - public Builder clearEnableIpv6() { - bitField0_ = (bitField0_ & ~0x00000100); - enableIpv6_ = false; + public Builder addImportPoliciesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureImportPoliciesIsMutable(); + importPolicies_.add(value); + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -4413,7 +5296,7 @@ public Builder clearEnableIpv6() { * @return Whether the interfaceName field is set. */ public boolean hasInterfaceName() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** * @@ -4476,7 +5359,7 @@ public Builder setInterfaceName(java.lang.String value) { throw new NullPointerException(); } interfaceName_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -4493,7 +5376,7 @@ public Builder setInterfaceName(java.lang.String value) { */ public Builder clearInterfaceName() { interfaceName_ = getDefaultInstance().getInterfaceName(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } @@ -4515,7 +5398,7 @@ public Builder setInterfaceNameBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); interfaceName_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -4525,7 +5408,7 @@ public Builder setInterfaceNameBytes(com.google.protobuf.ByteString value) { * * *
-     * IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
+     * IP address of the interface inside Google Cloud Platform.
      * 
* * optional string ip_address = 406272220; @@ -4533,13 +5416,13 @@ public Builder setInterfaceNameBytes(com.google.protobuf.ByteString value) { * @return Whether the ipAddress field is set. */ public boolean hasIpAddress() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * * *
-     * IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
+     * IP address of the interface inside Google Cloud Platform.
      * 
* * optional string ip_address = 406272220; @@ -4561,7 +5444,7 @@ public java.lang.String getIpAddress() { * * *
-     * IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
+     * IP address of the interface inside Google Cloud Platform.
      * 
* * optional string ip_address = 406272220; @@ -4583,7 +5466,7 @@ public com.google.protobuf.ByteString getIpAddressBytes() { * * *
-     * IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
+     * IP address of the interface inside Google Cloud Platform.
      * 
* * optional string ip_address = 406272220; @@ -4596,7 +5479,7 @@ public Builder setIpAddress(java.lang.String value) { throw new NullPointerException(); } ipAddress_ = value; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -4604,7 +5487,7 @@ public Builder setIpAddress(java.lang.String value) { * * *
-     * IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
+     * IP address of the interface inside Google Cloud Platform.
      * 
* * optional string ip_address = 406272220; @@ -4613,7 +5496,7 @@ public Builder setIpAddress(java.lang.String value) { */ public Builder clearIpAddress() { ipAddress_ = getDefaultInstance().getIpAddress(); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } @@ -4621,7 +5504,7 @@ public Builder clearIpAddress() { * * *
-     * IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
+     * IP address of the interface inside Google Cloud Platform.
      * 
* * optional string ip_address = 406272220; @@ -4635,7 +5518,127 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); ipAddress_ = value; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + + private java.lang.Object ipv4NexthopAddress_ = ""; + /** + * + * + *
+     * IPv4 address of the interface inside Google Cloud Platform.
+     * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return Whether the ipv4NexthopAddress field is set. + */ + public boolean hasIpv4NexthopAddress() { + return ((bitField0_ & 0x00004000) != 0); + } + /** + * + * + *
+     * IPv4 address of the interface inside Google Cloud Platform.
+     * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return The ipv4NexthopAddress. + */ + public java.lang.String getIpv4NexthopAddress() { + java.lang.Object ref = ipv4NexthopAddress_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ipv4NexthopAddress_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * IPv4 address of the interface inside Google Cloud Platform.
+     * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return The bytes for ipv4NexthopAddress. + */ + public com.google.protobuf.ByteString getIpv4NexthopAddressBytes() { + java.lang.Object ref = ipv4NexthopAddress_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + ipv4NexthopAddress_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * IPv4 address of the interface inside Google Cloud Platform.
+     * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @param value The ipv4NexthopAddress to set. + * @return This builder for chaining. + */ + public Builder setIpv4NexthopAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ipv4NexthopAddress_ = value; + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + /** + * + * + *
+     * IPv4 address of the interface inside Google Cloud Platform.
+     * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return This builder for chaining. + */ + public Builder clearIpv4NexthopAddress() { + ipv4NexthopAddress_ = getDefaultInstance().getIpv4NexthopAddress(); + bitField0_ = (bitField0_ & ~0x00004000); + onChanged(); + return this; + } + /** + * + * + *
+     * IPv4 address of the interface inside Google Cloud Platform.
+     * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @param value The bytes for ipv4NexthopAddress to set. + * @return This builder for chaining. + */ + public Builder setIpv4NexthopAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipv4NexthopAddress_ = value; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -4653,7 +5656,7 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { * @return Whether the ipv6NexthopAddress field is set. */ public boolean hasIpv6NexthopAddress() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00008000) != 0); } /** * @@ -4716,7 +5719,7 @@ public Builder setIpv6NexthopAddress(java.lang.String value) { throw new NullPointerException(); } ipv6NexthopAddress_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -4733,7 +5736,7 @@ public Builder setIpv6NexthopAddress(java.lang.String value) { */ public Builder clearIpv6NexthopAddress() { ipv6NexthopAddress_ = getDefaultInstance().getIpv6NexthopAddress(); - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00008000); onChanged(); return this; } @@ -4755,7 +5758,7 @@ public Builder setIpv6NexthopAddressBytes(com.google.protobuf.ByteString value) } checkByteStringIsUtf8(value); ipv6NexthopAddress_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -4774,7 +5777,7 @@ public Builder setIpv6NexthopAddressBytes(com.google.protobuf.ByteString value) * @return Whether the managementType field is set. */ public boolean hasManagementType() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00010000) != 0); } /** * @@ -4840,7 +5843,7 @@ public Builder setManagementType(java.lang.String value) { throw new NullPointerException(); } managementType_ = value; - bitField0_ |= 0x00001000; + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -4858,7 +5861,7 @@ public Builder setManagementType(java.lang.String value) { */ public Builder clearManagementType() { managementType_ = getDefaultInstance().getManagementType(); - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00010000); onChanged(); return this; } @@ -4881,7 +5884,7 @@ public Builder setManagementTypeBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); managementType_ = value; - bitField0_ |= 0x00001000; + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -4899,7 +5902,7 @@ public Builder setManagementTypeBytes(com.google.protobuf.ByteString value) { * @return Whether the md5AuthenticationKeyName field is set. */ public boolean hasMd5AuthenticationKeyName() { - return ((bitField0_ & 0x00002000) != 0); + return ((bitField0_ & 0x00020000) != 0); } /** * @@ -4962,7 +5965,7 @@ public Builder setMd5AuthenticationKeyName(java.lang.String value) { throw new NullPointerException(); } md5AuthenticationKeyName_ = value; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -4979,7 +5982,7 @@ public Builder setMd5AuthenticationKeyName(java.lang.String value) { */ public Builder clearMd5AuthenticationKeyName() { md5AuthenticationKeyName_ = getDefaultInstance().getMd5AuthenticationKeyName(); - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00020000); onChanged(); return this; } @@ -5001,7 +6004,7 @@ public Builder setMd5AuthenticationKeyNameBytes(com.google.protobuf.ByteString v } checkByteStringIsUtf8(value); md5AuthenticationKeyName_ = value; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -5019,7 +6022,7 @@ public Builder setMd5AuthenticationKeyNameBytes(com.google.protobuf.ByteString v * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00004000) != 0); + return ((bitField0_ & 0x00040000) != 0); } /** * @@ -5082,7 +6085,7 @@ public Builder setName(java.lang.String value) { throw new NullPointerException(); } name_ = value; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00040000; onChanged(); return this; } @@ -5099,7 +6102,7 @@ public Builder setName(java.lang.String value) { */ public Builder clearName() { name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00004000); + bitField0_ = (bitField0_ & ~0x00040000); onChanged(); return this; } @@ -5121,7 +6124,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); name_ = value; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00040000; onChanged(); return this; } @@ -5140,7 +6143,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasPeerAsn() { - return ((bitField0_ & 0x00008000) != 0); + return ((bitField0_ & 0x00080000) != 0); } /** * @@ -5172,7 +6175,7 @@ public int getPeerAsn() { public Builder setPeerAsn(int value) { peerAsn_ = value; - bitField0_ |= 0x00008000; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -5188,7 +6191,7 @@ public Builder setPeerAsn(int value) { * @return This builder for chaining. */ public Builder clearPeerAsn() { - bitField0_ = (bitField0_ & ~0x00008000); + bitField0_ = (bitField0_ & ~0x00080000); peerAsn_ = 0; onChanged(); return this; @@ -5199,7 +6202,7 @@ public Builder clearPeerAsn() { * * *
-     * IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
+     * IP address of the BGP interface outside Google Cloud Platform.
      * 
* * optional string peer_ip_address = 207735769; @@ -5207,13 +6210,13 @@ public Builder clearPeerAsn() { * @return Whether the peerIpAddress field is set. */ public boolean hasPeerIpAddress() { - return ((bitField0_ & 0x00010000) != 0); + return ((bitField0_ & 0x00100000) != 0); } /** * * *
-     * IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
+     * IP address of the BGP interface outside Google Cloud Platform.
      * 
* * optional string peer_ip_address = 207735769; @@ -5235,7 +6238,7 @@ public java.lang.String getPeerIpAddress() { * * *
-     * IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
+     * IP address of the BGP interface outside Google Cloud Platform.
      * 
* * optional string peer_ip_address = 207735769; @@ -5257,7 +6260,7 @@ public com.google.protobuf.ByteString getPeerIpAddressBytes() { * * *
-     * IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
+     * IP address of the BGP interface outside Google Cloud Platform.
      * 
* * optional string peer_ip_address = 207735769; @@ -5270,7 +6273,7 @@ public Builder setPeerIpAddress(java.lang.String value) { throw new NullPointerException(); } peerIpAddress_ = value; - bitField0_ |= 0x00010000; + bitField0_ |= 0x00100000; onChanged(); return this; } @@ -5278,7 +6281,7 @@ public Builder setPeerIpAddress(java.lang.String value) { * * *
-     * IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
+     * IP address of the BGP interface outside Google Cloud Platform.
      * 
* * optional string peer_ip_address = 207735769; @@ -5287,7 +6290,7 @@ public Builder setPeerIpAddress(java.lang.String value) { */ public Builder clearPeerIpAddress() { peerIpAddress_ = getDefaultInstance().getPeerIpAddress(); - bitField0_ = (bitField0_ & ~0x00010000); + bitField0_ = (bitField0_ & ~0x00100000); onChanged(); return this; } @@ -5295,7 +6298,7 @@ public Builder clearPeerIpAddress() { * * *
-     * IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
+     * IP address of the BGP interface outside Google Cloud Platform.
      * 
* * optional string peer_ip_address = 207735769; @@ -5309,7 +6312,127 @@ public Builder setPeerIpAddressBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); peerIpAddress_ = value; - bitField0_ |= 0x00010000; + bitField0_ |= 0x00100000; + onChanged(); + return this; + } + + private java.lang.Object peerIpv4NexthopAddress_ = ""; + /** + * + * + *
+     * IPv4 address of the BGP interface outside Google Cloud Platform.
+     * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return Whether the peerIpv4NexthopAddress field is set. + */ + public boolean hasPeerIpv4NexthopAddress() { + return ((bitField0_ & 0x00200000) != 0); + } + /** + * + * + *
+     * IPv4 address of the BGP interface outside Google Cloud Platform.
+     * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return The peerIpv4NexthopAddress. + */ + public java.lang.String getPeerIpv4NexthopAddress() { + java.lang.Object ref = peerIpv4NexthopAddress_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + peerIpv4NexthopAddress_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * IPv4 address of the BGP interface outside Google Cloud Platform.
+     * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return The bytes for peerIpv4NexthopAddress. + */ + public com.google.protobuf.ByteString getPeerIpv4NexthopAddressBytes() { + java.lang.Object ref = peerIpv4NexthopAddress_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + peerIpv4NexthopAddress_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * IPv4 address of the BGP interface outside Google Cloud Platform.
+     * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @param value The peerIpv4NexthopAddress to set. + * @return This builder for chaining. + */ + public Builder setPeerIpv4NexthopAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + peerIpv4NexthopAddress_ = value; + bitField0_ |= 0x00200000; + onChanged(); + return this; + } + /** + * + * + *
+     * IPv4 address of the BGP interface outside Google Cloud Platform.
+     * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return This builder for chaining. + */ + public Builder clearPeerIpv4NexthopAddress() { + peerIpv4NexthopAddress_ = getDefaultInstance().getPeerIpv4NexthopAddress(); + bitField0_ = (bitField0_ & ~0x00200000); + onChanged(); + return this; + } + /** + * + * + *
+     * IPv4 address of the BGP interface outside Google Cloud Platform.
+     * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @param value The bytes for peerIpv4NexthopAddress to set. + * @return This builder for chaining. + */ + public Builder setPeerIpv4NexthopAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + peerIpv4NexthopAddress_ = value; + bitField0_ |= 0x00200000; onChanged(); return this; } @@ -5327,7 +6450,7 @@ public Builder setPeerIpAddressBytes(com.google.protobuf.ByteString value) { * @return Whether the peerIpv6NexthopAddress field is set. */ public boolean hasPeerIpv6NexthopAddress() { - return ((bitField0_ & 0x00020000) != 0); + return ((bitField0_ & 0x00400000) != 0); } /** * @@ -5390,7 +6513,7 @@ public Builder setPeerIpv6NexthopAddress(java.lang.String value) { throw new NullPointerException(); } peerIpv6NexthopAddress_ = value; - bitField0_ |= 0x00020000; + bitField0_ |= 0x00400000; onChanged(); return this; } @@ -5407,7 +6530,7 @@ public Builder setPeerIpv6NexthopAddress(java.lang.String value) { */ public Builder clearPeerIpv6NexthopAddress() { peerIpv6NexthopAddress_ = getDefaultInstance().getPeerIpv6NexthopAddress(); - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x00400000); onChanged(); return this; } @@ -5429,7 +6552,7 @@ public Builder setPeerIpv6NexthopAddressBytes(com.google.protobuf.ByteString val } checkByteStringIsUtf8(value); peerIpv6NexthopAddress_ = value; - bitField0_ |= 0x00020000; + bitField0_ |= 0x00400000; onChanged(); return this; } @@ -5447,7 +6570,7 @@ public Builder setPeerIpv6NexthopAddressBytes(com.google.protobuf.ByteString val * @return Whether the routerApplianceInstance field is set. */ public boolean hasRouterApplianceInstance() { - return ((bitField0_ & 0x00040000) != 0); + return ((bitField0_ & 0x00800000) != 0); } /** * @@ -5510,7 +6633,7 @@ public Builder setRouterApplianceInstance(java.lang.String value) { throw new NullPointerException(); } routerApplianceInstance_ = value; - bitField0_ |= 0x00040000; + bitField0_ |= 0x00800000; onChanged(); return this; } @@ -5527,7 +6650,7 @@ public Builder setRouterApplianceInstance(java.lang.String value) { */ public Builder clearRouterApplianceInstance() { routerApplianceInstance_ = getDefaultInstance().getRouterApplianceInstance(); - bitField0_ = (bitField0_ & ~0x00040000); + bitField0_ = (bitField0_ & ~0x00800000); onChanged(); return this; } @@ -5549,7 +6672,7 @@ public Builder setRouterApplianceInstanceBytes(com.google.protobuf.ByteString va } checkByteStringIsUtf8(value); routerApplianceInstance_ = value; - bitField0_ |= 0x00040000; + bitField0_ |= 0x00800000; onChanged(); return this; } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpPeerOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpPeerOrBuilder.java index 0fd7ca773ad8..53774c8f0a40 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpPeerOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpPeerOrBuilder.java @@ -375,7 +375,32 @@ com.google.cloud.compute.v1.RouterAdvertisedIpRangeOrBuilder getAdvertisedIpRang * * *
-   * Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
+   * Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
+   * 
+ * + * optional bool enable_ipv4 = 181467937; + * + * @return Whether the enableIpv4 field is set. + */ + boolean hasEnableIpv4(); + /** + * + * + *
+   * Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
+   * 
+ * + * optional bool enable_ipv4 = 181467937; + * + * @return The enableIpv4. + */ + boolean getEnableIpv4(); + + /** + * + * + *
+   * Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
    * 
* * optional bool enable_ipv6 = 181467939; @@ -387,7 +412,7 @@ com.google.cloud.compute.v1.RouterAdvertisedIpRangeOrBuilder getAdvertisedIpRang * * *
-   * Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
+   * Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
    * 
* * optional bool enable_ipv6 = 181467939; @@ -396,6 +421,108 @@ com.google.cloud.compute.v1.RouterAdvertisedIpRangeOrBuilder getAdvertisedIpRang */ boolean getEnableIpv6(); + /** + * + * + *
+   * List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+   * 
+ * + * repeated string export_policies = 134084987; + * + * @return A list containing the exportPolicies. + */ + java.util.List getExportPoliciesList(); + /** + * + * + *
+   * List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+   * 
+ * + * repeated string export_policies = 134084987; + * + * @return The count of exportPolicies. + */ + int getExportPoliciesCount(); + /** + * + * + *
+   * List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+   * 
+ * + * repeated string export_policies = 134084987; + * + * @param index The index of the element to return. + * @return The exportPolicies at the given index. + */ + java.lang.String getExportPolicies(int index); + /** + * + * + *
+   * List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+   * 
+ * + * repeated string export_policies = 134084987; + * + * @param index The index of the value to return. + * @return The bytes of the exportPolicies at the given index. + */ + com.google.protobuf.ByteString getExportPoliciesBytes(int index); + + /** + * + * + *
+   * List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+   * 
+ * + * repeated string import_policies = 451147946; + * + * @return A list containing the importPolicies. + */ + java.util.List getImportPoliciesList(); + /** + * + * + *
+   * List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+   * 
+ * + * repeated string import_policies = 451147946; + * + * @return The count of importPolicies. + */ + int getImportPoliciesCount(); + /** + * + * + *
+   * List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+   * 
+ * + * repeated string import_policies = 451147946; + * + * @param index The index of the element to return. + * @return The importPolicies at the given index. + */ + java.lang.String getImportPolicies(int index); + /** + * + * + *
+   * List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies.
+   * 
+ * + * repeated string import_policies = 451147946; + * + * @param index The index of the value to return. + * @return The bytes of the importPolicies at the given index. + */ + com.google.protobuf.ByteString getImportPoliciesBytes(int index); + /** * * @@ -437,7 +564,7 @@ com.google.cloud.compute.v1.RouterAdvertisedIpRangeOrBuilder getAdvertisedIpRang * * *
-   * IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
+   * IP address of the interface inside Google Cloud Platform.
    * 
* * optional string ip_address = 406272220; @@ -449,7 +576,7 @@ com.google.cloud.compute.v1.RouterAdvertisedIpRangeOrBuilder getAdvertisedIpRang * * *
-   * IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
+   * IP address of the interface inside Google Cloud Platform.
    * 
* * optional string ip_address = 406272220; @@ -461,7 +588,7 @@ com.google.cloud.compute.v1.RouterAdvertisedIpRangeOrBuilder getAdvertisedIpRang * * *
-   * IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
+   * IP address of the interface inside Google Cloud Platform.
    * 
* * optional string ip_address = 406272220; @@ -470,6 +597,43 @@ com.google.cloud.compute.v1.RouterAdvertisedIpRangeOrBuilder getAdvertisedIpRang */ com.google.protobuf.ByteString getIpAddressBytes(); + /** + * + * + *
+   * IPv4 address of the interface inside Google Cloud Platform.
+   * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return Whether the ipv4NexthopAddress field is set. + */ + boolean hasIpv4NexthopAddress(); + /** + * + * + *
+   * IPv4 address of the interface inside Google Cloud Platform.
+   * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return The ipv4NexthopAddress. + */ + java.lang.String getIpv4NexthopAddress(); + /** + * + * + *
+   * IPv4 address of the interface inside Google Cloud Platform.
+   * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return The bytes for ipv4NexthopAddress. + */ + com.google.protobuf.ByteString getIpv4NexthopAddressBytes(); + /** * * @@ -650,7 +814,7 @@ com.google.cloud.compute.v1.RouterAdvertisedIpRangeOrBuilder getAdvertisedIpRang * * *
-   * IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
+   * IP address of the BGP interface outside Google Cloud Platform.
    * 
* * optional string peer_ip_address = 207735769; @@ -662,7 +826,7 @@ com.google.cloud.compute.v1.RouterAdvertisedIpRangeOrBuilder getAdvertisedIpRang * * *
-   * IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
+   * IP address of the BGP interface outside Google Cloud Platform.
    * 
* * optional string peer_ip_address = 207735769; @@ -674,7 +838,7 @@ com.google.cloud.compute.v1.RouterAdvertisedIpRangeOrBuilder getAdvertisedIpRang * * *
-   * IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
+   * IP address of the BGP interface outside Google Cloud Platform.
    * 
* * optional string peer_ip_address = 207735769; @@ -683,6 +847,43 @@ com.google.cloud.compute.v1.RouterAdvertisedIpRangeOrBuilder getAdvertisedIpRang */ com.google.protobuf.ByteString getPeerIpAddressBytes(); + /** + * + * + *
+   * IPv4 address of the BGP interface outside Google Cloud Platform.
+   * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return Whether the peerIpv4NexthopAddress field is set. + */ + boolean hasPeerIpv4NexthopAddress(); + /** + * + * + *
+   * IPv4 address of the BGP interface outside Google Cloud Platform.
+   * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return The peerIpv4NexthopAddress. + */ + java.lang.String getPeerIpv4NexthopAddress(); + /** + * + * + *
+   * IPv4 address of the BGP interface outside Google Cloud Platform.
+   * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return The bytes for peerIpv4NexthopAddress. + */ + com.google.protobuf.ByteString getPeerIpv4NexthopAddressBytes(); + /** * * diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterInterface.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterInterface.java index 6868422a0374..c58d14c4d739 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterInterface.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterInterface.java @@ -39,6 +39,7 @@ private RouterInterface(com.google.protobuf.GeneratedMessageV3.Builder builde private RouterInterface() { ipRange_ = ""; + ipVersion_ = ""; linkedInterconnectAttachment_ = ""; linkedVpnTunnel_ = ""; managementType_ = ""; @@ -69,6 +70,131 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.compute.v1.RouterInterface.Builder.class); } + /** + * + * + *
+   * IP version of this interface.
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.RouterInterface.IpVersion} + */ + public enum IpVersion implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_IP_VERSION = 0; + */ + UNDEFINED_IP_VERSION(0), + /** IPV4 = 2254341; */ + IPV4(2254341), + /** IPV6 = 2254343; */ + IPV6(2254343), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_IP_VERSION = 0; + */ + public static final int UNDEFINED_IP_VERSION_VALUE = 0; + /** IPV4 = 2254341; */ + public static final int IPV4_VALUE = 2254341; + /** IPV6 = 2254343; */ + public static final int IPV6_VALUE = 2254343; + + 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 IpVersion 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 IpVersion forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_IP_VERSION; + case 2254341: + return IPV4; + case 2254343: + return IPV6; + 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 IpVersion findValueByNumber(int number) { + return IpVersion.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.cloud.compute.v1.RouterInterface.getDescriptor().getEnumTypes().get(0); + } + + private static final IpVersion[] VALUES = values(); + + public static IpVersion 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 IpVersion(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.RouterInterface.IpVersion) + } + /** * * @@ -202,7 +328,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.compute.v1.RouterInterface.getDescriptor().getEnumTypes().get(0); + return com.google.cloud.compute.v1.RouterInterface.getDescriptor().getEnumTypes().get(1); } private static final ManagementType[] VALUES = values(); @@ -235,7 +361,7 @@ private ManagementType(int value) { * * *
-   * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
+   * IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose.
    * 
* * optional string ip_range = 145092645; @@ -250,7 +376,7 @@ public boolean hasIpRange() { * * *
-   * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
+   * IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose.
    * 
* * optional string ip_range = 145092645; @@ -273,7 +399,7 @@ public java.lang.String getIpRange() { * * *
-   * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
+   * IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose.
    * 
* * optional string ip_range = 145092645; @@ -293,6 +419,75 @@ public com.google.protobuf.ByteString getIpRangeBytes() { } } + public static final int IP_VERSION_FIELD_NUMBER = 294959552; + + @SuppressWarnings("serial") + private volatile java.lang.Object ipVersion_ = ""; + /** + * + * + *
+   * IP version of this interface.
+   * Check the IpVersion enum for the list of possible values.
+   * 
+ * + * optional string ip_version = 294959552; + * + * @return Whether the ipVersion field is set. + */ + @java.lang.Override + public boolean hasIpVersion() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * IP version of this interface.
+   * Check the IpVersion enum for the list of possible values.
+   * 
+ * + * optional string ip_version = 294959552; + * + * @return The ipVersion. + */ + @java.lang.Override + public java.lang.String getIpVersion() { + java.lang.Object ref = ipVersion_; + 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(); + ipVersion_ = s; + return s; + } + } + /** + * + * + *
+   * IP version of this interface.
+   * Check the IpVersion enum for the list of possible values.
+   * 
+ * + * optional string ip_version = 294959552; + * + * @return The bytes for ipVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIpVersionBytes() { + java.lang.Object ref = ipVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + ipVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int LINKED_INTERCONNECT_ATTACHMENT_FIELD_NUMBER = 501085518; @SuppressWarnings("serial") @@ -310,7 +505,7 @@ public com.google.protobuf.ByteString getIpRangeBytes() { */ @java.lang.Override public boolean hasLinkedInterconnectAttachment() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** * @@ -376,7 +571,7 @@ public com.google.protobuf.ByteString getLinkedInterconnectAttachmentBytes() { */ @java.lang.Override public boolean hasLinkedVpnTunnel() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** * @@ -443,7 +638,7 @@ public com.google.protobuf.ByteString getLinkedVpnTunnelBytes() { */ @java.lang.Override public boolean hasManagementType() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** * @@ -511,7 +706,7 @@ public com.google.protobuf.ByteString getManagementTypeBytes() { */ @java.lang.Override public boolean hasName() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** * @@ -577,7 +772,7 @@ public com.google.protobuf.ByteString getNameBytes() { */ @java.lang.Override public boolean hasPrivateIpAddress() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** * @@ -643,7 +838,7 @@ public com.google.protobuf.ByteString getPrivateIpAddressBytes() { */ @java.lang.Override public boolean hasRedundantInterface() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** * @@ -709,7 +904,7 @@ public com.google.protobuf.ByteString getRedundantInterfaceBytes() { */ @java.lang.Override public boolean hasSubnetwork() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -772,29 +967,32 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); } - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 100854040, privateIpAddress_); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 145092645, ipRange_); } - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 173703606, managementType_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 294959552, ipVersion_); + } + if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 307827694, subnetwork_); } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 352296953, linkedVpnTunnel_); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString( output, 501085518, linkedInterconnectAttachment_); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 523187303, redundantInterface_); } getUnknownFields().writeTo(output); @@ -806,31 +1004,34 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); } - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100854040, privateIpAddress_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(145092645, ipRange_); } - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(173703606, managementType_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(294959552, ipVersion_); + } + if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(307827694, subnetwork_); } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(352296953, linkedVpnTunnel_); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize( 501085518, linkedInterconnectAttachment_); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(523187303, redundantInterface_); } @@ -854,6 +1055,10 @@ public boolean equals(final java.lang.Object obj) { if (hasIpRange()) { if (!getIpRange().equals(other.getIpRange())) return false; } + if (hasIpVersion() != other.hasIpVersion()) return false; + if (hasIpVersion()) { + if (!getIpVersion().equals(other.getIpVersion())) return false; + } if (hasLinkedInterconnectAttachment() != other.hasLinkedInterconnectAttachment()) return false; if (hasLinkedInterconnectAttachment()) { if (!getLinkedInterconnectAttachment().equals(other.getLinkedInterconnectAttachment())) @@ -898,6 +1103,10 @@ public int hashCode() { hash = (37 * hash) + IP_RANGE_FIELD_NUMBER; hash = (53 * hash) + getIpRange().hashCode(); } + if (hasIpVersion()) { + hash = (37 * hash) + IP_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getIpVersion().hashCode(); + } if (hasLinkedInterconnectAttachment()) { hash = (37 * hash) + LINKED_INTERCONNECT_ATTACHMENT_FIELD_NUMBER; hash = (53 * hash) + getLinkedInterconnectAttachment().hashCode(); @@ -1065,6 +1274,7 @@ public Builder clear() { super.clear(); bitField0_ = 0; ipRange_ = ""; + ipVersion_ = ""; linkedInterconnectAttachment_ = ""; linkedVpnTunnel_ = ""; managementType_ = ""; @@ -1114,33 +1324,37 @@ private void buildPartial0(com.google.cloud.compute.v1.RouterInterface result) { to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.linkedInterconnectAttachment_ = linkedInterconnectAttachment_; + result.ipVersion_ = ipVersion_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.linkedVpnTunnel_ = linkedVpnTunnel_; + result.linkedInterconnectAttachment_ = linkedInterconnectAttachment_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.managementType_ = managementType_; + result.linkedVpnTunnel_ = linkedVpnTunnel_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.name_ = name_; + result.managementType_ = managementType_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.privateIpAddress_ = privateIpAddress_; + result.name_ = name_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.redundantInterface_ = redundantInterface_; + result.privateIpAddress_ = privateIpAddress_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.subnetwork_ = subnetwork_; + result.redundantInterface_ = redundantInterface_; to_bitField0_ |= 0x00000080; } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.subnetwork_ = subnetwork_; + to_bitField0_ |= 0x00000100; + } result.bitField0_ |= to_bitField0_; } @@ -1194,39 +1408,44 @@ public Builder mergeFrom(com.google.cloud.compute.v1.RouterInterface other) { bitField0_ |= 0x00000001; onChanged(); } + if (other.hasIpVersion()) { + ipVersion_ = other.ipVersion_; + bitField0_ |= 0x00000002; + onChanged(); + } if (other.hasLinkedInterconnectAttachment()) { linkedInterconnectAttachment_ = other.linkedInterconnectAttachment_; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); } if (other.hasLinkedVpnTunnel()) { linkedVpnTunnel_ = other.linkedVpnTunnel_; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); } if (other.hasManagementType()) { managementType_ = other.managementType_; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); } if (other.hasName()) { name_ = other.name_; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); } if (other.hasPrivateIpAddress()) { privateIpAddress_ = other.privateIpAddress_; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); } if (other.hasRedundantInterface()) { redundantInterface_ = other.redundantInterface_; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); } if (other.hasSubnetwork()) { subnetwork_ = other.subnetwork_; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -1258,13 +1477,13 @@ public Builder mergeFrom( case 26989658: { name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; break; } // case 26989658 case 806832322: { privateIpAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; break; } // case 806832322 case 1160741162: @@ -1276,31 +1495,37 @@ public Builder mergeFrom( case 1389628850: { managementType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; break; } // case 1389628850 + case -1935290878: + { + ipVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case -1935290878 case -1832345742: { subnetwork_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; break; } // case -1832345742 case -1476591670: { linkedVpnTunnel_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; break; } // case -1476591670 case -286283150: { linkedInterconnectAttachment_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; break; } // case -286283150 case -109468870: { redundantInterface_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; break; } // case -109468870 default: @@ -1327,7 +1552,7 @@ public Builder mergeFrom( * * *
-     * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
+     * IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose.
      * 
* * optional string ip_range = 145092645; @@ -1341,7 +1566,7 @@ public boolean hasIpRange() { * * *
-     * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
+     * IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose.
      * 
* * optional string ip_range = 145092645; @@ -1363,7 +1588,7 @@ public java.lang.String getIpRange() { * * *
-     * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
+     * IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose.
      * 
* * optional string ip_range = 145092645; @@ -1385,7 +1610,7 @@ public com.google.protobuf.ByteString getIpRangeBytes() { * * *
-     * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
+     * IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose.
      * 
* * optional string ip_range = 145092645; @@ -1406,7 +1631,7 @@ public Builder setIpRange(java.lang.String value) { * * *
-     * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
+     * IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose.
      * 
* * optional string ip_range = 145092645; @@ -1423,7 +1648,7 @@ public Builder clearIpRange() { * * *
-     * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
+     * IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose.
      * 
* * optional string ip_range = 145092645; @@ -1442,6 +1667,132 @@ public Builder setIpRangeBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object ipVersion_ = ""; + /** + * + * + *
+     * IP version of this interface.
+     * Check the IpVersion enum for the list of possible values.
+     * 
+ * + * optional string ip_version = 294959552; + * + * @return Whether the ipVersion field is set. + */ + public boolean hasIpVersion() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * IP version of this interface.
+     * Check the IpVersion enum for the list of possible values.
+     * 
+ * + * optional string ip_version = 294959552; + * + * @return The ipVersion. + */ + public java.lang.String getIpVersion() { + java.lang.Object ref = ipVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ipVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * IP version of this interface.
+     * Check the IpVersion enum for the list of possible values.
+     * 
+ * + * optional string ip_version = 294959552; + * + * @return The bytes for ipVersion. + */ + public com.google.protobuf.ByteString getIpVersionBytes() { + java.lang.Object ref = ipVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + ipVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * IP version of this interface.
+     * Check the IpVersion enum for the list of possible values.
+     * 
+ * + * optional string ip_version = 294959552; + * + * @param value The ipVersion to set. + * @return This builder for chaining. + */ + public Builder setIpVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ipVersion_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * IP version of this interface.
+     * Check the IpVersion enum for the list of possible values.
+     * 
+ * + * optional string ip_version = 294959552; + * + * @return This builder for chaining. + */ + public Builder clearIpVersion() { + ipVersion_ = getDefaultInstance().getIpVersion(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * IP version of this interface.
+     * Check the IpVersion enum for the list of possible values.
+     * 
+ * + * optional string ip_version = 294959552; + * + * @param value The bytes for ipVersion to set. + * @return This builder for chaining. + */ + public Builder setIpVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipVersion_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + private java.lang.Object linkedInterconnectAttachment_ = ""; /** * @@ -1455,7 +1806,7 @@ public Builder setIpRangeBytes(com.google.protobuf.ByteString value) { * @return Whether the linkedInterconnectAttachment field is set. */ public boolean hasLinkedInterconnectAttachment() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** * @@ -1518,7 +1869,7 @@ public Builder setLinkedInterconnectAttachment(java.lang.String value) { throw new NullPointerException(); } linkedInterconnectAttachment_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -1535,7 +1886,7 @@ public Builder setLinkedInterconnectAttachment(java.lang.String value) { */ public Builder clearLinkedInterconnectAttachment() { linkedInterconnectAttachment_ = getDefaultInstance().getLinkedInterconnectAttachment(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -1557,7 +1908,7 @@ public Builder setLinkedInterconnectAttachmentBytes(com.google.protobuf.ByteStri } checkByteStringIsUtf8(value); linkedInterconnectAttachment_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -1575,7 +1926,7 @@ public Builder setLinkedInterconnectAttachmentBytes(com.google.protobuf.ByteStri * @return Whether the linkedVpnTunnel field is set. */ public boolean hasLinkedVpnTunnel() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** * @@ -1638,7 +1989,7 @@ public Builder setLinkedVpnTunnel(java.lang.String value) { throw new NullPointerException(); } linkedVpnTunnel_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1655,7 +2006,7 @@ public Builder setLinkedVpnTunnel(java.lang.String value) { */ public Builder clearLinkedVpnTunnel() { linkedVpnTunnel_ = getDefaultInstance().getLinkedVpnTunnel(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -1677,7 +2028,7 @@ public Builder setLinkedVpnTunnelBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); linkedVpnTunnel_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1696,7 +2047,7 @@ public Builder setLinkedVpnTunnelBytes(com.google.protobuf.ByteString value) { * @return Whether the managementType field is set. */ public boolean hasManagementType() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** * @@ -1762,7 +2113,7 @@ public Builder setManagementType(java.lang.String value) { throw new NullPointerException(); } managementType_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -1780,7 +2131,7 @@ public Builder setManagementType(java.lang.String value) { */ public Builder clearManagementType() { managementType_ = getDefaultInstance().getManagementType(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } @@ -1803,7 +2154,7 @@ public Builder setManagementTypeBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); managementType_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -1821,7 +2172,7 @@ public Builder setManagementTypeBytes(com.google.protobuf.ByteString value) { * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** * @@ -1884,7 +2235,7 @@ public Builder setName(java.lang.String value) { throw new NullPointerException(); } name_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -1901,7 +2252,7 @@ public Builder setName(java.lang.String value) { */ public Builder clearName() { name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } @@ -1923,7 +2274,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); name_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -1941,7 +2292,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * @return Whether the privateIpAddress field is set. */ public boolean hasPrivateIpAddress() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** * @@ -2004,7 +2355,7 @@ public Builder setPrivateIpAddress(java.lang.String value) { throw new NullPointerException(); } privateIpAddress_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -2021,7 +2372,7 @@ public Builder setPrivateIpAddress(java.lang.String value) { */ public Builder clearPrivateIpAddress() { privateIpAddress_ = getDefaultInstance().getPrivateIpAddress(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @@ -2043,7 +2394,7 @@ public Builder setPrivateIpAddressBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); privateIpAddress_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -2061,7 +2412,7 @@ public Builder setPrivateIpAddressBytes(com.google.protobuf.ByteString value) { * @return Whether the redundantInterface field is set. */ public boolean hasRedundantInterface() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** * @@ -2124,7 +2475,7 @@ public Builder setRedundantInterface(java.lang.String value) { throw new NullPointerException(); } redundantInterface_ = value; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -2141,7 +2492,7 @@ public Builder setRedundantInterface(java.lang.String value) { */ public Builder clearRedundantInterface() { redundantInterface_ = getDefaultInstance().getRedundantInterface(); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } @@ -2163,7 +2514,7 @@ public Builder setRedundantInterfaceBytes(com.google.protobuf.ByteString value) } checkByteStringIsUtf8(value); redundantInterface_ = value; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -2181,7 +2532,7 @@ public Builder setRedundantInterfaceBytes(com.google.protobuf.ByteString value) * @return Whether the subnetwork field is set. */ public boolean hasSubnetwork() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -2244,7 +2595,7 @@ public Builder setSubnetwork(java.lang.String value) { throw new NullPointerException(); } subnetwork_ = value; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -2261,7 +2612,7 @@ public Builder setSubnetwork(java.lang.String value) { */ public Builder clearSubnetwork() { subnetwork_ = getDefaultInstance().getSubnetwork(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } @@ -2283,7 +2634,7 @@ public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); subnetwork_ = value; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterInterfaceOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterInterfaceOrBuilder.java index 29e08501ac9b..c35655363d0f 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterInterfaceOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterInterfaceOrBuilder.java @@ -28,7 +28,7 @@ public interface RouterInterfaceOrBuilder * * *
-   * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
+   * IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose.
    * 
* * optional string ip_range = 145092645; @@ -40,7 +40,7 @@ public interface RouterInterfaceOrBuilder * * *
-   * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
+   * IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose.
    * 
* * optional string ip_range = 145092645; @@ -52,7 +52,7 @@ public interface RouterInterfaceOrBuilder * * *
-   * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
+   * IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose.
    * 
* * optional string ip_range = 145092645; @@ -61,6 +61,46 @@ public interface RouterInterfaceOrBuilder */ com.google.protobuf.ByteString getIpRangeBytes(); + /** + * + * + *
+   * IP version of this interface.
+   * Check the IpVersion enum for the list of possible values.
+   * 
+ * + * optional string ip_version = 294959552; + * + * @return Whether the ipVersion field is set. + */ + boolean hasIpVersion(); + /** + * + * + *
+   * IP version of this interface.
+   * Check the IpVersion enum for the list of possible values.
+   * 
+ * + * optional string ip_version = 294959552; + * + * @return The ipVersion. + */ + java.lang.String getIpVersion(); + /** + * + * + *
+   * IP version of this interface.
+   * Check the IpVersion enum for the list of possible values.
+   * 
+ * + * optional string ip_version = 294959552; + * + * @return The bytes for ipVersion. + */ + com.google.protobuf.ByteString getIpVersionBytes(); + /** * * diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java index 27bca7db83a4..0db03d28e0bd 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java @@ -40,10 +40,12 @@ private RouterStatusBgpPeerStatus(com.google.protobuf.GeneratedMessageV3.Builder private RouterStatusBgpPeerStatus() { advertisedRoutes_ = java.util.Collections.emptyList(); ipAddress_ = ""; + ipv4NexthopAddress_ = ""; ipv6NexthopAddress_ = ""; linkedVpnTunnel_ = ""; name_ = ""; peerIpAddress_ = ""; + peerIpv4NexthopAddress_ = ""; peerIpv6NexthopAddress_ = ""; routerApplianceInstance_ = ""; state_ = ""; @@ -227,6 +229,26 @@ public enum StatusReason implements com.google.protobuf.ProtocolMessageEnum { * UNDEFINED_STATUS_REASON = 0; */ UNDEFINED_STATUS_REASON(0), + /** + * + * + *
+     * BGP peer disabled because it requires IPv4 but the underlying connection is IPv6-only.
+     * 
+ * + * IPV4_PEER_ON_IPV6_ONLY_CONNECTION = 435936662; + */ + IPV4_PEER_ON_IPV6_ONLY_CONNECTION(435936662), + /** + * + * + *
+     * BGP peer disabled because it requires IPv6 but the underlying connection is IPv4-only.
+     * 
+ * + * IPV6_PEER_ON_IPV4_ONLY_CONNECTION = 436304082; + */ + IPV6_PEER_ON_IPV4_ONLY_CONNECTION(436304082), /** * * @@ -252,6 +274,26 @@ public enum StatusReason implements com.google.protobuf.ProtocolMessageEnum { * UNDEFINED_STATUS_REASON = 0; */ public static final int UNDEFINED_STATUS_REASON_VALUE = 0; + /** + * + * + *
+     * BGP peer disabled because it requires IPv4 but the underlying connection is IPv6-only.
+     * 
+ * + * IPV4_PEER_ON_IPV6_ONLY_CONNECTION = 435936662; + */ + public static final int IPV4_PEER_ON_IPV6_ONLY_CONNECTION_VALUE = 435936662; + /** + * + * + *
+     * BGP peer disabled because it requires IPv6 but the underlying connection is IPv4-only.
+     * 
+ * + * IPV6_PEER_ON_IPV4_ONLY_CONNECTION = 436304082; + */ + public static final int IPV6_PEER_ON_IPV4_ONLY_CONNECTION_VALUE = 436304082; /** * * @@ -291,6 +333,10 @@ public static StatusReason forNumber(int value) { switch (value) { case 0: return UNDEFINED_STATUS_REASON; + case 435936662: + return IPV4_PEER_ON_IPV6_ONLY_CONNECTION; + case 436304082: + return IPV6_PEER_ON_IPV4_ONLY_CONNECTION; case 140462259: return MD5_AUTH_INTERNAL_PROBLEM; case 394331913: @@ -452,13 +498,46 @@ public com.google.cloud.compute.v1.BfdStatusOrBuilder getBfdStatusOrBuilder() { : bfdStatus_; } + public static final int ENABLE_IPV4_FIELD_NUMBER = 181467937; + private boolean enableIpv4_ = false; + /** + * + * + *
+   * Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
+   * 
+ * + * optional bool enable_ipv4 = 181467937; + * + * @return Whether the enableIpv4 field is set. + */ + @java.lang.Override + public boolean hasEnableIpv4() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
+   * 
+ * + * optional bool enable_ipv4 = 181467937; + * + * @return The enableIpv4. + */ + @java.lang.Override + public boolean getEnableIpv4() { + return enableIpv4_; + } + public static final int ENABLE_IPV6_FIELD_NUMBER = 181467939; private boolean enableIpv6_ = false; /** * * *
-   * Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
+   * Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
    * 
* * optional bool enable_ipv6 = 181467939; @@ -467,13 +546,13 @@ public com.google.cloud.compute.v1.BfdStatusOrBuilder getBfdStatusOrBuilder() { */ @java.lang.Override public boolean hasEnableIpv6() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** * * *
-   * Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
+   * Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
    * 
* * optional bool enable_ipv6 = 181467939; @@ -502,7 +581,7 @@ public boolean getEnableIpv6() { */ @java.lang.Override public boolean hasIpAddress() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** * @@ -551,6 +630,72 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } } + public static final int IPV4_NEXTHOP_ADDRESS_FIELD_NUMBER = 5703377; + + @SuppressWarnings("serial") + private volatile java.lang.Object ipv4NexthopAddress_ = ""; + /** + * + * + *
+   * IPv4 address of the local BGP interface.
+   * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return Whether the ipv4NexthopAddress field is set. + */ + @java.lang.Override + public boolean hasIpv4NexthopAddress() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * IPv4 address of the local BGP interface.
+   * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return The ipv4NexthopAddress. + */ + @java.lang.Override + public java.lang.String getIpv4NexthopAddress() { + java.lang.Object ref = ipv4NexthopAddress_; + 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(); + ipv4NexthopAddress_ = s; + return s; + } + } + /** + * + * + *
+   * IPv4 address of the local BGP interface.
+   * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return The bytes for ipv4NexthopAddress. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIpv4NexthopAddressBytes() { + java.lang.Object ref = ipv4NexthopAddress_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + ipv4NexthopAddress_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER = 27968211; @SuppressWarnings("serial") @@ -568,7 +713,7 @@ public com.google.protobuf.ByteString getIpAddressBytes() { */ @java.lang.Override public boolean hasIpv6NexthopAddress() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** * @@ -634,7 +779,7 @@ public com.google.protobuf.ByteString getIpv6NexthopAddressBytes() { */ @java.lang.Override public boolean hasLinkedVpnTunnel() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** * @@ -698,7 +843,7 @@ public com.google.protobuf.ByteString getLinkedVpnTunnelBytes() { */ @java.lang.Override public boolean hasMd5AuthEnabled() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** * @@ -733,7 +878,7 @@ public boolean getMd5AuthEnabled() { */ @java.lang.Override public boolean hasName() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -797,7 +942,7 @@ public com.google.protobuf.ByteString getNameBytes() { */ @java.lang.Override public boolean hasNumLearnedRoutes() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * @@ -832,7 +977,7 @@ public int getNumLearnedRoutes() { */ @java.lang.Override public boolean hasPeerIpAddress() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** * @@ -881,6 +1026,72 @@ public com.google.protobuf.ByteString getPeerIpAddressBytes() { } } + public static final int PEER_IPV4_NEXTHOP_ADDRESS_FIELD_NUMBER = 469221774; + + @SuppressWarnings("serial") + private volatile java.lang.Object peerIpv4NexthopAddress_ = ""; + /** + * + * + *
+   * IPv4 address of the remote BGP interface.
+   * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return Whether the peerIpv4NexthopAddress field is set. + */ + @java.lang.Override + public boolean hasPeerIpv4NexthopAddress() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + * + * + *
+   * IPv4 address of the remote BGP interface.
+   * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return The peerIpv4NexthopAddress. + */ + @java.lang.Override + public java.lang.String getPeerIpv4NexthopAddress() { + java.lang.Object ref = peerIpv4NexthopAddress_; + 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(); + peerIpv4NexthopAddress_ = s; + return s; + } + } + /** + * + * + *
+   * IPv4 address of the remote BGP interface.
+   * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return The bytes for peerIpv4NexthopAddress. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPeerIpv4NexthopAddressBytes() { + java.lang.Object ref = peerIpv4NexthopAddress_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + peerIpv4NexthopAddress_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int PEER_IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER = 491486608; @SuppressWarnings("serial") @@ -898,7 +1109,7 @@ public com.google.protobuf.ByteString getPeerIpAddressBytes() { */ @java.lang.Override public boolean hasPeerIpv6NexthopAddress() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** * @@ -964,7 +1175,7 @@ public com.google.protobuf.ByteString getPeerIpv6NexthopAddressBytes() { */ @java.lang.Override public boolean hasRouterApplianceInstance() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * @@ -1030,7 +1241,7 @@ public com.google.protobuf.ByteString getRouterApplianceInstanceBytes() { */ @java.lang.Override public boolean hasState() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** * @@ -1097,7 +1308,7 @@ public com.google.protobuf.ByteString getStateBytes() { */ @java.lang.Override public boolean hasStatus() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00008000) != 0); } /** * @@ -1166,7 +1377,7 @@ public com.google.protobuf.ByteString getStatusBytes() { */ @java.lang.Override public boolean hasStatusReason() { - return ((bitField0_ & 0x00002000) != 0); + return ((bitField0_ & 0x00010000) != 0); } /** * @@ -1234,7 +1445,7 @@ public com.google.protobuf.ByteString getStatusReasonBytes() { */ @java.lang.Override public boolean hasUptime() { - return ((bitField0_ & 0x00004000) != 0); + return ((bitField0_ & 0x00020000) != 0); } /** * @@ -1300,7 +1511,7 @@ public com.google.protobuf.ByteString getUptimeBytes() { */ @java.lang.Override public boolean hasUptimeSeconds() { - return ((bitField0_ & 0x00008000) != 0); + return ((bitField0_ & 0x00040000) != 0); } /** * @@ -1363,56 +1574,66 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); } - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5703377, ipv4NexthopAddress_); + } + if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 27968211, ipv6NexthopAddress_); } - if (((bitField0_ & 0x00008000) != 0)) { + if (((bitField0_ & 0x00040000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 104736040, uptimeSeconds_); } - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00004000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 109757585, state_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { output.writeUInt32(135457535, numLearnedRoutes_); } - if (((bitField0_ & 0x00001000) != 0)) { + if (((bitField0_ & 0x00008000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 181260274, status_); } if (((bitField0_ & 0x00000002) != 0)) { + output.writeBool(181467937, enableIpv4_); + } + if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(181467939, enableIpv6_); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 207735769, peerIpAddress_); } - if (((bitField0_ & 0x00004000) != 0)) { + if (((bitField0_ & 0x00020000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 235379688, uptime_); } for (int i = 0; i < advertisedRoutes_.size(); i++) { output.writeMessage(333393068, advertisedRoutes_.get(i)); } - if (((bitField0_ & 0x00002000) != 0)) { + if (((bitField0_ & 0x00010000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 342706993, statusReason_); } - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 352296953, linkedVpnTunnel_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(395631729, getBfdStatus()); } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 406272220, ipAddress_); } - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { output.writeBool(451152075, md5AuthEnabled_); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00002000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString( output, 468312989, routerApplianceInstance_); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 469221774, peerIpv4NexthopAddress_); + } + if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString( output, 491486608, peerIpv6NexthopAddress_); } @@ -1425,32 +1646,39 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); } - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(5703377, ipv4NexthopAddress_); + } + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27968211, ipv6NexthopAddress_); } - if (((bitField0_ & 0x00008000) != 0)) { + if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(104736040, uptimeSeconds_); } - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(109757585, state_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream.computeUInt32Size(135457535, numLearnedRoutes_); } - if (((bitField0_ & 0x00001000) != 0)) { + if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(181260274, status_); } if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(181467937, enableIpv4_); + } + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(181467939, enableIpv6_); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(207735769, peerIpAddress_); } - if (((bitField0_ & 0x00004000) != 0)) { + if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(235379688, uptime_); } for (int i = 0; i < advertisedRoutes_.size(); i++) { @@ -1458,27 +1686,32 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 333393068, advertisedRoutes_.get(i)); } - if (((bitField0_ & 0x00002000) != 0)) { + if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(342706993, statusReason_); } - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(352296953, linkedVpnTunnel_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(395631729, getBfdStatus()); } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(406272220, ipAddress_); } - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(451152075, md5AuthEnabled_); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize( 468312989, routerApplianceInstance_); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 469221774, peerIpv4NexthopAddress_); + } + if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize( 491486608, peerIpv6NexthopAddress_); @@ -1504,6 +1737,10 @@ public boolean equals(final java.lang.Object obj) { if (hasBfdStatus()) { if (!getBfdStatus().equals(other.getBfdStatus())) return false; } + if (hasEnableIpv4() != other.hasEnableIpv4()) return false; + if (hasEnableIpv4()) { + if (getEnableIpv4() != other.getEnableIpv4()) return false; + } if (hasEnableIpv6() != other.hasEnableIpv6()) return false; if (hasEnableIpv6()) { if (getEnableIpv6() != other.getEnableIpv6()) return false; @@ -1512,6 +1749,10 @@ public boolean equals(final java.lang.Object obj) { if (hasIpAddress()) { if (!getIpAddress().equals(other.getIpAddress())) return false; } + if (hasIpv4NexthopAddress() != other.hasIpv4NexthopAddress()) return false; + if (hasIpv4NexthopAddress()) { + if (!getIpv4NexthopAddress().equals(other.getIpv4NexthopAddress())) return false; + } if (hasIpv6NexthopAddress() != other.hasIpv6NexthopAddress()) return false; if (hasIpv6NexthopAddress()) { if (!getIpv6NexthopAddress().equals(other.getIpv6NexthopAddress())) return false; @@ -1536,6 +1777,10 @@ public boolean equals(final java.lang.Object obj) { if (hasPeerIpAddress()) { if (!getPeerIpAddress().equals(other.getPeerIpAddress())) return false; } + if (hasPeerIpv4NexthopAddress() != other.hasPeerIpv4NexthopAddress()) return false; + if (hasPeerIpv4NexthopAddress()) { + if (!getPeerIpv4NexthopAddress().equals(other.getPeerIpv4NexthopAddress())) return false; + } if (hasPeerIpv6NexthopAddress() != other.hasPeerIpv6NexthopAddress()) return false; if (hasPeerIpv6NexthopAddress()) { if (!getPeerIpv6NexthopAddress().equals(other.getPeerIpv6NexthopAddress())) return false; @@ -1583,6 +1828,10 @@ public int hashCode() { hash = (37 * hash) + BFD_STATUS_FIELD_NUMBER; hash = (53 * hash) + getBfdStatus().hashCode(); } + if (hasEnableIpv4()) { + hash = (37 * hash) + ENABLE_IPV4_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableIpv4()); + } if (hasEnableIpv6()) { hash = (37 * hash) + ENABLE_IPV6_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableIpv6()); @@ -1591,6 +1840,10 @@ public int hashCode() { hash = (37 * hash) + IP_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getIpAddress().hashCode(); } + if (hasIpv4NexthopAddress()) { + hash = (37 * hash) + IPV4_NEXTHOP_ADDRESS_FIELD_NUMBER; + hash = (53 * hash) + getIpv4NexthopAddress().hashCode(); + } if (hasIpv6NexthopAddress()) { hash = (37 * hash) + IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getIpv6NexthopAddress().hashCode(); @@ -1615,6 +1868,10 @@ public int hashCode() { hash = (37 * hash) + PEER_IP_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getPeerIpAddress().hashCode(); } + if (hasPeerIpv4NexthopAddress()) { + hash = (37 * hash) + PEER_IPV4_NEXTHOP_ADDRESS_FIELD_NUMBER; + hash = (53 * hash) + getPeerIpv4NexthopAddress().hashCode(); + } if (hasPeerIpv6NexthopAddress()) { hash = (37 * hash) + PEER_IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getPeerIpv6NexthopAddress().hashCode(); @@ -1804,14 +2061,17 @@ public Builder clear() { bfdStatusBuilder_.dispose(); bfdStatusBuilder_ = null; } + enableIpv4_ = false; enableIpv6_ = false; ipAddress_ = ""; + ipv4NexthopAddress_ = ""; ipv6NexthopAddress_ = ""; linkedVpnTunnel_ = ""; md5AuthEnabled_ = false; name_ = ""; numLearnedRoutes_ = 0; peerIpAddress_ = ""; + peerIpv4NexthopAddress_ = ""; peerIpv6NexthopAddress_ = ""; routerApplianceInstance_ = ""; state_ = ""; @@ -1875,65 +2135,77 @@ private void buildPartial0(com.google.cloud.compute.v1.RouterStatusBgpPeerStatus to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.enableIpv6_ = enableIpv6_; + result.enableIpv4_ = enableIpv4_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.ipAddress_ = ipAddress_; + result.enableIpv6_ = enableIpv6_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.ipv6NexthopAddress_ = ipv6NexthopAddress_; + result.ipAddress_ = ipAddress_; to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.linkedVpnTunnel_ = linkedVpnTunnel_; + result.ipv4NexthopAddress_ = ipv4NexthopAddress_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.md5AuthEnabled_ = md5AuthEnabled_; + result.ipv6NexthopAddress_ = ipv6NexthopAddress_; to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.name_ = name_; + result.linkedVpnTunnel_ = linkedVpnTunnel_; to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.numLearnedRoutes_ = numLearnedRoutes_; + result.md5AuthEnabled_ = md5AuthEnabled_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000200) != 0)) { - result.peerIpAddress_ = peerIpAddress_; + result.name_ = name_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000400) != 0)) { - result.peerIpv6NexthopAddress_ = peerIpv6NexthopAddress_; + result.numLearnedRoutes_ = numLearnedRoutes_; to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000800) != 0)) { - result.routerApplianceInstance_ = routerApplianceInstance_; + result.peerIpAddress_ = peerIpAddress_; to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00001000) != 0)) { - result.state_ = state_; + result.peerIpv4NexthopAddress_ = peerIpv4NexthopAddress_; to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.status_ = status_; + result.peerIpv6NexthopAddress_ = peerIpv6NexthopAddress_; to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00004000) != 0)) { - result.statusReason_ = statusReason_; + result.routerApplianceInstance_ = routerApplianceInstance_; to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00008000) != 0)) { - result.uptime_ = uptime_; + result.state_ = state_; to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00010000) != 0)) { - result.uptimeSeconds_ = uptimeSeconds_; + result.status_ = status_; to_bitField0_ |= 0x00008000; } + if (((from_bitField0_ & 0x00020000) != 0)) { + result.statusReason_ = statusReason_; + to_bitField0_ |= 0x00010000; + } + if (((from_bitField0_ & 0x00040000) != 0)) { + result.uptime_ = uptime_; + to_bitField0_ |= 0x00020000; + } + if (((from_bitField0_ & 0x00080000) != 0)) { + result.uptimeSeconds_ = uptimeSeconds_; + to_bitField0_ |= 0x00040000; + } result.bitField0_ |= to_bitField0_; } @@ -2013,22 +2285,30 @@ public Builder mergeFrom(com.google.cloud.compute.v1.RouterStatusBgpPeerStatus o if (other.hasBfdStatus()) { mergeBfdStatus(other.getBfdStatus()); } + if (other.hasEnableIpv4()) { + setEnableIpv4(other.getEnableIpv4()); + } if (other.hasEnableIpv6()) { setEnableIpv6(other.getEnableIpv6()); } if (other.hasIpAddress()) { ipAddress_ = other.ipAddress_; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.hasIpv4NexthopAddress()) { + ipv4NexthopAddress_ = other.ipv4NexthopAddress_; + bitField0_ |= 0x00000020; onChanged(); } if (other.hasIpv6NexthopAddress()) { ipv6NexthopAddress_ = other.ipv6NexthopAddress_; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); } if (other.hasLinkedVpnTunnel()) { linkedVpnTunnel_ = other.linkedVpnTunnel_; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); } if (other.hasMd5AuthEnabled()) { @@ -2036,7 +2316,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.RouterStatusBgpPeerStatus o } if (other.hasName()) { name_ = other.name_; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000200; onChanged(); } if (other.hasNumLearnedRoutes()) { @@ -2044,42 +2324,47 @@ public Builder mergeFrom(com.google.cloud.compute.v1.RouterStatusBgpPeerStatus o } if (other.hasPeerIpAddress()) { peerIpAddress_ = other.peerIpAddress_; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000800; + onChanged(); + } + if (other.hasPeerIpv4NexthopAddress()) { + peerIpv4NexthopAddress_ = other.peerIpv4NexthopAddress_; + bitField0_ |= 0x00001000; onChanged(); } if (other.hasPeerIpv6NexthopAddress()) { peerIpv6NexthopAddress_ = other.peerIpv6NexthopAddress_; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00002000; onChanged(); } if (other.hasRouterApplianceInstance()) { routerApplianceInstance_ = other.routerApplianceInstance_; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00004000; onChanged(); } if (other.hasState()) { state_ = other.state_; - bitField0_ |= 0x00001000; + bitField0_ |= 0x00008000; onChanged(); } if (other.hasStatus()) { status_ = other.status_; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00010000; onChanged(); } if (other.hasStatusReason()) { statusReason_ = other.statusReason_; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00020000; onChanged(); } if (other.hasUptime()) { uptime_ = other.uptime_; - bitField0_ |= 0x00008000; + bitField0_ |= 0x00040000; onChanged(); } if (other.hasUptimeSeconds()) { uptimeSeconds_ = other.uptimeSeconds_; - bitField0_ |= 0x00010000; + bitField0_ |= 0x00080000; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -2111,55 +2396,67 @@ public Builder mergeFrom( case 26989658: { name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000200; break; } // case 26989658 + case 45627018: + { + ipv4NexthopAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 45627018 case 223745690: { ipv6NexthopAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; break; } // case 223745690 case 837888322: { uptimeSeconds_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00010000; + bitField0_ |= 0x00080000; break; } // case 837888322 case 878060682: { state_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; + bitField0_ |= 0x00008000; break; } // case 878060682 case 1083660280: { numLearnedRoutes_ = input.readUInt32(); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; break; } // case 1083660280 case 1450082194: { status_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; + bitField0_ |= 0x00010000; break; } // case 1450082194 + case 1451743496: + { + enableIpv4_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 1451743496 case 1451743512: { enableIpv6_ = input.readBool(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; break; } // case 1451743512 case 1661886154: { peerIpAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000800; break; } // case 1661886154 case 1883037506: { uptime_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00008000; + bitField0_ |= 0x00040000; break; } // case 1883037506 case -1627822750: @@ -2178,13 +2475,13 @@ public Builder mergeFrom( case -1553311350: { statusReason_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00004000; + bitField0_ |= 0x00020000; break; } // case -1553311350 case -1476591670: { linkedVpnTunnel_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; break; } // case -1476591670 case -1129913462: @@ -2196,25 +2493,31 @@ public Builder mergeFrom( case -1044789534: { ipAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; break; } // case -1044789534 case -685750696: { md5AuthEnabled_ = input.readBool(); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; break; } // case -685750696 case -548463382: { routerApplianceInstance_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00004000; break; } // case -548463382 + case -541193102: + { + peerIpv4NexthopAddress_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case -541193102 case -363074430: { peerIpv6NexthopAddress_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00002000; break; } // case -363074430 default: @@ -2706,12 +3009,80 @@ public com.google.cloud.compute.v1.BfdStatusOrBuilder getBfdStatusOrBuilder() { return bfdStatusBuilder_; } + private boolean enableIpv4_; + /** + * + * + *
+     * Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
+     * 
+ * + * optional bool enable_ipv4 = 181467937; + * + * @return Whether the enableIpv4 field is set. + */ + @java.lang.Override + public boolean hasEnableIpv4() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
+     * 
+ * + * optional bool enable_ipv4 = 181467937; + * + * @return The enableIpv4. + */ + @java.lang.Override + public boolean getEnableIpv4() { + return enableIpv4_; + } + /** + * + * + *
+     * Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
+     * 
+ * + * optional bool enable_ipv4 = 181467937; + * + * @param value The enableIpv4 to set. + * @return This builder for chaining. + */ + public Builder setEnableIpv4(boolean value) { + + enableIpv4_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
+     * 
+ * + * optional bool enable_ipv4 = 181467937; + * + * @return This builder for chaining. + */ + public Builder clearEnableIpv4() { + bitField0_ = (bitField0_ & ~0x00000004); + enableIpv4_ = false; + onChanged(); + return this; + } + private boolean enableIpv6_; /** * * *
-     * Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
+     * Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
      * 
* * optional bool enable_ipv6 = 181467939; @@ -2720,13 +3091,13 @@ public com.google.cloud.compute.v1.BfdStatusOrBuilder getBfdStatusOrBuilder() { */ @java.lang.Override public boolean hasEnableIpv6() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** * * *
-     * Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
+     * Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
      * 
* * optional bool enable_ipv6 = 181467939; @@ -2741,7 +3112,7 @@ public boolean getEnableIpv6() { * * *
-     * Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
+     * Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
      * 
* * optional bool enable_ipv6 = 181467939; @@ -2752,7 +3123,7 @@ public boolean getEnableIpv6() { public Builder setEnableIpv6(boolean value) { enableIpv6_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -2760,7 +3131,7 @@ public Builder setEnableIpv6(boolean value) { * * *
-     * Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
+     * Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
      * 
* * optional bool enable_ipv6 = 181467939; @@ -2768,7 +3139,7 @@ public Builder setEnableIpv6(boolean value) { * @return This builder for chaining. */ public Builder clearEnableIpv6() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); enableIpv6_ = false; onChanged(); return this; @@ -2787,7 +3158,7 @@ public Builder clearEnableIpv6() { * @return Whether the ipAddress field is set. */ public boolean hasIpAddress() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** * @@ -2850,7 +3221,7 @@ public Builder setIpAddress(java.lang.String value) { throw new NullPointerException(); } ipAddress_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -2867,7 +3238,7 @@ public Builder setIpAddress(java.lang.String value) { */ public Builder clearIpAddress() { ipAddress_ = getDefaultInstance().getIpAddress(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } @@ -2889,7 +3260,127 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); ipAddress_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object ipv4NexthopAddress_ = ""; + /** + * + * + *
+     * IPv4 address of the local BGP interface.
+     * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return Whether the ipv4NexthopAddress field is set. + */ + public boolean hasIpv4NexthopAddress() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * IPv4 address of the local BGP interface.
+     * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return The ipv4NexthopAddress. + */ + public java.lang.String getIpv4NexthopAddress() { + java.lang.Object ref = ipv4NexthopAddress_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ipv4NexthopAddress_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * IPv4 address of the local BGP interface.
+     * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return The bytes for ipv4NexthopAddress. + */ + public com.google.protobuf.ByteString getIpv4NexthopAddressBytes() { + java.lang.Object ref = ipv4NexthopAddress_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + ipv4NexthopAddress_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * IPv4 address of the local BGP interface.
+     * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @param value The ipv4NexthopAddress to set. + * @return This builder for chaining. + */ + public Builder setIpv4NexthopAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ipv4NexthopAddress_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * IPv4 address of the local BGP interface.
+     * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return This builder for chaining. + */ + public Builder clearIpv4NexthopAddress() { + ipv4NexthopAddress_ = getDefaultInstance().getIpv4NexthopAddress(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * + * + *
+     * IPv4 address of the local BGP interface.
+     * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @param value The bytes for ipv4NexthopAddress to set. + * @return This builder for chaining. + */ + public Builder setIpv4NexthopAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipv4NexthopAddress_ = value; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2907,7 +3398,7 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { * @return Whether the ipv6NexthopAddress field is set. */ public boolean hasIpv6NexthopAddress() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** * @@ -2970,7 +3461,7 @@ public Builder setIpv6NexthopAddress(java.lang.String value) { throw new NullPointerException(); } ipv6NexthopAddress_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -2987,7 +3478,7 @@ public Builder setIpv6NexthopAddress(java.lang.String value) { */ public Builder clearIpv6NexthopAddress() { ipv6NexthopAddress_ = getDefaultInstance().getIpv6NexthopAddress(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @@ -3009,7 +3500,7 @@ public Builder setIpv6NexthopAddressBytes(com.google.protobuf.ByteString value) } checkByteStringIsUtf8(value); ipv6NexthopAddress_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -3027,7 +3518,7 @@ public Builder setIpv6NexthopAddressBytes(com.google.protobuf.ByteString value) * @return Whether the linkedVpnTunnel field is set. */ public boolean hasLinkedVpnTunnel() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** * @@ -3090,7 +3581,7 @@ public Builder setLinkedVpnTunnel(java.lang.String value) { throw new NullPointerException(); } linkedVpnTunnel_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -3107,7 +3598,7 @@ public Builder setLinkedVpnTunnel(java.lang.String value) { */ public Builder clearLinkedVpnTunnel() { linkedVpnTunnel_ = getDefaultInstance().getLinkedVpnTunnel(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } @@ -3129,7 +3620,7 @@ public Builder setLinkedVpnTunnelBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); linkedVpnTunnel_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -3148,7 +3639,7 @@ public Builder setLinkedVpnTunnelBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasMd5AuthEnabled() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -3180,7 +3671,7 @@ public boolean getMd5AuthEnabled() { public Builder setMd5AuthEnabled(boolean value) { md5AuthEnabled_ = value; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -3196,7 +3687,7 @@ public Builder setMd5AuthEnabled(boolean value) { * @return This builder for chaining. */ public Builder clearMd5AuthEnabled() { - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000100); md5AuthEnabled_ = false; onChanged(); return this; @@ -3215,7 +3706,7 @@ public Builder clearMd5AuthEnabled() { * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * @@ -3278,7 +3769,7 @@ public Builder setName(java.lang.String value) { throw new NullPointerException(); } name_ = value; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -3295,7 +3786,7 @@ public Builder setName(java.lang.String value) { */ public Builder clearName() { name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } @@ -3317,7 +3808,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); name_ = value; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -3336,7 +3827,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasNumLearnedRoutes() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** * @@ -3368,7 +3859,7 @@ public int getNumLearnedRoutes() { public Builder setNumLearnedRoutes(int value) { numLearnedRoutes_ = value; - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -3384,7 +3875,7 @@ public Builder setNumLearnedRoutes(int value) { * @return This builder for chaining. */ public Builder clearNumLearnedRoutes() { - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000400); numLearnedRoutes_ = 0; onChanged(); return this; @@ -3403,7 +3894,7 @@ public Builder clearNumLearnedRoutes() { * @return Whether the peerIpAddress field is set. */ public boolean hasPeerIpAddress() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** * @@ -3466,7 +3957,7 @@ public Builder setPeerIpAddress(java.lang.String value) { throw new NullPointerException(); } peerIpAddress_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -3483,7 +3974,7 @@ public Builder setPeerIpAddress(java.lang.String value) { */ public Builder clearPeerIpAddress() { peerIpAddress_ = getDefaultInstance().getPeerIpAddress(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000800); onChanged(); return this; } @@ -3505,7 +3996,127 @@ public Builder setPeerIpAddressBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); peerIpAddress_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + + private java.lang.Object peerIpv4NexthopAddress_ = ""; + /** + * + * + *
+     * IPv4 address of the remote BGP interface.
+     * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return Whether the peerIpv4NexthopAddress field is set. + */ + public boolean hasPeerIpv4NexthopAddress() { + return ((bitField0_ & 0x00001000) != 0); + } + /** + * + * + *
+     * IPv4 address of the remote BGP interface.
+     * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return The peerIpv4NexthopAddress. + */ + public java.lang.String getPeerIpv4NexthopAddress() { + java.lang.Object ref = peerIpv4NexthopAddress_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + peerIpv4NexthopAddress_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * IPv4 address of the remote BGP interface.
+     * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return The bytes for peerIpv4NexthopAddress. + */ + public com.google.protobuf.ByteString getPeerIpv4NexthopAddressBytes() { + java.lang.Object ref = peerIpv4NexthopAddress_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + peerIpv4NexthopAddress_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * IPv4 address of the remote BGP interface.
+     * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @param value The peerIpv4NexthopAddress to set. + * @return This builder for chaining. + */ + public Builder setPeerIpv4NexthopAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + peerIpv4NexthopAddress_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * + * + *
+     * IPv4 address of the remote BGP interface.
+     * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return This builder for chaining. + */ + public Builder clearPeerIpv4NexthopAddress() { + peerIpv4NexthopAddress_ = getDefaultInstance().getPeerIpv4NexthopAddress(); + bitField0_ = (bitField0_ & ~0x00001000); + onChanged(); + return this; + } + /** + * + * + *
+     * IPv4 address of the remote BGP interface.
+     * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @param value The bytes for peerIpv4NexthopAddress to set. + * @return This builder for chaining. + */ + public Builder setPeerIpv4NexthopAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + peerIpv4NexthopAddress_ = value; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -3523,7 +4134,7 @@ public Builder setPeerIpAddressBytes(com.google.protobuf.ByteString value) { * @return Whether the peerIpv6NexthopAddress field is set. */ public boolean hasPeerIpv6NexthopAddress() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * @@ -3586,7 +4197,7 @@ public Builder setPeerIpv6NexthopAddress(java.lang.String value) { throw new NullPointerException(); } peerIpv6NexthopAddress_ = value; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -3603,7 +4214,7 @@ public Builder setPeerIpv6NexthopAddress(java.lang.String value) { */ public Builder clearPeerIpv6NexthopAddress() { peerIpv6NexthopAddress_ = getDefaultInstance().getPeerIpv6NexthopAddress(); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } @@ -3625,7 +4236,7 @@ public Builder setPeerIpv6NexthopAddressBytes(com.google.protobuf.ByteString val } checkByteStringIsUtf8(value); peerIpv6NexthopAddress_ = value; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -3643,7 +4254,7 @@ public Builder setPeerIpv6NexthopAddressBytes(com.google.protobuf.ByteString val * @return Whether the routerApplianceInstance field is set. */ public boolean hasRouterApplianceInstance() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** * @@ -3706,7 +4317,7 @@ public Builder setRouterApplianceInstance(java.lang.String value) { throw new NullPointerException(); } routerApplianceInstance_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -3723,7 +4334,7 @@ public Builder setRouterApplianceInstance(java.lang.String value) { */ public Builder clearRouterApplianceInstance() { routerApplianceInstance_ = getDefaultInstance().getRouterApplianceInstance(); - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00004000); onChanged(); return this; } @@ -3745,7 +4356,7 @@ public Builder setRouterApplianceInstanceBytes(com.google.protobuf.ByteString va } checkByteStringIsUtf8(value); routerApplianceInstance_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -3763,7 +4374,7 @@ public Builder setRouterApplianceInstanceBytes(com.google.protobuf.ByteString va * @return Whether the state field is set. */ public boolean hasState() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00008000) != 0); } /** * @@ -3826,7 +4437,7 @@ public Builder setState(java.lang.String value) { throw new NullPointerException(); } state_ = value; - bitField0_ |= 0x00001000; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -3843,7 +4454,7 @@ public Builder setState(java.lang.String value) { */ public Builder clearState() { state_ = getDefaultInstance().getState(); - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00008000); onChanged(); return this; } @@ -3865,7 +4476,7 @@ public Builder setStateBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); state_ = value; - bitField0_ |= 0x00001000; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -3884,7 +4495,7 @@ public Builder setStateBytes(com.google.protobuf.ByteString value) { * @return Whether the status field is set. */ public boolean hasStatus() { - return ((bitField0_ & 0x00002000) != 0); + return ((bitField0_ & 0x00010000) != 0); } /** * @@ -3950,7 +4561,7 @@ public Builder setStatus(java.lang.String value) { throw new NullPointerException(); } status_ = value; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -3968,7 +4579,7 @@ public Builder setStatus(java.lang.String value) { */ public Builder clearStatus() { status_ = getDefaultInstance().getStatus(); - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00010000); onChanged(); return this; } @@ -3991,7 +4602,7 @@ public Builder setStatusBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); status_ = value; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -4010,7 +4621,7 @@ public Builder setStatusBytes(com.google.protobuf.ByteString value) { * @return Whether the statusReason field is set. */ public boolean hasStatusReason() { - return ((bitField0_ & 0x00004000) != 0); + return ((bitField0_ & 0x00020000) != 0); } /** * @@ -4076,7 +4687,7 @@ public Builder setStatusReason(java.lang.String value) { throw new NullPointerException(); } statusReason_ = value; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -4094,7 +4705,7 @@ public Builder setStatusReason(java.lang.String value) { */ public Builder clearStatusReason() { statusReason_ = getDefaultInstance().getStatusReason(); - bitField0_ = (bitField0_ & ~0x00004000); + bitField0_ = (bitField0_ & ~0x00020000); onChanged(); return this; } @@ -4117,7 +4728,7 @@ public Builder setStatusReasonBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); statusReason_ = value; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -4135,7 +4746,7 @@ public Builder setStatusReasonBytes(com.google.protobuf.ByteString value) { * @return Whether the uptime field is set. */ public boolean hasUptime() { - return ((bitField0_ & 0x00008000) != 0); + return ((bitField0_ & 0x00040000) != 0); } /** * @@ -4198,7 +4809,7 @@ public Builder setUptime(java.lang.String value) { throw new NullPointerException(); } uptime_ = value; - bitField0_ |= 0x00008000; + bitField0_ |= 0x00040000; onChanged(); return this; } @@ -4215,7 +4826,7 @@ public Builder setUptime(java.lang.String value) { */ public Builder clearUptime() { uptime_ = getDefaultInstance().getUptime(); - bitField0_ = (bitField0_ & ~0x00008000); + bitField0_ = (bitField0_ & ~0x00040000); onChanged(); return this; } @@ -4237,7 +4848,7 @@ public Builder setUptimeBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); uptime_ = value; - bitField0_ |= 0x00008000; + bitField0_ |= 0x00040000; onChanged(); return this; } @@ -4255,7 +4866,7 @@ public Builder setUptimeBytes(com.google.protobuf.ByteString value) { * @return Whether the uptimeSeconds field is set. */ public boolean hasUptimeSeconds() { - return ((bitField0_ & 0x00010000) != 0); + return ((bitField0_ & 0x00080000) != 0); } /** * @@ -4318,7 +4929,7 @@ public Builder setUptimeSeconds(java.lang.String value) { throw new NullPointerException(); } uptimeSeconds_ = value; - bitField0_ |= 0x00010000; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -4335,7 +4946,7 @@ public Builder setUptimeSeconds(java.lang.String value) { */ public Builder clearUptimeSeconds() { uptimeSeconds_ = getDefaultInstance().getUptimeSeconds(); - bitField0_ = (bitField0_ & ~0x00010000); + bitField0_ = (bitField0_ & ~0x00080000); onChanged(); return this; } @@ -4357,7 +4968,7 @@ public Builder setUptimeSecondsBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); uptimeSeconds_ = value; - bitField0_ |= 0x00010000; + bitField0_ |= 0x00080000; onChanged(); return this; } diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatusOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatusOrBuilder.java index 534963499a41..40b63c154f86 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatusOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatusOrBuilder.java @@ -95,7 +95,32 @@ public interface RouterStatusBgpPeerStatusOrBuilder * * *
-   * Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
+   * Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
+   * 
+ * + * optional bool enable_ipv4 = 181467937; + * + * @return Whether the enableIpv4 field is set. + */ + boolean hasEnableIpv4(); + /** + * + * + *
+   * Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
+   * 
+ * + * optional bool enable_ipv4 = 181467937; + * + * @return The enableIpv4. + */ + boolean getEnableIpv4(); + + /** + * + * + *
+   * Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
    * 
* * optional bool enable_ipv6 = 181467939; @@ -107,7 +132,7 @@ public interface RouterStatusBgpPeerStatusOrBuilder * * *
-   * Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
+   * Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
    * 
* * optional bool enable_ipv6 = 181467939; @@ -153,6 +178,43 @@ public interface RouterStatusBgpPeerStatusOrBuilder */ com.google.protobuf.ByteString getIpAddressBytes(); + /** + * + * + *
+   * IPv4 address of the local BGP interface.
+   * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return Whether the ipv4NexthopAddress field is set. + */ + boolean hasIpv4NexthopAddress(); + /** + * + * + *
+   * IPv4 address of the local BGP interface.
+   * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return The ipv4NexthopAddress. + */ + java.lang.String getIpv4NexthopAddress(); + /** + * + * + *
+   * IPv4 address of the local BGP interface.
+   * 
+ * + * optional string ipv4_nexthop_address = 5703377; + * + * @return The bytes for ipv4NexthopAddress. + */ + com.google.protobuf.ByteString getIpv4NexthopAddressBytes(); + /** * * @@ -351,6 +413,43 @@ public interface RouterStatusBgpPeerStatusOrBuilder */ com.google.protobuf.ByteString getPeerIpAddressBytes(); + /** + * + * + *
+   * IPv4 address of the remote BGP interface.
+   * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return Whether the peerIpv4NexthopAddress field is set. + */ + boolean hasPeerIpv4NexthopAddress(); + /** + * + * + *
+   * IPv4 address of the remote BGP interface.
+   * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return The peerIpv4NexthopAddress. + */ + java.lang.String getPeerIpv4NexthopAddress(); + /** + * + * + *
+   * IPv4 address of the remote BGP interface.
+   * 
+ * + * optional string peer_ipv4_nexthop_address = 469221774; + * + * @return The bytes for peerIpv4NexthopAddress. + */ + com.google.protobuf.ByteString getPeerIpv4NexthopAddressBytes(); + /** * * diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ServiceAttachment.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ServiceAttachment.java index af8ff22f47f5..376eae769ceb 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ServiceAttachment.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ServiceAttachment.java @@ -376,7 +376,7 @@ public com.google.protobuf.ByteString getConnectionPreferenceBytes() { * * *
-   * Projects that are allowed to connect to this service attachment.
+   * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
    * 
* * @@ -392,7 +392,7 @@ public com.google.protobuf.ByteString getConnectionPreferenceBytes() { * * *
-   * Projects that are allowed to connect to this service attachment.
+   * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
    * 
* * @@ -409,7 +409,7 @@ public com.google.protobuf.ByteString getConnectionPreferenceBytes() { * * *
-   * Projects that are allowed to connect to this service attachment.
+   * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
    * 
* * @@ -424,7 +424,7 @@ public int getConsumerAcceptListsCount() { * * *
-   * Projects that are allowed to connect to this service attachment.
+   * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
    * 
* * @@ -440,7 +440,7 @@ public com.google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit getCons * * *
-   * Projects that are allowed to connect to this service attachment.
+   * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
    * 
* * @@ -462,7 +462,7 @@ public com.google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit getCons * * *
-   * Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
+   * Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
    * 
* * repeated string consumer_reject_lists = 204033182; @@ -476,7 +476,7 @@ public com.google.protobuf.ProtocolStringList getConsumerRejectListsList() { * * *
-   * Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
+   * Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
    * 
* * repeated string consumer_reject_lists = 204033182; @@ -490,7 +490,7 @@ public int getConsumerRejectListsCount() { * * *
-   * Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
+   * Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
    * 
* * repeated string consumer_reject_lists = 204033182; @@ -505,7 +505,7 @@ public java.lang.String getConsumerRejectLists(int index) { * * *
-   * Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
+   * Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
    * 
* * repeated string consumer_reject_lists = 204033182; @@ -2963,7 +2963,7 @@ private void ensureConsumerAcceptListsIsMutable() { * * *
-     * Projects that are allowed to connect to this service attachment.
+     * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
      * 
* * @@ -2982,7 +2982,7 @@ private void ensureConsumerAcceptListsIsMutable() { * * *
-     * Projects that are allowed to connect to this service attachment.
+     * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
      * 
* * @@ -3000,7 +3000,7 @@ public int getConsumerAcceptListsCount() { * * *
-     * Projects that are allowed to connect to this service attachment.
+     * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
      * 
* * @@ -3019,7 +3019,7 @@ public com.google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit getCons * * *
-     * Projects that are allowed to connect to this service attachment.
+     * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
      * 
* * @@ -3044,7 +3044,7 @@ public Builder setConsumerAcceptLists( * * *
-     * Projects that are allowed to connect to this service attachment.
+     * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
      * 
* * @@ -3067,7 +3067,7 @@ public Builder setConsumerAcceptLists( * * *
-     * Projects that are allowed to connect to this service attachment.
+     * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
      * 
* * @@ -3092,7 +3092,7 @@ public Builder addConsumerAcceptLists( * * *
-     * Projects that are allowed to connect to this service attachment.
+     * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
      * 
* * @@ -3117,7 +3117,7 @@ public Builder addConsumerAcceptLists( * * *
-     * Projects that are allowed to connect to this service attachment.
+     * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
      * 
* * @@ -3139,7 +3139,7 @@ public Builder addConsumerAcceptLists( * * *
-     * Projects that are allowed to connect to this service attachment.
+     * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
      * 
* * @@ -3162,7 +3162,7 @@ public Builder addConsumerAcceptLists( * * *
-     * Projects that are allowed to connect to this service attachment.
+     * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
      * 
* * @@ -3186,7 +3186,7 @@ public Builder addAllConsumerAcceptLists( * * *
-     * Projects that are allowed to connect to this service attachment.
+     * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
      * 
* * @@ -3207,7 +3207,7 @@ public Builder clearConsumerAcceptLists() { * * *
-     * Projects that are allowed to connect to this service attachment.
+     * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
      * 
* * @@ -3228,7 +3228,7 @@ public Builder removeConsumerAcceptLists(int index) { * * *
-     * Projects that are allowed to connect to this service attachment.
+     * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
      * 
* * @@ -3243,7 +3243,7 @@ public Builder removeConsumerAcceptLists(int index) { * * *
-     * Projects that are allowed to connect to this service attachment.
+     * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
      * 
* * @@ -3262,7 +3262,7 @@ public Builder removeConsumerAcceptLists(int index) { * * *
-     * Projects that are allowed to connect to this service attachment.
+     * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
      * 
* * @@ -3282,7 +3282,7 @@ public Builder removeConsumerAcceptLists(int index) { * * *
-     * Projects that are allowed to connect to this service attachment.
+     * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
      * 
* * @@ -3300,7 +3300,7 @@ public Builder removeConsumerAcceptLists(int index) { * * *
-     * Projects that are allowed to connect to this service attachment.
+     * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
      * 
* * @@ -3319,7 +3319,7 @@ public Builder removeConsumerAcceptLists(int index) { * * *
-     * Projects that are allowed to connect to this service attachment.
+     * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
      * 
* * @@ -3364,7 +3364,7 @@ private void ensureConsumerRejectListsIsMutable() { * * *
-     * Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
+     * Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
      * 
* * repeated string consumer_reject_lists = 204033182; @@ -3379,7 +3379,7 @@ public com.google.protobuf.ProtocolStringList getConsumerRejectListsList() { * * *
-     * Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
+     * Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
      * 
* * repeated string consumer_reject_lists = 204033182; @@ -3393,7 +3393,7 @@ public int getConsumerRejectListsCount() { * * *
-     * Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
+     * Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
      * 
* * repeated string consumer_reject_lists = 204033182; @@ -3408,7 +3408,7 @@ public java.lang.String getConsumerRejectLists(int index) { * * *
-     * Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
+     * Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
      * 
* * repeated string consumer_reject_lists = 204033182; @@ -3423,7 +3423,7 @@ public com.google.protobuf.ByteString getConsumerRejectListsBytes(int index) { * * *
-     * Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
+     * Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
      * 
* * repeated string consumer_reject_lists = 204033182; @@ -3446,7 +3446,7 @@ public Builder setConsumerRejectLists(int index, java.lang.String value) { * * *
-     * Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
+     * Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
      * 
* * repeated string consumer_reject_lists = 204033182; @@ -3468,7 +3468,7 @@ public Builder addConsumerRejectLists(java.lang.String value) { * * *
-     * Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
+     * Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
      * 
* * repeated string consumer_reject_lists = 204033182; @@ -3487,7 +3487,7 @@ public Builder addAllConsumerRejectLists(java.lang.Iterable va * * *
-     * Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
+     * Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
      * 
* * repeated string consumer_reject_lists = 204033182; @@ -3505,7 +3505,7 @@ public Builder clearConsumerRejectLists() { * * *
-     * Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
+     * Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
      * 
* * repeated string consumer_reject_lists = 204033182; diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ServiceAttachmentOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ServiceAttachmentOrBuilder.java index 74c6ad185b50..960a46b58886 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ServiceAttachmentOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ServiceAttachmentOrBuilder.java @@ -132,7 +132,7 @@ public interface ServiceAttachmentOrBuilder * * *
-   * Projects that are allowed to connect to this service attachment.
+   * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
    * 
* * @@ -145,7 +145,7 @@ public interface ServiceAttachmentOrBuilder * * *
-   * Projects that are allowed to connect to this service attachment.
+   * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
    * 
* * @@ -158,7 +158,7 @@ com.google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit getConsumerAcc * * *
-   * Projects that are allowed to connect to this service attachment.
+   * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
    * 
* * @@ -170,7 +170,7 @@ com.google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit getConsumerAcc * * *
-   * Projects that are allowed to connect to this service attachment.
+   * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
    * 
* * @@ -184,7 +184,7 @@ com.google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit getConsumerAcc * * *
-   * Projects that are allowed to connect to this service attachment.
+   * Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks.
    * 
* * @@ -198,7 +198,7 @@ com.google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit getConsumerAcc * * *
-   * Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
+   * Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
    * 
* * repeated string consumer_reject_lists = 204033182; @@ -210,7 +210,7 @@ com.google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit getConsumerAcc * * *
-   * Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
+   * Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
    * 
* * repeated string consumer_reject_lists = 204033182; @@ -222,7 +222,7 @@ com.google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit getConsumerAcc * * *
-   * Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
+   * Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
    * 
* * repeated string consumer_reject_lists = 204033182; @@ -235,7 +235,7 @@ com.google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit getConsumerAcc * * *
-   * Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.
+   * Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks.
    * 
* * repeated string consumer_reject_lists = 204033182; diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetIamPolicyStoragePoolRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetIamPolicyStoragePoolRequest.java new file mode 100644 index 000000000000..a9daccffb81e --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetIamPolicyStoragePoolRequest.java @@ -0,0 +1,1308 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for StoragePools.SetIamPolicy. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.SetIamPolicyStoragePoolRequest} + */ +public final class SetIamPolicyStoragePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.SetIamPolicyStoragePoolRequest) + SetIamPolicyStoragePoolRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use SetIamPolicyStoragePoolRequest.newBuilder() to construct. + private SetIamPolicyStoragePoolRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SetIamPolicyStoragePoolRequest() { + project_ = ""; + resource_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SetIamPolicyStoragePoolRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SetIamPolicyStoragePoolRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SetIamPolicyStoragePoolRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest.class, + com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest.Builder.class); + } + + private int bitField0_; + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESOURCE_FIELD_NUMBER = 195806222; + + @SuppressWarnings("serial") + private volatile java.lang.Object resource_ = ""; + /** + * + * + *
+   * Name or id of the resource for this request.
+   * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The resource. + */ + @java.lang.Override + public java.lang.String getResource() { + java.lang.Object ref = resource_; + 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(); + resource_ = s; + return s; + } + } + /** + * + * + *
+   * Name or id of the resource for this request.
+   * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for resource. + */ + @java.lang.Override + public com.google.protobuf.ByteString getResourceBytes() { + java.lang.Object ref = resource_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + resource_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ZONE_SET_POLICY_REQUEST_RESOURCE_FIELD_NUMBER = 382082107; + private com.google.cloud.compute.v1.ZoneSetPolicyRequest zoneSetPolicyRequestResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the zoneSetPolicyRequestResource field is set. + */ + @java.lang.Override + public boolean hasZoneSetPolicyRequestResource() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The zoneSetPolicyRequestResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.ZoneSetPolicyRequest getZoneSetPolicyRequestResource() { + return zoneSetPolicyRequestResource_ == null + ? com.google.cloud.compute.v1.ZoneSetPolicyRequest.getDefaultInstance() + : zoneSetPolicyRequestResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.ZoneSetPolicyRequestOrBuilder + getZoneSetPolicyRequestResourceOrBuilder() { + return zoneSetPolicyRequestResource_ == null + ? com.google.cloud.compute.v1.ZoneSetPolicyRequest.getDefaultInstance() + : zoneSetPolicyRequestResource_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 195806222, resource_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(382082107, getZoneSetPolicyRequestResource()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(195806222, resource_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 382082107, getZoneSetPolicyRequestResource()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest other = + (com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest) obj; + + if (!getProject().equals(other.getProject())) return false; + if (!getResource().equals(other.getResource())) return false; + if (!getZone().equals(other.getZone())) return false; + if (hasZoneSetPolicyRequestResource() != other.hasZoneSetPolicyRequestResource()) return false; + if (hasZoneSetPolicyRequestResource()) { + if (!getZoneSetPolicyRequestResource().equals(other.getZoneSetPolicyRequestResource())) + return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getResource().hashCode(); + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + if (hasZoneSetPolicyRequestResource()) { + hash = (37 * hash) + ZONE_SET_POLICY_REQUEST_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getZoneSetPolicyRequestResource().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for StoragePools.SetIamPolicy. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.SetIamPolicyStoragePoolRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.SetIamPolicyStoragePoolRequest) + com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SetIamPolicyStoragePoolRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SetIamPolicyStoragePoolRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest.class, + com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getZoneSetPolicyRequestResourceFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + project_ = ""; + resource_ = ""; + zone_ = ""; + zoneSetPolicyRequestResource_ = null; + if (zoneSetPolicyRequestResourceBuilder_ != null) { + zoneSetPolicyRequestResourceBuilder_.dispose(); + zoneSetPolicyRequestResourceBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SetIamPolicyStoragePoolRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest getDefaultInstanceForType() { + return com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest build() { + com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest buildPartial() { + com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest result = + new com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.project_ = project_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.resource_ = resource_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.zone_ = zone_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.zoneSetPolicyRequestResource_ = + zoneSetPolicyRequestResourceBuilder_ == null + ? zoneSetPolicyRequestResource_ + : zoneSetPolicyRequestResourceBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest) { + return mergeFrom((com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest other) { + if (other == com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest.getDefaultInstance()) + return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getResource().isEmpty()) { + resource_ = other.resource_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasZoneSetPolicyRequestResource()) { + mergeZoneSetPolicyRequestResource(other.getZoneSetPolicyRequestResource()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 29957474 + case 1566449778: + { + resource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 1566449778 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 1820481738 + case -1238310438: + { + input.readMessage( + getZoneSetPolicyRequestResourceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case -1238310438 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object resource_ = ""; + /** + * + * + *
+     * Name or id of the resource for this request.
+     * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The resource. + */ + public java.lang.String getResource() { + java.lang.Object ref = resource_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resource_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name or id of the resource for this request.
+     * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for resource. + */ + public com.google.protobuf.ByteString getResourceBytes() { + java.lang.Object ref = resource_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + resource_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name or id of the resource for this request.
+     * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The resource to set. + * @return This builder for chaining. + */ + public Builder setResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + resource_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Name or id of the resource for this request.
+     * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearResource() { + resource_ = getDefaultInstance().getResource(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Name or id of the resource for this request.
+     * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for resource to set. + * @return This builder for chaining. + */ + public Builder setResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.ZoneSetPolicyRequest zoneSetPolicyRequestResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.ZoneSetPolicyRequest, + com.google.cloud.compute.v1.ZoneSetPolicyRequest.Builder, + com.google.cloud.compute.v1.ZoneSetPolicyRequestOrBuilder> + zoneSetPolicyRequestResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the zoneSetPolicyRequestResource field is set. + */ + public boolean hasZoneSetPolicyRequestResource() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The zoneSetPolicyRequestResource. + */ + public com.google.cloud.compute.v1.ZoneSetPolicyRequest getZoneSetPolicyRequestResource() { + if (zoneSetPolicyRequestResourceBuilder_ == null) { + return zoneSetPolicyRequestResource_ == null + ? com.google.cloud.compute.v1.ZoneSetPolicyRequest.getDefaultInstance() + : zoneSetPolicyRequestResource_; + } else { + return zoneSetPolicyRequestResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setZoneSetPolicyRequestResource( + com.google.cloud.compute.v1.ZoneSetPolicyRequest value) { + if (zoneSetPolicyRequestResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + zoneSetPolicyRequestResource_ = value; + } else { + zoneSetPolicyRequestResourceBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setZoneSetPolicyRequestResource( + com.google.cloud.compute.v1.ZoneSetPolicyRequest.Builder builderForValue) { + if (zoneSetPolicyRequestResourceBuilder_ == null) { + zoneSetPolicyRequestResource_ = builderForValue.build(); + } else { + zoneSetPolicyRequestResourceBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeZoneSetPolicyRequestResource( + com.google.cloud.compute.v1.ZoneSetPolicyRequest value) { + if (zoneSetPolicyRequestResourceBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && zoneSetPolicyRequestResource_ != null + && zoneSetPolicyRequestResource_ + != com.google.cloud.compute.v1.ZoneSetPolicyRequest.getDefaultInstance()) { + getZoneSetPolicyRequestResourceBuilder().mergeFrom(value); + } else { + zoneSetPolicyRequestResource_ = value; + } + } else { + zoneSetPolicyRequestResourceBuilder_.mergeFrom(value); + } + if (zoneSetPolicyRequestResource_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearZoneSetPolicyRequestResource() { + bitField0_ = (bitField0_ & ~0x00000008); + zoneSetPolicyRequestResource_ = null; + if (zoneSetPolicyRequestResourceBuilder_ != null) { + zoneSetPolicyRequestResourceBuilder_.dispose(); + zoneSetPolicyRequestResourceBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.ZoneSetPolicyRequest.Builder + getZoneSetPolicyRequestResourceBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getZoneSetPolicyRequestResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.ZoneSetPolicyRequestOrBuilder + getZoneSetPolicyRequestResourceOrBuilder() { + if (zoneSetPolicyRequestResourceBuilder_ != null) { + return zoneSetPolicyRequestResourceBuilder_.getMessageOrBuilder(); + } else { + return zoneSetPolicyRequestResource_ == null + ? com.google.cloud.compute.v1.ZoneSetPolicyRequest.getDefaultInstance() + : zoneSetPolicyRequestResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.ZoneSetPolicyRequest, + com.google.cloud.compute.v1.ZoneSetPolicyRequest.Builder, + com.google.cloud.compute.v1.ZoneSetPolicyRequestOrBuilder> + getZoneSetPolicyRequestResourceFieldBuilder() { + if (zoneSetPolicyRequestResourceBuilder_ == null) { + zoneSetPolicyRequestResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.ZoneSetPolicyRequest, + com.google.cloud.compute.v1.ZoneSetPolicyRequest.Builder, + com.google.cloud.compute.v1.ZoneSetPolicyRequestOrBuilder>( + getZoneSetPolicyRequestResource(), getParentForChildren(), isClean()); + zoneSetPolicyRequestResource_ = null; + } + return zoneSetPolicyRequestResourceBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.SetIamPolicyStoragePoolRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.SetIamPolicyStoragePoolRequest) + private static final com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest(); + } + + public static com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetIamPolicyStoragePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetIamPolicyStoragePoolRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetIamPolicyStoragePoolRequestOrBuilder.java new file mode 100644 index 000000000000..920cf75bc39d --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetIamPolicyStoragePoolRequestOrBuilder.java @@ -0,0 +1,143 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface SetIamPolicyStoragePoolRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SetIamPolicyStoragePoolRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * Name or id of the resource for this request.
+   * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The resource. + */ + java.lang.String getResource(); + /** + * + * + *
+   * Name or id of the resource for this request.
+   * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for resource. + */ + com.google.protobuf.ByteString getResourceBytes(); + + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the zoneSetPolicyRequestResource field is set. + */ + boolean hasZoneSetPolicyRequestResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The zoneSetPolicyRequestResource. + */ + com.google.cloud.compute.v1.ZoneSetPolicyRequest getZoneSetPolicyRequestResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.ZoneSetPolicyRequestOrBuilder + getZoneSetPolicyRequestResourceOrBuilder(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePool.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePool.java new file mode 100644 index 000000000000..14a3203c2304 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePool.java @@ -0,0 +1,4956 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * Represents a zonal storage pool resource.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePool} + */ +public final class StoragePool extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.StoragePool) + StoragePoolOrBuilder { + private static final long serialVersionUID = 0L; + // Use StoragePool.newBuilder() to construct. + private StoragePool(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StoragePool() { + capacityProvisioningType_ = ""; + creationTimestamp_ = ""; + description_ = ""; + kind_ = ""; + labelFingerprint_ = ""; + name_ = ""; + performanceProvisioningType_ = ""; + selfLink_ = ""; + selfLinkWithId_ = ""; + state_ = ""; + storagePoolType_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StoragePool(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePool_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 500195327: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePool_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePool.class, + com.google.cloud.compute.v1.StoragePool.Builder.class); + } + + /** + * + * + *
+   * Provisioning type of the byte capacity of the pool.
+   * Additional supported values which may be not listed in the enum directly due to technical reasons:
+   * ADVANCED
+   * STANDARD
+   * UNSPECIFIED
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.StoragePool.CapacityProvisioningType} + */ + public enum CapacityProvisioningType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_CAPACITY_PROVISIONING_TYPE = 0; + */ + UNDEFINED_CAPACITY_PROVISIONING_TYPE(0), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_CAPACITY_PROVISIONING_TYPE = 0; + */ + public static final int UNDEFINED_CAPACITY_PROVISIONING_TYPE_VALUE = 0; + + 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 CapacityProvisioningType 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 CapacityProvisioningType forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_CAPACITY_PROVISIONING_TYPE; + 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 CapacityProvisioningType findValueByNumber(int number) { + return CapacityProvisioningType.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.cloud.compute.v1.StoragePool.getDescriptor().getEnumTypes().get(0); + } + + private static final CapacityProvisioningType[] VALUES = values(); + + public static CapacityProvisioningType 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 CapacityProvisioningType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.StoragePool.CapacityProvisioningType) + } + + /** + * + * + *
+   * Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
+   * Additional supported values which may be not listed in the enum directly due to technical reasons:
+   * ADVANCED
+   * STANDARD
+   * UNSPECIFIED
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.StoragePool.PerformanceProvisioningType} + */ + public enum PerformanceProvisioningType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_PERFORMANCE_PROVISIONING_TYPE = 0; + */ + UNDEFINED_PERFORMANCE_PROVISIONING_TYPE(0), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_PERFORMANCE_PROVISIONING_TYPE = 0; + */ + public static final int UNDEFINED_PERFORMANCE_PROVISIONING_TYPE_VALUE = 0; + + 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 PerformanceProvisioningType 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 PerformanceProvisioningType forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_PERFORMANCE_PROVISIONING_TYPE; + 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 PerformanceProvisioningType findValueByNumber(int number) { + return PerformanceProvisioningType.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.cloud.compute.v1.StoragePool.getDescriptor().getEnumTypes().get(1); + } + + private static final PerformanceProvisioningType[] VALUES = values(); + + public static PerformanceProvisioningType 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 PerformanceProvisioningType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.StoragePool.PerformanceProvisioningType) + } + + /** + * + * + *
+   * [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.StoragePool.State} + */ + public enum State implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_STATE = 0; + */ + UNDEFINED_STATE(0), + /** + * + * + *
+     * StoragePool is provisioning
+     * 
+ * + * CREATING = 455564985; + */ + CREATING(455564985), + /** + * + * + *
+     * StoragePool is deleting.
+     * 
+ * + * DELETING = 528602024; + */ + DELETING(528602024), + /** + * + * + *
+     * StoragePool creation failed.
+     * 
+ * + * FAILED = 455706685; + */ + FAILED(455706685), + /** + * + * + *
+     * StoragePool is ready for use.
+     * 
+ * + * READY = 77848963; + */ + READY(77848963), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_STATE = 0; + */ + public static final int UNDEFINED_STATE_VALUE = 0; + /** + * + * + *
+     * StoragePool is provisioning
+     * 
+ * + * CREATING = 455564985; + */ + public static final int CREATING_VALUE = 455564985; + /** + * + * + *
+     * StoragePool is deleting.
+     * 
+ * + * DELETING = 528602024; + */ + public static final int DELETING_VALUE = 528602024; + /** + * + * + *
+     * StoragePool creation failed.
+     * 
+ * + * FAILED = 455706685; + */ + public static final int FAILED_VALUE = 455706685; + /** + * + * + *
+     * StoragePool is ready for use.
+     * 
+ * + * READY = 77848963; + */ + public static final int READY_VALUE = 77848963; + + 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 State 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 State forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_STATE; + case 455564985: + return CREATING; + case 528602024: + return DELETING; + case 455706685: + return FAILED; + case 77848963: + return READY; + 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 State findValueByNumber(int number) { + return State.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.cloud.compute.v1.StoragePool.getDescriptor().getEnumTypes().get(2); + } + + private static final State[] VALUES = values(); + + public static State 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 State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.StoragePool.State) + } + + private int bitField0_; + public static final int CAPACITY_PROVISIONING_TYPE_FIELD_NUMBER = 251610375; + + @SuppressWarnings("serial") + private volatile java.lang.Object capacityProvisioningType_ = ""; + /** + * + * + *
+   * Provisioning type of the byte capacity of the pool.
+   * Check the CapacityProvisioningType enum for the list of possible values.
+   * 
+ * + * optional string capacity_provisioning_type = 251610375; + * + * @return Whether the capacityProvisioningType field is set. + */ + @java.lang.Override + public boolean hasCapacityProvisioningType() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Provisioning type of the byte capacity of the pool.
+   * Check the CapacityProvisioningType enum for the list of possible values.
+   * 
+ * + * optional string capacity_provisioning_type = 251610375; + * + * @return The capacityProvisioningType. + */ + @java.lang.Override + public java.lang.String getCapacityProvisioningType() { + java.lang.Object ref = capacityProvisioningType_; + 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(); + capacityProvisioningType_ = s; + return s; + } + } + /** + * + * + *
+   * Provisioning type of the byte capacity of the pool.
+   * Check the CapacityProvisioningType enum for the list of possible values.
+   * 
+ * + * optional string capacity_provisioning_type = 251610375; + * + * @return The bytes for capacityProvisioningType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCapacityProvisioningTypeBytes() { + java.lang.Object ref = capacityProvisioningType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + capacityProvisioningType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CREATION_TIMESTAMP_FIELD_NUMBER = 30525366; + + @SuppressWarnings("serial") + private volatile java.lang.Object creationTimestamp_ = ""; + /** + * + * + *
+   * [Output Only] Creation timestamp in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return Whether the creationTimestamp field is set. + */ + @java.lang.Override + public boolean hasCreationTimestamp() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * [Output Only] Creation timestamp in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The creationTimestamp. + */ + @java.lang.Override + public java.lang.String getCreationTimestamp() { + java.lang.Object ref = creationTimestamp_; + 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(); + creationTimestamp_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Creation timestamp in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The bytes for creationTimestamp. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCreationTimestampBytes() { + java.lang.Object ref = creationTimestamp_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + creationTimestamp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 422937596; + + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + /** + * + * + *
+   * An optional description of this resource. Provide this property when you create the resource.
+   * 
+ * + * optional string description = 422937596; + * + * @return Whether the description field is set. + */ + @java.lang.Override + public boolean hasDescription() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * An optional description of this resource. Provide this property when you create the resource.
+   * 
+ * + * optional string description = 422937596; + * + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + 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(); + description_ = s; + return s; + } + } + /** + * + * + *
+   * An optional description of this resource. Provide this property when you create the resource.
+   * 
+ * + * optional string description = 422937596; + * + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ID_FIELD_NUMBER = 3355; + private long id_ = 0L; + /** + * + * + *
+   * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+   * 
+ * + * optional uint64 id = 3355; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+   * 
+ * + * optional uint64 id = 3355; + * + * @return The id. + */ + @java.lang.Override + public long getId() { + return id_; + } + + public static final int KIND_FIELD_NUMBER = 3292052; + + @SuppressWarnings("serial") + private volatile java.lang.Object kind_ = ""; + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#storagePool for storage pools.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + @java.lang.Override + public boolean hasKind() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#storagePool for storage pools.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + 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(); + kind_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#storagePool for storage pools.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LABEL_FINGERPRINT_FIELD_NUMBER = 178124825; + + @SuppressWarnings("serial") + private volatile java.lang.Object labelFingerprint_ = ""; + /** + * + * + *
+   * A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
+   * 
+ * + * optional string label_fingerprint = 178124825; + * + * @return Whether the labelFingerprint field is set. + */ + @java.lang.Override + public boolean hasLabelFingerprint() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+   * A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
+   * 
+ * + * optional string label_fingerprint = 178124825; + * + * @return The labelFingerprint. + */ + @java.lang.Override + public java.lang.String getLabelFingerprint() { + java.lang.Object ref = labelFingerprint_; + 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(); + labelFingerprint_ = s; + return s; + } + } + /** + * + * + *
+   * A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
+   * 
+ * + * optional string label_fingerprint = 178124825; + * + * @return The bytes for labelFingerprint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getLabelFingerprintBytes() { + java.lang.Object ref = labelFingerprint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + labelFingerprint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LABELS_FIELD_NUMBER = 500195327; + + private static final class LabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePool_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + @SuppressWarnings("serial") + 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(); + } + /** + * + * + *
+   * Labels to apply to this storage pool. These can be later modified by the setLabels method.
+   * 
+ * + * map<string, string> labels = 500195327; + */ + @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(); + } + /** + * + * + *
+   * Labels to apply to this storage pool. These can be later modified by the setLabels method.
+   * 
+ * + * map<string, string> labels = 500195327; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+   * Labels to apply to this storage pool. These can be later modified by the setLabels method.
+   * 
+ * + * map<string, string> labels = 500195327; + */ + @java.lang.Override + public /* nullable */ java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + 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; + } + /** + * + * + *
+   * Labels to apply to this storage pool. These can be later modified by the setLabels method.
+   * 
+ * + * map<string, string> labels = 500195327; + */ + @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 NAME_FIELD_NUMBER = 3373707; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+   * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+   * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+   * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PERFORMANCE_PROVISIONING_TYPE_FIELD_NUMBER = 468553469; + + @SuppressWarnings("serial") + private volatile java.lang.Object performanceProvisioningType_ = ""; + /** + * + * + *
+   * Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
+   * Check the PerformanceProvisioningType enum for the list of possible values.
+   * 
+ * + * optional string performance_provisioning_type = 468553469; + * + * @return Whether the performanceProvisioningType field is set. + */ + @java.lang.Override + public boolean hasPerformanceProvisioningType() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+   * Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
+   * Check the PerformanceProvisioningType enum for the list of possible values.
+   * 
+ * + * optional string performance_provisioning_type = 468553469; + * + * @return The performanceProvisioningType. + */ + @java.lang.Override + public java.lang.String getPerformanceProvisioningType() { + java.lang.Object ref = performanceProvisioningType_; + 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(); + performanceProvisioningType_ = s; + return s; + } + } + /** + * + * + *
+   * Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
+   * Check the PerformanceProvisioningType enum for the list of possible values.
+   * 
+ * + * optional string performance_provisioning_type = 468553469; + * + * @return The bytes for performanceProvisioningType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPerformanceProvisioningTypeBytes() { + java.lang.Object ref = performanceProvisioningType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + performanceProvisioningType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int POOL_PROVISIONED_CAPACITY_GB_FIELD_NUMBER = 478537682; + private long poolProvisionedCapacityGb_ = 0L; + /** + * + * + *
+   * Size, in GiB, of the storage pool.
+   * 
+ * + * optional int64 pool_provisioned_capacity_gb = 478537682; + * + * @return Whether the poolProvisionedCapacityGb field is set. + */ + @java.lang.Override + public boolean hasPoolProvisionedCapacityGb() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+   * Size, in GiB, of the storage pool.
+   * 
+ * + * optional int64 pool_provisioned_capacity_gb = 478537682; + * + * @return The poolProvisionedCapacityGb. + */ + @java.lang.Override + public long getPoolProvisionedCapacityGb() { + return poolProvisionedCapacityGb_; + } + + public static final int POOL_PROVISIONED_IOPS_FIELD_NUMBER = 112092311; + private long poolProvisionedIops_ = 0L; + /** + * + * + *
+   * Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
+   * 
+ * + * optional int64 pool_provisioned_iops = 112092311; + * + * @return Whether the poolProvisionedIops field is set. + */ + @java.lang.Override + public boolean hasPoolProvisionedIops() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+   * Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
+   * 
+ * + * optional int64 pool_provisioned_iops = 112092311; + * + * @return The poolProvisionedIops. + */ + @java.lang.Override + public long getPoolProvisionedIops() { + return poolProvisionedIops_; + } + + public static final int POOL_PROVISIONED_THROUGHPUT_FIELD_NUMBER = 169215640; + private long poolProvisionedThroughput_ = 0L; + /** + * + * + *
+   * Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
+   * 
+ * + * optional int64 pool_provisioned_throughput = 169215640; + * + * @return Whether the poolProvisionedThroughput field is set. + */ + @java.lang.Override + public boolean hasPoolProvisionedThroughput() { + return ((bitField0_ & 0x00000400) != 0); + } + /** + * + * + *
+   * Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
+   * 
+ * + * optional int64 pool_provisioned_throughput = 169215640; + * + * @return The poolProvisionedThroughput. + */ + @java.lang.Override + public long getPoolProvisionedThroughput() { + return poolProvisionedThroughput_; + } + + public static final int RESOURCE_STATUS_FIELD_NUMBER = 249429315; + private com.google.cloud.compute.v1.StoragePoolResourceStatus resourceStatus_; + /** + * + * + *
+   * [Output Only] Status information for the storage pool resource.
+   * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315; + * + * + * @return Whether the resourceStatus field is set. + */ + @java.lang.Override + public boolean hasResourceStatus() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + * + * + *
+   * [Output Only] Status information for the storage pool resource.
+   * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315; + * + * + * @return The resourceStatus. + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolResourceStatus getResourceStatus() { + return resourceStatus_ == null + ? com.google.cloud.compute.v1.StoragePoolResourceStatus.getDefaultInstance() + : resourceStatus_; + } + /** + * + * + *
+   * [Output Only] Status information for the storage pool resource.
+   * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolResourceStatusOrBuilder + getResourceStatusOrBuilder() { + return resourceStatus_ == null + ? com.google.cloud.compute.v1.StoragePoolResourceStatus.getDefaultInstance() + : resourceStatus_; + } + + public static final int SELF_LINK_FIELD_NUMBER = 456214797; + + @SuppressWarnings("serial") + private volatile java.lang.Object selfLink_ = ""; + /** + * + * + *
+   * [Output Only] Server-defined fully-qualified URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + @java.lang.Override + public boolean hasSelfLink() { + return ((bitField0_ & 0x00001000) != 0); + } + /** + * + * + *
+   * [Output Only] Server-defined fully-qualified URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + @java.lang.Override + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + 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(); + selfLink_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Server-defined fully-qualified URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SELF_LINK_WITH_ID_FIELD_NUMBER = 44520962; + + @SuppressWarnings("serial") + private volatile java.lang.Object selfLinkWithId_ = ""; + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource's resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return Whether the selfLinkWithId field is set. + */ + @java.lang.Override + public boolean hasSelfLinkWithId() { + return ((bitField0_ & 0x00002000) != 0); + } + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource's resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The selfLinkWithId. + */ + @java.lang.Override + public java.lang.String getSelfLinkWithId() { + java.lang.Object ref = selfLinkWithId_; + 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(); + selfLinkWithId_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource's resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The bytes for selfLinkWithId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSelfLinkWithIdBytes() { + java.lang.Object ref = selfLinkWithId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLinkWithId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STATE_FIELD_NUMBER = 109757585; + + @SuppressWarnings("serial") + private volatile java.lang.Object state_ = ""; + /** + * + * + *
+   * [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
+   * Check the State enum for the list of possible values.
+   * 
+ * + * optional string state = 109757585; + * + * @return Whether the state field is set. + */ + @java.lang.Override + public boolean hasState() { + return ((bitField0_ & 0x00004000) != 0); + } + /** + * + * + *
+   * [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
+   * Check the State enum for the list of possible values.
+   * 
+ * + * optional string state = 109757585; + * + * @return The state. + */ + @java.lang.Override + public java.lang.String getState() { + java.lang.Object ref = state_; + 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(); + state_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
+   * Check the State enum for the list of possible values.
+   * 
+ * + * optional string state = 109757585; + * + * @return The bytes for state. + */ + @java.lang.Override + public com.google.protobuf.ByteString getStateBytes() { + java.lang.Object ref = state_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + state_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STATUS_FIELD_NUMBER = 181260274; + private com.google.cloud.compute.v1.StoragePoolResourceStatus status_; + /** + * + * + *
+   * [Output Only] Status information for the storage pool resource.
+   * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274; + * + * @return Whether the status field is set. + */ + @java.lang.Override + public boolean hasStatus() { + return ((bitField0_ & 0x00008000) != 0); + } + /** + * + * + *
+   * [Output Only] Status information for the storage pool resource.
+   * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274; + * + * @return The status. + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolResourceStatus getStatus() { + return status_ == null + ? com.google.cloud.compute.v1.StoragePoolResourceStatus.getDefaultInstance() + : status_; + } + /** + * + * + *
+   * [Output Only] Status information for the storage pool resource.
+   * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274; + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolResourceStatusOrBuilder getStatusOrBuilder() { + return status_ == null + ? com.google.cloud.compute.v1.StoragePoolResourceStatus.getDefaultInstance() + : status_; + } + + public static final int STORAGE_POOL_TYPE_FIELD_NUMBER = 285999289; + + @SuppressWarnings("serial") + private volatile java.lang.Object storagePoolType_ = ""; + /** + * + * + *
+   * Type of the storage pool.
+   * 
+ * + * optional string storage_pool_type = 285999289; + * + * @return Whether the storagePoolType field is set. + */ + @java.lang.Override + public boolean hasStoragePoolType() { + return ((bitField0_ & 0x00010000) != 0); + } + /** + * + * + *
+   * Type of the storage pool.
+   * 
+ * + * optional string storage_pool_type = 285999289; + * + * @return The storagePoolType. + */ + @java.lang.Override + public java.lang.String getStoragePoolType() { + java.lang.Object ref = storagePoolType_; + 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(); + storagePoolType_ = s; + return s; + } + } + /** + * + * + *
+   * Type of the storage pool.
+   * 
+ * + * optional string storage_pool_type = 285999289; + * + * @return The bytes for storagePoolType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getStoragePoolTypeBytes() { + java.lang.Object ref = storagePoolType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + storagePoolType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * [Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+   * 
+ * + * optional string zone = 3744684; + * + * @return Whether the zone field is set. + */ + @java.lang.Override + public boolean hasZone() { + return ((bitField0_ & 0x00020000) != 0); + } + /** + * + * + *
+   * [Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+   * 
+ * + * optional string zone = 3744684; + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+   * 
+ * + * optional string zone = 3744684; + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000008) != 0)) { + output.writeUInt64(3355, id_); + } + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_); + } + if (((bitField0_ & 0x00000040) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); + } + if (((bitField0_ & 0x00020000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 30525366, creationTimestamp_); + } + if (((bitField0_ & 0x00002000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 44520962, selfLinkWithId_); + } + if (((bitField0_ & 0x00004000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 109757585, state_); + } + if (((bitField0_ & 0x00000200) != 0)) { + output.writeInt64(112092311, poolProvisionedIops_); + } + if (((bitField0_ & 0x00000400) != 0)) { + output.writeInt64(169215640, poolProvisionedThroughput_); + } + if (((bitField0_ & 0x00000020) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 178124825, labelFingerprint_); + } + if (((bitField0_ & 0x00008000) != 0)) { + output.writeMessage(181260274, getStatus()); + } + if (((bitField0_ & 0x00000800) != 0)) { + output.writeMessage(249429315, getResourceStatus()); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 251610375, capacityProvisioningType_); + } + if (((bitField0_ & 0x00010000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 285999289, storagePoolType_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 422937596, description_); + } + if (((bitField0_ & 0x00001000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); + } + if (((bitField0_ & 0x00000080) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 468553469, performanceProvisioningType_); + } + if (((bitField0_ & 0x00000100) != 0)) { + output.writeInt64(478537682, poolProvisionedCapacityGb_); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 500195327); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeUInt64Size(3355, id_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); + } + if (((bitField0_ & 0x00000040) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); + } + if (((bitField0_ & 0x00020000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(30525366, creationTimestamp_); + } + if (((bitField0_ & 0x00002000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(44520962, selfLinkWithId_); + } + if (((bitField0_ & 0x00004000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(109757585, state_); + } + if (((bitField0_ & 0x00000200) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(112092311, poolProvisionedIops_); + } + if (((bitField0_ & 0x00000400) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 169215640, poolProvisionedThroughput_); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(178124825, labelFingerprint_); + } + if (((bitField0_ & 0x00008000) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(181260274, getStatus()); + } + if (((bitField0_ & 0x00000800) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(249429315, getResourceStatus()); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 251610375, capacityProvisioningType_); + } + if (((bitField0_ & 0x00010000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(285999289, storagePoolType_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(422937596, description_); + } + if (((bitField0_ & 0x00001000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); + } + if (((bitField0_ & 0x00000080) != 0)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 468553469, performanceProvisioningType_); + } + if (((bitField0_ & 0x00000100) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 478537682, poolProvisionedCapacityGb_); + } + 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(500195327, labels__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.StoragePool)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.StoragePool other = (com.google.cloud.compute.v1.StoragePool) obj; + + if (hasCapacityProvisioningType() != other.hasCapacityProvisioningType()) return false; + if (hasCapacityProvisioningType()) { + if (!getCapacityProvisioningType().equals(other.getCapacityProvisioningType())) return false; + } + if (hasCreationTimestamp() != other.hasCreationTimestamp()) return false; + if (hasCreationTimestamp()) { + if (!getCreationTimestamp().equals(other.getCreationTimestamp())) return false; + } + if (hasDescription() != other.hasDescription()) return false; + if (hasDescription()) { + if (!getDescription().equals(other.getDescription())) return false; + } + if (hasId() != other.hasId()) return false; + if (hasId()) { + if (getId() != other.getId()) return false; + } + if (hasKind() != other.hasKind()) return false; + if (hasKind()) { + if (!getKind().equals(other.getKind())) return false; + } + if (hasLabelFingerprint() != other.hasLabelFingerprint()) return false; + if (hasLabelFingerprint()) { + if (!getLabelFingerprint().equals(other.getLabelFingerprint())) return false; + } + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (hasName() != other.hasName()) return false; + if (hasName()) { + if (!getName().equals(other.getName())) return false; + } + if (hasPerformanceProvisioningType() != other.hasPerformanceProvisioningType()) return false; + if (hasPerformanceProvisioningType()) { + if (!getPerformanceProvisioningType().equals(other.getPerformanceProvisioningType())) + return false; + } + if (hasPoolProvisionedCapacityGb() != other.hasPoolProvisionedCapacityGb()) return false; + if (hasPoolProvisionedCapacityGb()) { + if (getPoolProvisionedCapacityGb() != other.getPoolProvisionedCapacityGb()) return false; + } + if (hasPoolProvisionedIops() != other.hasPoolProvisionedIops()) return false; + if (hasPoolProvisionedIops()) { + if (getPoolProvisionedIops() != other.getPoolProvisionedIops()) return false; + } + if (hasPoolProvisionedThroughput() != other.hasPoolProvisionedThroughput()) return false; + if (hasPoolProvisionedThroughput()) { + if (getPoolProvisionedThroughput() != other.getPoolProvisionedThroughput()) return false; + } + if (hasResourceStatus() != other.hasResourceStatus()) return false; + if (hasResourceStatus()) { + if (!getResourceStatus().equals(other.getResourceStatus())) return false; + } + if (hasSelfLink() != other.hasSelfLink()) return false; + if (hasSelfLink()) { + if (!getSelfLink().equals(other.getSelfLink())) return false; + } + if (hasSelfLinkWithId() != other.hasSelfLinkWithId()) return false; + if (hasSelfLinkWithId()) { + if (!getSelfLinkWithId().equals(other.getSelfLinkWithId())) return false; + } + if (hasState() != other.hasState()) return false; + if (hasState()) { + if (!getState().equals(other.getState())) return false; + } + if (hasStatus() != other.hasStatus()) return false; + if (hasStatus()) { + if (!getStatus().equals(other.getStatus())) return false; + } + if (hasStoragePoolType() != other.hasStoragePoolType()) return false; + if (hasStoragePoolType()) { + if (!getStoragePoolType().equals(other.getStoragePoolType())) return false; + } + if (hasZone() != other.hasZone()) return false; + if (hasZone()) { + if (!getZone().equals(other.getZone())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasCapacityProvisioningType()) { + hash = (37 * hash) + CAPACITY_PROVISIONING_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getCapacityProvisioningType().hashCode(); + } + if (hasCreationTimestamp()) { + hash = (37 * hash) + CREATION_TIMESTAMP_FIELD_NUMBER; + hash = (53 * hash) + getCreationTimestamp().hashCode(); + } + if (hasDescription()) { + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + } + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getId()); + } + if (hasKind()) { + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + } + if (hasLabelFingerprint()) { + hash = (37 * hash) + LABEL_FINGERPRINT_FIELD_NUMBER; + hash = (53 * hash) + getLabelFingerprint().hashCode(); + } + if (!internalGetLabels().getMap().isEmpty()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLabels().hashCode(); + } + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + if (hasPerformanceProvisioningType()) { + hash = (37 * hash) + PERFORMANCE_PROVISIONING_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getPerformanceProvisioningType().hashCode(); + } + if (hasPoolProvisionedCapacityGb()) { + hash = (37 * hash) + POOL_PROVISIONED_CAPACITY_GB_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPoolProvisionedCapacityGb()); + } + if (hasPoolProvisionedIops()) { + hash = (37 * hash) + POOL_PROVISIONED_IOPS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPoolProvisionedIops()); + } + if (hasPoolProvisionedThroughput()) { + hash = (37 * hash) + POOL_PROVISIONED_THROUGHPUT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPoolProvisionedThroughput()); + } + if (hasResourceStatus()) { + hash = (37 * hash) + RESOURCE_STATUS_FIELD_NUMBER; + hash = (53 * hash) + getResourceStatus().hashCode(); + } + if (hasSelfLink()) { + hash = (37 * hash) + SELF_LINK_FIELD_NUMBER; + hash = (53 * hash) + getSelfLink().hashCode(); + } + if (hasSelfLinkWithId()) { + hash = (37 * hash) + SELF_LINK_WITH_ID_FIELD_NUMBER; + hash = (53 * hash) + getSelfLinkWithId().hashCode(); + } + if (hasState()) { + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + getState().hashCode(); + } + if (hasStatus()) { + hash = (37 * hash) + STATUS_FIELD_NUMBER; + hash = (53 * hash) + getStatus().hashCode(); + } + if (hasStoragePoolType()) { + hash = (37 * hash) + STORAGE_POOL_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getStoragePoolType().hashCode(); + } + if (hasZone()) { + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.StoragePool parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePool parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePool parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePool parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePool parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePool parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePool parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePool parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePool parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePool parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePool parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePool parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.compute.v1.StoragePool prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents a zonal storage pool resource.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePool} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.StoragePool) + com.google.cloud.compute.v1.StoragePoolOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePool_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 500195327: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 500195327: + return internalGetMutableLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePool_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePool.class, + com.google.cloud.compute.v1.StoragePool.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.StoragePool.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getResourceStatusFieldBuilder(); + getStatusFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + capacityProvisioningType_ = ""; + creationTimestamp_ = ""; + description_ = ""; + id_ = 0L; + kind_ = ""; + labelFingerprint_ = ""; + internalGetMutableLabels().clear(); + name_ = ""; + performanceProvisioningType_ = ""; + poolProvisionedCapacityGb_ = 0L; + poolProvisionedIops_ = 0L; + poolProvisionedThroughput_ = 0L; + resourceStatus_ = null; + if (resourceStatusBuilder_ != null) { + resourceStatusBuilder_.dispose(); + resourceStatusBuilder_ = null; + } + selfLink_ = ""; + selfLinkWithId_ = ""; + state_ = ""; + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } + storagePoolType_ = ""; + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePool_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePool getDefaultInstanceForType() { + return com.google.cloud.compute.v1.StoragePool.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePool build() { + com.google.cloud.compute.v1.StoragePool result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePool buildPartial() { + com.google.cloud.compute.v1.StoragePool result = + new com.google.cloud.compute.v1.StoragePool(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.StoragePool result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.capacityProvisioningType_ = capacityProvisioningType_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.creationTimestamp_ = creationTimestamp_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.description_ = description_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.id_ = id_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.kind_ = kind_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.labelFingerprint_ = labelFingerprint_; + to_bitField0_ |= 0x00000020; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.name_ = name_; + to_bitField0_ |= 0x00000040; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.performanceProvisioningType_ = performanceProvisioningType_; + to_bitField0_ |= 0x00000080; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.poolProvisionedCapacityGb_ = poolProvisionedCapacityGb_; + to_bitField0_ |= 0x00000100; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.poolProvisionedIops_ = poolProvisionedIops_; + to_bitField0_ |= 0x00000200; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.poolProvisionedThroughput_ = poolProvisionedThroughput_; + to_bitField0_ |= 0x00000400; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.resourceStatus_ = + resourceStatusBuilder_ == null ? resourceStatus_ : resourceStatusBuilder_.build(); + to_bitField0_ |= 0x00000800; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.selfLink_ = selfLink_; + to_bitField0_ |= 0x00001000; + } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.selfLinkWithId_ = selfLinkWithId_; + to_bitField0_ |= 0x00002000; + } + if (((from_bitField0_ & 0x00008000) != 0)) { + result.state_ = state_; + to_bitField0_ |= 0x00004000; + } + if (((from_bitField0_ & 0x00010000) != 0)) { + result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build(); + to_bitField0_ |= 0x00008000; + } + if (((from_bitField0_ & 0x00020000) != 0)) { + result.storagePoolType_ = storagePoolType_; + to_bitField0_ |= 0x00010000; + } + if (((from_bitField0_ & 0x00040000) != 0)) { + result.zone_ = zone_; + to_bitField0_ |= 0x00020000; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.StoragePool) { + return mergeFrom((com.google.cloud.compute.v1.StoragePool) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.StoragePool other) { + if (other == com.google.cloud.compute.v1.StoragePool.getDefaultInstance()) return this; + if (other.hasCapacityProvisioningType()) { + capacityProvisioningType_ = other.capacityProvisioningType_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasCreationTimestamp()) { + creationTimestamp_ = other.creationTimestamp_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasDescription()) { + description_ = other.description_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasId()) { + setId(other.getId()); + } + if (other.hasKind()) { + kind_ = other.kind_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.hasLabelFingerprint()) { + labelFingerprint_ = other.labelFingerprint_; + bitField0_ |= 0x00000020; + onChanged(); + } + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + bitField0_ |= 0x00000040; + if (other.hasName()) { + name_ = other.name_; + bitField0_ |= 0x00000080; + onChanged(); + } + if (other.hasPerformanceProvisioningType()) { + performanceProvisioningType_ = other.performanceProvisioningType_; + bitField0_ |= 0x00000100; + onChanged(); + } + if (other.hasPoolProvisionedCapacityGb()) { + setPoolProvisionedCapacityGb(other.getPoolProvisionedCapacityGb()); + } + if (other.hasPoolProvisionedIops()) { + setPoolProvisionedIops(other.getPoolProvisionedIops()); + } + if (other.hasPoolProvisionedThroughput()) { + setPoolProvisionedThroughput(other.getPoolProvisionedThroughput()); + } + if (other.hasResourceStatus()) { + mergeResourceStatus(other.getResourceStatus()); + } + if (other.hasSelfLink()) { + selfLink_ = other.selfLink_; + bitField0_ |= 0x00002000; + onChanged(); + } + if (other.hasSelfLinkWithId()) { + selfLinkWithId_ = other.selfLinkWithId_; + bitField0_ |= 0x00004000; + onChanged(); + } + if (other.hasState()) { + state_ = other.state_; + bitField0_ |= 0x00008000; + onChanged(); + } + if (other.hasStatus()) { + mergeStatus(other.getStatus()); + } + if (other.hasStoragePoolType()) { + storagePoolType_ = other.storagePoolType_; + bitField0_ |= 0x00020000; + onChanged(); + } + if (other.hasZone()) { + zone_ = other.zone_; + bitField0_ |= 0x00040000; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26840: + { + id_ = input.readUInt64(); + bitField0_ |= 0x00000008; + break; + } // case 26840 + case 26336418: + { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 26336418 + case 26989658: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 26989658 + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00040000; + break; + } // case 29957474 + case 244202930: + { + creationTimestamp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 244202930 + case 356167698: + { + selfLinkWithId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00004000; + break; + } // case 356167698 + case 878060682: + { + state_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00008000; + break; + } // case 878060682 + case 896738488: + { + poolProvisionedIops_ = input.readInt64(); + bitField0_ |= 0x00000400; + break; + } // case 896738488 + case 1353725120: + { + poolProvisionedThroughput_ = input.readInt64(); + bitField0_ |= 0x00000800; + break; + } // case 1353725120 + case 1424998602: + { + labelFingerprint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 1424998602 + case 1450082194: + { + input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00010000; + break; + } // case 1450082194 + case 1995434522: + { + input.readMessage(getResourceStatusFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00001000; + break; + } // case 1995434522 + case 2012883002: + { + capacityProvisioningType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 2012883002 + case -2006972982: + { + storagePoolType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00020000; + break; + } // case -2006972982 + case -911466526: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case -911466526 + case -645248918: + { + selfLink_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case -645248918 + case -546539542: + { + performanceProvisioningType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case -546539542 + case -466665840: + { + poolProvisionedCapacityGb_ = input.readInt64(); + bitField0_ |= 0x00000200; + break; + } // case -466665840 + case -293404678: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case -293404678 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object capacityProvisioningType_ = ""; + /** + * + * + *
+     * Provisioning type of the byte capacity of the pool.
+     * Check the CapacityProvisioningType enum for the list of possible values.
+     * 
+ * + * optional string capacity_provisioning_type = 251610375; + * + * @return Whether the capacityProvisioningType field is set. + */ + public boolean hasCapacityProvisioningType() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Provisioning type of the byte capacity of the pool.
+     * Check the CapacityProvisioningType enum for the list of possible values.
+     * 
+ * + * optional string capacity_provisioning_type = 251610375; + * + * @return The capacityProvisioningType. + */ + public java.lang.String getCapacityProvisioningType() { + java.lang.Object ref = capacityProvisioningType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + capacityProvisioningType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Provisioning type of the byte capacity of the pool.
+     * Check the CapacityProvisioningType enum for the list of possible values.
+     * 
+ * + * optional string capacity_provisioning_type = 251610375; + * + * @return The bytes for capacityProvisioningType. + */ + public com.google.protobuf.ByteString getCapacityProvisioningTypeBytes() { + java.lang.Object ref = capacityProvisioningType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + capacityProvisioningType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Provisioning type of the byte capacity of the pool.
+     * Check the CapacityProvisioningType enum for the list of possible values.
+     * 
+ * + * optional string capacity_provisioning_type = 251610375; + * + * @param value The capacityProvisioningType to set. + * @return This builder for chaining. + */ + public Builder setCapacityProvisioningType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + capacityProvisioningType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Provisioning type of the byte capacity of the pool.
+     * Check the CapacityProvisioningType enum for the list of possible values.
+     * 
+ * + * optional string capacity_provisioning_type = 251610375; + * + * @return This builder for chaining. + */ + public Builder clearCapacityProvisioningType() { + capacityProvisioningType_ = getDefaultInstance().getCapacityProvisioningType(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Provisioning type of the byte capacity of the pool.
+     * Check the CapacityProvisioningType enum for the list of possible values.
+     * 
+ * + * optional string capacity_provisioning_type = 251610375; + * + * @param value The bytes for capacityProvisioningType to set. + * @return This builder for chaining. + */ + public Builder setCapacityProvisioningTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + capacityProvisioningType_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object creationTimestamp_ = ""; + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return Whether the creationTimestamp field is set. + */ + public boolean hasCreationTimestamp() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The creationTimestamp. + */ + public java.lang.String getCreationTimestamp() { + java.lang.Object ref = creationTimestamp_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + creationTimestamp_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The bytes for creationTimestamp. + */ + public com.google.protobuf.ByteString getCreationTimestampBytes() { + java.lang.Object ref = creationTimestamp_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + creationTimestamp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @param value The creationTimestamp to set. + * @return This builder for chaining. + */ + public Builder setCreationTimestamp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + creationTimestamp_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return This builder for chaining. + */ + public Builder clearCreationTimestamp() { + creationTimestamp_ = getDefaultInstance().getCreationTimestamp(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @param value The bytes for creationTimestamp to set. + * @return This builder for chaining. + */ + public Builder setCreationTimestampBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + creationTimestamp_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + * + * + *
+     * An optional description of this resource. Provide this property when you create the resource.
+     * 
+ * + * optional string description = 422937596; + * + * @return Whether the description field is set. + */ + public boolean hasDescription() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * An optional description of this resource. Provide this property when you create the resource.
+     * 
+ * + * optional string description = 422937596; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * An optional description of this resource. Provide this property when you create the resource.
+     * 
+ * + * optional string description = 422937596; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * An optional description of this resource. Provide this property when you create the resource.
+     * 
+ * + * optional string description = 422937596; + * + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + description_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * An optional description of this resource. Provide this property when you create the resource.
+     * 
+ * + * optional string description = 422937596; + * + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * An optional description of this resource. Provide this property when you create the resource.
+     * 
+ * + * optional string description = 422937596; + * + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private long id_; + /** + * + * + *
+     * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+     * 
+ * + * optional uint64 id = 3355; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+     * 
+ * + * optional uint64 id = 3355; + * + * @return The id. + */ + @java.lang.Override + public long getId() { + return id_; + } + /** + * + * + *
+     * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+     * 
+ * + * optional uint64 id = 3355; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(long value) { + + id_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+     * 
+ * + * optional uint64 id = 3355; + * + * @return This builder for chaining. + */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000008); + id_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object kind_ = ""; + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#storagePool for storage pools.
+     * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + public boolean hasKind() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#storagePool for storage pools.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#storagePool for storage pools.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#storagePool for storage pools.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + kind_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#storagePool for storage pools.
+     * 
+ * + * optional string kind = 3292052; + * + * @return This builder for chaining. + */ + public Builder clearKind() { + kind_ = getDefaultInstance().getKind(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#storagePool for storage pools.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object labelFingerprint_ = ""; + /** + * + * + *
+     * A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
+     * 
+ * + * optional string label_fingerprint = 178124825; + * + * @return Whether the labelFingerprint field is set. + */ + public boolean hasLabelFingerprint() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
+     * 
+ * + * optional string label_fingerprint = 178124825; + * + * @return The labelFingerprint. + */ + public java.lang.String getLabelFingerprint() { + java.lang.Object ref = labelFingerprint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + labelFingerprint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
+     * 
+ * + * optional string label_fingerprint = 178124825; + * + * @return The bytes for labelFingerprint. + */ + public com.google.protobuf.ByteString getLabelFingerprintBytes() { + java.lang.Object ref = labelFingerprint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + labelFingerprint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
+     * 
+ * + * optional string label_fingerprint = 178124825; + * + * @param value The labelFingerprint to set. + * @return This builder for chaining. + */ + public Builder setLabelFingerprint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + labelFingerprint_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
+     * 
+ * + * optional string label_fingerprint = 178124825; + * + * @return This builder for chaining. + */ + public Builder clearLabelFingerprint() { + labelFingerprint_ = getDefaultInstance().getLabelFingerprint(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * + * + *
+     * A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
+     * 
+ * + * optional string label_fingerprint = 178124825; + * + * @param value The bytes for labelFingerprint to set. + * @return This builder for chaining. + */ + public Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + labelFingerprint_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + 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() { + if (labels_ == null) { + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + } + if (!labels_.isMutable()) { + labels_ = labels_.copy(); + } + bitField0_ |= 0x00000040; + onChanged(); + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + * + * + *
+     * Labels to apply to this storage pool. These can be later modified by the setLabels method.
+     * 
+ * + * map<string, string> labels = 500195327; + */ + @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(); + } + /** + * + * + *
+     * Labels to apply to this storage pool. These can be later modified by the setLabels method.
+     * 
+ * + * map<string, string> labels = 500195327; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+     * Labels to apply to this storage pool. These can be later modified by the setLabels method.
+     * 
+ * + * map<string, string> labels = 500195327; + */ + @java.lang.Override + public /* nullable */ java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + 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; + } + /** + * + * + *
+     * Labels to apply to this storage pool. These can be later modified by the setLabels method.
+     * 
+ * + * map<string, string> labels = 500195327; + */ + @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() { + bitField0_ = (bitField0_ & ~0x00000040); + internalGetMutableLabels().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * Labels to apply to this storage pool. These can be later modified by the setLabels method.
+     * 
+ * + * map<string, string> labels = 500195327; + */ + 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() { + bitField0_ |= 0x00000040; + return internalGetMutableLabels().getMutableMap(); + } + /** + * + * + *
+     * Labels to apply to this storage pool. These can be later modified by the setLabels method.
+     * 
+ * + * map<string, string> labels = 500195327; + */ + 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); + bitField0_ |= 0x00000040; + return this; + } + /** + * + * + *
+     * Labels to apply to this storage pool. These can be later modified by the setLabels method.
+     * 
+ * + * map<string, string> labels = 500195327; + */ + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); + bitField0_ |= 0x00000040; + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+     * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+     * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+     * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+     * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+     * 
+ * + * optional string name = 3373707; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+     * 
+ * + * optional string name = 3373707; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+     * 
+ * + * optional string name = 3373707; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + private java.lang.Object performanceProvisioningType_ = ""; + /** + * + * + *
+     * Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
+     * Check the PerformanceProvisioningType enum for the list of possible values.
+     * 
+ * + * optional string performance_provisioning_type = 468553469; + * + * @return Whether the performanceProvisioningType field is set. + */ + public boolean hasPerformanceProvisioningType() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+     * Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
+     * Check the PerformanceProvisioningType enum for the list of possible values.
+     * 
+ * + * optional string performance_provisioning_type = 468553469; + * + * @return The performanceProvisioningType. + */ + public java.lang.String getPerformanceProvisioningType() { + java.lang.Object ref = performanceProvisioningType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + performanceProvisioningType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
+     * Check the PerformanceProvisioningType enum for the list of possible values.
+     * 
+ * + * optional string performance_provisioning_type = 468553469; + * + * @return The bytes for performanceProvisioningType. + */ + public com.google.protobuf.ByteString getPerformanceProvisioningTypeBytes() { + java.lang.Object ref = performanceProvisioningType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + performanceProvisioningType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
+     * Check the PerformanceProvisioningType enum for the list of possible values.
+     * 
+ * + * optional string performance_provisioning_type = 468553469; + * + * @param value The performanceProvisioningType to set. + * @return This builder for chaining. + */ + public Builder setPerformanceProvisioningType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + performanceProvisioningType_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+     * Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
+     * Check the PerformanceProvisioningType enum for the list of possible values.
+     * 
+ * + * optional string performance_provisioning_type = 468553469; + * + * @return This builder for chaining. + */ + public Builder clearPerformanceProvisioningType() { + performanceProvisioningType_ = getDefaultInstance().getPerformanceProvisioningType(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + * + * + *
+     * Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
+     * Check the PerformanceProvisioningType enum for the list of possible values.
+     * 
+ * + * optional string performance_provisioning_type = 468553469; + * + * @param value The bytes for performanceProvisioningType to set. + * @return This builder for chaining. + */ + public Builder setPerformanceProvisioningTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + performanceProvisioningType_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + private long poolProvisionedCapacityGb_; + /** + * + * + *
+     * Size, in GiB, of the storage pool.
+     * 
+ * + * optional int64 pool_provisioned_capacity_gb = 478537682; + * + * @return Whether the poolProvisionedCapacityGb field is set. + */ + @java.lang.Override + public boolean hasPoolProvisionedCapacityGb() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+     * Size, in GiB, of the storage pool.
+     * 
+ * + * optional int64 pool_provisioned_capacity_gb = 478537682; + * + * @return The poolProvisionedCapacityGb. + */ + @java.lang.Override + public long getPoolProvisionedCapacityGb() { + return poolProvisionedCapacityGb_; + } + /** + * + * + *
+     * Size, in GiB, of the storage pool.
+     * 
+ * + * optional int64 pool_provisioned_capacity_gb = 478537682; + * + * @param value The poolProvisionedCapacityGb to set. + * @return This builder for chaining. + */ + public Builder setPoolProvisionedCapacityGb(long value) { + + poolProvisionedCapacityGb_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * Size, in GiB, of the storage pool.
+     * 
+ * + * optional int64 pool_provisioned_capacity_gb = 478537682; + * + * @return This builder for chaining. + */ + public Builder clearPoolProvisionedCapacityGb() { + bitField0_ = (bitField0_ & ~0x00000200); + poolProvisionedCapacityGb_ = 0L; + onChanged(); + return this; + } + + private long poolProvisionedIops_; + /** + * + * + *
+     * Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
+     * 
+ * + * optional int64 pool_provisioned_iops = 112092311; + * + * @return Whether the poolProvisionedIops field is set. + */ + @java.lang.Override + public boolean hasPoolProvisionedIops() { + return ((bitField0_ & 0x00000400) != 0); + } + /** + * + * + *
+     * Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
+     * 
+ * + * optional int64 pool_provisioned_iops = 112092311; + * + * @return The poolProvisionedIops. + */ + @java.lang.Override + public long getPoolProvisionedIops() { + return poolProvisionedIops_; + } + /** + * + * + *
+     * Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
+     * 
+ * + * optional int64 pool_provisioned_iops = 112092311; + * + * @param value The poolProvisionedIops to set. + * @return This builder for chaining. + */ + public Builder setPoolProvisionedIops(long value) { + + poolProvisionedIops_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * + * + *
+     * Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
+     * 
+ * + * optional int64 pool_provisioned_iops = 112092311; + * + * @return This builder for chaining. + */ + public Builder clearPoolProvisionedIops() { + bitField0_ = (bitField0_ & ~0x00000400); + poolProvisionedIops_ = 0L; + onChanged(); + return this; + } + + private long poolProvisionedThroughput_; + /** + * + * + *
+     * Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
+     * 
+ * + * optional int64 pool_provisioned_throughput = 169215640; + * + * @return Whether the poolProvisionedThroughput field is set. + */ + @java.lang.Override + public boolean hasPoolProvisionedThroughput() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + * + * + *
+     * Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
+     * 
+ * + * optional int64 pool_provisioned_throughput = 169215640; + * + * @return The poolProvisionedThroughput. + */ + @java.lang.Override + public long getPoolProvisionedThroughput() { + return poolProvisionedThroughput_; + } + /** + * + * + *
+     * Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
+     * 
+ * + * optional int64 pool_provisioned_throughput = 169215640; + * + * @param value The poolProvisionedThroughput to set. + * @return This builder for chaining. + */ + public Builder setPoolProvisionedThroughput(long value) { + + poolProvisionedThroughput_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * + * + *
+     * Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
+     * 
+ * + * optional int64 pool_provisioned_throughput = 169215640; + * + * @return This builder for chaining. + */ + public Builder clearPoolProvisionedThroughput() { + bitField0_ = (bitField0_ & ~0x00000800); + poolProvisionedThroughput_ = 0L; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.StoragePoolResourceStatus resourceStatus_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.StoragePoolResourceStatus, + com.google.cloud.compute.v1.StoragePoolResourceStatus.Builder, + com.google.cloud.compute.v1.StoragePoolResourceStatusOrBuilder> + resourceStatusBuilder_; + /** + * + * + *
+     * [Output Only] Status information for the storage pool resource.
+     * 
+ * + * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315; + * + * + * @return Whether the resourceStatus field is set. + */ + public boolean hasResourceStatus() { + return ((bitField0_ & 0x00001000) != 0); + } + /** + * + * + *
+     * [Output Only] Status information for the storage pool resource.
+     * 
+ * + * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315; + * + * + * @return The resourceStatus. + */ + public com.google.cloud.compute.v1.StoragePoolResourceStatus getResourceStatus() { + if (resourceStatusBuilder_ == null) { + return resourceStatus_ == null + ? com.google.cloud.compute.v1.StoragePoolResourceStatus.getDefaultInstance() + : resourceStatus_; + } else { + return resourceStatusBuilder_.getMessage(); + } + } + /** + * + * + *
+     * [Output Only] Status information for the storage pool resource.
+     * 
+ * + * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315; + * + */ + public Builder setResourceStatus(com.google.cloud.compute.v1.StoragePoolResourceStatus value) { + if (resourceStatusBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + resourceStatus_ = value; + } else { + resourceStatusBuilder_.setMessage(value); + } + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Status information for the storage pool resource.
+     * 
+ * + * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315; + * + */ + public Builder setResourceStatus( + com.google.cloud.compute.v1.StoragePoolResourceStatus.Builder builderForValue) { + if (resourceStatusBuilder_ == null) { + resourceStatus_ = builderForValue.build(); + } else { + resourceStatusBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Status information for the storage pool resource.
+     * 
+ * + * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315; + * + */ + public Builder mergeResourceStatus( + com.google.cloud.compute.v1.StoragePoolResourceStatus value) { + if (resourceStatusBuilder_ == null) { + if (((bitField0_ & 0x00001000) != 0) + && resourceStatus_ != null + && resourceStatus_ + != com.google.cloud.compute.v1.StoragePoolResourceStatus.getDefaultInstance()) { + getResourceStatusBuilder().mergeFrom(value); + } else { + resourceStatus_ = value; + } + } else { + resourceStatusBuilder_.mergeFrom(value); + } + if (resourceStatus_ != null) { + bitField0_ |= 0x00001000; + onChanged(); + } + return this; + } + /** + * + * + *
+     * [Output Only] Status information for the storage pool resource.
+     * 
+ * + * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315; + * + */ + public Builder clearResourceStatus() { + bitField0_ = (bitField0_ & ~0x00001000); + resourceStatus_ = null; + if (resourceStatusBuilder_ != null) { + resourceStatusBuilder_.dispose(); + resourceStatusBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Status information for the storage pool resource.
+     * 
+ * + * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315; + * + */ + public com.google.cloud.compute.v1.StoragePoolResourceStatus.Builder + getResourceStatusBuilder() { + bitField0_ |= 0x00001000; + onChanged(); + return getResourceStatusFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * [Output Only] Status information for the storage pool resource.
+     * 
+ * + * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315; + * + */ + public com.google.cloud.compute.v1.StoragePoolResourceStatusOrBuilder + getResourceStatusOrBuilder() { + if (resourceStatusBuilder_ != null) { + return resourceStatusBuilder_.getMessageOrBuilder(); + } else { + return resourceStatus_ == null + ? com.google.cloud.compute.v1.StoragePoolResourceStatus.getDefaultInstance() + : resourceStatus_; + } + } + /** + * + * + *
+     * [Output Only] Status information for the storage pool resource.
+     * 
+ * + * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.StoragePoolResourceStatus, + com.google.cloud.compute.v1.StoragePoolResourceStatus.Builder, + com.google.cloud.compute.v1.StoragePoolResourceStatusOrBuilder> + getResourceStatusFieldBuilder() { + if (resourceStatusBuilder_ == null) { + resourceStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.StoragePoolResourceStatus, + com.google.cloud.compute.v1.StoragePoolResourceStatus.Builder, + com.google.cloud.compute.v1.StoragePoolResourceStatusOrBuilder>( + getResourceStatus(), getParentForChildren(), isClean()); + resourceStatus_ = null; + } + return resourceStatusBuilder_; + } + + private java.lang.Object selfLink_ = ""; + /** + * + * + *
+     * [Output Only] Server-defined fully-qualified URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + public boolean hasSelfLink() { + return ((bitField0_ & 0x00002000) != 0); + } + /** + * + * + *
+     * [Output Only] Server-defined fully-qualified URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + selfLink_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined fully-qualified URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + public com.google.protobuf.ByteString getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined fully-qualified URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @param value The selfLink to set. + * @return This builder for chaining. + */ + public Builder setSelfLink(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + selfLink_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined fully-qualified URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return This builder for chaining. + */ + public Builder clearSelfLink() { + selfLink_ = getDefaultInstance().getSelfLink(); + bitField0_ = (bitField0_ & ~0x00002000); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined fully-qualified URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @param value The bytes for selfLink to set. + * @return This builder for chaining. + */ + public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + + private java.lang.Object selfLinkWithId_ = ""; + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource's resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return Whether the selfLinkWithId field is set. + */ + public boolean hasSelfLinkWithId() { + return ((bitField0_ & 0x00004000) != 0); + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource's resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The selfLinkWithId. + */ + public java.lang.String getSelfLinkWithId() { + java.lang.Object ref = selfLinkWithId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + selfLinkWithId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource's resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The bytes for selfLinkWithId. + */ + public com.google.protobuf.ByteString getSelfLinkWithIdBytes() { + java.lang.Object ref = selfLinkWithId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLinkWithId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource's resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @param value The selfLinkWithId to set. + * @return This builder for chaining. + */ + public Builder setSelfLinkWithId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + selfLinkWithId_ = value; + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource's resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return This builder for chaining. + */ + public Builder clearSelfLinkWithId() { + selfLinkWithId_ = getDefaultInstance().getSelfLinkWithId(); + bitField0_ = (bitField0_ & ~0x00004000); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource's resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @param value The bytes for selfLinkWithId to set. + * @return This builder for chaining. + */ + public Builder setSelfLinkWithIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLinkWithId_ = value; + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + + private java.lang.Object state_ = ""; + /** + * + * + *
+     * [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
+     * Check the State enum for the list of possible values.
+     * 
+ * + * optional string state = 109757585; + * + * @return Whether the state field is set. + */ + public boolean hasState() { + return ((bitField0_ & 0x00008000) != 0); + } + /** + * + * + *
+     * [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
+     * Check the State enum for the list of possible values.
+     * 
+ * + * optional string state = 109757585; + * + * @return The state. + */ + public java.lang.String getState() { + java.lang.Object ref = state_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + state_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
+     * Check the State enum for the list of possible values.
+     * 
+ * + * optional string state = 109757585; + * + * @return The bytes for state. + */ + public com.google.protobuf.ByteString getStateBytes() { + java.lang.Object ref = state_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + state_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
+     * Check the State enum for the list of possible values.
+     * 
+ * + * optional string state = 109757585; + * + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + state_ = value; + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
+     * Check the State enum for the list of possible values.
+     * 
+ * + * optional string state = 109757585; + * + * @return This builder for chaining. + */ + public Builder clearState() { + state_ = getDefaultInstance().getState(); + bitField0_ = (bitField0_ & ~0x00008000); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
+     * Check the State enum for the list of possible values.
+     * 
+ * + * optional string state = 109757585; + * + * @param value The bytes for state to set. + * @return This builder for chaining. + */ + public Builder setStateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + state_ = value; + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.StoragePoolResourceStatus status_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.StoragePoolResourceStatus, + com.google.cloud.compute.v1.StoragePoolResourceStatus.Builder, + com.google.cloud.compute.v1.StoragePoolResourceStatusOrBuilder> + statusBuilder_; + /** + * + * + *
+     * [Output Only] Status information for the storage pool resource.
+     * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274; + * + * @return Whether the status field is set. + */ + public boolean hasStatus() { + return ((bitField0_ & 0x00010000) != 0); + } + /** + * + * + *
+     * [Output Only] Status information for the storage pool resource.
+     * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274; + * + * @return The status. + */ + public com.google.cloud.compute.v1.StoragePoolResourceStatus getStatus() { + if (statusBuilder_ == null) { + return status_ == null + ? com.google.cloud.compute.v1.StoragePoolResourceStatus.getDefaultInstance() + : status_; + } else { + return statusBuilder_.getMessage(); + } + } + /** + * + * + *
+     * [Output Only] Status information for the storage pool resource.
+     * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274; + */ + public Builder setStatus(com.google.cloud.compute.v1.StoragePoolResourceStatus value) { + if (statusBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + status_ = value; + } else { + statusBuilder_.setMessage(value); + } + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Status information for the storage pool resource.
+     * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274; + */ + public Builder setStatus( + com.google.cloud.compute.v1.StoragePoolResourceStatus.Builder builderForValue) { + if (statusBuilder_ == null) { + status_ = builderForValue.build(); + } else { + statusBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Status information for the storage pool resource.
+     * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274; + */ + public Builder mergeStatus(com.google.cloud.compute.v1.StoragePoolResourceStatus value) { + if (statusBuilder_ == null) { + if (((bitField0_ & 0x00010000) != 0) + && status_ != null + && status_ + != com.google.cloud.compute.v1.StoragePoolResourceStatus.getDefaultInstance()) { + getStatusBuilder().mergeFrom(value); + } else { + status_ = value; + } + } else { + statusBuilder_.mergeFrom(value); + } + if (status_ != null) { + bitField0_ |= 0x00010000; + onChanged(); + } + return this; + } + /** + * + * + *
+     * [Output Only] Status information for the storage pool resource.
+     * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274; + */ + public Builder clearStatus() { + bitField0_ = (bitField0_ & ~0x00010000); + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Status information for the storage pool resource.
+     * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274; + */ + public com.google.cloud.compute.v1.StoragePoolResourceStatus.Builder getStatusBuilder() { + bitField0_ |= 0x00010000; + onChanged(); + return getStatusFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * [Output Only] Status information for the storage pool resource.
+     * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274; + */ + public com.google.cloud.compute.v1.StoragePoolResourceStatusOrBuilder getStatusOrBuilder() { + if (statusBuilder_ != null) { + return statusBuilder_.getMessageOrBuilder(); + } else { + return status_ == null + ? com.google.cloud.compute.v1.StoragePoolResourceStatus.getDefaultInstance() + : status_; + } + } + /** + * + * + *
+     * [Output Only] Status information for the storage pool resource.
+     * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.StoragePoolResourceStatus, + com.google.cloud.compute.v1.StoragePoolResourceStatus.Builder, + com.google.cloud.compute.v1.StoragePoolResourceStatusOrBuilder> + getStatusFieldBuilder() { + if (statusBuilder_ == null) { + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.StoragePoolResourceStatus, + com.google.cloud.compute.v1.StoragePoolResourceStatus.Builder, + com.google.cloud.compute.v1.StoragePoolResourceStatusOrBuilder>( + getStatus(), getParentForChildren(), isClean()); + status_ = null; + } + return statusBuilder_; + } + + private java.lang.Object storagePoolType_ = ""; + /** + * + * + *
+     * Type of the storage pool.
+     * 
+ * + * optional string storage_pool_type = 285999289; + * + * @return Whether the storagePoolType field is set. + */ + public boolean hasStoragePoolType() { + return ((bitField0_ & 0x00020000) != 0); + } + /** + * + * + *
+     * Type of the storage pool.
+     * 
+ * + * optional string storage_pool_type = 285999289; + * + * @return The storagePoolType. + */ + public java.lang.String getStoragePoolType() { + java.lang.Object ref = storagePoolType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + storagePoolType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Type of the storage pool.
+     * 
+ * + * optional string storage_pool_type = 285999289; + * + * @return The bytes for storagePoolType. + */ + public com.google.protobuf.ByteString getStoragePoolTypeBytes() { + java.lang.Object ref = storagePoolType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + storagePoolType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Type of the storage pool.
+     * 
+ * + * optional string storage_pool_type = 285999289; + * + * @param value The storagePoolType to set. + * @return This builder for chaining. + */ + public Builder setStoragePoolType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + storagePoolType_ = value; + bitField0_ |= 0x00020000; + onChanged(); + return this; + } + /** + * + * + *
+     * Type of the storage pool.
+     * 
+ * + * optional string storage_pool_type = 285999289; + * + * @return This builder for chaining. + */ + public Builder clearStoragePoolType() { + storagePoolType_ = getDefaultInstance().getStoragePoolType(); + bitField0_ = (bitField0_ & ~0x00020000); + onChanged(); + return this; + } + /** + * + * + *
+     * Type of the storage pool.
+     * 
+ * + * optional string storage_pool_type = 285999289; + * + * @param value The bytes for storagePoolType to set. + * @return This builder for chaining. + */ + public Builder setStoragePoolTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + storagePoolType_ = value; + bitField0_ |= 0x00020000; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * [Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+     * 
+ * + * optional string zone = 3744684; + * + * @return Whether the zone field is set. + */ + public boolean hasZone() { + return ((bitField0_ & 0x00040000) != 0); + } + /** + * + * + *
+     * [Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+     * 
+ * + * optional string zone = 3744684; + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+     * 
+ * + * optional string zone = 3744684; + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+     * 
+ * + * optional string zone = 3744684; + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00040000; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+     * 
+ * + * optional string zone = 3744684; + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00040000); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+     * 
+ * + * optional string zone = 3744684; + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00040000; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.StoragePool) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.StoragePool) + private static final com.google.cloud.compute.v1.StoragePool DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.StoragePool(); + } + + public static com.google.cloud.compute.v1.StoragePool getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StoragePool parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePool getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolAggregatedList.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolAggregatedList.java new file mode 100644 index 000000000000..d62ed5cd693a --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolAggregatedList.java @@ -0,0 +1,2462 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolAggregatedList} + */ +public final class StoragePoolAggregatedList extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.StoragePoolAggregatedList) + StoragePoolAggregatedListOrBuilder { + private static final long serialVersionUID = 0L; + // Use StoragePoolAggregatedList.newBuilder() to construct. + private StoragePoolAggregatedList(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StoragePoolAggregatedList() { + etag_ = ""; + id_ = ""; + kind_ = ""; + nextPageToken_ = ""; + selfLink_ = ""; + unreachables_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StoragePoolAggregatedList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 100526016: + return internalGetItems(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolAggregatedList.class, + com.google.cloud.compute.v1.StoragePoolAggregatedList.Builder.class); + } + + private int bitField0_; + public static final int ETAG_FIELD_NUMBER = 3123477; + + @SuppressWarnings("serial") + private volatile java.lang.Object etag_ = ""; + /** + * optional string etag = 3123477; + * + * @return Whether the etag field is set. + */ + @java.lang.Override + public boolean hasEtag() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string etag = 3123477; + * + * @return The etag. + */ + @java.lang.Override + public java.lang.String getEtag() { + java.lang.Object ref = etag_; + 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(); + etag_ = s; + return s; + } + } + /** + * optional string etag = 3123477; + * + * @return The bytes for etag. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEtagBytes() { + java.lang.Object ref = etag_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + etag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ID_FIELD_NUMBER = 3355; + + @SuppressWarnings("serial") + private volatile java.lang.Object id_ = ""; + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The id. + */ + @java.lang.Override + public java.lang.String getId() { + java.lang.Object ref = id_; + 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(); + id_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The bytes for id. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ITEMS_FIELD_NUMBER = 100526016; + + private static final class ItemsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.compute.v1.StoragePoolsScopedList> + defaultEntry = + com.google.protobuf.MapEntry + . + newDefaultInstance( + com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_ItemsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.compute.v1.StoragePoolsScopedList.getDefaultInstance()); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.compute.v1.StoragePoolsScopedList> + items_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.compute.v1.StoragePoolsScopedList> + internalGetItems() { + if (items_ == null) { + return com.google.protobuf.MapField.emptyMapField(ItemsDefaultEntryHolder.defaultEntry); + } + return items_; + } + + public int getItemsCount() { + return internalGetItems().getMap().size(); + } + /** + * + * + *
+   * A list of StoragePoolsScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolsScopedList> items = 100526016; + * + */ + @java.lang.Override + public boolean containsItems(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetItems().getMap().containsKey(key); + } + /** Use {@link #getItemsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map + getItems() { + return getItemsMap(); + } + /** + * + * + *
+   * A list of StoragePoolsScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolsScopedList> items = 100526016; + * + */ + @java.lang.Override + public java.util.Map + getItemsMap() { + return internalGetItems().getMap(); + } + /** + * + * + *
+   * A list of StoragePoolsScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolsScopedList> items = 100526016; + * + */ + @java.lang.Override + public /* nullable */ com.google.cloud.compute.v1.StoragePoolsScopedList getItemsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.compute.v1.StoragePoolsScopedList defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetItems().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * A list of StoragePoolsScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolsScopedList> items = 100526016; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolsScopedList getItemsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetItems().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int KIND_FIELD_NUMBER = 3292052; + + @SuppressWarnings("serial") + private volatile java.lang.Object kind_ = ""; + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolAggregatedList for aggregated lists of storage pools.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + @java.lang.Override + public boolean hasKind() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolAggregatedList for aggregated lists of storage pools.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + 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(); + kind_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolAggregatedList for aggregated lists of storage pools.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 79797525; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return Whether the nextPageToken field is set. + */ + @java.lang.Override + public boolean hasNextPageToken() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + 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(); + nextPageToken_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SELF_LINK_FIELD_NUMBER = 456214797; + + @SuppressWarnings("serial") + private volatile java.lang.Object selfLink_ = ""; + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + @java.lang.Override + public boolean hasSelfLink() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + @java.lang.Override + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + 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(); + selfLink_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UNREACHABLES_FIELD_NUMBER = 243372063; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList unreachables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
+   * [Output Only] Unreachable resources.
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @return A list containing the unreachables. + */ + public com.google.protobuf.ProtocolStringList getUnreachablesList() { + return unreachables_; + } + /** + * + * + *
+   * [Output Only] Unreachable resources.
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @return The count of unreachables. + */ + public int getUnreachablesCount() { + return unreachables_.size(); + } + /** + * + * + *
+   * [Output Only] Unreachable resources.
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index of the element to return. + * @return The unreachables at the given index. + */ + public java.lang.String getUnreachables(int index) { + return unreachables_.get(index); + } + /** + * + * + *
+   * [Output Only] Unreachable resources.
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index of the value to return. + * @return The bytes of the unreachables at the given index. + */ + public com.google.protobuf.ByteString getUnreachablesBytes(int index) { + return unreachables_.getByteString(index); + } + + public static final int WARNING_FIELD_NUMBER = 50704284; + private com.google.cloud.compute.v1.Warning warning_; + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + @java.lang.Override + public boolean hasWarning() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + @java.lang.Override + public com.google.cloud.compute.v1.Warning getWarning() { + return warning_ == null ? com.google.cloud.compute.v1.Warning.getDefaultInstance() : warning_; + } + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + @java.lang.Override + public com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder() { + return warning_ == null ? com.google.cloud.compute.v1.Warning.getDefaultInstance() : warning_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3355, id_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3123477, etag_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeMessage(50704284, getWarning()); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 79797525, nextPageToken_); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetItems(), ItemsDefaultEntryHolder.defaultEntry, 100526016); + for (int i = 0; i < unreachables_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 243372063, unreachables_.getRaw(i)); + } + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3355, id_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3123477, etag_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(50704284, getWarning()); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(79797525, nextPageToken_); + } + for (java.util.Map.Entry + entry : internalGetItems().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.compute.v1.StoragePoolsScopedList> + items__ = + ItemsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(100526016, items__); + } + { + int dataSize = 0; + for (int i = 0; i < unreachables_.size(); i++) { + dataSize += computeStringSizeNoTag(unreachables_.getRaw(i)); + } + size += dataSize; + size += 5 * getUnreachablesList().size(); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.StoragePoolAggregatedList)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.StoragePoolAggregatedList other = + (com.google.cloud.compute.v1.StoragePoolAggregatedList) obj; + + if (hasEtag() != other.hasEtag()) return false; + if (hasEtag()) { + if (!getEtag().equals(other.getEtag())) return false; + } + if (hasId() != other.hasId()) return false; + if (hasId()) { + if (!getId().equals(other.getId())) return false; + } + if (!internalGetItems().equals(other.internalGetItems())) return false; + if (hasKind() != other.hasKind()) return false; + if (hasKind()) { + if (!getKind().equals(other.getKind())) return false; + } + if (hasNextPageToken() != other.hasNextPageToken()) return false; + if (hasNextPageToken()) { + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + } + if (hasSelfLink() != other.hasSelfLink()) return false; + if (hasSelfLink()) { + if (!getSelfLink().equals(other.getSelfLink())) return false; + } + if (!getUnreachablesList().equals(other.getUnreachablesList())) return false; + if (hasWarning() != other.hasWarning()) return false; + if (hasWarning()) { + if (!getWarning().equals(other.getWarning())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasEtag()) { + hash = (37 * hash) + ETAG_FIELD_NUMBER; + hash = (53 * hash) + getEtag().hashCode(); + } + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + } + if (!internalGetItems().getMap().isEmpty()) { + hash = (37 * hash) + ITEMS_FIELD_NUMBER; + hash = (53 * hash) + internalGetItems().hashCode(); + } + if (hasKind()) { + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + } + if (hasNextPageToken()) { + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + } + if (hasSelfLink()) { + hash = (37 * hash) + SELF_LINK_FIELD_NUMBER; + hash = (53 * hash) + getSelfLink().hashCode(); + } + if (getUnreachablesCount() > 0) { + hash = (37 * hash) + UNREACHABLES_FIELD_NUMBER; + hash = (53 * hash) + getUnreachablesList().hashCode(); + } + if (hasWarning()) { + hash = (37 * hash) + WARNING_FIELD_NUMBER; + hash = (53 * hash) + getWarning().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.StoragePoolAggregatedList parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolAggregatedList parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolAggregatedList parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolAggregatedList parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolAggregatedList parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolAggregatedList parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolAggregatedList parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolAggregatedList parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolAggregatedList parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolAggregatedList parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolAggregatedList parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolAggregatedList parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.StoragePoolAggregatedList prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolAggregatedList} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.StoragePoolAggregatedList) + com.google.cloud.compute.v1.StoragePoolAggregatedListOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 100526016: + return internalGetItems(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 100526016: + return internalGetMutableItems(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolAggregatedList.class, + com.google.cloud.compute.v1.StoragePoolAggregatedList.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.StoragePoolAggregatedList.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getWarningFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + etag_ = ""; + id_ = ""; + internalGetMutableItems().clear(); + kind_ = ""; + nextPageToken_ = ""; + selfLink_ = ""; + unreachables_ = com.google.protobuf.LazyStringArrayList.emptyList(); + warning_ = null; + if (warningBuilder_ != null) { + warningBuilder_.dispose(); + warningBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolAggregatedList_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolAggregatedList getDefaultInstanceForType() { + return com.google.cloud.compute.v1.StoragePoolAggregatedList.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolAggregatedList build() { + com.google.cloud.compute.v1.StoragePoolAggregatedList result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolAggregatedList buildPartial() { + com.google.cloud.compute.v1.StoragePoolAggregatedList result = + new com.google.cloud.compute.v1.StoragePoolAggregatedList(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.StoragePoolAggregatedList result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.etag_ = etag_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.id_ = id_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.items_ = internalGetItems().build(ItemsDefaultEntryHolder.defaultEntry); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.kind_ = kind_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.nextPageToken_ = nextPageToken_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.selfLink_ = selfLink_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + unreachables_.makeImmutable(); + result.unreachables_ = unreachables_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.warning_ = warningBuilder_ == null ? warning_ : warningBuilder_.build(); + to_bitField0_ |= 0x00000020; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.StoragePoolAggregatedList) { + return mergeFrom((com.google.cloud.compute.v1.StoragePoolAggregatedList) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.StoragePoolAggregatedList other) { + if (other == com.google.cloud.compute.v1.StoragePoolAggregatedList.getDefaultInstance()) + return this; + if (other.hasEtag()) { + etag_ = other.etag_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasId()) { + id_ = other.id_; + bitField0_ |= 0x00000002; + onChanged(); + } + internalGetMutableItems().mergeFrom(other.internalGetItems()); + bitField0_ |= 0x00000004; + if (other.hasKind()) { + kind_ = other.kind_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasNextPageToken()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.hasSelfLink()) { + selfLink_ = other.selfLink_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.unreachables_.isEmpty()) { + if (unreachables_.isEmpty()) { + unreachables_ = other.unreachables_; + bitField0_ |= 0x00000040; + } else { + ensureUnreachablesIsMutable(); + unreachables_.addAll(other.unreachables_); + } + onChanged(); + } + if (other.hasWarning()) { + mergeWarning(other.getWarning()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26842: + { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26842 + case 24987818: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 24987818 + case 26336418: + { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26336418 + case 405634274: + { + input.readMessage(getWarningFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 405634274 + case 638380202: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 638380202 + case 804208130: + { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.compute.v1.StoragePoolsScopedList> + items__ = + input.readMessage( + ItemsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableItems() + .ensureBuilderMap() + .put(items__.getKey(), items__.getValue()); + bitField0_ |= 0x00000004; + break; + } // case 804208130 + case 1946976506: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachablesIsMutable(); + unreachables_.add(s); + break; + } // case 1946976506 + case -645248918: + { + selfLink_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case -645248918 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object etag_ = ""; + /** + * optional string etag = 3123477; + * + * @return Whether the etag field is set. + */ + public boolean hasEtag() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string etag = 3123477; + * + * @return The etag. + */ + public java.lang.String getEtag() { + java.lang.Object ref = etag_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + etag_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string etag = 3123477; + * + * @return The bytes for etag. + */ + public com.google.protobuf.ByteString getEtagBytes() { + java.lang.Object ref = etag_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + etag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string etag = 3123477; + * + * @param value The etag to set. + * @return This builder for chaining. + */ + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + etag_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * optional string etag = 3123477; + * + * @return This builder for chaining. + */ + public Builder clearEtag() { + etag_ = getDefaultInstance().getEtag(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * optional string etag = 3123477; + * + * @param value The bytes for etag to set. + * @return This builder for chaining. + */ + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object id_ = ""; + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return Whether the id field is set. + */ + public boolean hasId() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return The id. + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + id_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return The bytes for id. + */ + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + id_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return This builder for chaining. + */ + public Builder clearId() { + id_ = getDefaultInstance().getId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @param value The bytes for id to set. + * @return This builder for chaining. + */ + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private static final class ItemsConverter + implements com.google.protobuf.MapFieldBuilder.Converter< + java.lang.String, + com.google.cloud.compute.v1.StoragePoolsScopedListOrBuilder, + com.google.cloud.compute.v1.StoragePoolsScopedList> { + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolsScopedList build( + com.google.cloud.compute.v1.StoragePoolsScopedListOrBuilder val) { + if (val instanceof com.google.cloud.compute.v1.StoragePoolsScopedList) { + return (com.google.cloud.compute.v1.StoragePoolsScopedList) val; + } + return ((com.google.cloud.compute.v1.StoragePoolsScopedList.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.compute.v1.StoragePoolsScopedList> + defaultEntry() { + return ItemsDefaultEntryHolder.defaultEntry; + } + }; + + private static final ItemsConverter itemsConverter = new ItemsConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.compute.v1.StoragePoolsScopedListOrBuilder, + com.google.cloud.compute.v1.StoragePoolsScopedList, + com.google.cloud.compute.v1.StoragePoolsScopedList.Builder> + items_; + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.compute.v1.StoragePoolsScopedListOrBuilder, + com.google.cloud.compute.v1.StoragePoolsScopedList, + com.google.cloud.compute.v1.StoragePoolsScopedList.Builder> + internalGetItems() { + if (items_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(itemsConverter); + } + return items_; + } + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.compute.v1.StoragePoolsScopedListOrBuilder, + com.google.cloud.compute.v1.StoragePoolsScopedList, + com.google.cloud.compute.v1.StoragePoolsScopedList.Builder> + internalGetMutableItems() { + if (items_ == null) { + items_ = new com.google.protobuf.MapFieldBuilder<>(itemsConverter); + } + bitField0_ |= 0x00000004; + onChanged(); + return items_; + } + + public int getItemsCount() { + return internalGetItems().ensureBuilderMap().size(); + } + /** + * + * + *
+     * A list of StoragePoolsScopedList resources.
+     * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolsScopedList> items = 100526016; + * + */ + @java.lang.Override + public boolean containsItems(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetItems().ensureBuilderMap().containsKey(key); + } + /** Use {@link #getItemsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map + getItems() { + return getItemsMap(); + } + /** + * + * + *
+     * A list of StoragePoolsScopedList resources.
+     * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolsScopedList> items = 100526016; + * + */ + @java.lang.Override + public java.util.Map + getItemsMap() { + return internalGetItems().getImmutableMap(); + } + /** + * + * + *
+     * A list of StoragePoolsScopedList resources.
+     * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolsScopedList> items = 100526016; + * + */ + @java.lang.Override + public /* nullable */ com.google.cloud.compute.v1.StoragePoolsScopedList getItemsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.compute.v1.StoragePoolsScopedList defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetMutableItems().ensureBuilderMap(); + return map.containsKey(key) ? itemsConverter.build(map.get(key)) : defaultValue; + } + /** + * + * + *
+     * A list of StoragePoolsScopedList resources.
+     * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolsScopedList> items = 100526016; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolsScopedList getItemsOrThrow( + java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetMutableItems().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return itemsConverter.build(map.get(key)); + } + + public Builder clearItems() { + bitField0_ = (bitField0_ & ~0x00000004); + internalGetMutableItems().clear(); + return this; + } + /** + * + * + *
+     * A list of StoragePoolsScopedList resources.
+     * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolsScopedList> items = 100526016; + * + */ + public Builder removeItems(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableItems().ensureBuilderMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map + getMutableItems() { + bitField0_ |= 0x00000004; + return internalGetMutableItems().ensureMessageMap(); + } + /** + * + * + *
+     * A list of StoragePoolsScopedList resources.
+     * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolsScopedList> items = 100526016; + * + */ + public Builder putItems( + java.lang.String key, com.google.cloud.compute.v1.StoragePoolsScopedList value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableItems().ensureBuilderMap().put(key, value); + bitField0_ |= 0x00000004; + return this; + } + /** + * + * + *
+     * A list of StoragePoolsScopedList resources.
+     * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolsScopedList> items = 100526016; + * + */ + public Builder putAllItems( + java.util.Map + values) { + for (java.util.Map.Entry + e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableItems().ensureBuilderMap().putAll(values); + bitField0_ |= 0x00000004; + return this; + } + /** + * + * + *
+     * A list of StoragePoolsScopedList resources.
+     * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolsScopedList> items = 100526016; + * + */ + public com.google.cloud.compute.v1.StoragePoolsScopedList.Builder putItemsBuilderIfAbsent( + java.lang.String key) { + java.util.Map + builderMap = internalGetMutableItems().ensureBuilderMap(); + com.google.cloud.compute.v1.StoragePoolsScopedListOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.google.cloud.compute.v1.StoragePoolsScopedList.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.google.cloud.compute.v1.StoragePoolsScopedList) { + entry = ((com.google.cloud.compute.v1.StoragePoolsScopedList) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.google.cloud.compute.v1.StoragePoolsScopedList.Builder) entry; + } + + private java.lang.Object kind_ = ""; + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolAggregatedList for aggregated lists of storage pools.
+     * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + public boolean hasKind() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolAggregatedList for aggregated lists of storage pools.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolAggregatedList for aggregated lists of storage pools.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolAggregatedList for aggregated lists of storage pools.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + kind_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolAggregatedList for aggregated lists of storage pools.
+     * 
+ * + * optional string kind = 3292052; + * + * @return This builder for chaining. + */ + public Builder clearKind() { + kind_ = getDefaultInstance().getKind(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolAggregatedList for aggregated lists of storage pools.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return Whether the nextPageToken field is set. + */ + public boolean hasNextPageToken() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageToken_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object selfLink_ = ""; + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + public boolean hasSelfLink() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + selfLink_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + public com.google.protobuf.ByteString getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @param value The selfLink to set. + * @return This builder for chaining. + */ + public Builder setSelfLink(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + selfLink_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return This builder for chaining. + */ + public Builder clearSelfLink() { + selfLink_ = getDefaultInstance().getSelfLink(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @param value The bytes for selfLink to set. + * @return This builder for chaining. + */ + public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList unreachables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureUnreachablesIsMutable() { + if (!unreachables_.isModifiable()) { + unreachables_ = new com.google.protobuf.LazyStringArrayList(unreachables_); + } + bitField0_ |= 0x00000040; + } + /** + * + * + *
+     * [Output Only] Unreachable resources.
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @return A list containing the unreachables. + */ + public com.google.protobuf.ProtocolStringList getUnreachablesList() { + unreachables_.makeImmutable(); + return unreachables_; + } + /** + * + * + *
+     * [Output Only] Unreachable resources.
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @return The count of unreachables. + */ + public int getUnreachablesCount() { + return unreachables_.size(); + } + /** + * + * + *
+     * [Output Only] Unreachable resources.
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index of the element to return. + * @return The unreachables at the given index. + */ + public java.lang.String getUnreachables(int index) { + return unreachables_.get(index); + } + /** + * + * + *
+     * [Output Only] Unreachable resources.
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index of the value to return. + * @return The bytes of the unreachables at the given index. + */ + public com.google.protobuf.ByteString getUnreachablesBytes(int index) { + return unreachables_.getByteString(index); + } + /** + * + * + *
+     * [Output Only] Unreachable resources.
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index to set the value at. + * @param value The unreachables to set. + * @return This builder for chaining. + */ + public Builder setUnreachables(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachablesIsMutable(); + unreachables_.set(index, value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unreachable resources.
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @param value The unreachables to add. + * @return This builder for chaining. + */ + public Builder addUnreachables(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachablesIsMutable(); + unreachables_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unreachable resources.
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @param values The unreachables to add. + * @return This builder for chaining. + */ + public Builder addAllUnreachables(java.lang.Iterable values) { + ensureUnreachablesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachables_); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unreachable resources.
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @return This builder for chaining. + */ + public Builder clearUnreachables() { + unreachables_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + ; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unreachable resources.
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @param value The bytes of the unreachables to add. + * @return This builder for chaining. + */ + public Builder addUnreachablesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureUnreachablesIsMutable(); + unreachables_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.Warning warning_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder> + warningBuilder_; + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + public boolean hasWarning() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + public com.google.cloud.compute.v1.Warning getWarning() { + if (warningBuilder_ == null) { + return warning_ == null + ? com.google.cloud.compute.v1.Warning.getDefaultInstance() + : warning_; + } else { + return warningBuilder_.getMessage(); + } + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder setWarning(com.google.cloud.compute.v1.Warning value) { + if (warningBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + warning_ = value; + } else { + warningBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder setWarning(com.google.cloud.compute.v1.Warning.Builder builderForValue) { + if (warningBuilder_ == null) { + warning_ = builderForValue.build(); + } else { + warningBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder mergeWarning(com.google.cloud.compute.v1.Warning value) { + if (warningBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) + && warning_ != null + && warning_ != com.google.cloud.compute.v1.Warning.getDefaultInstance()) { + getWarningBuilder().mergeFrom(value); + } else { + warning_ = value; + } + } else { + warningBuilder_.mergeFrom(value); + } + if (warning_ != null) { + bitField0_ |= 0x00000080; + onChanged(); + } + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder clearWarning() { + bitField0_ = (bitField0_ & ~0x00000080); + warning_ = null; + if (warningBuilder_ != null) { + warningBuilder_.dispose(); + warningBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public com.google.cloud.compute.v1.Warning.Builder getWarningBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getWarningFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder() { + if (warningBuilder_ != null) { + return warningBuilder_.getMessageOrBuilder(); + } else { + return warning_ == null + ? com.google.cloud.compute.v1.Warning.getDefaultInstance() + : warning_; + } + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder> + getWarningFieldBuilder() { + if (warningBuilder_ == null) { + warningBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder>( + getWarning(), getParentForChildren(), isClean()); + warning_ = null; + } + return warningBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.StoragePoolAggregatedList) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.StoragePoolAggregatedList) + private static final com.google.cloud.compute.v1.StoragePoolAggregatedList DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.StoragePoolAggregatedList(); + } + + public static com.google.cloud.compute.v1.StoragePoolAggregatedList getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StoragePoolAggregatedList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolAggregatedList getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolAggregatedListOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolAggregatedListOrBuilder.java new file mode 100644 index 000000000000..82e1b30582d5 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolAggregatedListOrBuilder.java @@ -0,0 +1,342 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface StoragePoolAggregatedListOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.StoragePoolAggregatedList) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string etag = 3123477; + * + * @return Whether the etag field is set. + */ + boolean hasEtag(); + /** + * optional string etag = 3123477; + * + * @return The etag. + */ + java.lang.String getEtag(); + /** + * optional string etag = 3123477; + * + * @return The bytes for etag. + */ + com.google.protobuf.ByteString getEtagBytes(); + + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return Whether the id field is set. + */ + boolean hasId(); + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The id. + */ + java.lang.String getId(); + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The bytes for id. + */ + com.google.protobuf.ByteString getIdBytes(); + + /** + * + * + *
+   * A list of StoragePoolsScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolsScopedList> items = 100526016; + * + */ + int getItemsCount(); + /** + * + * + *
+   * A list of StoragePoolsScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolsScopedList> items = 100526016; + * + */ + boolean containsItems(java.lang.String key); + /** Use {@link #getItemsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getItems(); + /** + * + * + *
+   * A list of StoragePoolsScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolsScopedList> items = 100526016; + * + */ + java.util.Map getItemsMap(); + /** + * + * + *
+   * A list of StoragePoolsScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolsScopedList> items = 100526016; + * + */ + /* nullable */ + com.google.cloud.compute.v1.StoragePoolsScopedList getItemsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.compute.v1.StoragePoolsScopedList defaultValue); + /** + * + * + *
+   * A list of StoragePoolsScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolsScopedList> items = 100526016; + * + */ + com.google.cloud.compute.v1.StoragePoolsScopedList getItemsOrThrow(java.lang.String key); + + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolAggregatedList for aggregated lists of storage pools.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + boolean hasKind(); + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolAggregatedList for aggregated lists of storage pools.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + java.lang.String getKind(); + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolAggregatedList for aggregated lists of storage pools.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + com.google.protobuf.ByteString getKindBytes(); + + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return Whether the nextPageToken field is set. + */ + boolean hasNextPageToken(); + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); + + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + boolean hasSelfLink(); + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + java.lang.String getSelfLink(); + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + com.google.protobuf.ByteString getSelfLinkBytes(); + + /** + * + * + *
+   * [Output Only] Unreachable resources.
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @return A list containing the unreachables. + */ + java.util.List getUnreachablesList(); + /** + * + * + *
+   * [Output Only] Unreachable resources.
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @return The count of unreachables. + */ + int getUnreachablesCount(); + /** + * + * + *
+   * [Output Only] Unreachable resources.
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index of the element to return. + * @return The unreachables at the given index. + */ + java.lang.String getUnreachables(int index); + /** + * + * + *
+   * [Output Only] Unreachable resources.
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index of the value to return. + * @return The bytes of the unreachables at the given index. + */ + com.google.protobuf.ByteString getUnreachablesBytes(int index); + + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + boolean hasWarning(); + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + com.google.cloud.compute.v1.Warning getWarning(); + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolDisk.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolDisk.java new file mode 100644 index 000000000000..d2f612faa789 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolDisk.java @@ -0,0 +1,2856 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolDisk} + */ +public final class StoragePoolDisk extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.StoragePoolDisk) + StoragePoolDiskOrBuilder { + private static final long serialVersionUID = 0L; + // Use StoragePoolDisk.newBuilder() to construct. + private StoragePoolDisk(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StoragePoolDisk() { + attachedInstances_ = com.google.protobuf.LazyStringArrayList.emptyList(); + creationTimestamp_ = ""; + disk_ = ""; + name_ = ""; + resourcePolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); + status_ = ""; + type_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StoragePoolDisk(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolDisk_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolDisk_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolDisk.class, + com.google.cloud.compute.v1.StoragePoolDisk.Builder.class); + } + + /** + * + * + *
+   * [Output Only] The disk status.
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.StoragePoolDisk.Status} + */ + public enum Status implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_STATUS = 0; + */ + UNDEFINED_STATUS(0), + /** + * + * + *
+     * Disk is provisioning
+     * 
+ * + * CREATING = 455564985; + */ + CREATING(455564985), + /** + * + * + *
+     * Disk is deleting.
+     * 
+ * + * DELETING = 528602024; + */ + DELETING(528602024), + /** + * + * + *
+     * Disk creation failed.
+     * 
+ * + * FAILED = 455706685; + */ + FAILED(455706685), + /** + * + * + *
+     * Disk is ready for use.
+     * 
+ * + * READY = 77848963; + */ + READY(77848963), + /** + * + * + *
+     * Source data is being copied into the disk.
+     * 
+ * + * RESTORING = 404263851; + */ + RESTORING(404263851), + /** + * + * + *
+     * Disk is currently unavailable and cannot be accessed, attached or detached.
+     * 
+ * + * UNAVAILABLE = 413756464; + */ + UNAVAILABLE(413756464), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_STATUS = 0; + */ + public static final int UNDEFINED_STATUS_VALUE = 0; + /** + * + * + *
+     * Disk is provisioning
+     * 
+ * + * CREATING = 455564985; + */ + public static final int CREATING_VALUE = 455564985; + /** + * + * + *
+     * Disk is deleting.
+     * 
+ * + * DELETING = 528602024; + */ + public static final int DELETING_VALUE = 528602024; + /** + * + * + *
+     * Disk creation failed.
+     * 
+ * + * FAILED = 455706685; + */ + public static final int FAILED_VALUE = 455706685; + /** + * + * + *
+     * Disk is ready for use.
+     * 
+ * + * READY = 77848963; + */ + public static final int READY_VALUE = 77848963; + /** + * + * + *
+     * Source data is being copied into the disk.
+     * 
+ * + * RESTORING = 404263851; + */ + public static final int RESTORING_VALUE = 404263851; + /** + * + * + *
+     * Disk is currently unavailable and cannot be accessed, attached or detached.
+     * 
+ * + * UNAVAILABLE = 413756464; + */ + public static final int UNAVAILABLE_VALUE = 413756464; + + 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 Status 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 Status forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_STATUS; + case 455564985: + return CREATING; + case 528602024: + return DELETING; + case 455706685: + return FAILED; + case 77848963: + return READY; + case 404263851: + return RESTORING; + case 413756464: + return UNAVAILABLE; + 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 Status findValueByNumber(int number) { + return Status.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.cloud.compute.v1.StoragePoolDisk.getDescriptor().getEnumTypes().get(0); + } + + private static final Status[] VALUES = values(); + + public static Status 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 Status(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.StoragePoolDisk.Status) + } + + private int bitField0_; + public static final int ATTACHED_INSTANCES_FIELD_NUMBER = 65255843; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList attachedInstances_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
+   * [Output Only] Instances this disk is attached to.
+   * 
+ * + * repeated string attached_instances = 65255843; + * + * @return A list containing the attachedInstances. + */ + public com.google.protobuf.ProtocolStringList getAttachedInstancesList() { + return attachedInstances_; + } + /** + * + * + *
+   * [Output Only] Instances this disk is attached to.
+   * 
+ * + * repeated string attached_instances = 65255843; + * + * @return The count of attachedInstances. + */ + public int getAttachedInstancesCount() { + return attachedInstances_.size(); + } + /** + * + * + *
+   * [Output Only] Instances this disk is attached to.
+   * 
+ * + * repeated string attached_instances = 65255843; + * + * @param index The index of the element to return. + * @return The attachedInstances at the given index. + */ + public java.lang.String getAttachedInstances(int index) { + return attachedInstances_.get(index); + } + /** + * + * + *
+   * [Output Only] Instances this disk is attached to.
+   * 
+ * + * repeated string attached_instances = 65255843; + * + * @param index The index of the value to return. + * @return The bytes of the attachedInstances at the given index. + */ + public com.google.protobuf.ByteString getAttachedInstancesBytes(int index) { + return attachedInstances_.getByteString(index); + } + + public static final int CREATION_TIMESTAMP_FIELD_NUMBER = 30525366; + + @SuppressWarnings("serial") + private volatile java.lang.Object creationTimestamp_ = ""; + /** + * + * + *
+   * [Output Only] Creation timestamp in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return Whether the creationTimestamp field is set. + */ + @java.lang.Override + public boolean hasCreationTimestamp() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * [Output Only] Creation timestamp in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The creationTimestamp. + */ + @java.lang.Override + public java.lang.String getCreationTimestamp() { + java.lang.Object ref = creationTimestamp_; + 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(); + creationTimestamp_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Creation timestamp in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The bytes for creationTimestamp. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCreationTimestampBytes() { + java.lang.Object ref = creationTimestamp_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + creationTimestamp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DISK_FIELD_NUMBER = 3083677; + + @SuppressWarnings("serial") + private volatile java.lang.Object disk_ = ""; + /** + * + * + *
+   * [Output Only] The URL of the disk.
+   * 
+ * + * optional string disk = 3083677; + * + * @return Whether the disk field is set. + */ + @java.lang.Override + public boolean hasDisk() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * [Output Only] The URL of the disk.
+   * 
+ * + * optional string disk = 3083677; + * + * @return The disk. + */ + @java.lang.Override + public java.lang.String getDisk() { + java.lang.Object ref = disk_; + 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(); + disk_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] The URL of the disk.
+   * 
+ * + * optional string disk = 3083677; + * + * @return The bytes for disk. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDiskBytes() { + java.lang.Object ref = disk_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + disk_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 3373707; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * [Output Only] The name of the disk.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * [Output Only] The name of the disk.
+   * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] The name of the disk.
+   * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROVISIONED_IOPS_FIELD_NUMBER = 186769108; + private long provisionedIops_ = 0L; + /** + * + * + *
+   * [Output Only] The number of IOPS provisioned for the disk.
+   * 
+ * + * optional int64 provisioned_iops = 186769108; + * + * @return Whether the provisionedIops field is set. + */ + @java.lang.Override + public boolean hasProvisionedIops() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * [Output Only] The number of IOPS provisioned for the disk.
+   * 
+ * + * optional int64 provisioned_iops = 186769108; + * + * @return The provisionedIops. + */ + @java.lang.Override + public long getProvisionedIops() { + return provisionedIops_; + } + + public static final int PROVISIONED_THROUGHPUT_FIELD_NUMBER = 526524181; + private long provisionedThroughput_ = 0L; + /** + * + * + *
+   * [Output Only] The throughput provisioned for the disk.
+   * 
+ * + * optional int64 provisioned_throughput = 526524181; + * + * @return Whether the provisionedThroughput field is set. + */ + @java.lang.Override + public boolean hasProvisionedThroughput() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * [Output Only] The throughput provisioned for the disk.
+   * 
+ * + * optional int64 provisioned_throughput = 526524181; + * + * @return The provisionedThroughput. + */ + @java.lang.Override + public long getProvisionedThroughput() { + return provisionedThroughput_; + } + + public static final int RESOURCE_POLICIES_FIELD_NUMBER = 22220385; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList resourcePolicies_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
+   * [Output Only] Resource policies applied to disk for automatic snapshot creations.
+   * 
+ * + * repeated string resource_policies = 22220385; + * + * @return A list containing the resourcePolicies. + */ + public com.google.protobuf.ProtocolStringList getResourcePoliciesList() { + return resourcePolicies_; + } + /** + * + * + *
+   * [Output Only] Resource policies applied to disk for automatic snapshot creations.
+   * 
+ * + * repeated string resource_policies = 22220385; + * + * @return The count of resourcePolicies. + */ + public int getResourcePoliciesCount() { + return resourcePolicies_.size(); + } + /** + * + * + *
+   * [Output Only] Resource policies applied to disk for automatic snapshot creations.
+   * 
+ * + * repeated string resource_policies = 22220385; + * + * @param index The index of the element to return. + * @return The resourcePolicies at the given index. + */ + public java.lang.String getResourcePolicies(int index) { + return resourcePolicies_.get(index); + } + /** + * + * + *
+   * [Output Only] Resource policies applied to disk for automatic snapshot creations.
+   * 
+ * + * repeated string resource_policies = 22220385; + * + * @param index The index of the value to return. + * @return The bytes of the resourcePolicies at the given index. + */ + public com.google.protobuf.ByteString getResourcePoliciesBytes(int index) { + return resourcePolicies_.getByteString(index); + } + + public static final int SIZE_GB_FIELD_NUMBER = 494929369; + private long sizeGb_ = 0L; + /** + * + * + *
+   * [Output Only] The disk size, in GB.
+   * 
+ * + * optional int64 size_gb = 494929369; + * + * @return Whether the sizeGb field is set. + */ + @java.lang.Override + public boolean hasSizeGb() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+   * [Output Only] The disk size, in GB.
+   * 
+ * + * optional int64 size_gb = 494929369; + * + * @return The sizeGb. + */ + @java.lang.Override + public long getSizeGb() { + return sizeGb_; + } + + public static final int STATUS_FIELD_NUMBER = 181260274; + + @SuppressWarnings("serial") + private volatile java.lang.Object status_ = ""; + /** + * + * + *
+   * [Output Only] The disk status.
+   * Check the Status enum for the list of possible values.
+   * 
+ * + * optional string status = 181260274; + * + * @return Whether the status field is set. + */ + @java.lang.Override + public boolean hasStatus() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+   * [Output Only] The disk status.
+   * Check the Status enum for the list of possible values.
+   * 
+ * + * optional string status = 181260274; + * + * @return The status. + */ + @java.lang.Override + public java.lang.String getStatus() { + java.lang.Object ref = status_; + 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(); + status_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] The disk status.
+   * Check the Status enum for the list of possible values.
+   * 
+ * + * optional string status = 181260274; + * + * @return The bytes for status. + */ + @java.lang.Override + public com.google.protobuf.ByteString getStatusBytes() { + java.lang.Object ref = status_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + status_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TYPE_FIELD_NUMBER = 3575610; + + @SuppressWarnings("serial") + private volatile java.lang.Object type_ = ""; + /** + * + * + *
+   * [Output Only] The disk type.
+   * 
+ * + * optional string type = 3575610; + * + * @return Whether the type field is set. + */ + @java.lang.Override + public boolean hasType() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+   * [Output Only] The disk type.
+   * 
+ * + * optional string type = 3575610; + * + * @return The type. + */ + @java.lang.Override + public java.lang.String getType() { + java.lang.Object ref = type_; + 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(); + type_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] The disk type.
+   * 
+ * + * optional string type = 3575610; + * + * @return The bytes for type. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + type_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int USED_BYTES_FIELD_NUMBER = 231640425; + private long usedBytes_ = 0L; + /** + * + * + *
+   * [Output Only] Amount of disk space used.
+   * 
+ * + * optional int64 used_bytes = 231640425; + * + * @return Whether the usedBytes field is set. + */ + @java.lang.Override + public boolean hasUsedBytes() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+   * [Output Only] Amount of disk space used.
+   * 
+ * + * optional int64 used_bytes = 231640425; + * + * @return The usedBytes. + */ + @java.lang.Override + public long getUsedBytes() { + return usedBytes_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3083677, disk_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); + } + if (((bitField0_ & 0x00000080) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3575610, type_); + } + for (int i = 0; i < resourcePolicies_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 22220385, resourcePolicies_.getRaw(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 30525366, creationTimestamp_); + } + for (int i = 0; i < attachedInstances_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 65255843, attachedInstances_.getRaw(i)); + } + if (((bitField0_ & 0x00000040) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 181260274, status_); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeInt64(186769108, provisionedIops_); + } + if (((bitField0_ & 0x00000100) != 0)) { + output.writeInt64(231640425, usedBytes_); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeInt64(494929369, sizeGb_); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeInt64(526524181, provisionedThroughput_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3083677, disk_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); + } + if (((bitField0_ & 0x00000080) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3575610, type_); + } + { + int dataSize = 0; + for (int i = 0; i < resourcePolicies_.size(); i++) { + dataSize += computeStringSizeNoTag(resourcePolicies_.getRaw(i)); + } + size += dataSize; + size += 4 * getResourcePoliciesList().size(); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(30525366, creationTimestamp_); + } + { + int dataSize = 0; + for (int i = 0; i < attachedInstances_.size(); i++) { + dataSize += computeStringSizeNoTag(attachedInstances_.getRaw(i)); + } + size += dataSize; + size += 5 * getAttachedInstancesList().size(); + } + if (((bitField0_ & 0x00000040) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(181260274, status_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(186769108, provisionedIops_); + } + if (((bitField0_ & 0x00000100) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(231640425, usedBytes_); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(494929369, sizeGb_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(526524181, provisionedThroughput_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.StoragePoolDisk)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.StoragePoolDisk other = + (com.google.cloud.compute.v1.StoragePoolDisk) obj; + + if (!getAttachedInstancesList().equals(other.getAttachedInstancesList())) return false; + if (hasCreationTimestamp() != other.hasCreationTimestamp()) return false; + if (hasCreationTimestamp()) { + if (!getCreationTimestamp().equals(other.getCreationTimestamp())) return false; + } + if (hasDisk() != other.hasDisk()) return false; + if (hasDisk()) { + if (!getDisk().equals(other.getDisk())) return false; + } + if (hasName() != other.hasName()) return false; + if (hasName()) { + if (!getName().equals(other.getName())) return false; + } + if (hasProvisionedIops() != other.hasProvisionedIops()) return false; + if (hasProvisionedIops()) { + if (getProvisionedIops() != other.getProvisionedIops()) return false; + } + if (hasProvisionedThroughput() != other.hasProvisionedThroughput()) return false; + if (hasProvisionedThroughput()) { + if (getProvisionedThroughput() != other.getProvisionedThroughput()) return false; + } + if (!getResourcePoliciesList().equals(other.getResourcePoliciesList())) return false; + if (hasSizeGb() != other.hasSizeGb()) return false; + if (hasSizeGb()) { + if (getSizeGb() != other.getSizeGb()) return false; + } + if (hasStatus() != other.hasStatus()) return false; + if (hasStatus()) { + if (!getStatus().equals(other.getStatus())) return false; + } + if (hasType() != other.hasType()) return false; + if (hasType()) { + if (!getType().equals(other.getType())) return false; + } + if (hasUsedBytes() != other.hasUsedBytes()) return false; + if (hasUsedBytes()) { + if (getUsedBytes() != other.getUsedBytes()) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getAttachedInstancesCount() > 0) { + hash = (37 * hash) + ATTACHED_INSTANCES_FIELD_NUMBER; + hash = (53 * hash) + getAttachedInstancesList().hashCode(); + } + if (hasCreationTimestamp()) { + hash = (37 * hash) + CREATION_TIMESTAMP_FIELD_NUMBER; + hash = (53 * hash) + getCreationTimestamp().hashCode(); + } + if (hasDisk()) { + hash = (37 * hash) + DISK_FIELD_NUMBER; + hash = (53 * hash) + getDisk().hashCode(); + } + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + if (hasProvisionedIops()) { + hash = (37 * hash) + PROVISIONED_IOPS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getProvisionedIops()); + } + if (hasProvisionedThroughput()) { + hash = (37 * hash) + PROVISIONED_THROUGHPUT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getProvisionedThroughput()); + } + if (getResourcePoliciesCount() > 0) { + hash = (37 * hash) + RESOURCE_POLICIES_FIELD_NUMBER; + hash = (53 * hash) + getResourcePoliciesList().hashCode(); + } + if (hasSizeGb()) { + hash = (37 * hash) + SIZE_GB_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeGb()); + } + if (hasStatus()) { + hash = (37 * hash) + STATUS_FIELD_NUMBER; + hash = (53 * hash) + getStatus().hashCode(); + } + if (hasType()) { + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + getType().hashCode(); + } + if (hasUsedBytes()) { + hash = (37 * hash) + USED_BYTES_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUsedBytes()); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.StoragePoolDisk parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolDisk parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolDisk parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolDisk parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolDisk parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolDisk parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolDisk parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolDisk parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolDisk parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolDisk parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolDisk parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolDisk parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.compute.v1.StoragePoolDisk prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolDisk} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.StoragePoolDisk) + com.google.cloud.compute.v1.StoragePoolDiskOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolDisk_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolDisk_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolDisk.class, + com.google.cloud.compute.v1.StoragePoolDisk.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.StoragePoolDisk.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + attachedInstances_ = com.google.protobuf.LazyStringArrayList.emptyList(); + creationTimestamp_ = ""; + disk_ = ""; + name_ = ""; + provisionedIops_ = 0L; + provisionedThroughput_ = 0L; + resourcePolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); + sizeGb_ = 0L; + status_ = ""; + type_ = ""; + usedBytes_ = 0L; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolDisk_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolDisk getDefaultInstanceForType() { + return com.google.cloud.compute.v1.StoragePoolDisk.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolDisk build() { + com.google.cloud.compute.v1.StoragePoolDisk result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolDisk buildPartial() { + com.google.cloud.compute.v1.StoragePoolDisk result = + new com.google.cloud.compute.v1.StoragePoolDisk(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.StoragePoolDisk result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + attachedInstances_.makeImmutable(); + result.attachedInstances_ = attachedInstances_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.creationTimestamp_ = creationTimestamp_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.disk_ = disk_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.name_ = name_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.provisionedIops_ = provisionedIops_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.provisionedThroughput_ = provisionedThroughput_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + resourcePolicies_.makeImmutable(); + result.resourcePolicies_ = resourcePolicies_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.sizeGb_ = sizeGb_; + to_bitField0_ |= 0x00000020; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.status_ = status_; + to_bitField0_ |= 0x00000040; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.type_ = type_; + to_bitField0_ |= 0x00000080; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.usedBytes_ = usedBytes_; + to_bitField0_ |= 0x00000100; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.StoragePoolDisk) { + return mergeFrom((com.google.cloud.compute.v1.StoragePoolDisk) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.StoragePoolDisk other) { + if (other == com.google.cloud.compute.v1.StoragePoolDisk.getDefaultInstance()) return this; + if (!other.attachedInstances_.isEmpty()) { + if (attachedInstances_.isEmpty()) { + attachedInstances_ = other.attachedInstances_; + bitField0_ |= 0x00000001; + } else { + ensureAttachedInstancesIsMutable(); + attachedInstances_.addAll(other.attachedInstances_); + } + onChanged(); + } + if (other.hasCreationTimestamp()) { + creationTimestamp_ = other.creationTimestamp_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasDisk()) { + disk_ = other.disk_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasName()) { + name_ = other.name_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasProvisionedIops()) { + setProvisionedIops(other.getProvisionedIops()); + } + if (other.hasProvisionedThroughput()) { + setProvisionedThroughput(other.getProvisionedThroughput()); + } + if (!other.resourcePolicies_.isEmpty()) { + if (resourcePolicies_.isEmpty()) { + resourcePolicies_ = other.resourcePolicies_; + bitField0_ |= 0x00000040; + } else { + ensureResourcePoliciesIsMutable(); + resourcePolicies_.addAll(other.resourcePolicies_); + } + onChanged(); + } + if (other.hasSizeGb()) { + setSizeGb(other.getSizeGb()); + } + if (other.hasStatus()) { + status_ = other.status_; + bitField0_ |= 0x00000100; + onChanged(); + } + if (other.hasType()) { + type_ = other.type_; + bitField0_ |= 0x00000200; + onChanged(); + } + if (other.hasUsedBytes()) { + setUsedBytes(other.getUsedBytes()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 24669418: + { + disk_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 24669418 + case 26989658: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26989658 + case 28604882: + { + type_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 28604882 + case 177763082: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureResourcePoliciesIsMutable(); + resourcePolicies_.add(s); + break; + } // case 177763082 + case 244202930: + { + creationTimestamp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 244202930 + case 522046746: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAttachedInstancesIsMutable(); + attachedInstances_.add(s); + break; + } // case 522046746 + case 1450082194: + { + status_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 1450082194 + case 1494152864: + { + provisionedIops_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 1494152864 + case 1853123400: + { + usedBytes_ = input.readInt64(); + bitField0_ |= 0x00000400; + break; + } // case 1853123400 + case -335532344: + { + sizeGb_ = input.readInt64(); + bitField0_ |= 0x00000080; + break; + } // case -335532344 + case -82773848: + { + provisionedThroughput_ = input.readInt64(); + bitField0_ |= 0x00000020; + break; + } // case -82773848 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList attachedInstances_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureAttachedInstancesIsMutable() { + if (!attachedInstances_.isModifiable()) { + attachedInstances_ = new com.google.protobuf.LazyStringArrayList(attachedInstances_); + } + bitField0_ |= 0x00000001; + } + /** + * + * + *
+     * [Output Only] Instances this disk is attached to.
+     * 
+ * + * repeated string attached_instances = 65255843; + * + * @return A list containing the attachedInstances. + */ + public com.google.protobuf.ProtocolStringList getAttachedInstancesList() { + attachedInstances_.makeImmutable(); + return attachedInstances_; + } + /** + * + * + *
+     * [Output Only] Instances this disk is attached to.
+     * 
+ * + * repeated string attached_instances = 65255843; + * + * @return The count of attachedInstances. + */ + public int getAttachedInstancesCount() { + return attachedInstances_.size(); + } + /** + * + * + *
+     * [Output Only] Instances this disk is attached to.
+     * 
+ * + * repeated string attached_instances = 65255843; + * + * @param index The index of the element to return. + * @return The attachedInstances at the given index. + */ + public java.lang.String getAttachedInstances(int index) { + return attachedInstances_.get(index); + } + /** + * + * + *
+     * [Output Only] Instances this disk is attached to.
+     * 
+ * + * repeated string attached_instances = 65255843; + * + * @param index The index of the value to return. + * @return The bytes of the attachedInstances at the given index. + */ + public com.google.protobuf.ByteString getAttachedInstancesBytes(int index) { + return attachedInstances_.getByteString(index); + } + /** + * + * + *
+     * [Output Only] Instances this disk is attached to.
+     * 
+ * + * repeated string attached_instances = 65255843; + * + * @param index The index to set the value at. + * @param value The attachedInstances to set. + * @return This builder for chaining. + */ + public Builder setAttachedInstances(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAttachedInstancesIsMutable(); + attachedInstances_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Instances this disk is attached to.
+     * 
+ * + * repeated string attached_instances = 65255843; + * + * @param value The attachedInstances to add. + * @return This builder for chaining. + */ + public Builder addAttachedInstances(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAttachedInstancesIsMutable(); + attachedInstances_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Instances this disk is attached to.
+     * 
+ * + * repeated string attached_instances = 65255843; + * + * @param values The attachedInstances to add. + * @return This builder for chaining. + */ + public Builder addAllAttachedInstances(java.lang.Iterable values) { + ensureAttachedInstancesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attachedInstances_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Instances this disk is attached to.
+     * 
+ * + * repeated string attached_instances = 65255843; + * + * @return This builder for chaining. + */ + public Builder clearAttachedInstances() { + attachedInstances_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Instances this disk is attached to.
+     * 
+ * + * repeated string attached_instances = 65255843; + * + * @param value The bytes of the attachedInstances to add. + * @return This builder for chaining. + */ + public Builder addAttachedInstancesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureAttachedInstancesIsMutable(); + attachedInstances_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object creationTimestamp_ = ""; + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return Whether the creationTimestamp field is set. + */ + public boolean hasCreationTimestamp() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The creationTimestamp. + */ + public java.lang.String getCreationTimestamp() { + java.lang.Object ref = creationTimestamp_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + creationTimestamp_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The bytes for creationTimestamp. + */ + public com.google.protobuf.ByteString getCreationTimestampBytes() { + java.lang.Object ref = creationTimestamp_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + creationTimestamp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @param value The creationTimestamp to set. + * @return This builder for chaining. + */ + public Builder setCreationTimestamp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + creationTimestamp_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return This builder for chaining. + */ + public Builder clearCreationTimestamp() { + creationTimestamp_ = getDefaultInstance().getCreationTimestamp(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @param value The bytes for creationTimestamp to set. + * @return This builder for chaining. + */ + public Builder setCreationTimestampBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + creationTimestamp_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object disk_ = ""; + /** + * + * + *
+     * [Output Only] The URL of the disk.
+     * 
+ * + * optional string disk = 3083677; + * + * @return Whether the disk field is set. + */ + public boolean hasDisk() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * [Output Only] The URL of the disk.
+     * 
+ * + * optional string disk = 3083677; + * + * @return The disk. + */ + public java.lang.String getDisk() { + java.lang.Object ref = disk_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + disk_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] The URL of the disk.
+     * 
+ * + * optional string disk = 3083677; + * + * @return The bytes for disk. + */ + public com.google.protobuf.ByteString getDiskBytes() { + java.lang.Object ref = disk_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + disk_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] The URL of the disk.
+     * 
+ * + * optional string disk = 3083677; + * + * @param value The disk to set. + * @return This builder for chaining. + */ + public Builder setDisk(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + disk_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The URL of the disk.
+     * 
+ * + * optional string disk = 3083677; + * + * @return This builder for chaining. + */ + public Builder clearDisk() { + disk_ = getDefaultInstance().getDisk(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The URL of the disk.
+     * 
+ * + * optional string disk = 3083677; + * + * @param value The bytes for disk to set. + * @return This builder for chaining. + */ + public Builder setDiskBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + disk_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * [Output Only] The name of the disk.
+     * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * [Output Only] The name of the disk.
+     * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] The name of the disk.
+     * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] The name of the disk.
+     * 
+ * + * optional string name = 3373707; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The name of the disk.
+     * 
+ * + * optional string name = 3373707; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The name of the disk.
+     * 
+ * + * optional string name = 3373707; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private long provisionedIops_; + /** + * + * + *
+     * [Output Only] The number of IOPS provisioned for the disk.
+     * 
+ * + * optional int64 provisioned_iops = 186769108; + * + * @return Whether the provisionedIops field is set. + */ + @java.lang.Override + public boolean hasProvisionedIops() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * [Output Only] The number of IOPS provisioned for the disk.
+     * 
+ * + * optional int64 provisioned_iops = 186769108; + * + * @return The provisionedIops. + */ + @java.lang.Override + public long getProvisionedIops() { + return provisionedIops_; + } + /** + * + * + *
+     * [Output Only] The number of IOPS provisioned for the disk.
+     * 
+ * + * optional int64 provisioned_iops = 186769108; + * + * @param value The provisionedIops to set. + * @return This builder for chaining. + */ + public Builder setProvisionedIops(long value) { + + provisionedIops_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The number of IOPS provisioned for the disk.
+     * 
+ * + * optional int64 provisioned_iops = 186769108; + * + * @return This builder for chaining. + */ + public Builder clearProvisionedIops() { + bitField0_ = (bitField0_ & ~0x00000010); + provisionedIops_ = 0L; + onChanged(); + return this; + } + + private long provisionedThroughput_; + /** + * + * + *
+     * [Output Only] The throughput provisioned for the disk.
+     * 
+ * + * optional int64 provisioned_throughput = 526524181; + * + * @return Whether the provisionedThroughput field is set. + */ + @java.lang.Override + public boolean hasProvisionedThroughput() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * [Output Only] The throughput provisioned for the disk.
+     * 
+ * + * optional int64 provisioned_throughput = 526524181; + * + * @return The provisionedThroughput. + */ + @java.lang.Override + public long getProvisionedThroughput() { + return provisionedThroughput_; + } + /** + * + * + *
+     * [Output Only] The throughput provisioned for the disk.
+     * 
+ * + * optional int64 provisioned_throughput = 526524181; + * + * @param value The provisionedThroughput to set. + * @return This builder for chaining. + */ + public Builder setProvisionedThroughput(long value) { + + provisionedThroughput_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The throughput provisioned for the disk.
+     * 
+ * + * optional int64 provisioned_throughput = 526524181; + * + * @return This builder for chaining. + */ + public Builder clearProvisionedThroughput() { + bitField0_ = (bitField0_ & ~0x00000020); + provisionedThroughput_ = 0L; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList resourcePolicies_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureResourcePoliciesIsMutable() { + if (!resourcePolicies_.isModifiable()) { + resourcePolicies_ = new com.google.protobuf.LazyStringArrayList(resourcePolicies_); + } + bitField0_ |= 0x00000040; + } + /** + * + * + *
+     * [Output Only] Resource policies applied to disk for automatic snapshot creations.
+     * 
+ * + * repeated string resource_policies = 22220385; + * + * @return A list containing the resourcePolicies. + */ + public com.google.protobuf.ProtocolStringList getResourcePoliciesList() { + resourcePolicies_.makeImmutable(); + return resourcePolicies_; + } + /** + * + * + *
+     * [Output Only] Resource policies applied to disk for automatic snapshot creations.
+     * 
+ * + * repeated string resource_policies = 22220385; + * + * @return The count of resourcePolicies. + */ + public int getResourcePoliciesCount() { + return resourcePolicies_.size(); + } + /** + * + * + *
+     * [Output Only] Resource policies applied to disk for automatic snapshot creations.
+     * 
+ * + * repeated string resource_policies = 22220385; + * + * @param index The index of the element to return. + * @return The resourcePolicies at the given index. + */ + public java.lang.String getResourcePolicies(int index) { + return resourcePolicies_.get(index); + } + /** + * + * + *
+     * [Output Only] Resource policies applied to disk for automatic snapshot creations.
+     * 
+ * + * repeated string resource_policies = 22220385; + * + * @param index The index of the value to return. + * @return The bytes of the resourcePolicies at the given index. + */ + public com.google.protobuf.ByteString getResourcePoliciesBytes(int index) { + return resourcePolicies_.getByteString(index); + } + /** + * + * + *
+     * [Output Only] Resource policies applied to disk for automatic snapshot creations.
+     * 
+ * + * repeated string resource_policies = 22220385; + * + * @param index The index to set the value at. + * @param value The resourcePolicies to set. + * @return This builder for chaining. + */ + public Builder setResourcePolicies(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureResourcePoliciesIsMutable(); + resourcePolicies_.set(index, value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Resource policies applied to disk for automatic snapshot creations.
+     * 
+ * + * repeated string resource_policies = 22220385; + * + * @param value The resourcePolicies to add. + * @return This builder for chaining. + */ + public Builder addResourcePolicies(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureResourcePoliciesIsMutable(); + resourcePolicies_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Resource policies applied to disk for automatic snapshot creations.
+     * 
+ * + * repeated string resource_policies = 22220385; + * + * @param values The resourcePolicies to add. + * @return This builder for chaining. + */ + public Builder addAllResourcePolicies(java.lang.Iterable values) { + ensureResourcePoliciesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourcePolicies_); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Resource policies applied to disk for automatic snapshot creations.
+     * 
+ * + * repeated string resource_policies = 22220385; + * + * @return This builder for chaining. + */ + public Builder clearResourcePolicies() { + resourcePolicies_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + ; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Resource policies applied to disk for automatic snapshot creations.
+     * 
+ * + * repeated string resource_policies = 22220385; + * + * @param value The bytes of the resourcePolicies to add. + * @return This builder for chaining. + */ + public Builder addResourcePoliciesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureResourcePoliciesIsMutable(); + resourcePolicies_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private long sizeGb_; + /** + * + * + *
+     * [Output Only] The disk size, in GB.
+     * 
+ * + * optional int64 size_gb = 494929369; + * + * @return Whether the sizeGb field is set. + */ + @java.lang.Override + public boolean hasSizeGb() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+     * [Output Only] The disk size, in GB.
+     * 
+ * + * optional int64 size_gb = 494929369; + * + * @return The sizeGb. + */ + @java.lang.Override + public long getSizeGb() { + return sizeGb_; + } + /** + * + * + *
+     * [Output Only] The disk size, in GB.
+     * 
+ * + * optional int64 size_gb = 494929369; + * + * @param value The sizeGb to set. + * @return This builder for chaining. + */ + public Builder setSizeGb(long value) { + + sizeGb_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The disk size, in GB.
+     * 
+ * + * optional int64 size_gb = 494929369; + * + * @return This builder for chaining. + */ + public Builder clearSizeGb() { + bitField0_ = (bitField0_ & ~0x00000080); + sizeGb_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object status_ = ""; + /** + * + * + *
+     * [Output Only] The disk status.
+     * Check the Status enum for the list of possible values.
+     * 
+ * + * optional string status = 181260274; + * + * @return Whether the status field is set. + */ + public boolean hasStatus() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+     * [Output Only] The disk status.
+     * Check the Status enum for the list of possible values.
+     * 
+ * + * optional string status = 181260274; + * + * @return The status. + */ + public java.lang.String getStatus() { + java.lang.Object ref = status_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + status_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] The disk status.
+     * Check the Status enum for the list of possible values.
+     * 
+ * + * optional string status = 181260274; + * + * @return The bytes for status. + */ + public com.google.protobuf.ByteString getStatusBytes() { + java.lang.Object ref = status_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + status_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] The disk status.
+     * Check the Status enum for the list of possible values.
+     * 
+ * + * optional string status = 181260274; + * + * @param value The status to set. + * @return This builder for chaining. + */ + public Builder setStatus(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + status_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The disk status.
+     * Check the Status enum for the list of possible values.
+     * 
+ * + * optional string status = 181260274; + * + * @return This builder for chaining. + */ + public Builder clearStatus() { + status_ = getDefaultInstance().getStatus(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The disk status.
+     * Check the Status enum for the list of possible values.
+     * 
+ * + * optional string status = 181260274; + * + * @param value The bytes for status to set. + * @return This builder for chaining. + */ + public Builder setStatusBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + status_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + private java.lang.Object type_ = ""; + /** + * + * + *
+     * [Output Only] The disk type.
+     * 
+ * + * optional string type = 3575610; + * + * @return Whether the type field is set. + */ + public boolean hasType() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+     * [Output Only] The disk type.
+     * 
+ * + * optional string type = 3575610; + * + * @return The type. + */ + public java.lang.String getType() { + java.lang.Object ref = type_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + type_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] The disk type.
+     * 
+ * + * optional string type = 3575610; + * + * @return The bytes for type. + */ + public com.google.protobuf.ByteString getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + type_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] The disk type.
+     * 
+ * + * optional string type = 3575610; + * + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + type_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The disk type.
+     * 
+ * + * optional string type = 3575610; + * + * @return This builder for chaining. + */ + public Builder clearType() { + type_ = getDefaultInstance().getType(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The disk type.
+     * 
+ * + * optional string type = 3575610; + * + * @param value The bytes for type to set. + * @return This builder for chaining. + */ + public Builder setTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + + private long usedBytes_; + /** + * + * + *
+     * [Output Only] Amount of disk space used.
+     * 
+ * + * optional int64 used_bytes = 231640425; + * + * @return Whether the usedBytes field is set. + */ + @java.lang.Override + public boolean hasUsedBytes() { + return ((bitField0_ & 0x00000400) != 0); + } + /** + * + * + *
+     * [Output Only] Amount of disk space used.
+     * 
+ * + * optional int64 used_bytes = 231640425; + * + * @return The usedBytes. + */ + @java.lang.Override + public long getUsedBytes() { + return usedBytes_; + } + /** + * + * + *
+     * [Output Only] Amount of disk space used.
+     * 
+ * + * optional int64 used_bytes = 231640425; + * + * @param value The usedBytes to set. + * @return This builder for chaining. + */ + public Builder setUsedBytes(long value) { + + usedBytes_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Amount of disk space used.
+     * 
+ * + * optional int64 used_bytes = 231640425; + * + * @return This builder for chaining. + */ + public Builder clearUsedBytes() { + bitField0_ = (bitField0_ & ~0x00000400); + usedBytes_ = 0L; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.StoragePoolDisk) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.StoragePoolDisk) + private static final com.google.cloud.compute.v1.StoragePoolDisk DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.StoragePoolDisk(); + } + + public static com.google.cloud.compute.v1.StoragePoolDisk getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StoragePoolDisk parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolDisk getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolDiskOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolDiskOrBuilder.java new file mode 100644 index 000000000000..6a2dde83e736 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolDiskOrBuilder.java @@ -0,0 +1,416 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface StoragePoolDiskOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.StoragePoolDisk) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * [Output Only] Instances this disk is attached to.
+   * 
+ * + * repeated string attached_instances = 65255843; + * + * @return A list containing the attachedInstances. + */ + java.util.List getAttachedInstancesList(); + /** + * + * + *
+   * [Output Only] Instances this disk is attached to.
+   * 
+ * + * repeated string attached_instances = 65255843; + * + * @return The count of attachedInstances. + */ + int getAttachedInstancesCount(); + /** + * + * + *
+   * [Output Only] Instances this disk is attached to.
+   * 
+ * + * repeated string attached_instances = 65255843; + * + * @param index The index of the element to return. + * @return The attachedInstances at the given index. + */ + java.lang.String getAttachedInstances(int index); + /** + * + * + *
+   * [Output Only] Instances this disk is attached to.
+   * 
+ * + * repeated string attached_instances = 65255843; + * + * @param index The index of the value to return. + * @return The bytes of the attachedInstances at the given index. + */ + com.google.protobuf.ByteString getAttachedInstancesBytes(int index); + + /** + * + * + *
+   * [Output Only] Creation timestamp in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return Whether the creationTimestamp field is set. + */ + boolean hasCreationTimestamp(); + /** + * + * + *
+   * [Output Only] Creation timestamp in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The creationTimestamp. + */ + java.lang.String getCreationTimestamp(); + /** + * + * + *
+   * [Output Only] Creation timestamp in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The bytes for creationTimestamp. + */ + com.google.protobuf.ByteString getCreationTimestampBytes(); + + /** + * + * + *
+   * [Output Only] The URL of the disk.
+   * 
+ * + * optional string disk = 3083677; + * + * @return Whether the disk field is set. + */ + boolean hasDisk(); + /** + * + * + *
+   * [Output Only] The URL of the disk.
+   * 
+ * + * optional string disk = 3083677; + * + * @return The disk. + */ + java.lang.String getDisk(); + /** + * + * + *
+   * [Output Only] The URL of the disk.
+   * 
+ * + * optional string disk = 3083677; + * + * @return The bytes for disk. + */ + com.google.protobuf.ByteString getDiskBytes(); + + /** + * + * + *
+   * [Output Only] The name of the disk.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + boolean hasName(); + /** + * + * + *
+   * [Output Only] The name of the disk.
+   * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * [Output Only] The name of the disk.
+   * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * [Output Only] The number of IOPS provisioned for the disk.
+   * 
+ * + * optional int64 provisioned_iops = 186769108; + * + * @return Whether the provisionedIops field is set. + */ + boolean hasProvisionedIops(); + /** + * + * + *
+   * [Output Only] The number of IOPS provisioned for the disk.
+   * 
+ * + * optional int64 provisioned_iops = 186769108; + * + * @return The provisionedIops. + */ + long getProvisionedIops(); + + /** + * + * + *
+   * [Output Only] The throughput provisioned for the disk.
+   * 
+ * + * optional int64 provisioned_throughput = 526524181; + * + * @return Whether the provisionedThroughput field is set. + */ + boolean hasProvisionedThroughput(); + /** + * + * + *
+   * [Output Only] The throughput provisioned for the disk.
+   * 
+ * + * optional int64 provisioned_throughput = 526524181; + * + * @return The provisionedThroughput. + */ + long getProvisionedThroughput(); + + /** + * + * + *
+   * [Output Only] Resource policies applied to disk for automatic snapshot creations.
+   * 
+ * + * repeated string resource_policies = 22220385; + * + * @return A list containing the resourcePolicies. + */ + java.util.List getResourcePoliciesList(); + /** + * + * + *
+   * [Output Only] Resource policies applied to disk for automatic snapshot creations.
+   * 
+ * + * repeated string resource_policies = 22220385; + * + * @return The count of resourcePolicies. + */ + int getResourcePoliciesCount(); + /** + * + * + *
+   * [Output Only] Resource policies applied to disk for automatic snapshot creations.
+   * 
+ * + * repeated string resource_policies = 22220385; + * + * @param index The index of the element to return. + * @return The resourcePolicies at the given index. + */ + java.lang.String getResourcePolicies(int index); + /** + * + * + *
+   * [Output Only] Resource policies applied to disk for automatic snapshot creations.
+   * 
+ * + * repeated string resource_policies = 22220385; + * + * @param index The index of the value to return. + * @return The bytes of the resourcePolicies at the given index. + */ + com.google.protobuf.ByteString getResourcePoliciesBytes(int index); + + /** + * + * + *
+   * [Output Only] The disk size, in GB.
+   * 
+ * + * optional int64 size_gb = 494929369; + * + * @return Whether the sizeGb field is set. + */ + boolean hasSizeGb(); + /** + * + * + *
+   * [Output Only] The disk size, in GB.
+   * 
+ * + * optional int64 size_gb = 494929369; + * + * @return The sizeGb. + */ + long getSizeGb(); + + /** + * + * + *
+   * [Output Only] The disk status.
+   * Check the Status enum for the list of possible values.
+   * 
+ * + * optional string status = 181260274; + * + * @return Whether the status field is set. + */ + boolean hasStatus(); + /** + * + * + *
+   * [Output Only] The disk status.
+   * Check the Status enum for the list of possible values.
+   * 
+ * + * optional string status = 181260274; + * + * @return The status. + */ + java.lang.String getStatus(); + /** + * + * + *
+   * [Output Only] The disk status.
+   * Check the Status enum for the list of possible values.
+   * 
+ * + * optional string status = 181260274; + * + * @return The bytes for status. + */ + com.google.protobuf.ByteString getStatusBytes(); + + /** + * + * + *
+   * [Output Only] The disk type.
+   * 
+ * + * optional string type = 3575610; + * + * @return Whether the type field is set. + */ + boolean hasType(); + /** + * + * + *
+   * [Output Only] The disk type.
+   * 
+ * + * optional string type = 3575610; + * + * @return The type. + */ + java.lang.String getType(); + /** + * + * + *
+   * [Output Only] The disk type.
+   * 
+ * + * optional string type = 3575610; + * + * @return The bytes for type. + */ + com.google.protobuf.ByteString getTypeBytes(); + + /** + * + * + *
+   * [Output Only] Amount of disk space used.
+   * 
+ * + * optional int64 used_bytes = 231640425; + * + * @return Whether the usedBytes field is set. + */ + boolean hasUsedBytes(); + /** + * + * + *
+   * [Output Only] Amount of disk space used.
+   * 
+ * + * optional int64 used_bytes = 231640425; + * + * @return The usedBytes. + */ + long getUsedBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolList.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolList.java new file mode 100644 index 000000000000..bccb56ef2bf8 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolList.java @@ -0,0 +1,2518 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A list of StoragePool resources.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolList} + */ +public final class StoragePoolList extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.StoragePoolList) + StoragePoolListOrBuilder { + private static final long serialVersionUID = 0L; + // Use StoragePoolList.newBuilder() to construct. + private StoragePoolList(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StoragePoolList() { + etag_ = ""; + id_ = ""; + items_ = java.util.Collections.emptyList(); + kind_ = ""; + nextPageToken_ = ""; + selfLink_ = ""; + unreachables_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StoragePoolList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolList_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolList.class, + com.google.cloud.compute.v1.StoragePoolList.Builder.class); + } + + private int bitField0_; + public static final int ETAG_FIELD_NUMBER = 3123477; + + @SuppressWarnings("serial") + private volatile java.lang.Object etag_ = ""; + /** + * optional string etag = 3123477; + * + * @return Whether the etag field is set. + */ + @java.lang.Override + public boolean hasEtag() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string etag = 3123477; + * + * @return The etag. + */ + @java.lang.Override + public java.lang.String getEtag() { + java.lang.Object ref = etag_; + 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(); + etag_ = s; + return s; + } + } + /** + * optional string etag = 3123477; + * + * @return The bytes for etag. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEtagBytes() { + java.lang.Object ref = etag_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + etag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ID_FIELD_NUMBER = 3355; + + @SuppressWarnings("serial") + private volatile java.lang.Object id_ = ""; + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The id. + */ + @java.lang.Override + public java.lang.String getId() { + java.lang.Object ref = id_; + 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(); + id_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The bytes for id. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ITEMS_FIELD_NUMBER = 100526016; + + @SuppressWarnings("serial") + private java.util.List items_; + /** + * + * + *
+   * A list of StoragePool resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + @java.lang.Override + public java.util.List getItemsList() { + return items_; + } + /** + * + * + *
+   * A list of StoragePool resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + @java.lang.Override + public java.util.List + getItemsOrBuilderList() { + return items_; + } + /** + * + * + *
+   * A list of StoragePool resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + @java.lang.Override + public int getItemsCount() { + return items_.size(); + } + /** + * + * + *
+   * A list of StoragePool resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePool getItems(int index) { + return items_.get(index); + } + /** + * + * + *
+   * A list of StoragePool resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolOrBuilder getItemsOrBuilder(int index) { + return items_.get(index); + } + + public static final int KIND_FIELD_NUMBER = 3292052; + + @SuppressWarnings("serial") + private volatile java.lang.Object kind_ = ""; + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolList for lists of storagePools.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + @java.lang.Override + public boolean hasKind() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolList for lists of storagePools.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + 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(); + kind_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolList for lists of storagePools.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 79797525; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return Whether the nextPageToken field is set. + */ + @java.lang.Override + public boolean hasNextPageToken() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + 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(); + nextPageToken_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SELF_LINK_FIELD_NUMBER = 456214797; + + @SuppressWarnings("serial") + private volatile java.lang.Object selfLink_ = ""; + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + @java.lang.Override + public boolean hasSelfLink() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + @java.lang.Override + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + 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(); + selfLink_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UNREACHABLES_FIELD_NUMBER = 243372063; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList unreachables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
+   * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @return A list containing the unreachables. + */ + public com.google.protobuf.ProtocolStringList getUnreachablesList() { + return unreachables_; + } + /** + * + * + *
+   * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @return The count of unreachables. + */ + public int getUnreachablesCount() { + return unreachables_.size(); + } + /** + * + * + *
+   * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index of the element to return. + * @return The unreachables at the given index. + */ + public java.lang.String getUnreachables(int index) { + return unreachables_.get(index); + } + /** + * + * + *
+   * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index of the value to return. + * @return The bytes of the unreachables at the given index. + */ + public com.google.protobuf.ByteString getUnreachablesBytes(int index) { + return unreachables_.getByteString(index); + } + + public static final int WARNING_FIELD_NUMBER = 50704284; + private com.google.cloud.compute.v1.Warning warning_; + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + @java.lang.Override + public boolean hasWarning() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + @java.lang.Override + public com.google.cloud.compute.v1.Warning getWarning() { + return warning_ == null ? com.google.cloud.compute.v1.Warning.getDefaultInstance() : warning_; + } + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + @java.lang.Override + public com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder() { + return warning_ == null ? com.google.cloud.compute.v1.Warning.getDefaultInstance() : warning_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3355, id_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3123477, etag_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeMessage(50704284, getWarning()); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 79797525, nextPageToken_); + } + for (int i = 0; i < items_.size(); i++) { + output.writeMessage(100526016, items_.get(i)); + } + for (int i = 0; i < unreachables_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 243372063, unreachables_.getRaw(i)); + } + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3355, id_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3123477, etag_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(50704284, getWarning()); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(79797525, nextPageToken_); + } + for (int i = 0; i < items_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(100526016, items_.get(i)); + } + { + int dataSize = 0; + for (int i = 0; i < unreachables_.size(); i++) { + dataSize += computeStringSizeNoTag(unreachables_.getRaw(i)); + } + size += dataSize; + size += 5 * getUnreachablesList().size(); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.StoragePoolList)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.StoragePoolList other = + (com.google.cloud.compute.v1.StoragePoolList) obj; + + if (hasEtag() != other.hasEtag()) return false; + if (hasEtag()) { + if (!getEtag().equals(other.getEtag())) return false; + } + if (hasId() != other.hasId()) return false; + if (hasId()) { + if (!getId().equals(other.getId())) return false; + } + if (!getItemsList().equals(other.getItemsList())) return false; + if (hasKind() != other.hasKind()) return false; + if (hasKind()) { + if (!getKind().equals(other.getKind())) return false; + } + if (hasNextPageToken() != other.hasNextPageToken()) return false; + if (hasNextPageToken()) { + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + } + if (hasSelfLink() != other.hasSelfLink()) return false; + if (hasSelfLink()) { + if (!getSelfLink().equals(other.getSelfLink())) return false; + } + if (!getUnreachablesList().equals(other.getUnreachablesList())) return false; + if (hasWarning() != other.hasWarning()) return false; + if (hasWarning()) { + if (!getWarning().equals(other.getWarning())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasEtag()) { + hash = (37 * hash) + ETAG_FIELD_NUMBER; + hash = (53 * hash) + getEtag().hashCode(); + } + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + } + if (getItemsCount() > 0) { + hash = (37 * hash) + ITEMS_FIELD_NUMBER; + hash = (53 * hash) + getItemsList().hashCode(); + } + if (hasKind()) { + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + } + if (hasNextPageToken()) { + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + } + if (hasSelfLink()) { + hash = (37 * hash) + SELF_LINK_FIELD_NUMBER; + hash = (53 * hash) + getSelfLink().hashCode(); + } + if (getUnreachablesCount() > 0) { + hash = (37 * hash) + UNREACHABLES_FIELD_NUMBER; + hash = (53 * hash) + getUnreachablesList().hashCode(); + } + if (hasWarning()) { + hash = (37 * hash) + WARNING_FIELD_NUMBER; + hash = (53 * hash) + getWarning().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.StoragePoolList parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolList parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolList parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolList parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolList parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolList parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolList parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolList parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolList parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolList parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolList parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolList parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.compute.v1.StoragePoolList prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A list of StoragePool resources.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolList} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.StoragePoolList) + com.google.cloud.compute.v1.StoragePoolListOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolList_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolList.class, + com.google.cloud.compute.v1.StoragePoolList.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.StoragePoolList.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getItemsFieldBuilder(); + getWarningFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + etag_ = ""; + id_ = ""; + if (itemsBuilder_ == null) { + items_ = java.util.Collections.emptyList(); + } else { + items_ = null; + itemsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + kind_ = ""; + nextPageToken_ = ""; + selfLink_ = ""; + unreachables_ = com.google.protobuf.LazyStringArrayList.emptyList(); + warning_ = null; + if (warningBuilder_ != null) { + warningBuilder_.dispose(); + warningBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolList_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolList getDefaultInstanceForType() { + return com.google.cloud.compute.v1.StoragePoolList.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolList build() { + com.google.cloud.compute.v1.StoragePoolList result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolList buildPartial() { + com.google.cloud.compute.v1.StoragePoolList result = + new com.google.cloud.compute.v1.StoragePoolList(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.cloud.compute.v1.StoragePoolList result) { + if (itemsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + items_ = java.util.Collections.unmodifiableList(items_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.items_ = items_; + } else { + result.items_ = itemsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.compute.v1.StoragePoolList result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.etag_ = etag_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.id_ = id_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.kind_ = kind_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.nextPageToken_ = nextPageToken_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.selfLink_ = selfLink_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + unreachables_.makeImmutable(); + result.unreachables_ = unreachables_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.warning_ = warningBuilder_ == null ? warning_ : warningBuilder_.build(); + to_bitField0_ |= 0x00000020; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.StoragePoolList) { + return mergeFrom((com.google.cloud.compute.v1.StoragePoolList) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.StoragePoolList other) { + if (other == com.google.cloud.compute.v1.StoragePoolList.getDefaultInstance()) return this; + if (other.hasEtag()) { + etag_ = other.etag_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasId()) { + id_ = other.id_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (itemsBuilder_ == null) { + if (!other.items_.isEmpty()) { + if (items_.isEmpty()) { + items_ = other.items_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureItemsIsMutable(); + items_.addAll(other.items_); + } + onChanged(); + } + } else { + if (!other.items_.isEmpty()) { + if (itemsBuilder_.isEmpty()) { + itemsBuilder_.dispose(); + itemsBuilder_ = null; + items_ = other.items_; + bitField0_ = (bitField0_ & ~0x00000004); + itemsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getItemsFieldBuilder() + : null; + } else { + itemsBuilder_.addAllMessages(other.items_); + } + } + } + if (other.hasKind()) { + kind_ = other.kind_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasNextPageToken()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.hasSelfLink()) { + selfLink_ = other.selfLink_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.unreachables_.isEmpty()) { + if (unreachables_.isEmpty()) { + unreachables_ = other.unreachables_; + bitField0_ |= 0x00000040; + } else { + ensureUnreachablesIsMutable(); + unreachables_.addAll(other.unreachables_); + } + onChanged(); + } + if (other.hasWarning()) { + mergeWarning(other.getWarning()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26842: + { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26842 + case 24987818: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 24987818 + case 26336418: + { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26336418 + case 405634274: + { + input.readMessage(getWarningFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 405634274 + case 638380202: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 638380202 + case 804208130: + { + com.google.cloud.compute.v1.StoragePool m = + input.readMessage( + com.google.cloud.compute.v1.StoragePool.parser(), extensionRegistry); + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.add(m); + } else { + itemsBuilder_.addMessage(m); + } + break; + } // case 804208130 + case 1946976506: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachablesIsMutable(); + unreachables_.add(s); + break; + } // case 1946976506 + case -645248918: + { + selfLink_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case -645248918 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object etag_ = ""; + /** + * optional string etag = 3123477; + * + * @return Whether the etag field is set. + */ + public boolean hasEtag() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string etag = 3123477; + * + * @return The etag. + */ + public java.lang.String getEtag() { + java.lang.Object ref = etag_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + etag_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string etag = 3123477; + * + * @return The bytes for etag. + */ + public com.google.protobuf.ByteString getEtagBytes() { + java.lang.Object ref = etag_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + etag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string etag = 3123477; + * + * @param value The etag to set. + * @return This builder for chaining. + */ + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + etag_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * optional string etag = 3123477; + * + * @return This builder for chaining. + */ + public Builder clearEtag() { + etag_ = getDefaultInstance().getEtag(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * optional string etag = 3123477; + * + * @param value The bytes for etag to set. + * @return This builder for chaining. + */ + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object id_ = ""; + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return Whether the id field is set. + */ + public boolean hasId() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return The id. + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + id_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return The bytes for id. + */ + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + id_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return This builder for chaining. + */ + public Builder clearId() { + id_ = getDefaultInstance().getId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @param value The bytes for id to set. + * @return This builder for chaining. + */ + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List items_ = + java.util.Collections.emptyList(); + + private void ensureItemsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + items_ = new java.util.ArrayList(items_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.StoragePool, + com.google.cloud.compute.v1.StoragePool.Builder, + com.google.cloud.compute.v1.StoragePoolOrBuilder> + itemsBuilder_; + + /** + * + * + *
+     * A list of StoragePool resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + public java.util.List getItemsList() { + if (itemsBuilder_ == null) { + return java.util.Collections.unmodifiableList(items_); + } else { + return itemsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * A list of StoragePool resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + public int getItemsCount() { + if (itemsBuilder_ == null) { + return items_.size(); + } else { + return itemsBuilder_.getCount(); + } + } + /** + * + * + *
+     * A list of StoragePool resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + public com.google.cloud.compute.v1.StoragePool getItems(int index) { + if (itemsBuilder_ == null) { + return items_.get(index); + } else { + return itemsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * A list of StoragePool resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + public Builder setItems(int index, com.google.cloud.compute.v1.StoragePool value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemsIsMutable(); + items_.set(index, value); + onChanged(); + } else { + itemsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of StoragePool resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + public Builder setItems( + int index, com.google.cloud.compute.v1.StoragePool.Builder builderForValue) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.set(index, builderForValue.build()); + onChanged(); + } else { + itemsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of StoragePool resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + public Builder addItems(com.google.cloud.compute.v1.StoragePool value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemsIsMutable(); + items_.add(value); + onChanged(); + } else { + itemsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * A list of StoragePool resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + public Builder addItems(int index, com.google.cloud.compute.v1.StoragePool value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemsIsMutable(); + items_.add(index, value); + onChanged(); + } else { + itemsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of StoragePool resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + public Builder addItems(com.google.cloud.compute.v1.StoragePool.Builder builderForValue) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.add(builderForValue.build()); + onChanged(); + } else { + itemsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of StoragePool resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + public Builder addItems( + int index, com.google.cloud.compute.v1.StoragePool.Builder builderForValue) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.add(index, builderForValue.build()); + onChanged(); + } else { + itemsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of StoragePool resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + public Builder addAllItems( + java.lang.Iterable values) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, items_); + onChanged(); + } else { + itemsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * A list of StoragePool resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + public Builder clearItems() { + if (itemsBuilder_ == null) { + items_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + itemsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A list of StoragePool resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + public Builder removeItems(int index) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.remove(index); + onChanged(); + } else { + itemsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * A list of StoragePool resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + public com.google.cloud.compute.v1.StoragePool.Builder getItemsBuilder(int index) { + return getItemsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * A list of StoragePool resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + public com.google.cloud.compute.v1.StoragePoolOrBuilder getItemsOrBuilder(int index) { + if (itemsBuilder_ == null) { + return items_.get(index); + } else { + return itemsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * A list of StoragePool resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + public java.util.List + getItemsOrBuilderList() { + if (itemsBuilder_ != null) { + return itemsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(items_); + } + } + /** + * + * + *
+     * A list of StoragePool resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + public com.google.cloud.compute.v1.StoragePool.Builder addItemsBuilder() { + return getItemsFieldBuilder() + .addBuilder(com.google.cloud.compute.v1.StoragePool.getDefaultInstance()); + } + /** + * + * + *
+     * A list of StoragePool resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + public com.google.cloud.compute.v1.StoragePool.Builder addItemsBuilder(int index) { + return getItemsFieldBuilder() + .addBuilder(index, com.google.cloud.compute.v1.StoragePool.getDefaultInstance()); + } + /** + * + * + *
+     * A list of StoragePool resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + public java.util.List getItemsBuilderList() { + return getItemsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.StoragePool, + com.google.cloud.compute.v1.StoragePool.Builder, + com.google.cloud.compute.v1.StoragePoolOrBuilder> + getItemsFieldBuilder() { + if (itemsBuilder_ == null) { + itemsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.StoragePool, + com.google.cloud.compute.v1.StoragePool.Builder, + com.google.cloud.compute.v1.StoragePoolOrBuilder>( + items_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + items_ = null; + } + return itemsBuilder_; + } + + private java.lang.Object kind_ = ""; + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolList for lists of storagePools.
+     * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + public boolean hasKind() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolList for lists of storagePools.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolList for lists of storagePools.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolList for lists of storagePools.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + kind_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolList for lists of storagePools.
+     * 
+ * + * optional string kind = 3292052; + * + * @return This builder for chaining. + */ + public Builder clearKind() { + kind_ = getDefaultInstance().getKind(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolList for lists of storagePools.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return Whether the nextPageToken field is set. + */ + public boolean hasNextPageToken() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageToken_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object selfLink_ = ""; + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + public boolean hasSelfLink() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + selfLink_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + public com.google.protobuf.ByteString getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @param value The selfLink to set. + * @return This builder for chaining. + */ + public Builder setSelfLink(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + selfLink_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return This builder for chaining. + */ + public Builder clearSelfLink() { + selfLink_ = getDefaultInstance().getSelfLink(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @param value The bytes for selfLink to set. + * @return This builder for chaining. + */ + public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList unreachables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureUnreachablesIsMutable() { + if (!unreachables_.isModifiable()) { + unreachables_ = new com.google.protobuf.LazyStringArrayList(unreachables_); + } + bitField0_ |= 0x00000040; + } + /** + * + * + *
+     * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @return A list containing the unreachables. + */ + public com.google.protobuf.ProtocolStringList getUnreachablesList() { + unreachables_.makeImmutable(); + return unreachables_; + } + /** + * + * + *
+     * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @return The count of unreachables. + */ + public int getUnreachablesCount() { + return unreachables_.size(); + } + /** + * + * + *
+     * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index of the element to return. + * @return The unreachables at the given index. + */ + public java.lang.String getUnreachables(int index) { + return unreachables_.get(index); + } + /** + * + * + *
+     * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index of the value to return. + * @return The bytes of the unreachables at the given index. + */ + public com.google.protobuf.ByteString getUnreachablesBytes(int index) { + return unreachables_.getByteString(index); + } + /** + * + * + *
+     * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index to set the value at. + * @param value The unreachables to set. + * @return This builder for chaining. + */ + public Builder setUnreachables(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachablesIsMutable(); + unreachables_.set(index, value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @param value The unreachables to add. + * @return This builder for chaining. + */ + public Builder addUnreachables(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachablesIsMutable(); + unreachables_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @param values The unreachables to add. + * @return This builder for chaining. + */ + public Builder addAllUnreachables(java.lang.Iterable values) { + ensureUnreachablesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachables_); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @return This builder for chaining. + */ + public Builder clearUnreachables() { + unreachables_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + ; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @param value The bytes of the unreachables to add. + * @return This builder for chaining. + */ + public Builder addUnreachablesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureUnreachablesIsMutable(); + unreachables_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.Warning warning_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder> + warningBuilder_; + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + public boolean hasWarning() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + public com.google.cloud.compute.v1.Warning getWarning() { + if (warningBuilder_ == null) { + return warning_ == null + ? com.google.cloud.compute.v1.Warning.getDefaultInstance() + : warning_; + } else { + return warningBuilder_.getMessage(); + } + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder setWarning(com.google.cloud.compute.v1.Warning value) { + if (warningBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + warning_ = value; + } else { + warningBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder setWarning(com.google.cloud.compute.v1.Warning.Builder builderForValue) { + if (warningBuilder_ == null) { + warning_ = builderForValue.build(); + } else { + warningBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder mergeWarning(com.google.cloud.compute.v1.Warning value) { + if (warningBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) + && warning_ != null + && warning_ != com.google.cloud.compute.v1.Warning.getDefaultInstance()) { + getWarningBuilder().mergeFrom(value); + } else { + warning_ = value; + } + } else { + warningBuilder_.mergeFrom(value); + } + if (warning_ != null) { + bitField0_ |= 0x00000080; + onChanged(); + } + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder clearWarning() { + bitField0_ = (bitField0_ & ~0x00000080); + warning_ = null; + if (warningBuilder_ != null) { + warningBuilder_.dispose(); + warningBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public com.google.cloud.compute.v1.Warning.Builder getWarningBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getWarningFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder() { + if (warningBuilder_ != null) { + return warningBuilder_.getMessageOrBuilder(); + } else { + return warning_ == null + ? com.google.cloud.compute.v1.Warning.getDefaultInstance() + : warning_; + } + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder> + getWarningFieldBuilder() { + if (warningBuilder_ == null) { + warningBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder>( + getWarning(), getParentForChildren(), isClean()); + warning_ = null; + } + return warningBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.StoragePoolList) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.StoragePoolList) + private static final com.google.cloud.compute.v1.StoragePoolList DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.StoragePoolList(); + } + + public static com.google.cloud.compute.v1.StoragePoolList getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StoragePoolList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolList getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolListDisks.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolListDisks.java new file mode 100644 index 000000000000..ea33ef394e94 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolListDisks.java @@ -0,0 +1,2519 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolListDisks} + */ +public final class StoragePoolListDisks extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.StoragePoolListDisks) + StoragePoolListDisksOrBuilder { + private static final long serialVersionUID = 0L; + // Use StoragePoolListDisks.newBuilder() to construct. + private StoragePoolListDisks(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StoragePoolListDisks() { + etag_ = ""; + id_ = ""; + items_ = java.util.Collections.emptyList(); + kind_ = ""; + nextPageToken_ = ""; + selfLink_ = ""; + unreachables_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StoragePoolListDisks(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolListDisks_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolListDisks_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolListDisks.class, + com.google.cloud.compute.v1.StoragePoolListDisks.Builder.class); + } + + private int bitField0_; + public static final int ETAG_FIELD_NUMBER = 3123477; + + @SuppressWarnings("serial") + private volatile java.lang.Object etag_ = ""; + /** + * optional string etag = 3123477; + * + * @return Whether the etag field is set. + */ + @java.lang.Override + public boolean hasEtag() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string etag = 3123477; + * + * @return The etag. + */ + @java.lang.Override + public java.lang.String getEtag() { + java.lang.Object ref = etag_; + 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(); + etag_ = s; + return s; + } + } + /** + * optional string etag = 3123477; + * + * @return The bytes for etag. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEtagBytes() { + java.lang.Object ref = etag_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + etag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ID_FIELD_NUMBER = 3355; + + @SuppressWarnings("serial") + private volatile java.lang.Object id_ = ""; + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The id. + */ + @java.lang.Override + public java.lang.String getId() { + java.lang.Object ref = id_; + 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(); + id_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The bytes for id. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ITEMS_FIELD_NUMBER = 100526016; + + @SuppressWarnings("serial") + private java.util.List items_; + /** + * + * + *
+   * A list of StoragePoolDisk resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + @java.lang.Override + public java.util.List getItemsList() { + return items_; + } + /** + * + * + *
+   * A list of StoragePoolDisk resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + @java.lang.Override + public java.util.List + getItemsOrBuilderList() { + return items_; + } + /** + * + * + *
+   * A list of StoragePoolDisk resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + @java.lang.Override + public int getItemsCount() { + return items_.size(); + } + /** + * + * + *
+   * A list of StoragePoolDisk resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolDisk getItems(int index) { + return items_.get(index); + } + /** + * + * + *
+   * A list of StoragePoolDisk resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolDiskOrBuilder getItemsOrBuilder(int index) { + return items_.get(index); + } + + public static final int KIND_FIELD_NUMBER = 3292052; + + @SuppressWarnings("serial") + private volatile java.lang.Object kind_ = ""; + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolListDisks for lists of disks in a storagePool.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + @java.lang.Override + public boolean hasKind() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolListDisks for lists of disks in a storagePool.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + 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(); + kind_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolListDisks for lists of disks in a storagePool.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 79797525; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return Whether the nextPageToken field is set. + */ + @java.lang.Override + public boolean hasNextPageToken() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + 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(); + nextPageToken_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SELF_LINK_FIELD_NUMBER = 456214797; + + @SuppressWarnings("serial") + private volatile java.lang.Object selfLink_ = ""; + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + @java.lang.Override + public boolean hasSelfLink() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + @java.lang.Override + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + 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(); + selfLink_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UNREACHABLES_FIELD_NUMBER = 243372063; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList unreachables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
+   * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @return A list containing the unreachables. + */ + public com.google.protobuf.ProtocolStringList getUnreachablesList() { + return unreachables_; + } + /** + * + * + *
+   * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @return The count of unreachables. + */ + public int getUnreachablesCount() { + return unreachables_.size(); + } + /** + * + * + *
+   * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index of the element to return. + * @return The unreachables at the given index. + */ + public java.lang.String getUnreachables(int index) { + return unreachables_.get(index); + } + /** + * + * + *
+   * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index of the value to return. + * @return The bytes of the unreachables at the given index. + */ + public com.google.protobuf.ByteString getUnreachablesBytes(int index) { + return unreachables_.getByteString(index); + } + + public static final int WARNING_FIELD_NUMBER = 50704284; + private com.google.cloud.compute.v1.Warning warning_; + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + @java.lang.Override + public boolean hasWarning() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + @java.lang.Override + public com.google.cloud.compute.v1.Warning getWarning() { + return warning_ == null ? com.google.cloud.compute.v1.Warning.getDefaultInstance() : warning_; + } + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + @java.lang.Override + public com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder() { + return warning_ == null ? com.google.cloud.compute.v1.Warning.getDefaultInstance() : warning_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3355, id_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3123477, etag_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeMessage(50704284, getWarning()); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 79797525, nextPageToken_); + } + for (int i = 0; i < items_.size(); i++) { + output.writeMessage(100526016, items_.get(i)); + } + for (int i = 0; i < unreachables_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 243372063, unreachables_.getRaw(i)); + } + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3355, id_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3123477, etag_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(50704284, getWarning()); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(79797525, nextPageToken_); + } + for (int i = 0; i < items_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(100526016, items_.get(i)); + } + { + int dataSize = 0; + for (int i = 0; i < unreachables_.size(); i++) { + dataSize += computeStringSizeNoTag(unreachables_.getRaw(i)); + } + size += dataSize; + size += 5 * getUnreachablesList().size(); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.StoragePoolListDisks)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.StoragePoolListDisks other = + (com.google.cloud.compute.v1.StoragePoolListDisks) obj; + + if (hasEtag() != other.hasEtag()) return false; + if (hasEtag()) { + if (!getEtag().equals(other.getEtag())) return false; + } + if (hasId() != other.hasId()) return false; + if (hasId()) { + if (!getId().equals(other.getId())) return false; + } + if (!getItemsList().equals(other.getItemsList())) return false; + if (hasKind() != other.hasKind()) return false; + if (hasKind()) { + if (!getKind().equals(other.getKind())) return false; + } + if (hasNextPageToken() != other.hasNextPageToken()) return false; + if (hasNextPageToken()) { + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + } + if (hasSelfLink() != other.hasSelfLink()) return false; + if (hasSelfLink()) { + if (!getSelfLink().equals(other.getSelfLink())) return false; + } + if (!getUnreachablesList().equals(other.getUnreachablesList())) return false; + if (hasWarning() != other.hasWarning()) return false; + if (hasWarning()) { + if (!getWarning().equals(other.getWarning())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasEtag()) { + hash = (37 * hash) + ETAG_FIELD_NUMBER; + hash = (53 * hash) + getEtag().hashCode(); + } + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + } + if (getItemsCount() > 0) { + hash = (37 * hash) + ITEMS_FIELD_NUMBER; + hash = (53 * hash) + getItemsList().hashCode(); + } + if (hasKind()) { + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + } + if (hasNextPageToken()) { + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + } + if (hasSelfLink()) { + hash = (37 * hash) + SELF_LINK_FIELD_NUMBER; + hash = (53 * hash) + getSelfLink().hashCode(); + } + if (getUnreachablesCount() > 0) { + hash = (37 * hash) + UNREACHABLES_FIELD_NUMBER; + hash = (53 * hash) + getUnreachablesList().hashCode(); + } + if (hasWarning()) { + hash = (37 * hash) + WARNING_FIELD_NUMBER; + hash = (53 * hash) + getWarning().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.StoragePoolListDisks parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolListDisks parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolListDisks parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolListDisks parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolListDisks parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolListDisks parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolListDisks parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolListDisks parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolListDisks parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolListDisks parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolListDisks parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolListDisks parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.compute.v1.StoragePoolListDisks prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolListDisks} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.StoragePoolListDisks) + com.google.cloud.compute.v1.StoragePoolListDisksOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolListDisks_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolListDisks_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolListDisks.class, + com.google.cloud.compute.v1.StoragePoolListDisks.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.StoragePoolListDisks.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getItemsFieldBuilder(); + getWarningFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + etag_ = ""; + id_ = ""; + if (itemsBuilder_ == null) { + items_ = java.util.Collections.emptyList(); + } else { + items_ = null; + itemsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + kind_ = ""; + nextPageToken_ = ""; + selfLink_ = ""; + unreachables_ = com.google.protobuf.LazyStringArrayList.emptyList(); + warning_ = null; + if (warningBuilder_ != null) { + warningBuilder_.dispose(); + warningBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolListDisks_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolListDisks getDefaultInstanceForType() { + return com.google.cloud.compute.v1.StoragePoolListDisks.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolListDisks build() { + com.google.cloud.compute.v1.StoragePoolListDisks result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolListDisks buildPartial() { + com.google.cloud.compute.v1.StoragePoolListDisks result = + new com.google.cloud.compute.v1.StoragePoolListDisks(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.compute.v1.StoragePoolListDisks result) { + if (itemsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + items_ = java.util.Collections.unmodifiableList(items_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.items_ = items_; + } else { + result.items_ = itemsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.compute.v1.StoragePoolListDisks result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.etag_ = etag_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.id_ = id_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.kind_ = kind_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.nextPageToken_ = nextPageToken_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.selfLink_ = selfLink_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + unreachables_.makeImmutable(); + result.unreachables_ = unreachables_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.warning_ = warningBuilder_ == null ? warning_ : warningBuilder_.build(); + to_bitField0_ |= 0x00000020; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.StoragePoolListDisks) { + return mergeFrom((com.google.cloud.compute.v1.StoragePoolListDisks) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.StoragePoolListDisks other) { + if (other == com.google.cloud.compute.v1.StoragePoolListDisks.getDefaultInstance()) + return this; + if (other.hasEtag()) { + etag_ = other.etag_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasId()) { + id_ = other.id_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (itemsBuilder_ == null) { + if (!other.items_.isEmpty()) { + if (items_.isEmpty()) { + items_ = other.items_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureItemsIsMutable(); + items_.addAll(other.items_); + } + onChanged(); + } + } else { + if (!other.items_.isEmpty()) { + if (itemsBuilder_.isEmpty()) { + itemsBuilder_.dispose(); + itemsBuilder_ = null; + items_ = other.items_; + bitField0_ = (bitField0_ & ~0x00000004); + itemsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getItemsFieldBuilder() + : null; + } else { + itemsBuilder_.addAllMessages(other.items_); + } + } + } + if (other.hasKind()) { + kind_ = other.kind_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasNextPageToken()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.hasSelfLink()) { + selfLink_ = other.selfLink_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.unreachables_.isEmpty()) { + if (unreachables_.isEmpty()) { + unreachables_ = other.unreachables_; + bitField0_ |= 0x00000040; + } else { + ensureUnreachablesIsMutable(); + unreachables_.addAll(other.unreachables_); + } + onChanged(); + } + if (other.hasWarning()) { + mergeWarning(other.getWarning()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26842: + { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26842 + case 24987818: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 24987818 + case 26336418: + { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26336418 + case 405634274: + { + input.readMessage(getWarningFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 405634274 + case 638380202: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 638380202 + case 804208130: + { + com.google.cloud.compute.v1.StoragePoolDisk m = + input.readMessage( + com.google.cloud.compute.v1.StoragePoolDisk.parser(), extensionRegistry); + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.add(m); + } else { + itemsBuilder_.addMessage(m); + } + break; + } // case 804208130 + case 1946976506: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachablesIsMutable(); + unreachables_.add(s); + break; + } // case 1946976506 + case -645248918: + { + selfLink_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case -645248918 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object etag_ = ""; + /** + * optional string etag = 3123477; + * + * @return Whether the etag field is set. + */ + public boolean hasEtag() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string etag = 3123477; + * + * @return The etag. + */ + public java.lang.String getEtag() { + java.lang.Object ref = etag_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + etag_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string etag = 3123477; + * + * @return The bytes for etag. + */ + public com.google.protobuf.ByteString getEtagBytes() { + java.lang.Object ref = etag_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + etag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string etag = 3123477; + * + * @param value The etag to set. + * @return This builder for chaining. + */ + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + etag_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * optional string etag = 3123477; + * + * @return This builder for chaining. + */ + public Builder clearEtag() { + etag_ = getDefaultInstance().getEtag(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * optional string etag = 3123477; + * + * @param value The bytes for etag to set. + * @return This builder for chaining. + */ + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object id_ = ""; + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return Whether the id field is set. + */ + public boolean hasId() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return The id. + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + id_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return The bytes for id. + */ + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + id_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return This builder for chaining. + */ + public Builder clearId() { + id_ = getDefaultInstance().getId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @param value The bytes for id to set. + * @return This builder for chaining. + */ + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.util.List items_ = + java.util.Collections.emptyList(); + + private void ensureItemsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + items_ = new java.util.ArrayList(items_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.StoragePoolDisk, + com.google.cloud.compute.v1.StoragePoolDisk.Builder, + com.google.cloud.compute.v1.StoragePoolDiskOrBuilder> + itemsBuilder_; + + /** + * + * + *
+     * A list of StoragePoolDisk resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + public java.util.List getItemsList() { + if (itemsBuilder_ == null) { + return java.util.Collections.unmodifiableList(items_); + } else { + return itemsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * A list of StoragePoolDisk resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + public int getItemsCount() { + if (itemsBuilder_ == null) { + return items_.size(); + } else { + return itemsBuilder_.getCount(); + } + } + /** + * + * + *
+     * A list of StoragePoolDisk resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + public com.google.cloud.compute.v1.StoragePoolDisk getItems(int index) { + if (itemsBuilder_ == null) { + return items_.get(index); + } else { + return itemsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * A list of StoragePoolDisk resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + public Builder setItems(int index, com.google.cloud.compute.v1.StoragePoolDisk value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemsIsMutable(); + items_.set(index, value); + onChanged(); + } else { + itemsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of StoragePoolDisk resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + public Builder setItems( + int index, com.google.cloud.compute.v1.StoragePoolDisk.Builder builderForValue) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.set(index, builderForValue.build()); + onChanged(); + } else { + itemsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of StoragePoolDisk resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + public Builder addItems(com.google.cloud.compute.v1.StoragePoolDisk value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemsIsMutable(); + items_.add(value); + onChanged(); + } else { + itemsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * A list of StoragePoolDisk resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + public Builder addItems(int index, com.google.cloud.compute.v1.StoragePoolDisk value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemsIsMutable(); + items_.add(index, value); + onChanged(); + } else { + itemsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of StoragePoolDisk resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + public Builder addItems(com.google.cloud.compute.v1.StoragePoolDisk.Builder builderForValue) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.add(builderForValue.build()); + onChanged(); + } else { + itemsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of StoragePoolDisk resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + public Builder addItems( + int index, com.google.cloud.compute.v1.StoragePoolDisk.Builder builderForValue) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.add(index, builderForValue.build()); + onChanged(); + } else { + itemsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of StoragePoolDisk resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + public Builder addAllItems( + java.lang.Iterable values) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, items_); + onChanged(); + } else { + itemsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * A list of StoragePoolDisk resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + public Builder clearItems() { + if (itemsBuilder_ == null) { + items_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + itemsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A list of StoragePoolDisk resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + public Builder removeItems(int index) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.remove(index); + onChanged(); + } else { + itemsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * A list of StoragePoolDisk resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + public com.google.cloud.compute.v1.StoragePoolDisk.Builder getItemsBuilder(int index) { + return getItemsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * A list of StoragePoolDisk resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + public com.google.cloud.compute.v1.StoragePoolDiskOrBuilder getItemsOrBuilder(int index) { + if (itemsBuilder_ == null) { + return items_.get(index); + } else { + return itemsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * A list of StoragePoolDisk resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + public java.util.List + getItemsOrBuilderList() { + if (itemsBuilder_ != null) { + return itemsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(items_); + } + } + /** + * + * + *
+     * A list of StoragePoolDisk resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + public com.google.cloud.compute.v1.StoragePoolDisk.Builder addItemsBuilder() { + return getItemsFieldBuilder() + .addBuilder(com.google.cloud.compute.v1.StoragePoolDisk.getDefaultInstance()); + } + /** + * + * + *
+     * A list of StoragePoolDisk resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + public com.google.cloud.compute.v1.StoragePoolDisk.Builder addItemsBuilder(int index) { + return getItemsFieldBuilder() + .addBuilder(index, com.google.cloud.compute.v1.StoragePoolDisk.getDefaultInstance()); + } + /** + * + * + *
+     * A list of StoragePoolDisk resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + public java.util.List + getItemsBuilderList() { + return getItemsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.StoragePoolDisk, + com.google.cloud.compute.v1.StoragePoolDisk.Builder, + com.google.cloud.compute.v1.StoragePoolDiskOrBuilder> + getItemsFieldBuilder() { + if (itemsBuilder_ == null) { + itemsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.StoragePoolDisk, + com.google.cloud.compute.v1.StoragePoolDisk.Builder, + com.google.cloud.compute.v1.StoragePoolDiskOrBuilder>( + items_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + items_ = null; + } + return itemsBuilder_; + } + + private java.lang.Object kind_ = ""; + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolListDisks for lists of disks in a storagePool.
+     * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + public boolean hasKind() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolListDisks for lists of disks in a storagePool.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolListDisks for lists of disks in a storagePool.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolListDisks for lists of disks in a storagePool.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + kind_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolListDisks for lists of disks in a storagePool.
+     * 
+ * + * optional string kind = 3292052; + * + * @return This builder for chaining. + */ + public Builder clearKind() { + kind_ = getDefaultInstance().getKind(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolListDisks for lists of disks in a storagePool.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return Whether the nextPageToken field is set. + */ + public boolean hasNextPageToken() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageToken_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object selfLink_ = ""; + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + public boolean hasSelfLink() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + selfLink_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + public com.google.protobuf.ByteString getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @param value The selfLink to set. + * @return This builder for chaining. + */ + public Builder setSelfLink(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + selfLink_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return This builder for chaining. + */ + public Builder clearSelfLink() { + selfLink_ = getDefaultInstance().getSelfLink(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @param value The bytes for selfLink to set. + * @return This builder for chaining. + */ + public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList unreachables_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureUnreachablesIsMutable() { + if (!unreachables_.isModifiable()) { + unreachables_ = new com.google.protobuf.LazyStringArrayList(unreachables_); + } + bitField0_ |= 0x00000040; + } + /** + * + * + *
+     * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @return A list containing the unreachables. + */ + public com.google.protobuf.ProtocolStringList getUnreachablesList() { + unreachables_.makeImmutable(); + return unreachables_; + } + /** + * + * + *
+     * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @return The count of unreachables. + */ + public int getUnreachablesCount() { + return unreachables_.size(); + } + /** + * + * + *
+     * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index of the element to return. + * @return The unreachables at the given index. + */ + public java.lang.String getUnreachables(int index) { + return unreachables_.get(index); + } + /** + * + * + *
+     * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index of the value to return. + * @return The bytes of the unreachables at the given index. + */ + public com.google.protobuf.ByteString getUnreachablesBytes(int index) { + return unreachables_.getByteString(index); + } + /** + * + * + *
+     * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index to set the value at. + * @param value The unreachables to set. + * @return This builder for chaining. + */ + public Builder setUnreachables(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachablesIsMutable(); + unreachables_.set(index, value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @param value The unreachables to add. + * @return This builder for chaining. + */ + public Builder addUnreachables(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachablesIsMutable(); + unreachables_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @param values The unreachables to add. + * @return This builder for chaining. + */ + public Builder addAllUnreachables(java.lang.Iterable values) { + ensureUnreachablesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachables_); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @return This builder for chaining. + */ + public Builder clearUnreachables() { + unreachables_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + ; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @param value The bytes of the unreachables to add. + * @return This builder for chaining. + */ + public Builder addUnreachablesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureUnreachablesIsMutable(); + unreachables_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.Warning warning_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder> + warningBuilder_; + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + public boolean hasWarning() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + public com.google.cloud.compute.v1.Warning getWarning() { + if (warningBuilder_ == null) { + return warning_ == null + ? com.google.cloud.compute.v1.Warning.getDefaultInstance() + : warning_; + } else { + return warningBuilder_.getMessage(); + } + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder setWarning(com.google.cloud.compute.v1.Warning value) { + if (warningBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + warning_ = value; + } else { + warningBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder setWarning(com.google.cloud.compute.v1.Warning.Builder builderForValue) { + if (warningBuilder_ == null) { + warning_ = builderForValue.build(); + } else { + warningBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder mergeWarning(com.google.cloud.compute.v1.Warning value) { + if (warningBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) + && warning_ != null + && warning_ != com.google.cloud.compute.v1.Warning.getDefaultInstance()) { + getWarningBuilder().mergeFrom(value); + } else { + warning_ = value; + } + } else { + warningBuilder_.mergeFrom(value); + } + if (warning_ != null) { + bitField0_ |= 0x00000080; + onChanged(); + } + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder clearWarning() { + bitField0_ = (bitField0_ & ~0x00000080); + warning_ = null; + if (warningBuilder_ != null) { + warningBuilder_.dispose(); + warningBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public com.google.cloud.compute.v1.Warning.Builder getWarningBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getWarningFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder() { + if (warningBuilder_ != null) { + return warningBuilder_.getMessageOrBuilder(); + } else { + return warning_ == null + ? com.google.cloud.compute.v1.Warning.getDefaultInstance() + : warning_; + } + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder> + getWarningFieldBuilder() { + if (warningBuilder_ == null) { + warningBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder>( + getWarning(), getParentForChildren(), isClean()); + warning_ = null; + } + return warningBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.StoragePoolListDisks) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.StoragePoolListDisks) + private static final com.google.cloud.compute.v1.StoragePoolListDisks DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.StoragePoolListDisks(); + } + + public static com.google.cloud.compute.v1.StoragePoolListDisks getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StoragePoolListDisks parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolListDisks getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolListDisksOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolListDisksOrBuilder.java new file mode 100644 index 000000000000..1bb594dced6e --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolListDisksOrBuilder.java @@ -0,0 +1,331 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface StoragePoolListDisksOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.StoragePoolListDisks) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string etag = 3123477; + * + * @return Whether the etag field is set. + */ + boolean hasEtag(); + /** + * optional string etag = 3123477; + * + * @return The etag. + */ + java.lang.String getEtag(); + /** + * optional string etag = 3123477; + * + * @return The bytes for etag. + */ + com.google.protobuf.ByteString getEtagBytes(); + + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return Whether the id field is set. + */ + boolean hasId(); + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The id. + */ + java.lang.String getId(); + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The bytes for id. + */ + com.google.protobuf.ByteString getIdBytes(); + + /** + * + * + *
+   * A list of StoragePoolDisk resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + java.util.List getItemsList(); + /** + * + * + *
+   * A list of StoragePoolDisk resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + com.google.cloud.compute.v1.StoragePoolDisk getItems(int index); + /** + * + * + *
+   * A list of StoragePoolDisk resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + int getItemsCount(); + /** + * + * + *
+   * A list of StoragePoolDisk resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + java.util.List + getItemsOrBuilderList(); + /** + * + * + *
+   * A list of StoragePoolDisk resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolDisk items = 100526016; + */ + com.google.cloud.compute.v1.StoragePoolDiskOrBuilder getItemsOrBuilder(int index); + + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolListDisks for lists of disks in a storagePool.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + boolean hasKind(); + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolListDisks for lists of disks in a storagePool.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + java.lang.String getKind(); + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolListDisks for lists of disks in a storagePool.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + com.google.protobuf.ByteString getKindBytes(); + + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return Whether the nextPageToken field is set. + */ + boolean hasNextPageToken(); + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); + + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + boolean hasSelfLink(); + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + java.lang.String getSelfLink(); + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + com.google.protobuf.ByteString getSelfLinkBytes(); + + /** + * + * + *
+   * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @return A list containing the unreachables. + */ + java.util.List getUnreachablesList(); + /** + * + * + *
+   * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @return The count of unreachables. + */ + int getUnreachablesCount(); + /** + * + * + *
+   * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index of the element to return. + * @return The unreachables at the given index. + */ + java.lang.String getUnreachables(int index); + /** + * + * + *
+   * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index of the value to return. + * @return The bytes of the unreachables at the given index. + */ + com.google.protobuf.ByteString getUnreachablesBytes(int index); + + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + boolean hasWarning(); + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + com.google.cloud.compute.v1.Warning getWarning(); + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolListOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolListOrBuilder.java new file mode 100644 index 000000000000..ddf5ddf0bfe0 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolListOrBuilder.java @@ -0,0 +1,331 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface StoragePoolListOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.StoragePoolList) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string etag = 3123477; + * + * @return Whether the etag field is set. + */ + boolean hasEtag(); + /** + * optional string etag = 3123477; + * + * @return The etag. + */ + java.lang.String getEtag(); + /** + * optional string etag = 3123477; + * + * @return The bytes for etag. + */ + com.google.protobuf.ByteString getEtagBytes(); + + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return Whether the id field is set. + */ + boolean hasId(); + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The id. + */ + java.lang.String getId(); + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The bytes for id. + */ + com.google.protobuf.ByteString getIdBytes(); + + /** + * + * + *
+   * A list of StoragePool resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + java.util.List getItemsList(); + /** + * + * + *
+   * A list of StoragePool resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + com.google.cloud.compute.v1.StoragePool getItems(int index); + /** + * + * + *
+   * A list of StoragePool resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + int getItemsCount(); + /** + * + * + *
+   * A list of StoragePool resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + java.util.List + getItemsOrBuilderList(); + /** + * + * + *
+   * A list of StoragePool resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool items = 100526016; + */ + com.google.cloud.compute.v1.StoragePoolOrBuilder getItemsOrBuilder(int index); + + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolList for lists of storagePools.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + boolean hasKind(); + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolList for lists of storagePools.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + java.lang.String getKind(); + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolList for lists of storagePools.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + com.google.protobuf.ByteString getKindBytes(); + + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return Whether the nextPageToken field is set. + */ + boolean hasNextPageToken(); + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); + + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + boolean hasSelfLink(); + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + java.lang.String getSelfLink(); + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + com.google.protobuf.ByteString getSelfLinkBytes(); + + /** + * + * + *
+   * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @return A list containing the unreachables. + */ + java.util.List getUnreachablesList(); + /** + * + * + *
+   * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @return The count of unreachables. + */ + int getUnreachablesCount(); + /** + * + * + *
+   * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index of the element to return. + * @return The unreachables at the given index. + */ + java.lang.String getUnreachables(int index); + /** + * + * + *
+   * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+   * 
+ * + * repeated string unreachables = 243372063; + * + * @param index The index of the value to return. + * @return The bytes of the unreachables at the given index. + */ + com.google.protobuf.ByteString getUnreachablesBytes(int index); + + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + boolean hasWarning(); + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + com.google.cloud.compute.v1.Warning getWarning(); + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolOrBuilder.java new file mode 100644 index 000000000000..e19208e8089e --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolOrBuilder.java @@ -0,0 +1,710 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface StoragePoolOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.StoragePool) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Provisioning type of the byte capacity of the pool.
+   * Check the CapacityProvisioningType enum for the list of possible values.
+   * 
+ * + * optional string capacity_provisioning_type = 251610375; + * + * @return Whether the capacityProvisioningType field is set. + */ + boolean hasCapacityProvisioningType(); + /** + * + * + *
+   * Provisioning type of the byte capacity of the pool.
+   * Check the CapacityProvisioningType enum for the list of possible values.
+   * 
+ * + * optional string capacity_provisioning_type = 251610375; + * + * @return The capacityProvisioningType. + */ + java.lang.String getCapacityProvisioningType(); + /** + * + * + *
+   * Provisioning type of the byte capacity of the pool.
+   * Check the CapacityProvisioningType enum for the list of possible values.
+   * 
+ * + * optional string capacity_provisioning_type = 251610375; + * + * @return The bytes for capacityProvisioningType. + */ + com.google.protobuf.ByteString getCapacityProvisioningTypeBytes(); + + /** + * + * + *
+   * [Output Only] Creation timestamp in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return Whether the creationTimestamp field is set. + */ + boolean hasCreationTimestamp(); + /** + * + * + *
+   * [Output Only] Creation timestamp in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The creationTimestamp. + */ + java.lang.String getCreationTimestamp(); + /** + * + * + *
+   * [Output Only] Creation timestamp in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The bytes for creationTimestamp. + */ + com.google.protobuf.ByteString getCreationTimestampBytes(); + + /** + * + * + *
+   * An optional description of this resource. Provide this property when you create the resource.
+   * 
+ * + * optional string description = 422937596; + * + * @return Whether the description field is set. + */ + boolean hasDescription(); + /** + * + * + *
+   * An optional description of this resource. Provide this property when you create the resource.
+   * 
+ * + * optional string description = 422937596; + * + * @return The description. + */ + java.lang.String getDescription(); + /** + * + * + *
+   * An optional description of this resource. Provide this property when you create the resource.
+   * 
+ * + * optional string description = 422937596; + * + * @return The bytes for description. + */ + com.google.protobuf.ByteString getDescriptionBytes(); + + /** + * + * + *
+   * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+   * 
+ * + * optional uint64 id = 3355; + * + * @return Whether the id field is set. + */ + boolean hasId(); + /** + * + * + *
+   * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+   * 
+ * + * optional uint64 id = 3355; + * + * @return The id. + */ + long getId(); + + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#storagePool for storage pools.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + boolean hasKind(); + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#storagePool for storage pools.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + java.lang.String getKind(); + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#storagePool for storage pools.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + com.google.protobuf.ByteString getKindBytes(); + + /** + * + * + *
+   * A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
+   * 
+ * + * optional string label_fingerprint = 178124825; + * + * @return Whether the labelFingerprint field is set. + */ + boolean hasLabelFingerprint(); + /** + * + * + *
+   * A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
+   * 
+ * + * optional string label_fingerprint = 178124825; + * + * @return The labelFingerprint. + */ + java.lang.String getLabelFingerprint(); + /** + * + * + *
+   * A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
+   * 
+ * + * optional string label_fingerprint = 178124825; + * + * @return The bytes for labelFingerprint. + */ + com.google.protobuf.ByteString getLabelFingerprintBytes(); + + /** + * + * + *
+   * Labels to apply to this storage pool. These can be later modified by the setLabels method.
+   * 
+ * + * map<string, string> labels = 500195327; + */ + int getLabelsCount(); + /** + * + * + *
+   * Labels to apply to this storage pool. These can be later modified by the setLabels method.
+   * 
+ * + * map<string, string> labels = 500195327; + */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getLabels(); + /** + * + * + *
+   * Labels to apply to this storage pool. These can be later modified by the setLabels method.
+   * 
+ * + * map<string, string> labels = 500195327; + */ + java.util.Map getLabelsMap(); + /** + * + * + *
+   * Labels to apply to this storage pool. These can be later modified by the setLabels method.
+   * 
+ * + * map<string, string> labels = 500195327; + */ + /* nullable */ + java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + /** + * + * + *
+   * Labels to apply to this storage pool. These can be later modified by the setLabels method.
+   * 
+ * + * map<string, string> labels = 500195327; + */ + java.lang.String getLabelsOrThrow(java.lang.String key); + + /** + * + * + *
+   * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + boolean hasName(); + /** + * + * + *
+   * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+   * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+   * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
+   * Check the PerformanceProvisioningType enum for the list of possible values.
+   * 
+ * + * optional string performance_provisioning_type = 468553469; + * + * @return Whether the performanceProvisioningType field is set. + */ + boolean hasPerformanceProvisioningType(); + /** + * + * + *
+   * Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
+   * Check the PerformanceProvisioningType enum for the list of possible values.
+   * 
+ * + * optional string performance_provisioning_type = 468553469; + * + * @return The performanceProvisioningType. + */ + java.lang.String getPerformanceProvisioningType(); + /** + * + * + *
+   * Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
+   * Check the PerformanceProvisioningType enum for the list of possible values.
+   * 
+ * + * optional string performance_provisioning_type = 468553469; + * + * @return The bytes for performanceProvisioningType. + */ + com.google.protobuf.ByteString getPerformanceProvisioningTypeBytes(); + + /** + * + * + *
+   * Size, in GiB, of the storage pool.
+   * 
+ * + * optional int64 pool_provisioned_capacity_gb = 478537682; + * + * @return Whether the poolProvisionedCapacityGb field is set. + */ + boolean hasPoolProvisionedCapacityGb(); + /** + * + * + *
+   * Size, in GiB, of the storage pool.
+   * 
+ * + * optional int64 pool_provisioned_capacity_gb = 478537682; + * + * @return The poolProvisionedCapacityGb. + */ + long getPoolProvisionedCapacityGb(); + + /** + * + * + *
+   * Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
+   * 
+ * + * optional int64 pool_provisioned_iops = 112092311; + * + * @return Whether the poolProvisionedIops field is set. + */ + boolean hasPoolProvisionedIops(); + /** + * + * + *
+   * Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
+   * 
+ * + * optional int64 pool_provisioned_iops = 112092311; + * + * @return The poolProvisionedIops. + */ + long getPoolProvisionedIops(); + + /** + * + * + *
+   * Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
+   * 
+ * + * optional int64 pool_provisioned_throughput = 169215640; + * + * @return Whether the poolProvisionedThroughput field is set. + */ + boolean hasPoolProvisionedThroughput(); + /** + * + * + *
+   * Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
+   * 
+ * + * optional int64 pool_provisioned_throughput = 169215640; + * + * @return The poolProvisionedThroughput. + */ + long getPoolProvisionedThroughput(); + + /** + * + * + *
+   * [Output Only] Status information for the storage pool resource.
+   * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315; + * + * + * @return Whether the resourceStatus field is set. + */ + boolean hasResourceStatus(); + /** + * + * + *
+   * [Output Only] Status information for the storage pool resource.
+   * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315; + * + * + * @return The resourceStatus. + */ + com.google.cloud.compute.v1.StoragePoolResourceStatus getResourceStatus(); + /** + * + * + *
+   * [Output Only] Status information for the storage pool resource.
+   * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315; + * + */ + com.google.cloud.compute.v1.StoragePoolResourceStatusOrBuilder getResourceStatusOrBuilder(); + + /** + * + * + *
+   * [Output Only] Server-defined fully-qualified URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + boolean hasSelfLink(); + /** + * + * + *
+   * [Output Only] Server-defined fully-qualified URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + java.lang.String getSelfLink(); + /** + * + * + *
+   * [Output Only] Server-defined fully-qualified URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + com.google.protobuf.ByteString getSelfLinkBytes(); + + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource's resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return Whether the selfLinkWithId field is set. + */ + boolean hasSelfLinkWithId(); + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource's resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The selfLinkWithId. + */ + java.lang.String getSelfLinkWithId(); + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource's resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The bytes for selfLinkWithId. + */ + com.google.protobuf.ByteString getSelfLinkWithIdBytes(); + + /** + * + * + *
+   * [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
+   * Check the State enum for the list of possible values.
+   * 
+ * + * optional string state = 109757585; + * + * @return Whether the state field is set. + */ + boolean hasState(); + /** + * + * + *
+   * [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
+   * Check the State enum for the list of possible values.
+   * 
+ * + * optional string state = 109757585; + * + * @return The state. + */ + java.lang.String getState(); + /** + * + * + *
+   * [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
+   * Check the State enum for the list of possible values.
+   * 
+ * + * optional string state = 109757585; + * + * @return The bytes for state. + */ + com.google.protobuf.ByteString getStateBytes(); + + /** + * + * + *
+   * [Output Only] Status information for the storage pool resource.
+   * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274; + * + * @return Whether the status field is set. + */ + boolean hasStatus(); + /** + * + * + *
+   * [Output Only] Status information for the storage pool resource.
+   * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274; + * + * @return The status. + */ + com.google.cloud.compute.v1.StoragePoolResourceStatus getStatus(); + /** + * + * + *
+   * [Output Only] Status information for the storage pool resource.
+   * 
+ * + * optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274; + */ + com.google.cloud.compute.v1.StoragePoolResourceStatusOrBuilder getStatusOrBuilder(); + + /** + * + * + *
+   * Type of the storage pool.
+   * 
+ * + * optional string storage_pool_type = 285999289; + * + * @return Whether the storagePoolType field is set. + */ + boolean hasStoragePoolType(); + /** + * + * + *
+   * Type of the storage pool.
+   * 
+ * + * optional string storage_pool_type = 285999289; + * + * @return The storagePoolType. + */ + java.lang.String getStoragePoolType(); + /** + * + * + *
+   * Type of the storage pool.
+   * 
+ * + * optional string storage_pool_type = 285999289; + * + * @return The bytes for storagePoolType. + */ + com.google.protobuf.ByteString getStoragePoolTypeBytes(); + + /** + * + * + *
+   * [Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+   * 
+ * + * optional string zone = 3744684; + * + * @return Whether the zone field is set. + */ + boolean hasZone(); + /** + * + * + *
+   * [Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+   * 
+ * + * optional string zone = 3744684; + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * [Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+   * 
+ * + * optional string zone = 3744684; + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolResourceStatus.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolResourceStatus.java new file mode 100644 index 000000000000..4b0840040ce8 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolResourceStatus.java @@ -0,0 +1,1847 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * [Output Only] Contains output only fields.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolResourceStatus} + */ +public final class StoragePoolResourceStatus extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.StoragePoolResourceStatus) + StoragePoolResourceStatusOrBuilder { + private static final long serialVersionUID = 0L; + // Use StoragePoolResourceStatus.newBuilder() to construct. + private StoragePoolResourceStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StoragePoolResourceStatus() { + lastResizeTimestamp_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StoragePoolResourceStatus(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolResourceStatus_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolResourceStatus_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolResourceStatus.class, + com.google.cloud.compute.v1.StoragePoolResourceStatus.Builder.class); + } + + private int bitField0_; + public static final int DISK_COUNT_FIELD_NUMBER = 182933485; + private long diskCount_ = 0L; + /** + * + * + *
+   * [Output Only] Number of disks used.
+   * 
+ * + * optional int64 disk_count = 182933485; + * + * @return Whether the diskCount field is set. + */ + @java.lang.Override + public boolean hasDiskCount() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * [Output Only] Number of disks used.
+   * 
+ * + * optional int64 disk_count = 182933485; + * + * @return The diskCount. + */ + @java.lang.Override + public long getDiskCount() { + return diskCount_; + } + + public static final int LAST_RESIZE_TIMESTAMP_FIELD_NUMBER = 500825556; + + @SuppressWarnings("serial") + private volatile java.lang.Object lastResizeTimestamp_ = ""; + /** + * + * + *
+   * [Output Only] Timestamp of the last successful resize in RFC3339 text format.
+   * 
+ * + * optional string last_resize_timestamp = 500825556; + * + * @return Whether the lastResizeTimestamp field is set. + */ + @java.lang.Override + public boolean hasLastResizeTimestamp() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * [Output Only] Timestamp of the last successful resize in RFC3339 text format.
+   * 
+ * + * optional string last_resize_timestamp = 500825556; + * + * @return The lastResizeTimestamp. + */ + @java.lang.Override + public java.lang.String getLastResizeTimestamp() { + java.lang.Object ref = lastResizeTimestamp_; + 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(); + lastResizeTimestamp_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Timestamp of the last successful resize in RFC3339 text format.
+   * 
+ * + * optional string last_resize_timestamp = 500825556; + * + * @return The bytes for lastResizeTimestamp. + */ + @java.lang.Override + public com.google.protobuf.ByteString getLastResizeTimestampBytes() { + java.lang.Object ref = lastResizeTimestamp_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + lastResizeTimestamp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MAX_TOTAL_PROVISIONED_DISK_CAPACITY_GB_FIELD_NUMBER = 165818207; + private long maxTotalProvisionedDiskCapacityGb_ = 0L; + /** + * + * + *
+   * [Output Only] Maximum allowed aggregate disk size in gigabytes.
+   * 
+ * + * optional int64 max_total_provisioned_disk_capacity_gb = 165818207; + * + * @return Whether the maxTotalProvisionedDiskCapacityGb field is set. + */ + @java.lang.Override + public boolean hasMaxTotalProvisionedDiskCapacityGb() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * [Output Only] Maximum allowed aggregate disk size in gigabytes.
+   * 
+ * + * optional int64 max_total_provisioned_disk_capacity_gb = 165818207; + * + * @return The maxTotalProvisionedDiskCapacityGb. + */ + @java.lang.Override + public long getMaxTotalProvisionedDiskCapacityGb() { + return maxTotalProvisionedDiskCapacityGb_; + } + + public static final int POOL_USED_CAPACITY_BYTES_FIELD_NUMBER = 510407877; + private long poolUsedCapacityBytes_ = 0L; + /** + * + * + *
+   * [Output Only] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
+   * 
+ * + * optional int64 pool_used_capacity_bytes = 510407877; + * + * @return Whether the poolUsedCapacityBytes field is set. + */ + @java.lang.Override + public boolean hasPoolUsedCapacityBytes() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * [Output Only] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
+   * 
+ * + * optional int64 pool_used_capacity_bytes = 510407877; + * + * @return The poolUsedCapacityBytes. + */ + @java.lang.Override + public long getPoolUsedCapacityBytes() { + return poolUsedCapacityBytes_; + } + + public static final int POOL_USED_IOPS_FIELD_NUMBER = 99558536; + private long poolUsedIops_ = 0L; + /** + * + * + *
+   * Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity.
+   * 
+ * + * optional int64 pool_used_iops = 99558536; + * + * @return Whether the poolUsedIops field is set. + */ + @java.lang.Override + public boolean hasPoolUsedIops() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity.
+   * 
+ * + * optional int64 pool_used_iops = 99558536; + * + * @return The poolUsedIops. + */ + @java.lang.Override + public long getPoolUsedIops() { + return poolUsedIops_; + } + + public static final int POOL_USED_THROUGHPUT_FIELD_NUMBER = 206130633; + private long poolUsedThroughput_ = 0L; + /** + * + * + *
+   * [Output Only] Sum of all the disks' provisioned throughput in MB/s.
+   * 
+ * + * optional int64 pool_used_throughput = 206130633; + * + * @return Whether the poolUsedThroughput field is set. + */ + @java.lang.Override + public boolean hasPoolUsedThroughput() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+   * [Output Only] Sum of all the disks' provisioned throughput in MB/s.
+   * 
+ * + * optional int64 pool_used_throughput = 206130633; + * + * @return The poolUsedThroughput. + */ + @java.lang.Override + public long getPoolUsedThroughput() { + return poolUsedThroughput_; + } + + public static final int POOL_USER_WRITTEN_BYTES_FIELD_NUMBER = 228964050; + private long poolUserWrittenBytes_ = 0L; + /** + * + * + *
+   * [Output Only] Amount of data written into the pool, before it is compacted.
+   * 
+ * + * optional int64 pool_user_written_bytes = 228964050; + * + * @return Whether the poolUserWrittenBytes field is set. + */ + @java.lang.Override + public boolean hasPoolUserWrittenBytes() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+   * [Output Only] Amount of data written into the pool, before it is compacted.
+   * 
+ * + * optional int64 pool_user_written_bytes = 228964050; + * + * @return The poolUserWrittenBytes. + */ + @java.lang.Override + public long getPoolUserWrittenBytes() { + return poolUserWrittenBytes_; + } + + public static final int TOTAL_PROVISIONED_DISK_CAPACITY_GB_FIELD_NUMBER = 520930980; + private long totalProvisionedDiskCapacityGb_ = 0L; + /** + * + * + *
+   * [Output Only] Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
+   * 
+ * + * optional int64 total_provisioned_disk_capacity_gb = 520930980; + * + * @return Whether the totalProvisionedDiskCapacityGb field is set. + */ + @java.lang.Override + public boolean hasTotalProvisionedDiskCapacityGb() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+   * [Output Only] Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
+   * 
+ * + * optional int64 total_provisioned_disk_capacity_gb = 520930980; + * + * @return The totalProvisionedDiskCapacityGb. + */ + @java.lang.Override + public long getTotalProvisionedDiskCapacityGb() { + return totalProvisionedDiskCapacityGb_; + } + + public static final int TOTAL_PROVISIONED_DISK_IOPS_FIELD_NUMBER = 32812549; + private long totalProvisionedDiskIops_ = 0L; + /** + * + * + *
+   * [Output Only] Sum of all the disks' provisioned IOPS.
+   * 
+ * + * optional int64 total_provisioned_disk_iops = 32812549; + * + * @return Whether the totalProvisionedDiskIops field is set. + */ + @java.lang.Override + public boolean hasTotalProvisionedDiskIops() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+   * [Output Only] Sum of all the disks' provisioned IOPS.
+   * 
+ * + * optional int64 total_provisioned_disk_iops = 32812549; + * + * @return The totalProvisionedDiskIops. + */ + @java.lang.Override + public long getTotalProvisionedDiskIops() { + return totalProvisionedDiskIops_; + } + + public static final int TOTAL_PROVISIONED_DISK_THROUGHPUT_FIELD_NUMBER = 447677830; + private long totalProvisionedDiskThroughput_ = 0L; + /** + * + * + *
+   * [Output Only] Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
+   * 
+ * + * optional int64 total_provisioned_disk_throughput = 447677830; + * + * @return Whether the totalProvisionedDiskThroughput field is set. + */ + @java.lang.Override + public boolean hasTotalProvisionedDiskThroughput() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+   * [Output Only] Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
+   * 
+ * + * optional int64 total_provisioned_disk_throughput = 447677830; + * + * @return The totalProvisionedDiskThroughput. + */ + @java.lang.Override + public long getTotalProvisionedDiskThroughput() { + return totalProvisionedDiskThroughput_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000100) != 0)) { + output.writeInt64(32812549, totalProvisionedDiskIops_); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeInt64(99558536, poolUsedIops_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeInt64(165818207, maxTotalProvisionedDiskCapacityGb_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt64(182933485, diskCount_); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeInt64(206130633, poolUsedThroughput_); + } + if (((bitField0_ & 0x00000040) != 0)) { + output.writeInt64(228964050, poolUserWrittenBytes_); + } + if (((bitField0_ & 0x00000200) != 0)) { + output.writeInt64(447677830, totalProvisionedDiskThroughput_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 500825556, lastResizeTimestamp_); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeInt64(510407877, poolUsedCapacityBytes_); + } + if (((bitField0_ & 0x00000080) != 0)) { + output.writeInt64(520930980, totalProvisionedDiskCapacityGb_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000100) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 32812549, totalProvisionedDiskIops_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(99558536, poolUsedIops_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 165818207, maxTotalProvisionedDiskCapacityGb_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(182933485, diskCount_); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(206130633, poolUsedThroughput_); + } + if (((bitField0_ & 0x00000040) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(228964050, poolUserWrittenBytes_); + } + if (((bitField0_ & 0x00000200) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 447677830, totalProvisionedDiskThroughput_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(500825556, lastResizeTimestamp_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(510407877, poolUsedCapacityBytes_); + } + if (((bitField0_ & 0x00000080) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 520930980, totalProvisionedDiskCapacityGb_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.StoragePoolResourceStatus)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.StoragePoolResourceStatus other = + (com.google.cloud.compute.v1.StoragePoolResourceStatus) obj; + + if (hasDiskCount() != other.hasDiskCount()) return false; + if (hasDiskCount()) { + if (getDiskCount() != other.getDiskCount()) return false; + } + if (hasLastResizeTimestamp() != other.hasLastResizeTimestamp()) return false; + if (hasLastResizeTimestamp()) { + if (!getLastResizeTimestamp().equals(other.getLastResizeTimestamp())) return false; + } + if (hasMaxTotalProvisionedDiskCapacityGb() != other.hasMaxTotalProvisionedDiskCapacityGb()) + return false; + if (hasMaxTotalProvisionedDiskCapacityGb()) { + if (getMaxTotalProvisionedDiskCapacityGb() != other.getMaxTotalProvisionedDiskCapacityGb()) + return false; + } + if (hasPoolUsedCapacityBytes() != other.hasPoolUsedCapacityBytes()) return false; + if (hasPoolUsedCapacityBytes()) { + if (getPoolUsedCapacityBytes() != other.getPoolUsedCapacityBytes()) return false; + } + if (hasPoolUsedIops() != other.hasPoolUsedIops()) return false; + if (hasPoolUsedIops()) { + if (getPoolUsedIops() != other.getPoolUsedIops()) return false; + } + if (hasPoolUsedThroughput() != other.hasPoolUsedThroughput()) return false; + if (hasPoolUsedThroughput()) { + if (getPoolUsedThroughput() != other.getPoolUsedThroughput()) return false; + } + if (hasPoolUserWrittenBytes() != other.hasPoolUserWrittenBytes()) return false; + if (hasPoolUserWrittenBytes()) { + if (getPoolUserWrittenBytes() != other.getPoolUserWrittenBytes()) return false; + } + if (hasTotalProvisionedDiskCapacityGb() != other.hasTotalProvisionedDiskCapacityGb()) + return false; + if (hasTotalProvisionedDiskCapacityGb()) { + if (getTotalProvisionedDiskCapacityGb() != other.getTotalProvisionedDiskCapacityGb()) + return false; + } + if (hasTotalProvisionedDiskIops() != other.hasTotalProvisionedDiskIops()) return false; + if (hasTotalProvisionedDiskIops()) { + if (getTotalProvisionedDiskIops() != other.getTotalProvisionedDiskIops()) return false; + } + if (hasTotalProvisionedDiskThroughput() != other.hasTotalProvisionedDiskThroughput()) + return false; + if (hasTotalProvisionedDiskThroughput()) { + if (getTotalProvisionedDiskThroughput() != other.getTotalProvisionedDiskThroughput()) + return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasDiskCount()) { + hash = (37 * hash) + DISK_COUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDiskCount()); + } + if (hasLastResizeTimestamp()) { + hash = (37 * hash) + LAST_RESIZE_TIMESTAMP_FIELD_NUMBER; + hash = (53 * hash) + getLastResizeTimestamp().hashCode(); + } + if (hasMaxTotalProvisionedDiskCapacityGb()) { + hash = (37 * hash) + MAX_TOTAL_PROVISIONED_DISK_CAPACITY_GB_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(getMaxTotalProvisionedDiskCapacityGb()); + } + if (hasPoolUsedCapacityBytes()) { + hash = (37 * hash) + POOL_USED_CAPACITY_BYTES_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPoolUsedCapacityBytes()); + } + if (hasPoolUsedIops()) { + hash = (37 * hash) + POOL_USED_IOPS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPoolUsedIops()); + } + if (hasPoolUsedThroughput()) { + hash = (37 * hash) + POOL_USED_THROUGHPUT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPoolUsedThroughput()); + } + if (hasPoolUserWrittenBytes()) { + hash = (37 * hash) + POOL_USER_WRITTEN_BYTES_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPoolUserWrittenBytes()); + } + if (hasTotalProvisionedDiskCapacityGb()) { + hash = (37 * hash) + TOTAL_PROVISIONED_DISK_CAPACITY_GB_FIELD_NUMBER; + hash = + (53 * hash) + com.google.protobuf.Internal.hashLong(getTotalProvisionedDiskCapacityGb()); + } + if (hasTotalProvisionedDiskIops()) { + hash = (37 * hash) + TOTAL_PROVISIONED_DISK_IOPS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTotalProvisionedDiskIops()); + } + if (hasTotalProvisionedDiskThroughput()) { + hash = (37 * hash) + TOTAL_PROVISIONED_DISK_THROUGHPUT_FIELD_NUMBER; + hash = + (53 * hash) + com.google.protobuf.Internal.hashLong(getTotalProvisionedDiskThroughput()); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.StoragePoolResourceStatus parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolResourceStatus parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolResourceStatus parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolResourceStatus parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolResourceStatus parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolResourceStatus parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolResourceStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolResourceStatus parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolResourceStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolResourceStatus parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolResourceStatus parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolResourceStatus parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.StoragePoolResourceStatus prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * [Output Only] Contains output only fields.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolResourceStatus} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.StoragePoolResourceStatus) + com.google.cloud.compute.v1.StoragePoolResourceStatusOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolResourceStatus_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolResourceStatus_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolResourceStatus.class, + com.google.cloud.compute.v1.StoragePoolResourceStatus.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.StoragePoolResourceStatus.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + diskCount_ = 0L; + lastResizeTimestamp_ = ""; + maxTotalProvisionedDiskCapacityGb_ = 0L; + poolUsedCapacityBytes_ = 0L; + poolUsedIops_ = 0L; + poolUsedThroughput_ = 0L; + poolUserWrittenBytes_ = 0L; + totalProvisionedDiskCapacityGb_ = 0L; + totalProvisionedDiskIops_ = 0L; + totalProvisionedDiskThroughput_ = 0L; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolResourceStatus_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolResourceStatus getDefaultInstanceForType() { + return com.google.cloud.compute.v1.StoragePoolResourceStatus.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolResourceStatus build() { + com.google.cloud.compute.v1.StoragePoolResourceStatus result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolResourceStatus buildPartial() { + com.google.cloud.compute.v1.StoragePoolResourceStatus result = + new com.google.cloud.compute.v1.StoragePoolResourceStatus(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.StoragePoolResourceStatus result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.diskCount_ = diskCount_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.lastResizeTimestamp_ = lastResizeTimestamp_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.maxTotalProvisionedDiskCapacityGb_ = maxTotalProvisionedDiskCapacityGb_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.poolUsedCapacityBytes_ = poolUsedCapacityBytes_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.poolUsedIops_ = poolUsedIops_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.poolUsedThroughput_ = poolUsedThroughput_; + to_bitField0_ |= 0x00000020; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.poolUserWrittenBytes_ = poolUserWrittenBytes_; + to_bitField0_ |= 0x00000040; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.totalProvisionedDiskCapacityGb_ = totalProvisionedDiskCapacityGb_; + to_bitField0_ |= 0x00000080; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.totalProvisionedDiskIops_ = totalProvisionedDiskIops_; + to_bitField0_ |= 0x00000100; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.totalProvisionedDiskThroughput_ = totalProvisionedDiskThroughput_; + to_bitField0_ |= 0x00000200; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.StoragePoolResourceStatus) { + return mergeFrom((com.google.cloud.compute.v1.StoragePoolResourceStatus) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.StoragePoolResourceStatus other) { + if (other == com.google.cloud.compute.v1.StoragePoolResourceStatus.getDefaultInstance()) + return this; + if (other.hasDiskCount()) { + setDiskCount(other.getDiskCount()); + } + if (other.hasLastResizeTimestamp()) { + lastResizeTimestamp_ = other.lastResizeTimestamp_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasMaxTotalProvisionedDiskCapacityGb()) { + setMaxTotalProvisionedDiskCapacityGb(other.getMaxTotalProvisionedDiskCapacityGb()); + } + if (other.hasPoolUsedCapacityBytes()) { + setPoolUsedCapacityBytes(other.getPoolUsedCapacityBytes()); + } + if (other.hasPoolUsedIops()) { + setPoolUsedIops(other.getPoolUsedIops()); + } + if (other.hasPoolUsedThroughput()) { + setPoolUsedThroughput(other.getPoolUsedThroughput()); + } + if (other.hasPoolUserWrittenBytes()) { + setPoolUserWrittenBytes(other.getPoolUserWrittenBytes()); + } + if (other.hasTotalProvisionedDiskCapacityGb()) { + setTotalProvisionedDiskCapacityGb(other.getTotalProvisionedDiskCapacityGb()); + } + if (other.hasTotalProvisionedDiskIops()) { + setTotalProvisionedDiskIops(other.getTotalProvisionedDiskIops()); + } + if (other.hasTotalProvisionedDiskThroughput()) { + setTotalProvisionedDiskThroughput(other.getTotalProvisionedDiskThroughput()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 262500392: + { + totalProvisionedDiskIops_ = input.readInt64(); + bitField0_ |= 0x00000100; + break; + } // case 262500392 + case 796468288: + { + poolUsedIops_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 796468288 + case 1326545656: + { + maxTotalProvisionedDiskCapacityGb_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 1326545656 + case 1463467880: + { + diskCount_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 1463467880 + case 1649045064: + { + poolUsedThroughput_ = input.readInt64(); + bitField0_ |= 0x00000020; + break; + } // case 1649045064 + case 1831712400: + { + poolUserWrittenBytes_ = input.readInt64(); + bitField0_ |= 0x00000040; + break; + } // case 1831712400 + case -713544656: + { + totalProvisionedDiskThroughput_ = input.readInt64(); + bitField0_ |= 0x00000200; + break; + } // case -713544656 + case -288362846: + { + lastResizeTimestamp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case -288362846 + case -211704280: + { + poolUsedCapacityBytes_ = input.readInt64(); + bitField0_ |= 0x00000008; + break; + } // case -211704280 + case -127519456: + { + totalProvisionedDiskCapacityGb_ = input.readInt64(); + bitField0_ |= 0x00000080; + break; + } // case -127519456 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private long diskCount_; + /** + * + * + *
+     * [Output Only] Number of disks used.
+     * 
+ * + * optional int64 disk_count = 182933485; + * + * @return Whether the diskCount field is set. + */ + @java.lang.Override + public boolean hasDiskCount() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * [Output Only] Number of disks used.
+     * 
+ * + * optional int64 disk_count = 182933485; + * + * @return The diskCount. + */ + @java.lang.Override + public long getDiskCount() { + return diskCount_; + } + /** + * + * + *
+     * [Output Only] Number of disks used.
+     * 
+ * + * optional int64 disk_count = 182933485; + * + * @param value The diskCount to set. + * @return This builder for chaining. + */ + public Builder setDiskCount(long value) { + + diskCount_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Number of disks used.
+     * 
+ * + * optional int64 disk_count = 182933485; + * + * @return This builder for chaining. + */ + public Builder clearDiskCount() { + bitField0_ = (bitField0_ & ~0x00000001); + diskCount_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object lastResizeTimestamp_ = ""; + /** + * + * + *
+     * [Output Only] Timestamp of the last successful resize in RFC3339 text format.
+     * 
+ * + * optional string last_resize_timestamp = 500825556; + * + * @return Whether the lastResizeTimestamp field is set. + */ + public boolean hasLastResizeTimestamp() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * [Output Only] Timestamp of the last successful resize in RFC3339 text format.
+     * 
+ * + * optional string last_resize_timestamp = 500825556; + * + * @return The lastResizeTimestamp. + */ + public java.lang.String getLastResizeTimestamp() { + java.lang.Object ref = lastResizeTimestamp_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + lastResizeTimestamp_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Timestamp of the last successful resize in RFC3339 text format.
+     * 
+ * + * optional string last_resize_timestamp = 500825556; + * + * @return The bytes for lastResizeTimestamp. + */ + public com.google.protobuf.ByteString getLastResizeTimestampBytes() { + java.lang.Object ref = lastResizeTimestamp_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + lastResizeTimestamp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Timestamp of the last successful resize in RFC3339 text format.
+     * 
+ * + * optional string last_resize_timestamp = 500825556; + * + * @param value The lastResizeTimestamp to set. + * @return This builder for chaining. + */ + public Builder setLastResizeTimestamp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + lastResizeTimestamp_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Timestamp of the last successful resize in RFC3339 text format.
+     * 
+ * + * optional string last_resize_timestamp = 500825556; + * + * @return This builder for chaining. + */ + public Builder clearLastResizeTimestamp() { + lastResizeTimestamp_ = getDefaultInstance().getLastResizeTimestamp(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Timestamp of the last successful resize in RFC3339 text format.
+     * 
+ * + * optional string last_resize_timestamp = 500825556; + * + * @param value The bytes for lastResizeTimestamp to set. + * @return This builder for chaining. + */ + public Builder setLastResizeTimestampBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + lastResizeTimestamp_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private long maxTotalProvisionedDiskCapacityGb_; + /** + * + * + *
+     * [Output Only] Maximum allowed aggregate disk size in gigabytes.
+     * 
+ * + * optional int64 max_total_provisioned_disk_capacity_gb = 165818207; + * + * @return Whether the maxTotalProvisionedDiskCapacityGb field is set. + */ + @java.lang.Override + public boolean hasMaxTotalProvisionedDiskCapacityGb() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * [Output Only] Maximum allowed aggregate disk size in gigabytes.
+     * 
+ * + * optional int64 max_total_provisioned_disk_capacity_gb = 165818207; + * + * @return The maxTotalProvisionedDiskCapacityGb. + */ + @java.lang.Override + public long getMaxTotalProvisionedDiskCapacityGb() { + return maxTotalProvisionedDiskCapacityGb_; + } + /** + * + * + *
+     * [Output Only] Maximum allowed aggregate disk size in gigabytes.
+     * 
+ * + * optional int64 max_total_provisioned_disk_capacity_gb = 165818207; + * + * @param value The maxTotalProvisionedDiskCapacityGb to set. + * @return This builder for chaining. + */ + public Builder setMaxTotalProvisionedDiskCapacityGb(long value) { + + maxTotalProvisionedDiskCapacityGb_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Maximum allowed aggregate disk size in gigabytes.
+     * 
+ * + * optional int64 max_total_provisioned_disk_capacity_gb = 165818207; + * + * @return This builder for chaining. + */ + public Builder clearMaxTotalProvisionedDiskCapacityGb() { + bitField0_ = (bitField0_ & ~0x00000004); + maxTotalProvisionedDiskCapacityGb_ = 0L; + onChanged(); + return this; + } + + private long poolUsedCapacityBytes_; + /** + * + * + *
+     * [Output Only] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
+     * 
+ * + * optional int64 pool_used_capacity_bytes = 510407877; + * + * @return Whether the poolUsedCapacityBytes field is set. + */ + @java.lang.Override + public boolean hasPoolUsedCapacityBytes() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * [Output Only] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
+     * 
+ * + * optional int64 pool_used_capacity_bytes = 510407877; + * + * @return The poolUsedCapacityBytes. + */ + @java.lang.Override + public long getPoolUsedCapacityBytes() { + return poolUsedCapacityBytes_; + } + /** + * + * + *
+     * [Output Only] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
+     * 
+ * + * optional int64 pool_used_capacity_bytes = 510407877; + * + * @param value The poolUsedCapacityBytes to set. + * @return This builder for chaining. + */ + public Builder setPoolUsedCapacityBytes(long value) { + + poolUsedCapacityBytes_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
+     * 
+ * + * optional int64 pool_used_capacity_bytes = 510407877; + * + * @return This builder for chaining. + */ + public Builder clearPoolUsedCapacityBytes() { + bitField0_ = (bitField0_ & ~0x00000008); + poolUsedCapacityBytes_ = 0L; + onChanged(); + return this; + } + + private long poolUsedIops_; + /** + * + * + *
+     * Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity.
+     * 
+ * + * optional int64 pool_used_iops = 99558536; + * + * @return Whether the poolUsedIops field is set. + */ + @java.lang.Override + public boolean hasPoolUsedIops() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity.
+     * 
+ * + * optional int64 pool_used_iops = 99558536; + * + * @return The poolUsedIops. + */ + @java.lang.Override + public long getPoolUsedIops() { + return poolUsedIops_; + } + /** + * + * + *
+     * Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity.
+     * 
+ * + * optional int64 pool_used_iops = 99558536; + * + * @param value The poolUsedIops to set. + * @return This builder for chaining. + */ + public Builder setPoolUsedIops(long value) { + + poolUsedIops_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity.
+     * 
+ * + * optional int64 pool_used_iops = 99558536; + * + * @return This builder for chaining. + */ + public Builder clearPoolUsedIops() { + bitField0_ = (bitField0_ & ~0x00000010); + poolUsedIops_ = 0L; + onChanged(); + return this; + } + + private long poolUsedThroughput_; + /** + * + * + *
+     * [Output Only] Sum of all the disks' provisioned throughput in MB/s.
+     * 
+ * + * optional int64 pool_used_throughput = 206130633; + * + * @return Whether the poolUsedThroughput field is set. + */ + @java.lang.Override + public boolean hasPoolUsedThroughput() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * [Output Only] Sum of all the disks' provisioned throughput in MB/s.
+     * 
+ * + * optional int64 pool_used_throughput = 206130633; + * + * @return The poolUsedThroughput. + */ + @java.lang.Override + public long getPoolUsedThroughput() { + return poolUsedThroughput_; + } + /** + * + * + *
+     * [Output Only] Sum of all the disks' provisioned throughput in MB/s.
+     * 
+ * + * optional int64 pool_used_throughput = 206130633; + * + * @param value The poolUsedThroughput to set. + * @return This builder for chaining. + */ + public Builder setPoolUsedThroughput(long value) { + + poolUsedThroughput_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Sum of all the disks' provisioned throughput in MB/s.
+     * 
+ * + * optional int64 pool_used_throughput = 206130633; + * + * @return This builder for chaining. + */ + public Builder clearPoolUsedThroughput() { + bitField0_ = (bitField0_ & ~0x00000020); + poolUsedThroughput_ = 0L; + onChanged(); + return this; + } + + private long poolUserWrittenBytes_; + /** + * + * + *
+     * [Output Only] Amount of data written into the pool, before it is compacted.
+     * 
+ * + * optional int64 pool_user_written_bytes = 228964050; + * + * @return Whether the poolUserWrittenBytes field is set. + */ + @java.lang.Override + public boolean hasPoolUserWrittenBytes() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+     * [Output Only] Amount of data written into the pool, before it is compacted.
+     * 
+ * + * optional int64 pool_user_written_bytes = 228964050; + * + * @return The poolUserWrittenBytes. + */ + @java.lang.Override + public long getPoolUserWrittenBytes() { + return poolUserWrittenBytes_; + } + /** + * + * + *
+     * [Output Only] Amount of data written into the pool, before it is compacted.
+     * 
+ * + * optional int64 pool_user_written_bytes = 228964050; + * + * @param value The poolUserWrittenBytes to set. + * @return This builder for chaining. + */ + public Builder setPoolUserWrittenBytes(long value) { + + poolUserWrittenBytes_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Amount of data written into the pool, before it is compacted.
+     * 
+ * + * optional int64 pool_user_written_bytes = 228964050; + * + * @return This builder for chaining. + */ + public Builder clearPoolUserWrittenBytes() { + bitField0_ = (bitField0_ & ~0x00000040); + poolUserWrittenBytes_ = 0L; + onChanged(); + return this; + } + + private long totalProvisionedDiskCapacityGb_; + /** + * + * + *
+     * [Output Only] Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
+     * 
+ * + * optional int64 total_provisioned_disk_capacity_gb = 520930980; + * + * @return Whether the totalProvisionedDiskCapacityGb field is set. + */ + @java.lang.Override + public boolean hasTotalProvisionedDiskCapacityGb() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+     * [Output Only] Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
+     * 
+ * + * optional int64 total_provisioned_disk_capacity_gb = 520930980; + * + * @return The totalProvisionedDiskCapacityGb. + */ + @java.lang.Override + public long getTotalProvisionedDiskCapacityGb() { + return totalProvisionedDiskCapacityGb_; + } + /** + * + * + *
+     * [Output Only] Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
+     * 
+ * + * optional int64 total_provisioned_disk_capacity_gb = 520930980; + * + * @param value The totalProvisionedDiskCapacityGb to set. + * @return This builder for chaining. + */ + public Builder setTotalProvisionedDiskCapacityGb(long value) { + + totalProvisionedDiskCapacityGb_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
+     * 
+ * + * optional int64 total_provisioned_disk_capacity_gb = 520930980; + * + * @return This builder for chaining. + */ + public Builder clearTotalProvisionedDiskCapacityGb() { + bitField0_ = (bitField0_ & ~0x00000080); + totalProvisionedDiskCapacityGb_ = 0L; + onChanged(); + return this; + } + + private long totalProvisionedDiskIops_; + /** + * + * + *
+     * [Output Only] Sum of all the disks' provisioned IOPS.
+     * 
+ * + * optional int64 total_provisioned_disk_iops = 32812549; + * + * @return Whether the totalProvisionedDiskIops field is set. + */ + @java.lang.Override + public boolean hasTotalProvisionedDiskIops() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+     * [Output Only] Sum of all the disks' provisioned IOPS.
+     * 
+ * + * optional int64 total_provisioned_disk_iops = 32812549; + * + * @return The totalProvisionedDiskIops. + */ + @java.lang.Override + public long getTotalProvisionedDiskIops() { + return totalProvisionedDiskIops_; + } + /** + * + * + *
+     * [Output Only] Sum of all the disks' provisioned IOPS.
+     * 
+ * + * optional int64 total_provisioned_disk_iops = 32812549; + * + * @param value The totalProvisionedDiskIops to set. + * @return This builder for chaining. + */ + public Builder setTotalProvisionedDiskIops(long value) { + + totalProvisionedDiskIops_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Sum of all the disks' provisioned IOPS.
+     * 
+ * + * optional int64 total_provisioned_disk_iops = 32812549; + * + * @return This builder for chaining. + */ + public Builder clearTotalProvisionedDiskIops() { + bitField0_ = (bitField0_ & ~0x00000100); + totalProvisionedDiskIops_ = 0L; + onChanged(); + return this; + } + + private long totalProvisionedDiskThroughput_; + /** + * + * + *
+     * [Output Only] Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
+     * 
+ * + * optional int64 total_provisioned_disk_throughput = 447677830; + * + * @return Whether the totalProvisionedDiskThroughput field is set. + */ + @java.lang.Override + public boolean hasTotalProvisionedDiskThroughput() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+     * [Output Only] Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
+     * 
+ * + * optional int64 total_provisioned_disk_throughput = 447677830; + * + * @return The totalProvisionedDiskThroughput. + */ + @java.lang.Override + public long getTotalProvisionedDiskThroughput() { + return totalProvisionedDiskThroughput_; + } + /** + * + * + *
+     * [Output Only] Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
+     * 
+ * + * optional int64 total_provisioned_disk_throughput = 447677830; + * + * @param value The totalProvisionedDiskThroughput to set. + * @return This builder for chaining. + */ + public Builder setTotalProvisionedDiskThroughput(long value) { + + totalProvisionedDiskThroughput_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
+     * 
+ * + * optional int64 total_provisioned_disk_throughput = 447677830; + * + * @return This builder for chaining. + */ + public Builder clearTotalProvisionedDiskThroughput() { + bitField0_ = (bitField0_ & ~0x00000200); + totalProvisionedDiskThroughput_ = 0L; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.StoragePoolResourceStatus) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.StoragePoolResourceStatus) + private static final com.google.cloud.compute.v1.StoragePoolResourceStatus DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.StoragePoolResourceStatus(); + } + + public static com.google.cloud.compute.v1.StoragePoolResourceStatus getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StoragePoolResourceStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolResourceStatus getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolResourceStatusOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolResourceStatusOrBuilder.java new file mode 100644 index 000000000000..bc29f9d0a952 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolResourceStatusOrBuilder.java @@ -0,0 +1,288 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface StoragePoolResourceStatusOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.StoragePoolResourceStatus) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * [Output Only] Number of disks used.
+   * 
+ * + * optional int64 disk_count = 182933485; + * + * @return Whether the diskCount field is set. + */ + boolean hasDiskCount(); + /** + * + * + *
+   * [Output Only] Number of disks used.
+   * 
+ * + * optional int64 disk_count = 182933485; + * + * @return The diskCount. + */ + long getDiskCount(); + + /** + * + * + *
+   * [Output Only] Timestamp of the last successful resize in RFC3339 text format.
+   * 
+ * + * optional string last_resize_timestamp = 500825556; + * + * @return Whether the lastResizeTimestamp field is set. + */ + boolean hasLastResizeTimestamp(); + /** + * + * + *
+   * [Output Only] Timestamp of the last successful resize in RFC3339 text format.
+   * 
+ * + * optional string last_resize_timestamp = 500825556; + * + * @return The lastResizeTimestamp. + */ + java.lang.String getLastResizeTimestamp(); + /** + * + * + *
+   * [Output Only] Timestamp of the last successful resize in RFC3339 text format.
+   * 
+ * + * optional string last_resize_timestamp = 500825556; + * + * @return The bytes for lastResizeTimestamp. + */ + com.google.protobuf.ByteString getLastResizeTimestampBytes(); + + /** + * + * + *
+   * [Output Only] Maximum allowed aggregate disk size in gigabytes.
+   * 
+ * + * optional int64 max_total_provisioned_disk_capacity_gb = 165818207; + * + * @return Whether the maxTotalProvisionedDiskCapacityGb field is set. + */ + boolean hasMaxTotalProvisionedDiskCapacityGb(); + /** + * + * + *
+   * [Output Only] Maximum allowed aggregate disk size in gigabytes.
+   * 
+ * + * optional int64 max_total_provisioned_disk_capacity_gb = 165818207; + * + * @return The maxTotalProvisionedDiskCapacityGb. + */ + long getMaxTotalProvisionedDiskCapacityGb(); + + /** + * + * + *
+   * [Output Only] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
+   * 
+ * + * optional int64 pool_used_capacity_bytes = 510407877; + * + * @return Whether the poolUsedCapacityBytes field is set. + */ + boolean hasPoolUsedCapacityBytes(); + /** + * + * + *
+   * [Output Only] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks.
+   * 
+ * + * optional int64 pool_used_capacity_bytes = 510407877; + * + * @return The poolUsedCapacityBytes. + */ + long getPoolUsedCapacityBytes(); + + /** + * + * + *
+   * Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity.
+   * 
+ * + * optional int64 pool_used_iops = 99558536; + * + * @return Whether the poolUsedIops field is set. + */ + boolean hasPoolUsedIops(); + /** + * + * + *
+   * Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity.
+   * 
+ * + * optional int64 pool_used_iops = 99558536; + * + * @return The poolUsedIops. + */ + long getPoolUsedIops(); + + /** + * + * + *
+   * [Output Only] Sum of all the disks' provisioned throughput in MB/s.
+   * 
+ * + * optional int64 pool_used_throughput = 206130633; + * + * @return Whether the poolUsedThroughput field is set. + */ + boolean hasPoolUsedThroughput(); + /** + * + * + *
+   * [Output Only] Sum of all the disks' provisioned throughput in MB/s.
+   * 
+ * + * optional int64 pool_used_throughput = 206130633; + * + * @return The poolUsedThroughput. + */ + long getPoolUsedThroughput(); + + /** + * + * + *
+   * [Output Only] Amount of data written into the pool, before it is compacted.
+   * 
+ * + * optional int64 pool_user_written_bytes = 228964050; + * + * @return Whether the poolUserWrittenBytes field is set. + */ + boolean hasPoolUserWrittenBytes(); + /** + * + * + *
+   * [Output Only] Amount of data written into the pool, before it is compacted.
+   * 
+ * + * optional int64 pool_user_written_bytes = 228964050; + * + * @return The poolUserWrittenBytes. + */ + long getPoolUserWrittenBytes(); + + /** + * + * + *
+   * [Output Only] Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
+   * 
+ * + * optional int64 total_provisioned_disk_capacity_gb = 520930980; + * + * @return Whether the totalProvisionedDiskCapacityGb field is set. + */ + boolean hasTotalProvisionedDiskCapacityGb(); + /** + * + * + *
+   * [Output Only] Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity.
+   * 
+ * + * optional int64 total_provisioned_disk_capacity_gb = 520930980; + * + * @return The totalProvisionedDiskCapacityGb. + */ + long getTotalProvisionedDiskCapacityGb(); + + /** + * + * + *
+   * [Output Only] Sum of all the disks' provisioned IOPS.
+   * 
+ * + * optional int64 total_provisioned_disk_iops = 32812549; + * + * @return Whether the totalProvisionedDiskIops field is set. + */ + boolean hasTotalProvisionedDiskIops(); + /** + * + * + *
+   * [Output Only] Sum of all the disks' provisioned IOPS.
+   * 
+ * + * optional int64 total_provisioned_disk_iops = 32812549; + * + * @return The totalProvisionedDiskIops. + */ + long getTotalProvisionedDiskIops(); + + /** + * + * + *
+   * [Output Only] Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
+   * 
+ * + * optional int64 total_provisioned_disk_throughput = 447677830; + * + * @return Whether the totalProvisionedDiskThroughput field is set. + */ + boolean hasTotalProvisionedDiskThroughput(); + /** + * + * + *
+   * [Output Only] Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity.
+   * 
+ * + * optional int64 total_provisioned_disk_throughput = 447677830; + * + * @return The totalProvisionedDiskThroughput. + */ + long getTotalProvisionedDiskThroughput(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolType.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolType.java new file mode 100644 index 000000000000..874828ae0f99 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolType.java @@ -0,0 +1,3566 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolType} + */ +public final class StoragePoolType extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.StoragePoolType) + StoragePoolTypeOrBuilder { + private static final long serialVersionUID = 0L; + // Use StoragePoolType.newBuilder() to construct. + private StoragePoolType(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StoragePoolType() { + creationTimestamp_ = ""; + description_ = ""; + kind_ = ""; + name_ = ""; + selfLink_ = ""; + selfLinkWithId_ = ""; + supportedDiskTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StoragePoolType(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolType_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolType_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolType.class, + com.google.cloud.compute.v1.StoragePoolType.Builder.class); + } + + private int bitField0_; + public static final int CREATION_TIMESTAMP_FIELD_NUMBER = 30525366; + + @SuppressWarnings("serial") + private volatile java.lang.Object creationTimestamp_ = ""; + /** + * + * + *
+   * [Output Only] Creation timestamp in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return Whether the creationTimestamp field is set. + */ + @java.lang.Override + public boolean hasCreationTimestamp() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * [Output Only] Creation timestamp in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The creationTimestamp. + */ + @java.lang.Override + public java.lang.String getCreationTimestamp() { + java.lang.Object ref = creationTimestamp_; + 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(); + creationTimestamp_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Creation timestamp in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The bytes for creationTimestamp. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCreationTimestampBytes() { + java.lang.Object ref = creationTimestamp_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + creationTimestamp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEPRECATED_FIELD_NUMBER = 515138995; + private com.google.cloud.compute.v1.DeprecationStatus deprecated_; + /** + * + * + *
+   * [Output Only] The deprecation status associated with this storage pool type.
+   * 
+ * + * optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; + * + * @return Whether the deprecated field is set. + */ + @java.lang.Override + public boolean hasDeprecated() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * [Output Only] The deprecation status associated with this storage pool type.
+   * 
+ * + * optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; + * + * @return The deprecated. + */ + @java.lang.Override + public com.google.cloud.compute.v1.DeprecationStatus getDeprecated() { + return deprecated_ == null + ? com.google.cloud.compute.v1.DeprecationStatus.getDefaultInstance() + : deprecated_; + } + /** + * + * + *
+   * [Output Only] The deprecation status associated with this storage pool type.
+   * 
+ * + * optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; + */ + @java.lang.Override + public com.google.cloud.compute.v1.DeprecationStatusOrBuilder getDeprecatedOrBuilder() { + return deprecated_ == null + ? com.google.cloud.compute.v1.DeprecationStatus.getDefaultInstance() + : deprecated_; + } + + public static final int DESCRIPTION_FIELD_NUMBER = 422937596; + + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + /** + * + * + *
+   * [Output Only] An optional description of this resource.
+   * 
+ * + * optional string description = 422937596; + * + * @return Whether the description field is set. + */ + @java.lang.Override + public boolean hasDescription() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * [Output Only] An optional description of this resource.
+   * 
+ * + * optional string description = 422937596; + * + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + 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(); + description_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] An optional description of this resource.
+   * 
+ * + * optional string description = 422937596; + * + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ID_FIELD_NUMBER = 3355; + private long id_ = 0L; + /** + * + * + *
+   * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+   * 
+ * + * optional uint64 id = 3355; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+   * 
+ * + * optional uint64 id = 3355; + * + * @return The id. + */ + @java.lang.Override + public long getId() { + return id_; + } + + public static final int KIND_FIELD_NUMBER = 3292052; + + @SuppressWarnings("serial") + private volatile java.lang.Object kind_ = ""; + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#storagePoolType for storage pool types.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + @java.lang.Override + public boolean hasKind() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#storagePoolType for storage pool types.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + 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(); + kind_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#storagePoolType for storage pool types.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MAX_POOL_PROVISIONED_CAPACITY_GB_FIELD_NUMBER = 182139085; + private long maxPoolProvisionedCapacityGb_ = 0L; + /** + * + * + *
+   * [Output Only] Maximum storage pool size in GB.
+   * 
+ * + * optional int64 max_pool_provisioned_capacity_gb = 182139085; + * + * @return Whether the maxPoolProvisionedCapacityGb field is set. + */ + @java.lang.Override + public boolean hasMaxPoolProvisionedCapacityGb() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+   * [Output Only] Maximum storage pool size in GB.
+   * 
+ * + * optional int64 max_pool_provisioned_capacity_gb = 182139085; + * + * @return The maxPoolProvisionedCapacityGb. + */ + @java.lang.Override + public long getMaxPoolProvisionedCapacityGb() { + return maxPoolProvisionedCapacityGb_; + } + + public static final int MAX_POOL_PROVISIONED_IOPS_FIELD_NUMBER = 515270652; + private long maxPoolProvisionedIops_ = 0L; + /** + * + * + *
+   * [Output Only] Maximum provisioned IOPS.
+   * 
+ * + * optional int64 max_pool_provisioned_iops = 515270652; + * + * @return Whether the maxPoolProvisionedIops field is set. + */ + @java.lang.Override + public boolean hasMaxPoolProvisionedIops() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+   * [Output Only] Maximum provisioned IOPS.
+   * 
+ * + * optional int64 max_pool_provisioned_iops = 515270652; + * + * @return The maxPoolProvisionedIops. + */ + @java.lang.Override + public long getMaxPoolProvisionedIops() { + return maxPoolProvisionedIops_; + } + + public static final int MAX_POOL_PROVISIONED_THROUGHPUT_FIELD_NUMBER = 228928061; + private long maxPoolProvisionedThroughput_ = 0L; + /** + * + * + *
+   * [Output Only] Maximum provisioned throughput.
+   * 
+ * + * optional int64 max_pool_provisioned_throughput = 228928061; + * + * @return Whether the maxPoolProvisionedThroughput field is set. + */ + @java.lang.Override + public boolean hasMaxPoolProvisionedThroughput() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+   * [Output Only] Maximum provisioned throughput.
+   * 
+ * + * optional int64 max_pool_provisioned_throughput = 228928061; + * + * @return The maxPoolProvisionedThroughput. + */ + @java.lang.Override + public long getMaxPoolProvisionedThroughput() { + return maxPoolProvisionedThroughput_; + } + + public static final int MIN_POOL_PROVISIONED_CAPACITY_GB_FIELD_NUMBER = 191022751; + private long minPoolProvisionedCapacityGb_ = 0L; + /** + * + * + *
+   * [Output Only] Minimum storage pool size in GB.
+   * 
+ * + * optional int64 min_pool_provisioned_capacity_gb = 191022751; + * + * @return Whether the minPoolProvisionedCapacityGb field is set. + */ + @java.lang.Override + public boolean hasMinPoolProvisionedCapacityGb() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+   * [Output Only] Minimum storage pool size in GB.
+   * 
+ * + * optional int64 min_pool_provisioned_capacity_gb = 191022751; + * + * @return The minPoolProvisionedCapacityGb. + */ + @java.lang.Override + public long getMinPoolProvisionedCapacityGb() { + return minPoolProvisionedCapacityGb_; + } + + public static final int MIN_POOL_PROVISIONED_IOPS_FIELD_NUMBER = 416473706; + private long minPoolProvisionedIops_ = 0L; + /** + * + * + *
+   * [Output Only] Minimum provisioned IOPS.
+   * 
+ * + * optional int64 min_pool_provisioned_iops = 416473706; + * + * @return Whether the minPoolProvisionedIops field is set. + */ + @java.lang.Override + public boolean hasMinPoolProvisionedIops() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+   * [Output Only] Minimum provisioned IOPS.
+   * 
+ * + * optional int64 min_pool_provisioned_iops = 416473706; + * + * @return The minPoolProvisionedIops. + */ + @java.lang.Override + public long getMinPoolProvisionedIops() { + return minPoolProvisionedIops_; + } + + public static final int MIN_POOL_PROVISIONED_THROUGHPUT_FIELD_NUMBER = 367761963; + private long minPoolProvisionedThroughput_ = 0L; + /** + * + * + *
+   * [Output Only] Minimum provisioned throughput.
+   * 
+ * + * optional int64 min_pool_provisioned_throughput = 367761963; + * + * @return Whether the minPoolProvisionedThroughput field is set. + */ + @java.lang.Override + public boolean hasMinPoolProvisionedThroughput() { + return ((bitField0_ & 0x00000400) != 0); + } + /** + * + * + *
+   * [Output Only] Minimum provisioned throughput.
+   * 
+ * + * optional int64 min_pool_provisioned_throughput = 367761963; + * + * @return The minPoolProvisionedThroughput. + */ + @java.lang.Override + public long getMinPoolProvisionedThroughput() { + return minPoolProvisionedThroughput_; + } + + public static final int MIN_SIZE_GB_FIELD_NUMBER = 385278188; + private long minSizeGb_ = 0L; + /** + * + * + *
+   * [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb instead.
+   * 
+ * + * optional int64 min_size_gb = 385278188; + * + * @return Whether the minSizeGb field is set. + */ + @java.lang.Override + public boolean hasMinSizeGb() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + * + * + *
+   * [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb instead.
+   * 
+ * + * optional int64 min_size_gb = 385278188; + * + * @return The minSizeGb. + */ + @java.lang.Override + public long getMinSizeGb() { + return minSizeGb_; + } + + public static final int NAME_FIELD_NUMBER = 3373707; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * [Output Only] Name of the resource.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return ((bitField0_ & 0x00001000) != 0); + } + /** + * + * + *
+   * [Output Only] Name of the resource.
+   * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Name of the resource.
+   * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SELF_LINK_FIELD_NUMBER = 456214797; + + @SuppressWarnings("serial") + private volatile java.lang.Object selfLink_ = ""; + /** + * + * + *
+   * [Output Only] Server-defined URL for the resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + @java.lang.Override + public boolean hasSelfLink() { + return ((bitField0_ & 0x00002000) != 0); + } + /** + * + * + *
+   * [Output Only] Server-defined URL for the resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + @java.lang.Override + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + 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(); + selfLink_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Server-defined URL for the resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SELF_LINK_WITH_ID_FIELD_NUMBER = 44520962; + + @SuppressWarnings("serial") + private volatile java.lang.Object selfLinkWithId_ = ""; + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource with the resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return Whether the selfLinkWithId field is set. + */ + @java.lang.Override + public boolean hasSelfLinkWithId() { + return ((bitField0_ & 0x00004000) != 0); + } + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource with the resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The selfLinkWithId. + */ + @java.lang.Override + public java.lang.String getSelfLinkWithId() { + java.lang.Object ref = selfLinkWithId_; + 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(); + selfLinkWithId_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource with the resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The bytes for selfLinkWithId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSelfLinkWithIdBytes() { + java.lang.Object ref = selfLinkWithId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLinkWithId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUPPORTED_DISK_TYPES_FIELD_NUMBER = 150587272; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList supportedDiskTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
+   * [Output Only] The list of disk types supported in this storage pool type.
+   * 
+ * + * repeated string supported_disk_types = 150587272; + * + * @return A list containing the supportedDiskTypes. + */ + public com.google.protobuf.ProtocolStringList getSupportedDiskTypesList() { + return supportedDiskTypes_; + } + /** + * + * + *
+   * [Output Only] The list of disk types supported in this storage pool type.
+   * 
+ * + * repeated string supported_disk_types = 150587272; + * + * @return The count of supportedDiskTypes. + */ + public int getSupportedDiskTypesCount() { + return supportedDiskTypes_.size(); + } + /** + * + * + *
+   * [Output Only] The list of disk types supported in this storage pool type.
+   * 
+ * + * repeated string supported_disk_types = 150587272; + * + * @param index The index of the element to return. + * @return The supportedDiskTypes at the given index. + */ + public java.lang.String getSupportedDiskTypes(int index) { + return supportedDiskTypes_.get(index); + } + /** + * + * + *
+   * [Output Only] The list of disk types supported in this storage pool type.
+   * 
+ * + * repeated string supported_disk_types = 150587272; + * + * @param index The index of the value to return. + * @return The bytes of the supportedDiskTypes at the given index. + */ + public com.google.protobuf.ByteString getSupportedDiskTypesBytes(int index) { + return supportedDiskTypes_.getByteString(index); + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * [Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+   * 
+ * + * optional string zone = 3744684; + * + * @return Whether the zone field is set. + */ + @java.lang.Override + public boolean hasZone() { + return ((bitField0_ & 0x00008000) != 0); + } + /** + * + * + *
+   * [Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+   * 
+ * + * optional string zone = 3744684; + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+   * 
+ * + * optional string zone = 3744684; + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000008) != 0)) { + output.writeUInt64(3355, id_); + } + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_); + } + if (((bitField0_ & 0x00001000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); + } + if (((bitField0_ & 0x00008000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 30525366, creationTimestamp_); + } + if (((bitField0_ & 0x00004000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 44520962, selfLinkWithId_); + } + for (int i = 0; i < supportedDiskTypes_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 150587272, supportedDiskTypes_.getRaw(i)); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeInt64(182139085, maxPoolProvisionedCapacityGb_); + } + if (((bitField0_ & 0x00000100) != 0)) { + output.writeInt64(191022751, minPoolProvisionedCapacityGb_); + } + if (((bitField0_ & 0x00000080) != 0)) { + output.writeInt64(228928061, maxPoolProvisionedThroughput_); + } + if (((bitField0_ & 0x00000400) != 0)) { + output.writeInt64(367761963, minPoolProvisionedThroughput_); + } + if (((bitField0_ & 0x00000800) != 0)) { + output.writeInt64(385278188, minSizeGb_); + } + if (((bitField0_ & 0x00000200) != 0)) { + output.writeInt64(416473706, minPoolProvisionedIops_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 422937596, description_); + } + if (((bitField0_ & 0x00002000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(515138995, getDeprecated()); + } + if (((bitField0_ & 0x00000040) != 0)) { + output.writeInt64(515270652, maxPoolProvisionedIops_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeUInt64Size(3355, id_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); + } + if (((bitField0_ & 0x00001000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); + } + if (((bitField0_ & 0x00008000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(30525366, creationTimestamp_); + } + if (((bitField0_ & 0x00004000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(44520962, selfLinkWithId_); + } + { + int dataSize = 0; + for (int i = 0; i < supportedDiskTypes_.size(); i++) { + dataSize += computeStringSizeNoTag(supportedDiskTypes_.getRaw(i)); + } + size += dataSize; + size += 5 * getSupportedDiskTypesList().size(); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 182139085, maxPoolProvisionedCapacityGb_); + } + if (((bitField0_ & 0x00000100) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 191022751, minPoolProvisionedCapacityGb_); + } + if (((bitField0_ & 0x00000080) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 228928061, maxPoolProvisionedThroughput_); + } + if (((bitField0_ & 0x00000400) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 367761963, minPoolProvisionedThroughput_); + } + if (((bitField0_ & 0x00000800) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(385278188, minSizeGb_); + } + if (((bitField0_ & 0x00000200) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 416473706, minPoolProvisionedIops_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(422937596, description_); + } + if (((bitField0_ & 0x00002000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(515138995, getDeprecated()); + } + if (((bitField0_ & 0x00000040) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 515270652, maxPoolProvisionedIops_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.StoragePoolType)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.StoragePoolType other = + (com.google.cloud.compute.v1.StoragePoolType) obj; + + if (hasCreationTimestamp() != other.hasCreationTimestamp()) return false; + if (hasCreationTimestamp()) { + if (!getCreationTimestamp().equals(other.getCreationTimestamp())) return false; + } + if (hasDeprecated() != other.hasDeprecated()) return false; + if (hasDeprecated()) { + if (!getDeprecated().equals(other.getDeprecated())) return false; + } + if (hasDescription() != other.hasDescription()) return false; + if (hasDescription()) { + if (!getDescription().equals(other.getDescription())) return false; + } + if (hasId() != other.hasId()) return false; + if (hasId()) { + if (getId() != other.getId()) return false; + } + if (hasKind() != other.hasKind()) return false; + if (hasKind()) { + if (!getKind().equals(other.getKind())) return false; + } + if (hasMaxPoolProvisionedCapacityGb() != other.hasMaxPoolProvisionedCapacityGb()) return false; + if (hasMaxPoolProvisionedCapacityGb()) { + if (getMaxPoolProvisionedCapacityGb() != other.getMaxPoolProvisionedCapacityGb()) + return false; + } + if (hasMaxPoolProvisionedIops() != other.hasMaxPoolProvisionedIops()) return false; + if (hasMaxPoolProvisionedIops()) { + if (getMaxPoolProvisionedIops() != other.getMaxPoolProvisionedIops()) return false; + } + if (hasMaxPoolProvisionedThroughput() != other.hasMaxPoolProvisionedThroughput()) return false; + if (hasMaxPoolProvisionedThroughput()) { + if (getMaxPoolProvisionedThroughput() != other.getMaxPoolProvisionedThroughput()) + return false; + } + if (hasMinPoolProvisionedCapacityGb() != other.hasMinPoolProvisionedCapacityGb()) return false; + if (hasMinPoolProvisionedCapacityGb()) { + if (getMinPoolProvisionedCapacityGb() != other.getMinPoolProvisionedCapacityGb()) + return false; + } + if (hasMinPoolProvisionedIops() != other.hasMinPoolProvisionedIops()) return false; + if (hasMinPoolProvisionedIops()) { + if (getMinPoolProvisionedIops() != other.getMinPoolProvisionedIops()) return false; + } + if (hasMinPoolProvisionedThroughput() != other.hasMinPoolProvisionedThroughput()) return false; + if (hasMinPoolProvisionedThroughput()) { + if (getMinPoolProvisionedThroughput() != other.getMinPoolProvisionedThroughput()) + return false; + } + if (hasMinSizeGb() != other.hasMinSizeGb()) return false; + if (hasMinSizeGb()) { + if (getMinSizeGb() != other.getMinSizeGb()) return false; + } + if (hasName() != other.hasName()) return false; + if (hasName()) { + if (!getName().equals(other.getName())) return false; + } + if (hasSelfLink() != other.hasSelfLink()) return false; + if (hasSelfLink()) { + if (!getSelfLink().equals(other.getSelfLink())) return false; + } + if (hasSelfLinkWithId() != other.hasSelfLinkWithId()) return false; + if (hasSelfLinkWithId()) { + if (!getSelfLinkWithId().equals(other.getSelfLinkWithId())) return false; + } + if (!getSupportedDiskTypesList().equals(other.getSupportedDiskTypesList())) return false; + if (hasZone() != other.hasZone()) return false; + if (hasZone()) { + if (!getZone().equals(other.getZone())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasCreationTimestamp()) { + hash = (37 * hash) + CREATION_TIMESTAMP_FIELD_NUMBER; + hash = (53 * hash) + getCreationTimestamp().hashCode(); + } + if (hasDeprecated()) { + hash = (37 * hash) + DEPRECATED_FIELD_NUMBER; + hash = (53 * hash) + getDeprecated().hashCode(); + } + if (hasDescription()) { + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + } + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getId()); + } + if (hasKind()) { + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + } + if (hasMaxPoolProvisionedCapacityGb()) { + hash = (37 * hash) + MAX_POOL_PROVISIONED_CAPACITY_GB_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxPoolProvisionedCapacityGb()); + } + if (hasMaxPoolProvisionedIops()) { + hash = (37 * hash) + MAX_POOL_PROVISIONED_IOPS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxPoolProvisionedIops()); + } + if (hasMaxPoolProvisionedThroughput()) { + hash = (37 * hash) + MAX_POOL_PROVISIONED_THROUGHPUT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxPoolProvisionedThroughput()); + } + if (hasMinPoolProvisionedCapacityGb()) { + hash = (37 * hash) + MIN_POOL_PROVISIONED_CAPACITY_GB_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMinPoolProvisionedCapacityGb()); + } + if (hasMinPoolProvisionedIops()) { + hash = (37 * hash) + MIN_POOL_PROVISIONED_IOPS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMinPoolProvisionedIops()); + } + if (hasMinPoolProvisionedThroughput()) { + hash = (37 * hash) + MIN_POOL_PROVISIONED_THROUGHPUT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMinPoolProvisionedThroughput()); + } + if (hasMinSizeGb()) { + hash = (37 * hash) + MIN_SIZE_GB_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMinSizeGb()); + } + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + if (hasSelfLink()) { + hash = (37 * hash) + SELF_LINK_FIELD_NUMBER; + hash = (53 * hash) + getSelfLink().hashCode(); + } + if (hasSelfLinkWithId()) { + hash = (37 * hash) + SELF_LINK_WITH_ID_FIELD_NUMBER; + hash = (53 * hash) + getSelfLinkWithId().hashCode(); + } + if (getSupportedDiskTypesCount() > 0) { + hash = (37 * hash) + SUPPORTED_DISK_TYPES_FIELD_NUMBER; + hash = (53 * hash) + getSupportedDiskTypesList().hashCode(); + } + if (hasZone()) { + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.StoragePoolType parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolType parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolType parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolType parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolType parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolType parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolType parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolType parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolType parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolType parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolType parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolType parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.compute.v1.StoragePoolType prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolType} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.StoragePoolType) + com.google.cloud.compute.v1.StoragePoolTypeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolType_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolType_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolType.class, + com.google.cloud.compute.v1.StoragePoolType.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.StoragePoolType.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getDeprecatedFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + creationTimestamp_ = ""; + deprecated_ = null; + if (deprecatedBuilder_ != null) { + deprecatedBuilder_.dispose(); + deprecatedBuilder_ = null; + } + description_ = ""; + id_ = 0L; + kind_ = ""; + maxPoolProvisionedCapacityGb_ = 0L; + maxPoolProvisionedIops_ = 0L; + maxPoolProvisionedThroughput_ = 0L; + minPoolProvisionedCapacityGb_ = 0L; + minPoolProvisionedIops_ = 0L; + minPoolProvisionedThroughput_ = 0L; + minSizeGb_ = 0L; + name_ = ""; + selfLink_ = ""; + selfLinkWithId_ = ""; + supportedDiskTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolType_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolType getDefaultInstanceForType() { + return com.google.cloud.compute.v1.StoragePoolType.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolType build() { + com.google.cloud.compute.v1.StoragePoolType result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolType buildPartial() { + com.google.cloud.compute.v1.StoragePoolType result = + new com.google.cloud.compute.v1.StoragePoolType(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.StoragePoolType result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.creationTimestamp_ = creationTimestamp_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.deprecated_ = deprecatedBuilder_ == null ? deprecated_ : deprecatedBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.description_ = description_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.id_ = id_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.kind_ = kind_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.maxPoolProvisionedCapacityGb_ = maxPoolProvisionedCapacityGb_; + to_bitField0_ |= 0x00000020; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.maxPoolProvisionedIops_ = maxPoolProvisionedIops_; + to_bitField0_ |= 0x00000040; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.maxPoolProvisionedThroughput_ = maxPoolProvisionedThroughput_; + to_bitField0_ |= 0x00000080; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.minPoolProvisionedCapacityGb_ = minPoolProvisionedCapacityGb_; + to_bitField0_ |= 0x00000100; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.minPoolProvisionedIops_ = minPoolProvisionedIops_; + to_bitField0_ |= 0x00000200; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.minPoolProvisionedThroughput_ = minPoolProvisionedThroughput_; + to_bitField0_ |= 0x00000400; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.minSizeGb_ = minSizeGb_; + to_bitField0_ |= 0x00000800; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.name_ = name_; + to_bitField0_ |= 0x00001000; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.selfLink_ = selfLink_; + to_bitField0_ |= 0x00002000; + } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.selfLinkWithId_ = selfLinkWithId_; + to_bitField0_ |= 0x00004000; + } + if (((from_bitField0_ & 0x00008000) != 0)) { + supportedDiskTypes_.makeImmutable(); + result.supportedDiskTypes_ = supportedDiskTypes_; + } + if (((from_bitField0_ & 0x00010000) != 0)) { + result.zone_ = zone_; + to_bitField0_ |= 0x00008000; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.StoragePoolType) { + return mergeFrom((com.google.cloud.compute.v1.StoragePoolType) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.StoragePoolType other) { + if (other == com.google.cloud.compute.v1.StoragePoolType.getDefaultInstance()) return this; + if (other.hasCreationTimestamp()) { + creationTimestamp_ = other.creationTimestamp_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasDeprecated()) { + mergeDeprecated(other.getDeprecated()); + } + if (other.hasDescription()) { + description_ = other.description_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasId()) { + setId(other.getId()); + } + if (other.hasKind()) { + kind_ = other.kind_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.hasMaxPoolProvisionedCapacityGb()) { + setMaxPoolProvisionedCapacityGb(other.getMaxPoolProvisionedCapacityGb()); + } + if (other.hasMaxPoolProvisionedIops()) { + setMaxPoolProvisionedIops(other.getMaxPoolProvisionedIops()); + } + if (other.hasMaxPoolProvisionedThroughput()) { + setMaxPoolProvisionedThroughput(other.getMaxPoolProvisionedThroughput()); + } + if (other.hasMinPoolProvisionedCapacityGb()) { + setMinPoolProvisionedCapacityGb(other.getMinPoolProvisionedCapacityGb()); + } + if (other.hasMinPoolProvisionedIops()) { + setMinPoolProvisionedIops(other.getMinPoolProvisionedIops()); + } + if (other.hasMinPoolProvisionedThroughput()) { + setMinPoolProvisionedThroughput(other.getMinPoolProvisionedThroughput()); + } + if (other.hasMinSizeGb()) { + setMinSizeGb(other.getMinSizeGb()); + } + if (other.hasName()) { + name_ = other.name_; + bitField0_ |= 0x00001000; + onChanged(); + } + if (other.hasSelfLink()) { + selfLink_ = other.selfLink_; + bitField0_ |= 0x00002000; + onChanged(); + } + if (other.hasSelfLinkWithId()) { + selfLinkWithId_ = other.selfLinkWithId_; + bitField0_ |= 0x00004000; + onChanged(); + } + if (!other.supportedDiskTypes_.isEmpty()) { + if (supportedDiskTypes_.isEmpty()) { + supportedDiskTypes_ = other.supportedDiskTypes_; + bitField0_ |= 0x00008000; + } else { + ensureSupportedDiskTypesIsMutable(); + supportedDiskTypes_.addAll(other.supportedDiskTypes_); + } + onChanged(); + } + if (other.hasZone()) { + zone_ = other.zone_; + bitField0_ |= 0x00010000; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26840: + { + id_ = input.readUInt64(); + bitField0_ |= 0x00000008; + break; + } // case 26840 + case 26336418: + { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 26336418 + case 26989658: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 26989658 + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00010000; + break; + } // case 29957474 + case 244202930: + { + creationTimestamp_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 244202930 + case 356167698: + { + selfLinkWithId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00004000; + break; + } // case 356167698 + case 1204698178: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureSupportedDiskTypesIsMutable(); + supportedDiskTypes_.add(s); + break; + } // case 1204698178 + case 1457112680: + { + maxPoolProvisionedCapacityGb_ = input.readInt64(); + bitField0_ |= 0x00000020; + break; + } // case 1457112680 + case 1528182008: + { + minPoolProvisionedCapacityGb_ = input.readInt64(); + bitField0_ |= 0x00000100; + break; + } // case 1528182008 + case 1831424488: + { + maxPoolProvisionedThroughput_ = input.readInt64(); + bitField0_ |= 0x00000080; + break; + } // case 1831424488 + case -1352871592: + { + minPoolProvisionedThroughput_ = input.readInt64(); + bitField0_ |= 0x00000400; + break; + } // case -1352871592 + case -1212741792: + { + minSizeGb_ = input.readInt64(); + bitField0_ |= 0x00000800; + break; + } // case -1212741792 + case -963177648: + { + minPoolProvisionedIops_ = input.readInt64(); + bitField0_ |= 0x00000200; + break; + } // case -963177648 + case -911466526: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case -911466526 + case -645248918: + { + selfLink_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case -645248918 + case -173855334: + { + input.readMessage(getDeprecatedFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case -173855334 + case -172802080: + { + maxPoolProvisionedIops_ = input.readInt64(); + bitField0_ |= 0x00000040; + break; + } // case -172802080 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object creationTimestamp_ = ""; + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return Whether the creationTimestamp field is set. + */ + public boolean hasCreationTimestamp() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The creationTimestamp. + */ + public java.lang.String getCreationTimestamp() { + java.lang.Object ref = creationTimestamp_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + creationTimestamp_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The bytes for creationTimestamp. + */ + public com.google.protobuf.ByteString getCreationTimestampBytes() { + java.lang.Object ref = creationTimestamp_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + creationTimestamp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @param value The creationTimestamp to set. + * @return This builder for chaining. + */ + public Builder setCreationTimestamp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + creationTimestamp_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return This builder for chaining. + */ + public Builder clearCreationTimestamp() { + creationTimestamp_ = getDefaultInstance().getCreationTimestamp(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @param value The bytes for creationTimestamp to set. + * @return This builder for chaining. + */ + public Builder setCreationTimestampBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + creationTimestamp_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.DeprecationStatus deprecated_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.DeprecationStatus, + com.google.cloud.compute.v1.DeprecationStatus.Builder, + com.google.cloud.compute.v1.DeprecationStatusOrBuilder> + deprecatedBuilder_; + /** + * + * + *
+     * [Output Only] The deprecation status associated with this storage pool type.
+     * 
+ * + * optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; + * + * @return Whether the deprecated field is set. + */ + public boolean hasDeprecated() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * [Output Only] The deprecation status associated with this storage pool type.
+     * 
+ * + * optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; + * + * @return The deprecated. + */ + public com.google.cloud.compute.v1.DeprecationStatus getDeprecated() { + if (deprecatedBuilder_ == null) { + return deprecated_ == null + ? com.google.cloud.compute.v1.DeprecationStatus.getDefaultInstance() + : deprecated_; + } else { + return deprecatedBuilder_.getMessage(); + } + } + /** + * + * + *
+     * [Output Only] The deprecation status associated with this storage pool type.
+     * 
+ * + * optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; + */ + public Builder setDeprecated(com.google.cloud.compute.v1.DeprecationStatus value) { + if (deprecatedBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + deprecated_ = value; + } else { + deprecatedBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The deprecation status associated with this storage pool type.
+     * 
+ * + * optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; + */ + public Builder setDeprecated( + com.google.cloud.compute.v1.DeprecationStatus.Builder builderForValue) { + if (deprecatedBuilder_ == null) { + deprecated_ = builderForValue.build(); + } else { + deprecatedBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The deprecation status associated with this storage pool type.
+     * 
+ * + * optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; + */ + public Builder mergeDeprecated(com.google.cloud.compute.v1.DeprecationStatus value) { + if (deprecatedBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && deprecated_ != null + && deprecated_ != com.google.cloud.compute.v1.DeprecationStatus.getDefaultInstance()) { + getDeprecatedBuilder().mergeFrom(value); + } else { + deprecated_ = value; + } + } else { + deprecatedBuilder_.mergeFrom(value); + } + if (deprecated_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * + * + *
+     * [Output Only] The deprecation status associated with this storage pool type.
+     * 
+ * + * optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; + */ + public Builder clearDeprecated() { + bitField0_ = (bitField0_ & ~0x00000002); + deprecated_ = null; + if (deprecatedBuilder_ != null) { + deprecatedBuilder_.dispose(); + deprecatedBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The deprecation status associated with this storage pool type.
+     * 
+ * + * optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; + */ + public com.google.cloud.compute.v1.DeprecationStatus.Builder getDeprecatedBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getDeprecatedFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * [Output Only] The deprecation status associated with this storage pool type.
+     * 
+ * + * optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; + */ + public com.google.cloud.compute.v1.DeprecationStatusOrBuilder getDeprecatedOrBuilder() { + if (deprecatedBuilder_ != null) { + return deprecatedBuilder_.getMessageOrBuilder(); + } else { + return deprecated_ == null + ? com.google.cloud.compute.v1.DeprecationStatus.getDefaultInstance() + : deprecated_; + } + } + /** + * + * + *
+     * [Output Only] The deprecation status associated with this storage pool type.
+     * 
+ * + * optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.DeprecationStatus, + com.google.cloud.compute.v1.DeprecationStatus.Builder, + com.google.cloud.compute.v1.DeprecationStatusOrBuilder> + getDeprecatedFieldBuilder() { + if (deprecatedBuilder_ == null) { + deprecatedBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.DeprecationStatus, + com.google.cloud.compute.v1.DeprecationStatus.Builder, + com.google.cloud.compute.v1.DeprecationStatusOrBuilder>( + getDeprecated(), getParentForChildren(), isClean()); + deprecated_ = null; + } + return deprecatedBuilder_; + } + + private java.lang.Object description_ = ""; + /** + * + * + *
+     * [Output Only] An optional description of this resource.
+     * 
+ * + * optional string description = 422937596; + * + * @return Whether the description field is set. + */ + public boolean hasDescription() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * [Output Only] An optional description of this resource.
+     * 
+ * + * optional string description = 422937596; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] An optional description of this resource.
+     * 
+ * + * optional string description = 422937596; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] An optional description of this resource.
+     * 
+ * + * optional string description = 422937596; + * + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + description_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] An optional description of this resource.
+     * 
+ * + * optional string description = 422937596; + * + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] An optional description of this resource.
+     * 
+ * + * optional string description = 422937596; + * + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private long id_; + /** + * + * + *
+     * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+     * 
+ * + * optional uint64 id = 3355; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+     * 
+ * + * optional uint64 id = 3355; + * + * @return The id. + */ + @java.lang.Override + public long getId() { + return id_; + } + /** + * + * + *
+     * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+     * 
+ * + * optional uint64 id = 3355; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(long value) { + + id_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+     * 
+ * + * optional uint64 id = 3355; + * + * @return This builder for chaining. + */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000008); + id_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object kind_ = ""; + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#storagePoolType for storage pool types.
+     * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + public boolean hasKind() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#storagePoolType for storage pool types.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#storagePoolType for storage pool types.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#storagePoolType for storage pool types.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + kind_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#storagePoolType for storage pool types.
+     * 
+ * + * optional string kind = 3292052; + * + * @return This builder for chaining. + */ + public Builder clearKind() { + kind_ = getDefaultInstance().getKind(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of the resource. Always compute#storagePoolType for storage pool types.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private long maxPoolProvisionedCapacityGb_; + /** + * + * + *
+     * [Output Only] Maximum storage pool size in GB.
+     * 
+ * + * optional int64 max_pool_provisioned_capacity_gb = 182139085; + * + * @return Whether the maxPoolProvisionedCapacityGb field is set. + */ + @java.lang.Override + public boolean hasMaxPoolProvisionedCapacityGb() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * [Output Only] Maximum storage pool size in GB.
+     * 
+ * + * optional int64 max_pool_provisioned_capacity_gb = 182139085; + * + * @return The maxPoolProvisionedCapacityGb. + */ + @java.lang.Override + public long getMaxPoolProvisionedCapacityGb() { + return maxPoolProvisionedCapacityGb_; + } + /** + * + * + *
+     * [Output Only] Maximum storage pool size in GB.
+     * 
+ * + * optional int64 max_pool_provisioned_capacity_gb = 182139085; + * + * @param value The maxPoolProvisionedCapacityGb to set. + * @return This builder for chaining. + */ + public Builder setMaxPoolProvisionedCapacityGb(long value) { + + maxPoolProvisionedCapacityGb_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Maximum storage pool size in GB.
+     * 
+ * + * optional int64 max_pool_provisioned_capacity_gb = 182139085; + * + * @return This builder for chaining. + */ + public Builder clearMaxPoolProvisionedCapacityGb() { + bitField0_ = (bitField0_ & ~0x00000020); + maxPoolProvisionedCapacityGb_ = 0L; + onChanged(); + return this; + } + + private long maxPoolProvisionedIops_; + /** + * + * + *
+     * [Output Only] Maximum provisioned IOPS.
+     * 
+ * + * optional int64 max_pool_provisioned_iops = 515270652; + * + * @return Whether the maxPoolProvisionedIops field is set. + */ + @java.lang.Override + public boolean hasMaxPoolProvisionedIops() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+     * [Output Only] Maximum provisioned IOPS.
+     * 
+ * + * optional int64 max_pool_provisioned_iops = 515270652; + * + * @return The maxPoolProvisionedIops. + */ + @java.lang.Override + public long getMaxPoolProvisionedIops() { + return maxPoolProvisionedIops_; + } + /** + * + * + *
+     * [Output Only] Maximum provisioned IOPS.
+     * 
+ * + * optional int64 max_pool_provisioned_iops = 515270652; + * + * @param value The maxPoolProvisionedIops to set. + * @return This builder for chaining. + */ + public Builder setMaxPoolProvisionedIops(long value) { + + maxPoolProvisionedIops_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Maximum provisioned IOPS.
+     * 
+ * + * optional int64 max_pool_provisioned_iops = 515270652; + * + * @return This builder for chaining. + */ + public Builder clearMaxPoolProvisionedIops() { + bitField0_ = (bitField0_ & ~0x00000040); + maxPoolProvisionedIops_ = 0L; + onChanged(); + return this; + } + + private long maxPoolProvisionedThroughput_; + /** + * + * + *
+     * [Output Only] Maximum provisioned throughput.
+     * 
+ * + * optional int64 max_pool_provisioned_throughput = 228928061; + * + * @return Whether the maxPoolProvisionedThroughput field is set. + */ + @java.lang.Override + public boolean hasMaxPoolProvisionedThroughput() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+     * [Output Only] Maximum provisioned throughput.
+     * 
+ * + * optional int64 max_pool_provisioned_throughput = 228928061; + * + * @return The maxPoolProvisionedThroughput. + */ + @java.lang.Override + public long getMaxPoolProvisionedThroughput() { + return maxPoolProvisionedThroughput_; + } + /** + * + * + *
+     * [Output Only] Maximum provisioned throughput.
+     * 
+ * + * optional int64 max_pool_provisioned_throughput = 228928061; + * + * @param value The maxPoolProvisionedThroughput to set. + * @return This builder for chaining. + */ + public Builder setMaxPoolProvisionedThroughput(long value) { + + maxPoolProvisionedThroughput_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Maximum provisioned throughput.
+     * 
+ * + * optional int64 max_pool_provisioned_throughput = 228928061; + * + * @return This builder for chaining. + */ + public Builder clearMaxPoolProvisionedThroughput() { + bitField0_ = (bitField0_ & ~0x00000080); + maxPoolProvisionedThroughput_ = 0L; + onChanged(); + return this; + } + + private long minPoolProvisionedCapacityGb_; + /** + * + * + *
+     * [Output Only] Minimum storage pool size in GB.
+     * 
+ * + * optional int64 min_pool_provisioned_capacity_gb = 191022751; + * + * @return Whether the minPoolProvisionedCapacityGb field is set. + */ + @java.lang.Override + public boolean hasMinPoolProvisionedCapacityGb() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+     * [Output Only] Minimum storage pool size in GB.
+     * 
+ * + * optional int64 min_pool_provisioned_capacity_gb = 191022751; + * + * @return The minPoolProvisionedCapacityGb. + */ + @java.lang.Override + public long getMinPoolProvisionedCapacityGb() { + return minPoolProvisionedCapacityGb_; + } + /** + * + * + *
+     * [Output Only] Minimum storage pool size in GB.
+     * 
+ * + * optional int64 min_pool_provisioned_capacity_gb = 191022751; + * + * @param value The minPoolProvisionedCapacityGb to set. + * @return This builder for chaining. + */ + public Builder setMinPoolProvisionedCapacityGb(long value) { + + minPoolProvisionedCapacityGb_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Minimum storage pool size in GB.
+     * 
+ * + * optional int64 min_pool_provisioned_capacity_gb = 191022751; + * + * @return This builder for chaining. + */ + public Builder clearMinPoolProvisionedCapacityGb() { + bitField0_ = (bitField0_ & ~0x00000100); + minPoolProvisionedCapacityGb_ = 0L; + onChanged(); + return this; + } + + private long minPoolProvisionedIops_; + /** + * + * + *
+     * [Output Only] Minimum provisioned IOPS.
+     * 
+ * + * optional int64 min_pool_provisioned_iops = 416473706; + * + * @return Whether the minPoolProvisionedIops field is set. + */ + @java.lang.Override + public boolean hasMinPoolProvisionedIops() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+     * [Output Only] Minimum provisioned IOPS.
+     * 
+ * + * optional int64 min_pool_provisioned_iops = 416473706; + * + * @return The minPoolProvisionedIops. + */ + @java.lang.Override + public long getMinPoolProvisionedIops() { + return minPoolProvisionedIops_; + } + /** + * + * + *
+     * [Output Only] Minimum provisioned IOPS.
+     * 
+ * + * optional int64 min_pool_provisioned_iops = 416473706; + * + * @param value The minPoolProvisionedIops to set. + * @return This builder for chaining. + */ + public Builder setMinPoolProvisionedIops(long value) { + + minPoolProvisionedIops_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Minimum provisioned IOPS.
+     * 
+ * + * optional int64 min_pool_provisioned_iops = 416473706; + * + * @return This builder for chaining. + */ + public Builder clearMinPoolProvisionedIops() { + bitField0_ = (bitField0_ & ~0x00000200); + minPoolProvisionedIops_ = 0L; + onChanged(); + return this; + } + + private long minPoolProvisionedThroughput_; + /** + * + * + *
+     * [Output Only] Minimum provisioned throughput.
+     * 
+ * + * optional int64 min_pool_provisioned_throughput = 367761963; + * + * @return Whether the minPoolProvisionedThroughput field is set. + */ + @java.lang.Override + public boolean hasMinPoolProvisionedThroughput() { + return ((bitField0_ & 0x00000400) != 0); + } + /** + * + * + *
+     * [Output Only] Minimum provisioned throughput.
+     * 
+ * + * optional int64 min_pool_provisioned_throughput = 367761963; + * + * @return The minPoolProvisionedThroughput. + */ + @java.lang.Override + public long getMinPoolProvisionedThroughput() { + return minPoolProvisionedThroughput_; + } + /** + * + * + *
+     * [Output Only] Minimum provisioned throughput.
+     * 
+ * + * optional int64 min_pool_provisioned_throughput = 367761963; + * + * @param value The minPoolProvisionedThroughput to set. + * @return This builder for chaining. + */ + public Builder setMinPoolProvisionedThroughput(long value) { + + minPoolProvisionedThroughput_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Minimum provisioned throughput.
+     * 
+ * + * optional int64 min_pool_provisioned_throughput = 367761963; + * + * @return This builder for chaining. + */ + public Builder clearMinPoolProvisionedThroughput() { + bitField0_ = (bitField0_ & ~0x00000400); + minPoolProvisionedThroughput_ = 0L; + onChanged(); + return this; + } + + private long minSizeGb_; + /** + * + * + *
+     * [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb instead.
+     * 
+ * + * optional int64 min_size_gb = 385278188; + * + * @return Whether the minSizeGb field is set. + */ + @java.lang.Override + public boolean hasMinSizeGb() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + * + * + *
+     * [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb instead.
+     * 
+ * + * optional int64 min_size_gb = 385278188; + * + * @return The minSizeGb. + */ + @java.lang.Override + public long getMinSizeGb() { + return minSizeGb_; + } + /** + * + * + *
+     * [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb instead.
+     * 
+ * + * optional int64 min_size_gb = 385278188; + * + * @param value The minSizeGb to set. + * @return This builder for chaining. + */ + public Builder setMinSizeGb(long value) { + + minSizeGb_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * + * + *
+     * [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb instead.
+     * 
+ * + * optional int64 min_size_gb = 385278188; + * + * @return This builder for chaining. + */ + public Builder clearMinSizeGb() { + bitField0_ = (bitField0_ & ~0x00000800); + minSizeGb_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * [Output Only] Name of the resource.
+     * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return ((bitField0_ & 0x00001000) != 0); + } + /** + * + * + *
+     * [Output Only] Name of the resource.
+     * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Name of the resource.
+     * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Name of the resource.
+     * 
+ * + * optional string name = 3373707; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Name of the resource.
+     * 
+ * + * optional string name = 3373707; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00001000); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Name of the resource.
+     * 
+ * + * optional string name = 3373707; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + + private java.lang.Object selfLink_ = ""; + /** + * + * + *
+     * [Output Only] Server-defined URL for the resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + public boolean hasSelfLink() { + return ((bitField0_ & 0x00002000) != 0); + } + /** + * + * + *
+     * [Output Only] Server-defined URL for the resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + selfLink_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for the resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + public com.google.protobuf.ByteString getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for the resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @param value The selfLink to set. + * @return This builder for chaining. + */ + public Builder setSelfLink(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + selfLink_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for the resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return This builder for chaining. + */ + public Builder clearSelfLink() { + selfLink_ = getDefaultInstance().getSelfLink(); + bitField0_ = (bitField0_ & ~0x00002000); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for the resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @param value The bytes for selfLink to set. + * @return This builder for chaining. + */ + public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + + private java.lang.Object selfLinkWithId_ = ""; + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource with the resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return Whether the selfLinkWithId field is set. + */ + public boolean hasSelfLinkWithId() { + return ((bitField0_ & 0x00004000) != 0); + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource with the resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The selfLinkWithId. + */ + public java.lang.String getSelfLinkWithId() { + java.lang.Object ref = selfLinkWithId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + selfLinkWithId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource with the resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The bytes for selfLinkWithId. + */ + public com.google.protobuf.ByteString getSelfLinkWithIdBytes() { + java.lang.Object ref = selfLinkWithId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLinkWithId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource with the resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @param value The selfLinkWithId to set. + * @return This builder for chaining. + */ + public Builder setSelfLinkWithId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + selfLinkWithId_ = value; + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource with the resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return This builder for chaining. + */ + public Builder clearSelfLinkWithId() { + selfLinkWithId_ = getDefaultInstance().getSelfLinkWithId(); + bitField0_ = (bitField0_ & ~0x00004000); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource with the resource id.
+     * 
+ * + * optional string self_link_with_id = 44520962; + * + * @param value The bytes for selfLinkWithId to set. + * @return This builder for chaining. + */ + public Builder setSelfLinkWithIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLinkWithId_ = value; + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList supportedDiskTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureSupportedDiskTypesIsMutable() { + if (!supportedDiskTypes_.isModifiable()) { + supportedDiskTypes_ = new com.google.protobuf.LazyStringArrayList(supportedDiskTypes_); + } + bitField0_ |= 0x00008000; + } + /** + * + * + *
+     * [Output Only] The list of disk types supported in this storage pool type.
+     * 
+ * + * repeated string supported_disk_types = 150587272; + * + * @return A list containing the supportedDiskTypes. + */ + public com.google.protobuf.ProtocolStringList getSupportedDiskTypesList() { + supportedDiskTypes_.makeImmutable(); + return supportedDiskTypes_; + } + /** + * + * + *
+     * [Output Only] The list of disk types supported in this storage pool type.
+     * 
+ * + * repeated string supported_disk_types = 150587272; + * + * @return The count of supportedDiskTypes. + */ + public int getSupportedDiskTypesCount() { + return supportedDiskTypes_.size(); + } + /** + * + * + *
+     * [Output Only] The list of disk types supported in this storage pool type.
+     * 
+ * + * repeated string supported_disk_types = 150587272; + * + * @param index The index of the element to return. + * @return The supportedDiskTypes at the given index. + */ + public java.lang.String getSupportedDiskTypes(int index) { + return supportedDiskTypes_.get(index); + } + /** + * + * + *
+     * [Output Only] The list of disk types supported in this storage pool type.
+     * 
+ * + * repeated string supported_disk_types = 150587272; + * + * @param index The index of the value to return. + * @return The bytes of the supportedDiskTypes at the given index. + */ + public com.google.protobuf.ByteString getSupportedDiskTypesBytes(int index) { + return supportedDiskTypes_.getByteString(index); + } + /** + * + * + *
+     * [Output Only] The list of disk types supported in this storage pool type.
+     * 
+ * + * repeated string supported_disk_types = 150587272; + * + * @param index The index to set the value at. + * @param value The supportedDiskTypes to set. + * @return This builder for chaining. + */ + public Builder setSupportedDiskTypes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureSupportedDiskTypesIsMutable(); + supportedDiskTypes_.set(index, value); + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The list of disk types supported in this storage pool type.
+     * 
+ * + * repeated string supported_disk_types = 150587272; + * + * @param value The supportedDiskTypes to add. + * @return This builder for chaining. + */ + public Builder addSupportedDiskTypes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureSupportedDiskTypesIsMutable(); + supportedDiskTypes_.add(value); + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The list of disk types supported in this storage pool type.
+     * 
+ * + * repeated string supported_disk_types = 150587272; + * + * @param values The supportedDiskTypes to add. + * @return This builder for chaining. + */ + public Builder addAllSupportedDiskTypes(java.lang.Iterable values) { + ensureSupportedDiskTypesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, supportedDiskTypes_); + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The list of disk types supported in this storage pool type.
+     * 
+ * + * repeated string supported_disk_types = 150587272; + * + * @return This builder for chaining. + */ + public Builder clearSupportedDiskTypes() { + supportedDiskTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00008000); + ; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The list of disk types supported in this storage pool type.
+     * 
+ * + * repeated string supported_disk_types = 150587272; + * + * @param value The bytes of the supportedDiskTypes to add. + * @return This builder for chaining. + */ + public Builder addSupportedDiskTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureSupportedDiskTypesIsMutable(); + supportedDiskTypes_.add(value); + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * [Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+     * 
+ * + * optional string zone = 3744684; + * + * @return Whether the zone field is set. + */ + public boolean hasZone() { + return ((bitField0_ & 0x00010000) != 0); + } + /** + * + * + *
+     * [Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+     * 
+ * + * optional string zone = 3744684; + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+     * 
+ * + * optional string zone = 3744684; + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+     * 
+ * + * optional string zone = 3744684; + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+     * 
+ * + * optional string zone = 3744684; + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00010000); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+     * 
+ * + * optional string zone = 3744684; + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00010000; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.StoragePoolType) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.StoragePoolType) + private static final com.google.cloud.compute.v1.StoragePoolType DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.StoragePoolType(); + } + + public static com.google.cloud.compute.v1.StoragePoolType getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StoragePoolType parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolType getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypeAggregatedList.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypeAggregatedList.java new file mode 100644 index 000000000000..e121b8a0a282 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypeAggregatedList.java @@ -0,0 +1,2036 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolTypeAggregatedList} + */ +public final class StoragePoolTypeAggregatedList extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.StoragePoolTypeAggregatedList) + StoragePoolTypeAggregatedListOrBuilder { + private static final long serialVersionUID = 0L; + // Use StoragePoolTypeAggregatedList.newBuilder() to construct. + private StoragePoolTypeAggregatedList(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StoragePoolTypeAggregatedList() { + id_ = ""; + kind_ = ""; + nextPageToken_ = ""; + selfLink_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StoragePoolTypeAggregatedList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 100526016: + return internalGetItems(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolTypeAggregatedList.class, + com.google.cloud.compute.v1.StoragePoolTypeAggregatedList.Builder.class); + } + + private int bitField0_; + public static final int ID_FIELD_NUMBER = 3355; + + @SuppressWarnings("serial") + private volatile java.lang.Object id_ = ""; + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The id. + */ + @java.lang.Override + public java.lang.String getId() { + java.lang.Object ref = id_; + 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(); + id_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The bytes for id. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ITEMS_FIELD_NUMBER = 100526016; + + private static final class ItemsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.compute.v1.StoragePoolTypesScopedList> + defaultEntry = + com.google.protobuf.MapEntry + . + newDefaultInstance( + com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_ItemsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.compute.v1.StoragePoolTypesScopedList + .getDefaultInstance()); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.compute.v1.StoragePoolTypesScopedList> + items_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.compute.v1.StoragePoolTypesScopedList> + internalGetItems() { + if (items_ == null) { + return com.google.protobuf.MapField.emptyMapField(ItemsDefaultEntryHolder.defaultEntry); + } + return items_; + } + + public int getItemsCount() { + return internalGetItems().getMap().size(); + } + /** + * + * + *
+   * A list of StoragePoolTypesScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolTypesScopedList> items = 100526016; + * + */ + @java.lang.Override + public boolean containsItems(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetItems().getMap().containsKey(key); + } + /** Use {@link #getItemsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map + getItems() { + return getItemsMap(); + } + /** + * + * + *
+   * A list of StoragePoolTypesScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolTypesScopedList> items = 100526016; + * + */ + @java.lang.Override + public java.util.Map + getItemsMap() { + return internalGetItems().getMap(); + } + /** + * + * + *
+   * A list of StoragePoolTypesScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolTypesScopedList> items = 100526016; + * + */ + @java.lang.Override + public /* nullable */ com.google.cloud.compute.v1.StoragePoolTypesScopedList getItemsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.compute.v1.StoragePoolTypesScopedList defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetItems().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * A list of StoragePoolTypesScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolTypesScopedList> items = 100526016; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolTypesScopedList getItemsOrThrow( + java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetItems().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int KIND_FIELD_NUMBER = 3292052; + + @SuppressWarnings("serial") + private volatile java.lang.Object kind_ = ""; + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolTypeAggregatedList .
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + @java.lang.Override + public boolean hasKind() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolTypeAggregatedList .
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + 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(); + kind_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolTypeAggregatedList .
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 79797525; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return Whether the nextPageToken field is set. + */ + @java.lang.Override + public boolean hasNextPageToken() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + 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(); + nextPageToken_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SELF_LINK_FIELD_NUMBER = 456214797; + + @SuppressWarnings("serial") + private volatile java.lang.Object selfLink_ = ""; + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + @java.lang.Override + public boolean hasSelfLink() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + @java.lang.Override + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + 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(); + selfLink_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int WARNING_FIELD_NUMBER = 50704284; + private com.google.cloud.compute.v1.Warning warning_; + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + @java.lang.Override + public boolean hasWarning() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + @java.lang.Override + public com.google.cloud.compute.v1.Warning getWarning() { + return warning_ == null ? com.google.cloud.compute.v1.Warning.getDefaultInstance() : warning_; + } + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + @java.lang.Override + public com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder() { + return warning_ == null ? com.google.cloud.compute.v1.Warning.getDefaultInstance() : warning_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3355, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeMessage(50704284, getWarning()); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 79797525, nextPageToken_); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetItems(), ItemsDefaultEntryHolder.defaultEntry, 100526016); + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3355, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(50704284, getWarning()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(79797525, nextPageToken_); + } + for (java.util.Map.Entry< + java.lang.String, com.google.cloud.compute.v1.StoragePoolTypesScopedList> + entry : internalGetItems().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.compute.v1.StoragePoolTypesScopedList> + items__ = + ItemsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(100526016, items__); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.StoragePoolTypeAggregatedList)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.StoragePoolTypeAggregatedList other = + (com.google.cloud.compute.v1.StoragePoolTypeAggregatedList) obj; + + if (hasId() != other.hasId()) return false; + if (hasId()) { + if (!getId().equals(other.getId())) return false; + } + if (!internalGetItems().equals(other.internalGetItems())) return false; + if (hasKind() != other.hasKind()) return false; + if (hasKind()) { + if (!getKind().equals(other.getKind())) return false; + } + if (hasNextPageToken() != other.hasNextPageToken()) return false; + if (hasNextPageToken()) { + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + } + if (hasSelfLink() != other.hasSelfLink()) return false; + if (hasSelfLink()) { + if (!getSelfLink().equals(other.getSelfLink())) return false; + } + if (hasWarning() != other.hasWarning()) return false; + if (hasWarning()) { + if (!getWarning().equals(other.getWarning())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + } + if (!internalGetItems().getMap().isEmpty()) { + hash = (37 * hash) + ITEMS_FIELD_NUMBER; + hash = (53 * hash) + internalGetItems().hashCode(); + } + if (hasKind()) { + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + } + if (hasNextPageToken()) { + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + } + if (hasSelfLink()) { + hash = (37 * hash) + SELF_LINK_FIELD_NUMBER; + hash = (53 * hash) + getSelfLink().hashCode(); + } + if (hasWarning()) { + hash = (37 * hash) + WARNING_FIELD_NUMBER; + hash = (53 * hash) + getWarning().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.StoragePoolTypeAggregatedList parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeAggregatedList parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeAggregatedList parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeAggregatedList parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeAggregatedList parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeAggregatedList parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeAggregatedList parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeAggregatedList parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeAggregatedList parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeAggregatedList parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeAggregatedList parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeAggregatedList parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.StoragePoolTypeAggregatedList prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolTypeAggregatedList} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.StoragePoolTypeAggregatedList) + com.google.cloud.compute.v1.StoragePoolTypeAggregatedListOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 100526016: + return internalGetItems(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 100526016: + return internalGetMutableItems(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolTypeAggregatedList.class, + com.google.cloud.compute.v1.StoragePoolTypeAggregatedList.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.StoragePoolTypeAggregatedList.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getWarningFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + id_ = ""; + internalGetMutableItems().clear(); + kind_ = ""; + nextPageToken_ = ""; + selfLink_ = ""; + warning_ = null; + if (warningBuilder_ != null) { + warningBuilder_.dispose(); + warningBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolTypeAggregatedList_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolTypeAggregatedList getDefaultInstanceForType() { + return com.google.cloud.compute.v1.StoragePoolTypeAggregatedList.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolTypeAggregatedList build() { + com.google.cloud.compute.v1.StoragePoolTypeAggregatedList result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolTypeAggregatedList buildPartial() { + com.google.cloud.compute.v1.StoragePoolTypeAggregatedList result = + new com.google.cloud.compute.v1.StoragePoolTypeAggregatedList(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.StoragePoolTypeAggregatedList result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.id_ = id_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.items_ = internalGetItems().build(ItemsDefaultEntryHolder.defaultEntry); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.kind_ = kind_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.nextPageToken_ = nextPageToken_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.selfLink_ = selfLink_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.warning_ = warningBuilder_ == null ? warning_ : warningBuilder_.build(); + to_bitField0_ |= 0x00000010; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.StoragePoolTypeAggregatedList) { + return mergeFrom((com.google.cloud.compute.v1.StoragePoolTypeAggregatedList) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.StoragePoolTypeAggregatedList other) { + if (other == com.google.cloud.compute.v1.StoragePoolTypeAggregatedList.getDefaultInstance()) + return this; + if (other.hasId()) { + id_ = other.id_; + bitField0_ |= 0x00000001; + onChanged(); + } + internalGetMutableItems().mergeFrom(other.internalGetItems()); + bitField0_ |= 0x00000002; + if (other.hasKind()) { + kind_ = other.kind_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasNextPageToken()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasSelfLink()) { + selfLink_ = other.selfLink_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.hasWarning()) { + mergeWarning(other.getWarning()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26842: + { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 26842 + case 26336418: + { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26336418 + case 405634274: + { + input.readMessage(getWarningFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 405634274 + case 638380202: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 638380202 + case 804208130: + { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.compute.v1.StoragePoolTypesScopedList> + items__ = + input.readMessage( + ItemsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableItems() + .ensureBuilderMap() + .put(items__.getKey(), items__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 804208130 + case -645248918: + { + selfLink_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case -645248918 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object id_ = ""; + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return Whether the id field is set. + */ + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return The id. + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + id_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return The bytes for id. + */ + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + id_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return This builder for chaining. + */ + public Builder clearId() { + id_ = getDefaultInstance().getId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @param value The bytes for id to set. + * @return This builder for chaining. + */ + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private static final class ItemsConverter + implements com.google.protobuf.MapFieldBuilder.Converter< + java.lang.String, + com.google.cloud.compute.v1.StoragePoolTypesScopedListOrBuilder, + com.google.cloud.compute.v1.StoragePoolTypesScopedList> { + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolTypesScopedList build( + com.google.cloud.compute.v1.StoragePoolTypesScopedListOrBuilder val) { + if (val instanceof com.google.cloud.compute.v1.StoragePoolTypesScopedList) { + return (com.google.cloud.compute.v1.StoragePoolTypesScopedList) val; + } + return ((com.google.cloud.compute.v1.StoragePoolTypesScopedList.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.compute.v1.StoragePoolTypesScopedList> + defaultEntry() { + return ItemsDefaultEntryHolder.defaultEntry; + } + }; + + private static final ItemsConverter itemsConverter = new ItemsConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.compute.v1.StoragePoolTypesScopedListOrBuilder, + com.google.cloud.compute.v1.StoragePoolTypesScopedList, + com.google.cloud.compute.v1.StoragePoolTypesScopedList.Builder> + items_; + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.compute.v1.StoragePoolTypesScopedListOrBuilder, + com.google.cloud.compute.v1.StoragePoolTypesScopedList, + com.google.cloud.compute.v1.StoragePoolTypesScopedList.Builder> + internalGetItems() { + if (items_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(itemsConverter); + } + return items_; + } + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.compute.v1.StoragePoolTypesScopedListOrBuilder, + com.google.cloud.compute.v1.StoragePoolTypesScopedList, + com.google.cloud.compute.v1.StoragePoolTypesScopedList.Builder> + internalGetMutableItems() { + if (items_ == null) { + items_ = new com.google.protobuf.MapFieldBuilder<>(itemsConverter); + } + bitField0_ |= 0x00000002; + onChanged(); + return items_; + } + + public int getItemsCount() { + return internalGetItems().ensureBuilderMap().size(); + } + /** + * + * + *
+     * A list of StoragePoolTypesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.StoragePoolTypesScopedList> items = 100526016; + * + */ + @java.lang.Override + public boolean containsItems(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetItems().ensureBuilderMap().containsKey(key); + } + /** Use {@link #getItemsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map + getItems() { + return getItemsMap(); + } + /** + * + * + *
+     * A list of StoragePoolTypesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.StoragePoolTypesScopedList> items = 100526016; + * + */ + @java.lang.Override + public java.util.Map + getItemsMap() { + return internalGetItems().getImmutableMap(); + } + /** + * + * + *
+     * A list of StoragePoolTypesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.StoragePoolTypesScopedList> items = 100526016; + * + */ + @java.lang.Override + public /* nullable */ com.google.cloud.compute.v1.StoragePoolTypesScopedList getItemsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.compute.v1.StoragePoolTypesScopedList defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, com.google.cloud.compute.v1.StoragePoolTypesScopedListOrBuilder> + map = internalGetMutableItems().ensureBuilderMap(); + return map.containsKey(key) ? itemsConverter.build(map.get(key)) : defaultValue; + } + /** + * + * + *
+     * A list of StoragePoolTypesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.StoragePoolTypesScopedList> items = 100526016; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolTypesScopedList getItemsOrThrow( + java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, com.google.cloud.compute.v1.StoragePoolTypesScopedListOrBuilder> + map = internalGetMutableItems().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return itemsConverter.build(map.get(key)); + } + + public Builder clearItems() { + bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableItems().clear(); + return this; + } + /** + * + * + *
+     * A list of StoragePoolTypesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.StoragePoolTypesScopedList> items = 100526016; + * + */ + public Builder removeItems(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableItems().ensureBuilderMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map + getMutableItems() { + bitField0_ |= 0x00000002; + return internalGetMutableItems().ensureMessageMap(); + } + /** + * + * + *
+     * A list of StoragePoolTypesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.StoragePoolTypesScopedList> items = 100526016; + * + */ + public Builder putItems( + java.lang.String key, com.google.cloud.compute.v1.StoragePoolTypesScopedList value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableItems().ensureBuilderMap().put(key, value); + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+     * A list of StoragePoolTypesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.StoragePoolTypesScopedList> items = 100526016; + * + */ + public Builder putAllItems( + java.util.Map + values) { + for (java.util.Map.Entry< + java.lang.String, com.google.cloud.compute.v1.StoragePoolTypesScopedList> + e : values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableItems().ensureBuilderMap().putAll(values); + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+     * A list of StoragePoolTypesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.StoragePoolTypesScopedList> items = 100526016; + * + */ + public com.google.cloud.compute.v1.StoragePoolTypesScopedList.Builder putItemsBuilderIfAbsent( + java.lang.String key) { + java.util.Map< + java.lang.String, com.google.cloud.compute.v1.StoragePoolTypesScopedListOrBuilder> + builderMap = internalGetMutableItems().ensureBuilderMap(); + com.google.cloud.compute.v1.StoragePoolTypesScopedListOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.google.cloud.compute.v1.StoragePoolTypesScopedList.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.google.cloud.compute.v1.StoragePoolTypesScopedList) { + entry = ((com.google.cloud.compute.v1.StoragePoolTypesScopedList) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.google.cloud.compute.v1.StoragePoolTypesScopedList.Builder) entry; + } + + private java.lang.Object kind_ = ""; + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolTypeAggregatedList .
+     * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + public boolean hasKind() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolTypeAggregatedList .
+     * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolTypeAggregatedList .
+     * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolTypeAggregatedList .
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + kind_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolTypeAggregatedList .
+     * 
+ * + * optional string kind = 3292052; + * + * @return This builder for chaining. + */ + public Builder clearKind() { + kind_ = getDefaultInstance().getKind(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolTypeAggregatedList .
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return Whether the nextPageToken field is set. + */ + public boolean hasNextPageToken() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object selfLink_ = ""; + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + public boolean hasSelfLink() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + selfLink_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + public com.google.protobuf.ByteString getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @param value The selfLink to set. + * @return This builder for chaining. + */ + public Builder setSelfLink(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + selfLink_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return This builder for chaining. + */ + public Builder clearSelfLink() { + selfLink_ = getDefaultInstance().getSelfLink(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @param value The bytes for selfLink to set. + * @return This builder for chaining. + */ + public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.Warning warning_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder> + warningBuilder_; + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + public boolean hasWarning() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + public com.google.cloud.compute.v1.Warning getWarning() { + if (warningBuilder_ == null) { + return warning_ == null + ? com.google.cloud.compute.v1.Warning.getDefaultInstance() + : warning_; + } else { + return warningBuilder_.getMessage(); + } + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder setWarning(com.google.cloud.compute.v1.Warning value) { + if (warningBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + warning_ = value; + } else { + warningBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder setWarning(com.google.cloud.compute.v1.Warning.Builder builderForValue) { + if (warningBuilder_ == null) { + warning_ = builderForValue.build(); + } else { + warningBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder mergeWarning(com.google.cloud.compute.v1.Warning value) { + if (warningBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && warning_ != null + && warning_ != com.google.cloud.compute.v1.Warning.getDefaultInstance()) { + getWarningBuilder().mergeFrom(value); + } else { + warning_ = value; + } + } else { + warningBuilder_.mergeFrom(value); + } + if (warning_ != null) { + bitField0_ |= 0x00000020; + onChanged(); + } + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder clearWarning() { + bitField0_ = (bitField0_ & ~0x00000020); + warning_ = null; + if (warningBuilder_ != null) { + warningBuilder_.dispose(); + warningBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public com.google.cloud.compute.v1.Warning.Builder getWarningBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getWarningFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder() { + if (warningBuilder_ != null) { + return warningBuilder_.getMessageOrBuilder(); + } else { + return warning_ == null + ? com.google.cloud.compute.v1.Warning.getDefaultInstance() + : warning_; + } + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder> + getWarningFieldBuilder() { + if (warningBuilder_ == null) { + warningBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder>( + getWarning(), getParentForChildren(), isClean()); + warning_ = null; + } + return warningBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.StoragePoolTypeAggregatedList) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.StoragePoolTypeAggregatedList) + private static final com.google.cloud.compute.v1.StoragePoolTypeAggregatedList DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.StoragePoolTypeAggregatedList(); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeAggregatedList getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StoragePoolTypeAggregatedList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolTypeAggregatedList getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypeAggregatedListOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypeAggregatedListOrBuilder.java new file mode 100644 index 000000000000..e160a20507b9 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypeAggregatedListOrBuilder.java @@ -0,0 +1,274 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface StoragePoolTypeAggregatedListOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.StoragePoolTypeAggregatedList) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return Whether the id field is set. + */ + boolean hasId(); + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The id. + */ + java.lang.String getId(); + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The bytes for id. + */ + com.google.protobuf.ByteString getIdBytes(); + + /** + * + * + *
+   * A list of StoragePoolTypesScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolTypesScopedList> items = 100526016; + * + */ + int getItemsCount(); + /** + * + * + *
+   * A list of StoragePoolTypesScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolTypesScopedList> items = 100526016; + * + */ + boolean containsItems(java.lang.String key); + /** Use {@link #getItemsMap()} instead. */ + @java.lang.Deprecated + java.util.Map + getItems(); + /** + * + * + *
+   * A list of StoragePoolTypesScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolTypesScopedList> items = 100526016; + * + */ + java.util.Map + getItemsMap(); + /** + * + * + *
+   * A list of StoragePoolTypesScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolTypesScopedList> items = 100526016; + * + */ + /* nullable */ + com.google.cloud.compute.v1.StoragePoolTypesScopedList getItemsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.compute.v1.StoragePoolTypesScopedList defaultValue); + /** + * + * + *
+   * A list of StoragePoolTypesScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.StoragePoolTypesScopedList> items = 100526016; + * + */ + com.google.cloud.compute.v1.StoragePoolTypesScopedList getItemsOrThrow(java.lang.String key); + + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolTypeAggregatedList .
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + boolean hasKind(); + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolTypeAggregatedList .
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + java.lang.String getKind(); + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolTypeAggregatedList .
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + com.google.protobuf.ByteString getKindBytes(); + + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return Whether the nextPageToken field is set. + */ + boolean hasNextPageToken(); + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); + + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + boolean hasSelfLink(); + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + java.lang.String getSelfLink(); + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + com.google.protobuf.ByteString getSelfLinkBytes(); + + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + boolean hasWarning(); + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + com.google.cloud.compute.v1.Warning getWarning(); + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypeList.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypeList.java new file mode 100644 index 000000000000..059eb112bea3 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypeList.java @@ -0,0 +1,2080 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * Contains a list of storage pool types.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolTypeList} + */ +public final class StoragePoolTypeList extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.StoragePoolTypeList) + StoragePoolTypeListOrBuilder { + private static final long serialVersionUID = 0L; + // Use StoragePoolTypeList.newBuilder() to construct. + private StoragePoolTypeList(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StoragePoolTypeList() { + id_ = ""; + items_ = java.util.Collections.emptyList(); + kind_ = ""; + nextPageToken_ = ""; + selfLink_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StoragePoolTypeList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolTypeList_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolTypeList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolTypeList.class, + com.google.cloud.compute.v1.StoragePoolTypeList.Builder.class); + } + + private int bitField0_; + public static final int ID_FIELD_NUMBER = 3355; + + @SuppressWarnings("serial") + private volatile java.lang.Object id_ = ""; + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The id. + */ + @java.lang.Override + public java.lang.String getId() { + java.lang.Object ref = id_; + 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(); + id_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The bytes for id. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ITEMS_FIELD_NUMBER = 100526016; + + @SuppressWarnings("serial") + private java.util.List items_; + /** + * + * + *
+   * A list of StoragePoolType resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + @java.lang.Override + public java.util.List getItemsList() { + return items_; + } + /** + * + * + *
+   * A list of StoragePoolType resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + @java.lang.Override + public java.util.List + getItemsOrBuilderList() { + return items_; + } + /** + * + * + *
+   * A list of StoragePoolType resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + @java.lang.Override + public int getItemsCount() { + return items_.size(); + } + /** + * + * + *
+   * A list of StoragePoolType resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolType getItems(int index) { + return items_.get(index); + } + /** + * + * + *
+   * A list of StoragePoolType resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolTypeOrBuilder getItemsOrBuilder(int index) { + return items_.get(index); + } + + public static final int KIND_FIELD_NUMBER = 3292052; + + @SuppressWarnings("serial") + private volatile java.lang.Object kind_ = ""; + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolTypeList for storage pool types.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + @java.lang.Override + public boolean hasKind() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolTypeList for storage pool types.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + 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(); + kind_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolTypeList for storage pool types.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 79797525; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return Whether the nextPageToken field is set. + */ + @java.lang.Override + public boolean hasNextPageToken() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + 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(); + nextPageToken_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SELF_LINK_FIELD_NUMBER = 456214797; + + @SuppressWarnings("serial") + private volatile java.lang.Object selfLink_ = ""; + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + @java.lang.Override + public boolean hasSelfLink() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + @java.lang.Override + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + 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(); + selfLink_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int WARNING_FIELD_NUMBER = 50704284; + private com.google.cloud.compute.v1.Warning warning_; + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + @java.lang.Override + public boolean hasWarning() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + @java.lang.Override + public com.google.cloud.compute.v1.Warning getWarning() { + return warning_ == null ? com.google.cloud.compute.v1.Warning.getDefaultInstance() : warning_; + } + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + @java.lang.Override + public com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder() { + return warning_ == null ? com.google.cloud.compute.v1.Warning.getDefaultInstance() : warning_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3355, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeMessage(50704284, getWarning()); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 79797525, nextPageToken_); + } + for (int i = 0; i < items_.size(); i++) { + output.writeMessage(100526016, items_.get(i)); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3355, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(50704284, getWarning()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(79797525, nextPageToken_); + } + for (int i = 0; i < items_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(100526016, items_.get(i)); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.StoragePoolTypeList)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.StoragePoolTypeList other = + (com.google.cloud.compute.v1.StoragePoolTypeList) obj; + + if (hasId() != other.hasId()) return false; + if (hasId()) { + if (!getId().equals(other.getId())) return false; + } + if (!getItemsList().equals(other.getItemsList())) return false; + if (hasKind() != other.hasKind()) return false; + if (hasKind()) { + if (!getKind().equals(other.getKind())) return false; + } + if (hasNextPageToken() != other.hasNextPageToken()) return false; + if (hasNextPageToken()) { + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + } + if (hasSelfLink() != other.hasSelfLink()) return false; + if (hasSelfLink()) { + if (!getSelfLink().equals(other.getSelfLink())) return false; + } + if (hasWarning() != other.hasWarning()) return false; + if (hasWarning()) { + if (!getWarning().equals(other.getWarning())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + } + if (getItemsCount() > 0) { + hash = (37 * hash) + ITEMS_FIELD_NUMBER; + hash = (53 * hash) + getItemsList().hashCode(); + } + if (hasKind()) { + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + } + if (hasNextPageToken()) { + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + } + if (hasSelfLink()) { + hash = (37 * hash) + SELF_LINK_FIELD_NUMBER; + hash = (53 * hash) + getSelfLink().hashCode(); + } + if (hasWarning()) { + hash = (37 * hash) + WARNING_FIELD_NUMBER; + hash = (53 * hash) + getWarning().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.StoragePoolTypeList parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeList parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeList parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeList parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeList parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeList parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeList parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeList parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeList parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeList parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeList parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeList parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.compute.v1.StoragePoolTypeList prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Contains a list of storage pool types.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolTypeList} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.StoragePoolTypeList) + com.google.cloud.compute.v1.StoragePoolTypeListOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolTypeList_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolTypeList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolTypeList.class, + com.google.cloud.compute.v1.StoragePoolTypeList.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.StoragePoolTypeList.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getItemsFieldBuilder(); + getWarningFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + id_ = ""; + if (itemsBuilder_ == null) { + items_ = java.util.Collections.emptyList(); + } else { + items_ = null; + itemsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + kind_ = ""; + nextPageToken_ = ""; + selfLink_ = ""; + warning_ = null; + if (warningBuilder_ != null) { + warningBuilder_.dispose(); + warningBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolTypeList_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolTypeList getDefaultInstanceForType() { + return com.google.cloud.compute.v1.StoragePoolTypeList.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolTypeList build() { + com.google.cloud.compute.v1.StoragePoolTypeList result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolTypeList buildPartial() { + com.google.cloud.compute.v1.StoragePoolTypeList result = + new com.google.cloud.compute.v1.StoragePoolTypeList(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.compute.v1.StoragePoolTypeList result) { + if (itemsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + items_ = java.util.Collections.unmodifiableList(items_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.items_ = items_; + } else { + result.items_ = itemsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.compute.v1.StoragePoolTypeList result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.id_ = id_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.kind_ = kind_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.nextPageToken_ = nextPageToken_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.selfLink_ = selfLink_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.warning_ = warningBuilder_ == null ? warning_ : warningBuilder_.build(); + to_bitField0_ |= 0x00000010; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.StoragePoolTypeList) { + return mergeFrom((com.google.cloud.compute.v1.StoragePoolTypeList) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.StoragePoolTypeList other) { + if (other == com.google.cloud.compute.v1.StoragePoolTypeList.getDefaultInstance()) + return this; + if (other.hasId()) { + id_ = other.id_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (itemsBuilder_ == null) { + if (!other.items_.isEmpty()) { + if (items_.isEmpty()) { + items_ = other.items_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureItemsIsMutable(); + items_.addAll(other.items_); + } + onChanged(); + } + } else { + if (!other.items_.isEmpty()) { + if (itemsBuilder_.isEmpty()) { + itemsBuilder_.dispose(); + itemsBuilder_ = null; + items_ = other.items_; + bitField0_ = (bitField0_ & ~0x00000002); + itemsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getItemsFieldBuilder() + : null; + } else { + itemsBuilder_.addAllMessages(other.items_); + } + } + } + if (other.hasKind()) { + kind_ = other.kind_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasNextPageToken()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasSelfLink()) { + selfLink_ = other.selfLink_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.hasWarning()) { + mergeWarning(other.getWarning()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26842: + { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 26842 + case 26336418: + { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26336418 + case 405634274: + { + input.readMessage(getWarningFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 405634274 + case 638380202: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 638380202 + case 804208130: + { + com.google.cloud.compute.v1.StoragePoolType m = + input.readMessage( + com.google.cloud.compute.v1.StoragePoolType.parser(), extensionRegistry); + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.add(m); + } else { + itemsBuilder_.addMessage(m); + } + break; + } // case 804208130 + case -645248918: + { + selfLink_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case -645248918 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object id_ = ""; + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return Whether the id field is set. + */ + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return The id. + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + id_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return The bytes for id. + */ + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + id_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @return This builder for chaining. + */ + public Builder clearId() { + id_ = getDefaultInstance().getId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unique identifier for the resource; defined by the server.
+     * 
+ * + * optional string id = 3355; + * + * @param value The bytes for id to set. + * @return This builder for chaining. + */ + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.util.List items_ = + java.util.Collections.emptyList(); + + private void ensureItemsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + items_ = new java.util.ArrayList(items_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.StoragePoolType, + com.google.cloud.compute.v1.StoragePoolType.Builder, + com.google.cloud.compute.v1.StoragePoolTypeOrBuilder> + itemsBuilder_; + + /** + * + * + *
+     * A list of StoragePoolType resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + public java.util.List getItemsList() { + if (itemsBuilder_ == null) { + return java.util.Collections.unmodifiableList(items_); + } else { + return itemsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * A list of StoragePoolType resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + public int getItemsCount() { + if (itemsBuilder_ == null) { + return items_.size(); + } else { + return itemsBuilder_.getCount(); + } + } + /** + * + * + *
+     * A list of StoragePoolType resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + public com.google.cloud.compute.v1.StoragePoolType getItems(int index) { + if (itemsBuilder_ == null) { + return items_.get(index); + } else { + return itemsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * A list of StoragePoolType resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + public Builder setItems(int index, com.google.cloud.compute.v1.StoragePoolType value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemsIsMutable(); + items_.set(index, value); + onChanged(); + } else { + itemsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of StoragePoolType resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + public Builder setItems( + int index, com.google.cloud.compute.v1.StoragePoolType.Builder builderForValue) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.set(index, builderForValue.build()); + onChanged(); + } else { + itemsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of StoragePoolType resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + public Builder addItems(com.google.cloud.compute.v1.StoragePoolType value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemsIsMutable(); + items_.add(value); + onChanged(); + } else { + itemsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * A list of StoragePoolType resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + public Builder addItems(int index, com.google.cloud.compute.v1.StoragePoolType value) { + if (itemsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureItemsIsMutable(); + items_.add(index, value); + onChanged(); + } else { + itemsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of StoragePoolType resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + public Builder addItems(com.google.cloud.compute.v1.StoragePoolType.Builder builderForValue) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.add(builderForValue.build()); + onChanged(); + } else { + itemsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of StoragePoolType resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + public Builder addItems( + int index, com.google.cloud.compute.v1.StoragePoolType.Builder builderForValue) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.add(index, builderForValue.build()); + onChanged(); + } else { + itemsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of StoragePoolType resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + public Builder addAllItems( + java.lang.Iterable values) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, items_); + onChanged(); + } else { + itemsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * A list of StoragePoolType resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + public Builder clearItems() { + if (itemsBuilder_ == null) { + items_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + itemsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A list of StoragePoolType resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + public Builder removeItems(int index) { + if (itemsBuilder_ == null) { + ensureItemsIsMutable(); + items_.remove(index); + onChanged(); + } else { + itemsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * A list of StoragePoolType resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + public com.google.cloud.compute.v1.StoragePoolType.Builder getItemsBuilder(int index) { + return getItemsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * A list of StoragePoolType resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + public com.google.cloud.compute.v1.StoragePoolTypeOrBuilder getItemsOrBuilder(int index) { + if (itemsBuilder_ == null) { + return items_.get(index); + } else { + return itemsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * A list of StoragePoolType resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + public java.util.List + getItemsOrBuilderList() { + if (itemsBuilder_ != null) { + return itemsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(items_); + } + } + /** + * + * + *
+     * A list of StoragePoolType resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + public com.google.cloud.compute.v1.StoragePoolType.Builder addItemsBuilder() { + return getItemsFieldBuilder() + .addBuilder(com.google.cloud.compute.v1.StoragePoolType.getDefaultInstance()); + } + /** + * + * + *
+     * A list of StoragePoolType resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + public com.google.cloud.compute.v1.StoragePoolType.Builder addItemsBuilder(int index) { + return getItemsFieldBuilder() + .addBuilder(index, com.google.cloud.compute.v1.StoragePoolType.getDefaultInstance()); + } + /** + * + * + *
+     * A list of StoragePoolType resources.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + public java.util.List + getItemsBuilderList() { + return getItemsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.StoragePoolType, + com.google.cloud.compute.v1.StoragePoolType.Builder, + com.google.cloud.compute.v1.StoragePoolTypeOrBuilder> + getItemsFieldBuilder() { + if (itemsBuilder_ == null) { + itemsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.StoragePoolType, + com.google.cloud.compute.v1.StoragePoolType.Builder, + com.google.cloud.compute.v1.StoragePoolTypeOrBuilder>( + items_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + items_ = null; + } + return itemsBuilder_; + } + + private java.lang.Object kind_ = ""; + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolTypeList for storage pool types.
+     * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + public boolean hasKind() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolTypeList for storage pool types.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolTypeList for storage pool types.
+     * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolTypeList for storage pool types.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + kind_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolTypeList for storage pool types.
+     * 
+ * + * optional string kind = 3292052; + * + * @return This builder for chaining. + */ + public Builder clearKind() { + kind_ = getDefaultInstance().getKind(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#storagePoolTypeList for storage pool types.
+     * 
+ * + * optional string kind = 3292052; + * + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kind_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return Whether the nextPageToken field is set. + */ + public boolean hasNextPageToken() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+     * 
+ * + * optional string next_page_token = 79797525; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object selfLink_ = ""; + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + public boolean hasSelfLink() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + public java.lang.String getSelfLink() { + java.lang.Object ref = selfLink_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + selfLink_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + public com.google.protobuf.ByteString getSelfLinkBytes() { + java.lang.Object ref = selfLink_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + selfLink_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @param value The selfLink to set. + * @return This builder for chaining. + */ + public Builder setSelfLink(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + selfLink_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return This builder for chaining. + */ + public Builder clearSelfLink() { + selfLink_ = getDefaultInstance().getSelfLink(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @param value The bytes for selfLink to set. + * @return This builder for chaining. + */ + public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.Warning warning_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder> + warningBuilder_; + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + public boolean hasWarning() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + public com.google.cloud.compute.v1.Warning getWarning() { + if (warningBuilder_ == null) { + return warning_ == null + ? com.google.cloud.compute.v1.Warning.getDefaultInstance() + : warning_; + } else { + return warningBuilder_.getMessage(); + } + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder setWarning(com.google.cloud.compute.v1.Warning value) { + if (warningBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + warning_ = value; + } else { + warningBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder setWarning(com.google.cloud.compute.v1.Warning.Builder builderForValue) { + if (warningBuilder_ == null) { + warning_ = builderForValue.build(); + } else { + warningBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder mergeWarning(com.google.cloud.compute.v1.Warning value) { + if (warningBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && warning_ != null + && warning_ != com.google.cloud.compute.v1.Warning.getDefaultInstance()) { + getWarningBuilder().mergeFrom(value); + } else { + warning_ = value; + } + } else { + warningBuilder_.mergeFrom(value); + } + if (warning_ != null) { + bitField0_ |= 0x00000020; + onChanged(); + } + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder clearWarning() { + bitField0_ = (bitField0_ & ~0x00000020); + warning_ = null; + if (warningBuilder_ != null) { + warningBuilder_.dispose(); + warningBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public com.google.cloud.compute.v1.Warning.Builder getWarningBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getWarningFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder() { + if (warningBuilder_ != null) { + return warningBuilder_.getMessageOrBuilder(); + } else { + return warning_ == null + ? com.google.cloud.compute.v1.Warning.getDefaultInstance() + : warning_; + } + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder> + getWarningFieldBuilder() { + if (warningBuilder_ == null) { + warningBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder>( + getWarning(), getParentForChildren(), isClean()); + warning_ = null; + } + return warningBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.StoragePoolTypeList) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.StoragePoolTypeList) + private static final com.google.cloud.compute.v1.StoragePoolTypeList DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.StoragePoolTypeList(); + } + + public static com.google.cloud.compute.v1.StoragePoolTypeList getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StoragePoolTypeList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolTypeList getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypeListOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypeListOrBuilder.java new file mode 100644 index 000000000000..405d8d1f604c --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypeListOrBuilder.java @@ -0,0 +1,261 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface StoragePoolTypeListOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.StoragePoolTypeList) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return Whether the id field is set. + */ + boolean hasId(); + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The id. + */ + java.lang.String getId(); + /** + * + * + *
+   * [Output Only] Unique identifier for the resource; defined by the server.
+   * 
+ * + * optional string id = 3355; + * + * @return The bytes for id. + */ + com.google.protobuf.ByteString getIdBytes(); + + /** + * + * + *
+   * A list of StoragePoolType resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + java.util.List getItemsList(); + /** + * + * + *
+   * A list of StoragePoolType resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + com.google.cloud.compute.v1.StoragePoolType getItems(int index); + /** + * + * + *
+   * A list of StoragePoolType resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + int getItemsCount(); + /** + * + * + *
+   * A list of StoragePoolType resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + java.util.List + getItemsOrBuilderList(); + /** + * + * + *
+   * A list of StoragePoolType resources.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType items = 100526016; + */ + com.google.cloud.compute.v1.StoragePoolTypeOrBuilder getItemsOrBuilder(int index); + + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolTypeList for storage pool types.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + boolean hasKind(); + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolTypeList for storage pool types.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + java.lang.String getKind(); + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#storagePoolTypeList for storage pool types.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + com.google.protobuf.ByteString getKindBytes(); + + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return Whether the nextPageToken field is set. + */ + boolean hasNextPageToken(); + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
+   * 
+ * + * optional string next_page_token = 79797525; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); + + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + boolean hasSelfLink(); + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + java.lang.String getSelfLink(); + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + com.google.protobuf.ByteString getSelfLinkBytes(); + + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + boolean hasWarning(); + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + com.google.cloud.compute.v1.Warning getWarning(); + /** + * + * + *
+   * [Output Only] Informational warning message.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypeOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypeOrBuilder.java new file mode 100644 index 000000000000..47fcb78027e1 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypeOrBuilder.java @@ -0,0 +1,571 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface StoragePoolTypeOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.StoragePoolType) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * [Output Only] Creation timestamp in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return Whether the creationTimestamp field is set. + */ + boolean hasCreationTimestamp(); + /** + * + * + *
+   * [Output Only] Creation timestamp in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The creationTimestamp. + */ + java.lang.String getCreationTimestamp(); + /** + * + * + *
+   * [Output Only] Creation timestamp in RFC3339 text format.
+   * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return The bytes for creationTimestamp. + */ + com.google.protobuf.ByteString getCreationTimestampBytes(); + + /** + * + * + *
+   * [Output Only] The deprecation status associated with this storage pool type.
+   * 
+ * + * optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; + * + * @return Whether the deprecated field is set. + */ + boolean hasDeprecated(); + /** + * + * + *
+   * [Output Only] The deprecation status associated with this storage pool type.
+   * 
+ * + * optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; + * + * @return The deprecated. + */ + com.google.cloud.compute.v1.DeprecationStatus getDeprecated(); + /** + * + * + *
+   * [Output Only] The deprecation status associated with this storage pool type.
+   * 
+ * + * optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; + */ + com.google.cloud.compute.v1.DeprecationStatusOrBuilder getDeprecatedOrBuilder(); + + /** + * + * + *
+   * [Output Only] An optional description of this resource.
+   * 
+ * + * optional string description = 422937596; + * + * @return Whether the description field is set. + */ + boolean hasDescription(); + /** + * + * + *
+   * [Output Only] An optional description of this resource.
+   * 
+ * + * optional string description = 422937596; + * + * @return The description. + */ + java.lang.String getDescription(); + /** + * + * + *
+   * [Output Only] An optional description of this resource.
+   * 
+ * + * optional string description = 422937596; + * + * @return The bytes for description. + */ + com.google.protobuf.ByteString getDescriptionBytes(); + + /** + * + * + *
+   * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+   * 
+ * + * optional uint64 id = 3355; + * + * @return Whether the id field is set. + */ + boolean hasId(); + /** + * + * + *
+   * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+   * 
+ * + * optional uint64 id = 3355; + * + * @return The id. + */ + long getId(); + + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#storagePoolType for storage pool types.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + boolean hasKind(); + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#storagePoolType for storage pool types.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + java.lang.String getKind(); + /** + * + * + *
+   * [Output Only] Type of the resource. Always compute#storagePoolType for storage pool types.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + com.google.protobuf.ByteString getKindBytes(); + + /** + * + * + *
+   * [Output Only] Maximum storage pool size in GB.
+   * 
+ * + * optional int64 max_pool_provisioned_capacity_gb = 182139085; + * + * @return Whether the maxPoolProvisionedCapacityGb field is set. + */ + boolean hasMaxPoolProvisionedCapacityGb(); + /** + * + * + *
+   * [Output Only] Maximum storage pool size in GB.
+   * 
+ * + * optional int64 max_pool_provisioned_capacity_gb = 182139085; + * + * @return The maxPoolProvisionedCapacityGb. + */ + long getMaxPoolProvisionedCapacityGb(); + + /** + * + * + *
+   * [Output Only] Maximum provisioned IOPS.
+   * 
+ * + * optional int64 max_pool_provisioned_iops = 515270652; + * + * @return Whether the maxPoolProvisionedIops field is set. + */ + boolean hasMaxPoolProvisionedIops(); + /** + * + * + *
+   * [Output Only] Maximum provisioned IOPS.
+   * 
+ * + * optional int64 max_pool_provisioned_iops = 515270652; + * + * @return The maxPoolProvisionedIops. + */ + long getMaxPoolProvisionedIops(); + + /** + * + * + *
+   * [Output Only] Maximum provisioned throughput.
+   * 
+ * + * optional int64 max_pool_provisioned_throughput = 228928061; + * + * @return Whether the maxPoolProvisionedThroughput field is set. + */ + boolean hasMaxPoolProvisionedThroughput(); + /** + * + * + *
+   * [Output Only] Maximum provisioned throughput.
+   * 
+ * + * optional int64 max_pool_provisioned_throughput = 228928061; + * + * @return The maxPoolProvisionedThroughput. + */ + long getMaxPoolProvisionedThroughput(); + + /** + * + * + *
+   * [Output Only] Minimum storage pool size in GB.
+   * 
+ * + * optional int64 min_pool_provisioned_capacity_gb = 191022751; + * + * @return Whether the minPoolProvisionedCapacityGb field is set. + */ + boolean hasMinPoolProvisionedCapacityGb(); + /** + * + * + *
+   * [Output Only] Minimum storage pool size in GB.
+   * 
+ * + * optional int64 min_pool_provisioned_capacity_gb = 191022751; + * + * @return The minPoolProvisionedCapacityGb. + */ + long getMinPoolProvisionedCapacityGb(); + + /** + * + * + *
+   * [Output Only] Minimum provisioned IOPS.
+   * 
+ * + * optional int64 min_pool_provisioned_iops = 416473706; + * + * @return Whether the minPoolProvisionedIops field is set. + */ + boolean hasMinPoolProvisionedIops(); + /** + * + * + *
+   * [Output Only] Minimum provisioned IOPS.
+   * 
+ * + * optional int64 min_pool_provisioned_iops = 416473706; + * + * @return The minPoolProvisionedIops. + */ + long getMinPoolProvisionedIops(); + + /** + * + * + *
+   * [Output Only] Minimum provisioned throughput.
+   * 
+ * + * optional int64 min_pool_provisioned_throughput = 367761963; + * + * @return Whether the minPoolProvisionedThroughput field is set. + */ + boolean hasMinPoolProvisionedThroughput(); + /** + * + * + *
+   * [Output Only] Minimum provisioned throughput.
+   * 
+ * + * optional int64 min_pool_provisioned_throughput = 367761963; + * + * @return The minPoolProvisionedThroughput. + */ + long getMinPoolProvisionedThroughput(); + + /** + * + * + *
+   * [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb instead.
+   * 
+ * + * optional int64 min_size_gb = 385278188; + * + * @return Whether the minSizeGb field is set. + */ + boolean hasMinSizeGb(); + /** + * + * + *
+   * [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb instead.
+   * 
+ * + * optional int64 min_size_gb = 385278188; + * + * @return The minSizeGb. + */ + long getMinSizeGb(); + + /** + * + * + *
+   * [Output Only] Name of the resource.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + boolean hasName(); + /** + * + * + *
+   * [Output Only] Name of the resource.
+   * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * [Output Only] Name of the resource.
+   * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * [Output Only] Server-defined URL for the resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return Whether the selfLink field is set. + */ + boolean hasSelfLink(); + /** + * + * + *
+   * [Output Only] Server-defined URL for the resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The selfLink. + */ + java.lang.String getSelfLink(); + /** + * + * + *
+   * [Output Only] Server-defined URL for the resource.
+   * 
+ * + * optional string self_link = 456214797; + * + * @return The bytes for selfLink. + */ + com.google.protobuf.ByteString getSelfLinkBytes(); + + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource with the resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return Whether the selfLinkWithId field is set. + */ + boolean hasSelfLinkWithId(); + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource with the resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The selfLinkWithId. + */ + java.lang.String getSelfLinkWithId(); + /** + * + * + *
+   * [Output Only] Server-defined URL for this resource with the resource id.
+   * 
+ * + * optional string self_link_with_id = 44520962; + * + * @return The bytes for selfLinkWithId. + */ + com.google.protobuf.ByteString getSelfLinkWithIdBytes(); + + /** + * + * + *
+   * [Output Only] The list of disk types supported in this storage pool type.
+   * 
+ * + * repeated string supported_disk_types = 150587272; + * + * @return A list containing the supportedDiskTypes. + */ + java.util.List getSupportedDiskTypesList(); + /** + * + * + *
+   * [Output Only] The list of disk types supported in this storage pool type.
+   * 
+ * + * repeated string supported_disk_types = 150587272; + * + * @return The count of supportedDiskTypes. + */ + int getSupportedDiskTypesCount(); + /** + * + * + *
+   * [Output Only] The list of disk types supported in this storage pool type.
+   * 
+ * + * repeated string supported_disk_types = 150587272; + * + * @param index The index of the element to return. + * @return The supportedDiskTypes at the given index. + */ + java.lang.String getSupportedDiskTypes(int index); + /** + * + * + *
+   * [Output Only] The list of disk types supported in this storage pool type.
+   * 
+ * + * repeated string supported_disk_types = 150587272; + * + * @param index The index of the value to return. + * @return The bytes of the supportedDiskTypes at the given index. + */ + com.google.protobuf.ByteString getSupportedDiskTypesBytes(int index); + + /** + * + * + *
+   * [Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+   * 
+ * + * optional string zone = 3744684; + * + * @return Whether the zone field is set. + */ + boolean hasZone(); + /** + * + * + *
+   * [Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+   * 
+ * + * optional string zone = 3744684; + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * [Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
+   * 
+ * + * optional string zone = 3744684; + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypesScopedList.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypesScopedList.java new file mode 100644 index 000000000000..5fd4a2e6a994 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypesScopedList.java @@ -0,0 +1,1242 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolTypesScopedList} + */ +public final class StoragePoolTypesScopedList extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.StoragePoolTypesScopedList) + StoragePoolTypesScopedListOrBuilder { + private static final long serialVersionUID = 0L; + // Use StoragePoolTypesScopedList.newBuilder() to construct. + private StoragePoolTypesScopedList(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StoragePoolTypesScopedList() { + storagePoolTypes_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StoragePoolTypesScopedList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolTypesScopedList_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolTypesScopedList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolTypesScopedList.class, + com.google.cloud.compute.v1.StoragePoolTypesScopedList.Builder.class); + } + + private int bitField0_; + public static final int STORAGE_POOL_TYPES_FIELD_NUMBER = 276043482; + + @SuppressWarnings("serial") + private java.util.List storagePoolTypes_; + /** + * + * + *
+   * [Output Only] A list of storage pool types contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + */ + @java.lang.Override + public java.util.List getStoragePoolTypesList() { + return storagePoolTypes_; + } + /** + * + * + *
+   * [Output Only] A list of storage pool types contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + */ + @java.lang.Override + public java.util.List + getStoragePoolTypesOrBuilderList() { + return storagePoolTypes_; + } + /** + * + * + *
+   * [Output Only] A list of storage pool types contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + */ + @java.lang.Override + public int getStoragePoolTypesCount() { + return storagePoolTypes_.size(); + } + /** + * + * + *
+   * [Output Only] A list of storage pool types contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolType getStoragePoolTypes(int index) { + return storagePoolTypes_.get(index); + } + /** + * + * + *
+   * [Output Only] A list of storage pool types contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolTypeOrBuilder getStoragePoolTypesOrBuilder( + int index) { + return storagePoolTypes_.get(index); + } + + public static final int WARNING_FIELD_NUMBER = 50704284; + private com.google.cloud.compute.v1.Warning warning_; + /** + * + * + *
+   * [Output Only] Informational warning which replaces the list of storage pool types when the list is empty.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + @java.lang.Override + public boolean hasWarning() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * [Output Only] Informational warning which replaces the list of storage pool types when the list is empty.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + @java.lang.Override + public com.google.cloud.compute.v1.Warning getWarning() { + return warning_ == null ? com.google.cloud.compute.v1.Warning.getDefaultInstance() : warning_; + } + /** + * + * + *
+   * [Output Only] Informational warning which replaces the list of storage pool types when the list is empty.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + @java.lang.Override + public com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder() { + return warning_ == null ? com.google.cloud.compute.v1.Warning.getDefaultInstance() : warning_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(50704284, getWarning()); + } + for (int i = 0; i < storagePoolTypes_.size(); i++) { + output.writeMessage(276043482, storagePoolTypes_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(50704284, getWarning()); + } + for (int i = 0; i < storagePoolTypes_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 276043482, storagePoolTypes_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.StoragePoolTypesScopedList)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.StoragePoolTypesScopedList other = + (com.google.cloud.compute.v1.StoragePoolTypesScopedList) obj; + + if (!getStoragePoolTypesList().equals(other.getStoragePoolTypesList())) return false; + if (hasWarning() != other.hasWarning()) return false; + if (hasWarning()) { + if (!getWarning().equals(other.getWarning())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getStoragePoolTypesCount() > 0) { + hash = (37 * hash) + STORAGE_POOL_TYPES_FIELD_NUMBER; + hash = (53 * hash) + getStoragePoolTypesList().hashCode(); + } + if (hasWarning()) { + hash = (37 * hash) + WARNING_FIELD_NUMBER; + hash = (53 * hash) + getWarning().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.StoragePoolTypesScopedList parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolTypesScopedList parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolTypesScopedList parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolTypesScopedList parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolTypesScopedList parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolTypesScopedList parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolTypesScopedList parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolTypesScopedList parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolTypesScopedList parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolTypesScopedList parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolTypesScopedList parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolTypesScopedList parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.StoragePoolTypesScopedList prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolTypesScopedList} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.StoragePoolTypesScopedList) + com.google.cloud.compute.v1.StoragePoolTypesScopedListOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolTypesScopedList_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolTypesScopedList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolTypesScopedList.class, + com.google.cloud.compute.v1.StoragePoolTypesScopedList.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.StoragePoolTypesScopedList.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getStoragePoolTypesFieldBuilder(); + getWarningFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (storagePoolTypesBuilder_ == null) { + storagePoolTypes_ = java.util.Collections.emptyList(); + } else { + storagePoolTypes_ = null; + storagePoolTypesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + warning_ = null; + if (warningBuilder_ != null) { + warningBuilder_.dispose(); + warningBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolTypesScopedList_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolTypesScopedList getDefaultInstanceForType() { + return com.google.cloud.compute.v1.StoragePoolTypesScopedList.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolTypesScopedList build() { + com.google.cloud.compute.v1.StoragePoolTypesScopedList result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolTypesScopedList buildPartial() { + com.google.cloud.compute.v1.StoragePoolTypesScopedList result = + new com.google.cloud.compute.v1.StoragePoolTypesScopedList(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.compute.v1.StoragePoolTypesScopedList result) { + if (storagePoolTypesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + storagePoolTypes_ = java.util.Collections.unmodifiableList(storagePoolTypes_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.storagePoolTypes_ = storagePoolTypes_; + } else { + result.storagePoolTypes_ = storagePoolTypesBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.compute.v1.StoragePoolTypesScopedList result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.warning_ = warningBuilder_ == null ? warning_ : warningBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.StoragePoolTypesScopedList) { + return mergeFrom((com.google.cloud.compute.v1.StoragePoolTypesScopedList) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.StoragePoolTypesScopedList other) { + if (other == com.google.cloud.compute.v1.StoragePoolTypesScopedList.getDefaultInstance()) + return this; + if (storagePoolTypesBuilder_ == null) { + if (!other.storagePoolTypes_.isEmpty()) { + if (storagePoolTypes_.isEmpty()) { + storagePoolTypes_ = other.storagePoolTypes_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureStoragePoolTypesIsMutable(); + storagePoolTypes_.addAll(other.storagePoolTypes_); + } + onChanged(); + } + } else { + if (!other.storagePoolTypes_.isEmpty()) { + if (storagePoolTypesBuilder_.isEmpty()) { + storagePoolTypesBuilder_.dispose(); + storagePoolTypesBuilder_ = null; + storagePoolTypes_ = other.storagePoolTypes_; + bitField0_ = (bitField0_ & ~0x00000001); + storagePoolTypesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getStoragePoolTypesFieldBuilder() + : null; + } else { + storagePoolTypesBuilder_.addAllMessages(other.storagePoolTypes_); + } + } + } + if (other.hasWarning()) { + mergeWarning(other.getWarning()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 405634274: + { + input.readMessage(getWarningFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 405634274 + case -2086619438: + { + com.google.cloud.compute.v1.StoragePoolType m = + input.readMessage( + com.google.cloud.compute.v1.StoragePoolType.parser(), extensionRegistry); + if (storagePoolTypesBuilder_ == null) { + ensureStoragePoolTypesIsMutable(); + storagePoolTypes_.add(m); + } else { + storagePoolTypesBuilder_.addMessage(m); + } + break; + } // case -2086619438 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List storagePoolTypes_ = + java.util.Collections.emptyList(); + + private void ensureStoragePoolTypesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + storagePoolTypes_ = + new java.util.ArrayList(storagePoolTypes_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.StoragePoolType, + com.google.cloud.compute.v1.StoragePoolType.Builder, + com.google.cloud.compute.v1.StoragePoolTypeOrBuilder> + storagePoolTypesBuilder_; + + /** + * + * + *
+     * [Output Only] A list of storage pool types contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + * + */ + public java.util.List getStoragePoolTypesList() { + if (storagePoolTypesBuilder_ == null) { + return java.util.Collections.unmodifiableList(storagePoolTypes_); + } else { + return storagePoolTypesBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * [Output Only] A list of storage pool types contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + * + */ + public int getStoragePoolTypesCount() { + if (storagePoolTypesBuilder_ == null) { + return storagePoolTypes_.size(); + } else { + return storagePoolTypesBuilder_.getCount(); + } + } + /** + * + * + *
+     * [Output Only] A list of storage pool types contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + * + */ + public com.google.cloud.compute.v1.StoragePoolType getStoragePoolTypes(int index) { + if (storagePoolTypesBuilder_ == null) { + return storagePoolTypes_.get(index); + } else { + return storagePoolTypesBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * [Output Only] A list of storage pool types contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + * + */ + public Builder setStoragePoolTypes( + int index, com.google.cloud.compute.v1.StoragePoolType value) { + if (storagePoolTypesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureStoragePoolTypesIsMutable(); + storagePoolTypes_.set(index, value); + onChanged(); + } else { + storagePoolTypesBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * [Output Only] A list of storage pool types contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + * + */ + public Builder setStoragePoolTypes( + int index, com.google.cloud.compute.v1.StoragePoolType.Builder builderForValue) { + if (storagePoolTypesBuilder_ == null) { + ensureStoragePoolTypesIsMutable(); + storagePoolTypes_.set(index, builderForValue.build()); + onChanged(); + } else { + storagePoolTypesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * [Output Only] A list of storage pool types contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + * + */ + public Builder addStoragePoolTypes(com.google.cloud.compute.v1.StoragePoolType value) { + if (storagePoolTypesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureStoragePoolTypesIsMutable(); + storagePoolTypes_.add(value); + onChanged(); + } else { + storagePoolTypesBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * [Output Only] A list of storage pool types contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + * + */ + public Builder addStoragePoolTypes( + int index, com.google.cloud.compute.v1.StoragePoolType value) { + if (storagePoolTypesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureStoragePoolTypesIsMutable(); + storagePoolTypes_.add(index, value); + onChanged(); + } else { + storagePoolTypesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * [Output Only] A list of storage pool types contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + * + */ + public Builder addStoragePoolTypes( + com.google.cloud.compute.v1.StoragePoolType.Builder builderForValue) { + if (storagePoolTypesBuilder_ == null) { + ensureStoragePoolTypesIsMutable(); + storagePoolTypes_.add(builderForValue.build()); + onChanged(); + } else { + storagePoolTypesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * [Output Only] A list of storage pool types contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + * + */ + public Builder addStoragePoolTypes( + int index, com.google.cloud.compute.v1.StoragePoolType.Builder builderForValue) { + if (storagePoolTypesBuilder_ == null) { + ensureStoragePoolTypesIsMutable(); + storagePoolTypes_.add(index, builderForValue.build()); + onChanged(); + } else { + storagePoolTypesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * [Output Only] A list of storage pool types contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + * + */ + public Builder addAllStoragePoolTypes( + java.lang.Iterable values) { + if (storagePoolTypesBuilder_ == null) { + ensureStoragePoolTypesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, storagePoolTypes_); + onChanged(); + } else { + storagePoolTypesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * [Output Only] A list of storage pool types contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + * + */ + public Builder clearStoragePoolTypes() { + if (storagePoolTypesBuilder_ == null) { + storagePoolTypes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + storagePoolTypesBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * [Output Only] A list of storage pool types contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + * + */ + public Builder removeStoragePoolTypes(int index) { + if (storagePoolTypesBuilder_ == null) { + ensureStoragePoolTypesIsMutable(); + storagePoolTypes_.remove(index); + onChanged(); + } else { + storagePoolTypesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * [Output Only] A list of storage pool types contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + * + */ + public com.google.cloud.compute.v1.StoragePoolType.Builder getStoragePoolTypesBuilder( + int index) { + return getStoragePoolTypesFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * [Output Only] A list of storage pool types contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + * + */ + public com.google.cloud.compute.v1.StoragePoolTypeOrBuilder getStoragePoolTypesOrBuilder( + int index) { + if (storagePoolTypesBuilder_ == null) { + return storagePoolTypes_.get(index); + } else { + return storagePoolTypesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * [Output Only] A list of storage pool types contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + * + */ + public java.util.List + getStoragePoolTypesOrBuilderList() { + if (storagePoolTypesBuilder_ != null) { + return storagePoolTypesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(storagePoolTypes_); + } + } + /** + * + * + *
+     * [Output Only] A list of storage pool types contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + * + */ + public com.google.cloud.compute.v1.StoragePoolType.Builder addStoragePoolTypesBuilder() { + return getStoragePoolTypesFieldBuilder() + .addBuilder(com.google.cloud.compute.v1.StoragePoolType.getDefaultInstance()); + } + /** + * + * + *
+     * [Output Only] A list of storage pool types contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + * + */ + public com.google.cloud.compute.v1.StoragePoolType.Builder addStoragePoolTypesBuilder( + int index) { + return getStoragePoolTypesFieldBuilder() + .addBuilder(index, com.google.cloud.compute.v1.StoragePoolType.getDefaultInstance()); + } + /** + * + * + *
+     * [Output Only] A list of storage pool types contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + * + */ + public java.util.List + getStoragePoolTypesBuilderList() { + return getStoragePoolTypesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.StoragePoolType, + com.google.cloud.compute.v1.StoragePoolType.Builder, + com.google.cloud.compute.v1.StoragePoolTypeOrBuilder> + getStoragePoolTypesFieldBuilder() { + if (storagePoolTypesBuilder_ == null) { + storagePoolTypesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.StoragePoolType, + com.google.cloud.compute.v1.StoragePoolType.Builder, + com.google.cloud.compute.v1.StoragePoolTypeOrBuilder>( + storagePoolTypes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + storagePoolTypes_ = null; + } + return storagePoolTypesBuilder_; + } + + private com.google.cloud.compute.v1.Warning warning_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder> + warningBuilder_; + /** + * + * + *
+     * [Output Only] Informational warning which replaces the list of storage pool types when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + public boolean hasWarning() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * [Output Only] Informational warning which replaces the list of storage pool types when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + public com.google.cloud.compute.v1.Warning getWarning() { + if (warningBuilder_ == null) { + return warning_ == null + ? com.google.cloud.compute.v1.Warning.getDefaultInstance() + : warning_; + } else { + return warningBuilder_.getMessage(); + } + } + /** + * + * + *
+     * [Output Only] Informational warning which replaces the list of storage pool types when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder setWarning(com.google.cloud.compute.v1.Warning value) { + if (warningBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + warning_ = value; + } else { + warningBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning which replaces the list of storage pool types when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder setWarning(com.google.cloud.compute.v1.Warning.Builder builderForValue) { + if (warningBuilder_ == null) { + warning_ = builderForValue.build(); + } else { + warningBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning which replaces the list of storage pool types when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder mergeWarning(com.google.cloud.compute.v1.Warning value) { + if (warningBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && warning_ != null + && warning_ != com.google.cloud.compute.v1.Warning.getDefaultInstance()) { + getWarningBuilder().mergeFrom(value); + } else { + warning_ = value; + } + } else { + warningBuilder_.mergeFrom(value); + } + if (warning_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning which replaces the list of storage pool types when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder clearWarning() { + bitField0_ = (bitField0_ & ~0x00000002); + warning_ = null; + if (warningBuilder_ != null) { + warningBuilder_.dispose(); + warningBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning which replaces the list of storage pool types when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public com.google.cloud.compute.v1.Warning.Builder getWarningBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getWarningFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * [Output Only] Informational warning which replaces the list of storage pool types when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder() { + if (warningBuilder_ != null) { + return warningBuilder_.getMessageOrBuilder(); + } else { + return warning_ == null + ? com.google.cloud.compute.v1.Warning.getDefaultInstance() + : warning_; + } + } + /** + * + * + *
+     * [Output Only] Informational warning which replaces the list of storage pool types when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder> + getWarningFieldBuilder() { + if (warningBuilder_ == null) { + warningBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder>( + getWarning(), getParentForChildren(), isClean()); + warning_ = null; + } + return warningBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.StoragePoolTypesScopedList) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.StoragePoolTypesScopedList) + private static final com.google.cloud.compute.v1.StoragePoolTypesScopedList DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.StoragePoolTypesScopedList(); + } + + public static com.google.cloud.compute.v1.StoragePoolTypesScopedList getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StoragePoolTypesScopedList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolTypesScopedList getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypesScopedListOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypesScopedListOrBuilder.java new file mode 100644 index 000000000000..4a65417625fb --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolTypesScopedListOrBuilder.java @@ -0,0 +1,113 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface StoragePoolTypesScopedListOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.StoragePoolTypesScopedList) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * [Output Only] A list of storage pool types contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + */ + java.util.List getStoragePoolTypesList(); + /** + * + * + *
+   * [Output Only] A list of storage pool types contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + */ + com.google.cloud.compute.v1.StoragePoolType getStoragePoolTypes(int index); + /** + * + * + *
+   * [Output Only] A list of storage pool types contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + */ + int getStoragePoolTypesCount(); + /** + * + * + *
+   * [Output Only] A list of storage pool types contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + */ + java.util.List + getStoragePoolTypesOrBuilderList(); + /** + * + * + *
+   * [Output Only] A list of storage pool types contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePoolType storage_pool_types = 276043482; + */ + com.google.cloud.compute.v1.StoragePoolTypeOrBuilder getStoragePoolTypesOrBuilder(int index); + + /** + * + * + *
+   * [Output Only] Informational warning which replaces the list of storage pool types when the list is empty.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + boolean hasWarning(); + /** + * + * + *
+   * [Output Only] Informational warning which replaces the list of storage pool types when the list is empty.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + com.google.cloud.compute.v1.Warning getWarning(); + /** + * + * + *
+   * [Output Only] Informational warning which replaces the list of storage pool types when the list is empty.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolsScopedList.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolsScopedList.java new file mode 100644 index 000000000000..83019f871d18 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolsScopedList.java @@ -0,0 +1,1213 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolsScopedList} + */ +public final class StoragePoolsScopedList extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.StoragePoolsScopedList) + StoragePoolsScopedListOrBuilder { + private static final long serialVersionUID = 0L; + // Use StoragePoolsScopedList.newBuilder() to construct. + private StoragePoolsScopedList(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StoragePoolsScopedList() { + storagePools_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new StoragePoolsScopedList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolsScopedList_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolsScopedList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolsScopedList.class, + com.google.cloud.compute.v1.StoragePoolsScopedList.Builder.class); + } + + private int bitField0_; + public static final int STORAGE_POOLS_FIELD_NUMBER = 437258515; + + @SuppressWarnings("serial") + private java.util.List storagePools_; + /** + * + * + *
+   * [Output Only] A list of storage pool contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + @java.lang.Override + public java.util.List getStoragePoolsList() { + return storagePools_; + } + /** + * + * + *
+   * [Output Only] A list of storage pool contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + @java.lang.Override + public java.util.List + getStoragePoolsOrBuilderList() { + return storagePools_; + } + /** + * + * + *
+   * [Output Only] A list of storage pool contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + @java.lang.Override + public int getStoragePoolsCount() { + return storagePools_.size(); + } + /** + * + * + *
+   * [Output Only] A list of storage pool contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePool getStoragePools(int index) { + return storagePools_.get(index); + } + /** + * + * + *
+   * [Output Only] A list of storage pool contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolOrBuilder getStoragePoolsOrBuilder(int index) { + return storagePools_.get(index); + } + + public static final int WARNING_FIELD_NUMBER = 50704284; + private com.google.cloud.compute.v1.Warning warning_; + /** + * + * + *
+   * [Output Only] Informational warning which replaces the list of storage pool when the list is empty.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + @java.lang.Override + public boolean hasWarning() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * [Output Only] Informational warning which replaces the list of storage pool when the list is empty.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + @java.lang.Override + public com.google.cloud.compute.v1.Warning getWarning() { + return warning_ == null ? com.google.cloud.compute.v1.Warning.getDefaultInstance() : warning_; + } + /** + * + * + *
+   * [Output Only] Informational warning which replaces the list of storage pool when the list is empty.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + @java.lang.Override + public com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder() { + return warning_ == null ? com.google.cloud.compute.v1.Warning.getDefaultInstance() : warning_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(50704284, getWarning()); + } + for (int i = 0; i < storagePools_.size(); i++) { + output.writeMessage(437258515, storagePools_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(50704284, getWarning()); + } + for (int i = 0; i < storagePools_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(437258515, storagePools_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.StoragePoolsScopedList)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.StoragePoolsScopedList other = + (com.google.cloud.compute.v1.StoragePoolsScopedList) obj; + + if (!getStoragePoolsList().equals(other.getStoragePoolsList())) return false; + if (hasWarning() != other.hasWarning()) return false; + if (hasWarning()) { + if (!getWarning().equals(other.getWarning())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getStoragePoolsCount() > 0) { + hash = (37 * hash) + STORAGE_POOLS_FIELD_NUMBER; + hash = (53 * hash) + getStoragePoolsList().hashCode(); + } + if (hasWarning()) { + hash = (37 * hash) + WARNING_FIELD_NUMBER; + hash = (53 * hash) + getWarning().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.StoragePoolsScopedList parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolsScopedList parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolsScopedList parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolsScopedList parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolsScopedList parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.StoragePoolsScopedList parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolsScopedList parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolsScopedList parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolsScopedList parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolsScopedList parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.StoragePoolsScopedList parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.StoragePoolsScopedList parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.compute.v1.StoragePoolsScopedList prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.StoragePoolsScopedList} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.StoragePoolsScopedList) + com.google.cloud.compute.v1.StoragePoolsScopedListOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolsScopedList_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolsScopedList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.StoragePoolsScopedList.class, + com.google.cloud.compute.v1.StoragePoolsScopedList.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.StoragePoolsScopedList.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getStoragePoolsFieldBuilder(); + getWarningFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (storagePoolsBuilder_ == null) { + storagePools_ = java.util.Collections.emptyList(); + } else { + storagePools_ = null; + storagePoolsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + warning_ = null; + if (warningBuilder_ != null) { + warningBuilder_.dispose(); + warningBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_StoragePoolsScopedList_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolsScopedList getDefaultInstanceForType() { + return com.google.cloud.compute.v1.StoragePoolsScopedList.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolsScopedList build() { + com.google.cloud.compute.v1.StoragePoolsScopedList result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolsScopedList buildPartial() { + com.google.cloud.compute.v1.StoragePoolsScopedList result = + new com.google.cloud.compute.v1.StoragePoolsScopedList(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.compute.v1.StoragePoolsScopedList result) { + if (storagePoolsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + storagePools_ = java.util.Collections.unmodifiableList(storagePools_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.storagePools_ = storagePools_; + } else { + result.storagePools_ = storagePoolsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.compute.v1.StoragePoolsScopedList result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.warning_ = warningBuilder_ == null ? warning_ : warningBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.StoragePoolsScopedList) { + return mergeFrom((com.google.cloud.compute.v1.StoragePoolsScopedList) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.StoragePoolsScopedList other) { + if (other == com.google.cloud.compute.v1.StoragePoolsScopedList.getDefaultInstance()) + return this; + if (storagePoolsBuilder_ == null) { + if (!other.storagePools_.isEmpty()) { + if (storagePools_.isEmpty()) { + storagePools_ = other.storagePools_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureStoragePoolsIsMutable(); + storagePools_.addAll(other.storagePools_); + } + onChanged(); + } + } else { + if (!other.storagePools_.isEmpty()) { + if (storagePoolsBuilder_.isEmpty()) { + storagePoolsBuilder_.dispose(); + storagePoolsBuilder_ = null; + storagePools_ = other.storagePools_; + bitField0_ = (bitField0_ & ~0x00000001); + storagePoolsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getStoragePoolsFieldBuilder() + : null; + } else { + storagePoolsBuilder_.addAllMessages(other.storagePools_); + } + } + } + if (other.hasWarning()) { + mergeWarning(other.getWarning()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 405634274: + { + input.readMessage(getWarningFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 405634274 + case -796899174: + { + com.google.cloud.compute.v1.StoragePool m = + input.readMessage( + com.google.cloud.compute.v1.StoragePool.parser(), extensionRegistry); + if (storagePoolsBuilder_ == null) { + ensureStoragePoolsIsMutable(); + storagePools_.add(m); + } else { + storagePoolsBuilder_.addMessage(m); + } + break; + } // case -796899174 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List storagePools_ = + java.util.Collections.emptyList(); + + private void ensureStoragePoolsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + storagePools_ = + new java.util.ArrayList(storagePools_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.StoragePool, + com.google.cloud.compute.v1.StoragePool.Builder, + com.google.cloud.compute.v1.StoragePoolOrBuilder> + storagePoolsBuilder_; + + /** + * + * + *
+     * [Output Only] A list of storage pool contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + public java.util.List getStoragePoolsList() { + if (storagePoolsBuilder_ == null) { + return java.util.Collections.unmodifiableList(storagePools_); + } else { + return storagePoolsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * [Output Only] A list of storage pool contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + public int getStoragePoolsCount() { + if (storagePoolsBuilder_ == null) { + return storagePools_.size(); + } else { + return storagePoolsBuilder_.getCount(); + } + } + /** + * + * + *
+     * [Output Only] A list of storage pool contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + public com.google.cloud.compute.v1.StoragePool getStoragePools(int index) { + if (storagePoolsBuilder_ == null) { + return storagePools_.get(index); + } else { + return storagePoolsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * [Output Only] A list of storage pool contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + public Builder setStoragePools(int index, com.google.cloud.compute.v1.StoragePool value) { + if (storagePoolsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureStoragePoolsIsMutable(); + storagePools_.set(index, value); + onChanged(); + } else { + storagePoolsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * [Output Only] A list of storage pool contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + public Builder setStoragePools( + int index, com.google.cloud.compute.v1.StoragePool.Builder builderForValue) { + if (storagePoolsBuilder_ == null) { + ensureStoragePoolsIsMutable(); + storagePools_.set(index, builderForValue.build()); + onChanged(); + } else { + storagePoolsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * [Output Only] A list of storage pool contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + public Builder addStoragePools(com.google.cloud.compute.v1.StoragePool value) { + if (storagePoolsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureStoragePoolsIsMutable(); + storagePools_.add(value); + onChanged(); + } else { + storagePoolsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * [Output Only] A list of storage pool contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + public Builder addStoragePools(int index, com.google.cloud.compute.v1.StoragePool value) { + if (storagePoolsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureStoragePoolsIsMutable(); + storagePools_.add(index, value); + onChanged(); + } else { + storagePoolsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * [Output Only] A list of storage pool contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + public Builder addStoragePools( + com.google.cloud.compute.v1.StoragePool.Builder builderForValue) { + if (storagePoolsBuilder_ == null) { + ensureStoragePoolsIsMutable(); + storagePools_.add(builderForValue.build()); + onChanged(); + } else { + storagePoolsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * [Output Only] A list of storage pool contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + public Builder addStoragePools( + int index, com.google.cloud.compute.v1.StoragePool.Builder builderForValue) { + if (storagePoolsBuilder_ == null) { + ensureStoragePoolsIsMutable(); + storagePools_.add(index, builderForValue.build()); + onChanged(); + } else { + storagePoolsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * [Output Only] A list of storage pool contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + public Builder addAllStoragePools( + java.lang.Iterable values) { + if (storagePoolsBuilder_ == null) { + ensureStoragePoolsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, storagePools_); + onChanged(); + } else { + storagePoolsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * [Output Only] A list of storage pool contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + public Builder clearStoragePools() { + if (storagePoolsBuilder_ == null) { + storagePools_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + storagePoolsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * [Output Only] A list of storage pool contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + public Builder removeStoragePools(int index) { + if (storagePoolsBuilder_ == null) { + ensureStoragePoolsIsMutable(); + storagePools_.remove(index); + onChanged(); + } else { + storagePoolsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * [Output Only] A list of storage pool contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + public com.google.cloud.compute.v1.StoragePool.Builder getStoragePoolsBuilder(int index) { + return getStoragePoolsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * [Output Only] A list of storage pool contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + public com.google.cloud.compute.v1.StoragePoolOrBuilder getStoragePoolsOrBuilder(int index) { + if (storagePoolsBuilder_ == null) { + return storagePools_.get(index); + } else { + return storagePoolsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * [Output Only] A list of storage pool contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + public java.util.List + getStoragePoolsOrBuilderList() { + if (storagePoolsBuilder_ != null) { + return storagePoolsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(storagePools_); + } + } + /** + * + * + *
+     * [Output Only] A list of storage pool contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + public com.google.cloud.compute.v1.StoragePool.Builder addStoragePoolsBuilder() { + return getStoragePoolsFieldBuilder() + .addBuilder(com.google.cloud.compute.v1.StoragePool.getDefaultInstance()); + } + /** + * + * + *
+     * [Output Only] A list of storage pool contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + public com.google.cloud.compute.v1.StoragePool.Builder addStoragePoolsBuilder(int index) { + return getStoragePoolsFieldBuilder() + .addBuilder(index, com.google.cloud.compute.v1.StoragePool.getDefaultInstance()); + } + /** + * + * + *
+     * [Output Only] A list of storage pool contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + public java.util.List + getStoragePoolsBuilderList() { + return getStoragePoolsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.StoragePool, + com.google.cloud.compute.v1.StoragePool.Builder, + com.google.cloud.compute.v1.StoragePoolOrBuilder> + getStoragePoolsFieldBuilder() { + if (storagePoolsBuilder_ == null) { + storagePoolsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.StoragePool, + com.google.cloud.compute.v1.StoragePool.Builder, + com.google.cloud.compute.v1.StoragePoolOrBuilder>( + storagePools_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + storagePools_ = null; + } + return storagePoolsBuilder_; + } + + private com.google.cloud.compute.v1.Warning warning_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder> + warningBuilder_; + /** + * + * + *
+     * [Output Only] Informational warning which replaces the list of storage pool when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + public boolean hasWarning() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * [Output Only] Informational warning which replaces the list of storage pool when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + public com.google.cloud.compute.v1.Warning getWarning() { + if (warningBuilder_ == null) { + return warning_ == null + ? com.google.cloud.compute.v1.Warning.getDefaultInstance() + : warning_; + } else { + return warningBuilder_.getMessage(); + } + } + /** + * + * + *
+     * [Output Only] Informational warning which replaces the list of storage pool when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder setWarning(com.google.cloud.compute.v1.Warning value) { + if (warningBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + warning_ = value; + } else { + warningBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning which replaces the list of storage pool when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder setWarning(com.google.cloud.compute.v1.Warning.Builder builderForValue) { + if (warningBuilder_ == null) { + warning_ = builderForValue.build(); + } else { + warningBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning which replaces the list of storage pool when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder mergeWarning(com.google.cloud.compute.v1.Warning value) { + if (warningBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && warning_ != null + && warning_ != com.google.cloud.compute.v1.Warning.getDefaultInstance()) { + getWarningBuilder().mergeFrom(value); + } else { + warning_ = value; + } + } else { + warningBuilder_.mergeFrom(value); + } + if (warning_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning which replaces the list of storage pool when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder clearWarning() { + bitField0_ = (bitField0_ & ~0x00000002); + warning_ = null; + if (warningBuilder_ != null) { + warningBuilder_.dispose(); + warningBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning which replaces the list of storage pool when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public com.google.cloud.compute.v1.Warning.Builder getWarningBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getWarningFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * [Output Only] Informational warning which replaces the list of storage pool when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder() { + if (warningBuilder_ != null) { + return warningBuilder_.getMessageOrBuilder(); + } else { + return warning_ == null + ? com.google.cloud.compute.v1.Warning.getDefaultInstance() + : warning_; + } + } + /** + * + * + *
+     * [Output Only] Informational warning which replaces the list of storage pool when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder> + getWarningFieldBuilder() { + if (warningBuilder_ == null) { + warningBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.Warning, + com.google.cloud.compute.v1.Warning.Builder, + com.google.cloud.compute.v1.WarningOrBuilder>( + getWarning(), getParentForChildren(), isClean()); + warning_ = null; + } + return warningBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.StoragePoolsScopedList) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.StoragePoolsScopedList) + private static final com.google.cloud.compute.v1.StoragePoolsScopedList DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.StoragePoolsScopedList(); + } + + public static com.google.cloud.compute.v1.StoragePoolsScopedList getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StoragePoolsScopedList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolsScopedList getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolsScopedListOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolsScopedListOrBuilder.java new file mode 100644 index 000000000000..ac927f73d1db --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/StoragePoolsScopedListOrBuilder.java @@ -0,0 +1,113 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface StoragePoolsScopedListOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.StoragePoolsScopedList) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * [Output Only] A list of storage pool contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + java.util.List getStoragePoolsList(); + /** + * + * + *
+   * [Output Only] A list of storage pool contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + com.google.cloud.compute.v1.StoragePool getStoragePools(int index); + /** + * + * + *
+   * [Output Only] A list of storage pool contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + int getStoragePoolsCount(); + /** + * + * + *
+   * [Output Only] A list of storage pool contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + java.util.List + getStoragePoolsOrBuilderList(); + /** + * + * + *
+   * [Output Only] A list of storage pool contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.StoragePool storage_pools = 437258515; + */ + com.google.cloud.compute.v1.StoragePoolOrBuilder getStoragePoolsOrBuilder(int index); + + /** + * + * + *
+   * [Output Only] Informational warning which replaces the list of storage pool when the list is empty.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + boolean hasWarning(); + /** + * + * + *
+   * [Output Only] Informational warning which replaces the list of storage pool when the list is empty.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + com.google.cloud.compute.v1.Warning getWarning(); + /** + * + * + *
+   * [Output Only] Informational warning which replaces the list of storage pool when the list is empty.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsStoragePoolRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsStoragePoolRequest.java new file mode 100644 index 000000000000..f4365f6ecb62 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsStoragePoolRequest.java @@ -0,0 +1,1318 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for StoragePools.TestIamPermissions. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest} + */ +public final class TestIamPermissionsStoragePoolRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest) + TestIamPermissionsStoragePoolRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use TestIamPermissionsStoragePoolRequest.newBuilder() to construct. + private TestIamPermissionsStoragePoolRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private TestIamPermissionsStoragePoolRequest() { + project_ = ""; + resource_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new TestIamPermissionsStoragePoolRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_TestIamPermissionsStoragePoolRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_TestIamPermissionsStoragePoolRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest.class, + com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest.Builder.class); + } + + private int bitField0_; + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESOURCE_FIELD_NUMBER = 195806222; + + @SuppressWarnings("serial") + private volatile java.lang.Object resource_ = ""; + /** + * + * + *
+   * Name or id of the resource for this request.
+   * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The resource. + */ + @java.lang.Override + public java.lang.String getResource() { + java.lang.Object ref = resource_; + 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(); + resource_ = s; + return s; + } + } + /** + * + * + *
+   * Name or id of the resource for this request.
+   * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for resource. + */ + @java.lang.Override + public com.google.protobuf.ByteString getResourceBytes() { + java.lang.Object ref = resource_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + resource_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TEST_PERMISSIONS_REQUEST_RESOURCE_FIELD_NUMBER = 439214758; + private com.google.cloud.compute.v1.TestPermissionsRequest testPermissionsRequestResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the testPermissionsRequestResource field is set. + */ + @java.lang.Override + public boolean hasTestPermissionsRequestResource() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The testPermissionsRequestResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.TestPermissionsRequest getTestPermissionsRequestResource() { + return testPermissionsRequestResource_ == null + ? com.google.cloud.compute.v1.TestPermissionsRequest.getDefaultInstance() + : testPermissionsRequestResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.TestPermissionsRequestOrBuilder + getTestPermissionsRequestResourceOrBuilder() { + return testPermissionsRequestResource_ == null + ? com.google.cloud.compute.v1.TestPermissionsRequest.getDefaultInstance() + : testPermissionsRequestResource_; + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 195806222, resource_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(439214758, getTestPermissionsRequestResource()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(195806222, resource_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 439214758, getTestPermissionsRequestResource()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest other = + (com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest) obj; + + if (!getProject().equals(other.getProject())) return false; + if (!getResource().equals(other.getResource())) return false; + if (hasTestPermissionsRequestResource() != other.hasTestPermissionsRequestResource()) + return false; + if (hasTestPermissionsRequestResource()) { + if (!getTestPermissionsRequestResource().equals(other.getTestPermissionsRequestResource())) + return false; + } + if (!getZone().equals(other.getZone())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getResource().hashCode(); + if (hasTestPermissionsRequestResource()) { + hash = (37 * hash) + TEST_PERMISSIONS_REQUEST_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getTestPermissionsRequestResource().hashCode(); + } + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for StoragePools.TestIamPermissions. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest) + com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_TestIamPermissionsStoragePoolRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_TestIamPermissionsStoragePoolRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest.class, + com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getTestPermissionsRequestResourceFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + project_ = ""; + resource_ = ""; + testPermissionsRequestResource_ = null; + if (testPermissionsRequestResourceBuilder_ != null) { + testPermissionsRequestResourceBuilder_.dispose(); + testPermissionsRequestResourceBuilder_ = null; + } + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_TestIamPermissionsStoragePoolRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest build() { + com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest buildPartial() { + com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest result = + new com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.project_ = project_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.resource_ = resource_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.testPermissionsRequestResource_ = + testPermissionsRequestResourceBuilder_ == null + ? testPermissionsRequestResource_ + : testPermissionsRequestResourceBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.zone_ = zone_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest) { + return mergeFrom((com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest other) { + if (other + == com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest.getDefaultInstance()) + return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getResource().isEmpty()) { + resource_ = other.resource_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasTestPermissionsRequestResource()) { + mergeTestPermissionsRequestResource(other.getTestPermissionsRequestResource()); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 29957474 + case 1566449778: + { + resource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 1566449778 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 1820481738 + case -781249230: + { + input.readMessage( + getTestPermissionsRequestResourceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case -781249230 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object resource_ = ""; + /** + * + * + *
+     * Name or id of the resource for this request.
+     * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The resource. + */ + public java.lang.String getResource() { + java.lang.Object ref = resource_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resource_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name or id of the resource for this request.
+     * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for resource. + */ + public com.google.protobuf.ByteString getResourceBytes() { + java.lang.Object ref = resource_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + resource_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name or id of the resource for this request.
+     * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The resource to set. + * @return This builder for chaining. + */ + public Builder setResource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + resource_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Name or id of the resource for this request.
+     * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearResource() { + resource_ = getDefaultInstance().getResource(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Name or id of the resource for this request.
+     * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for resource to set. + * @return This builder for chaining. + */ + public Builder setResourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.TestPermissionsRequest testPermissionsRequestResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.TestPermissionsRequest, + com.google.cloud.compute.v1.TestPermissionsRequest.Builder, + com.google.cloud.compute.v1.TestPermissionsRequestOrBuilder> + testPermissionsRequestResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the testPermissionsRequestResource field is set. + */ + public boolean hasTestPermissionsRequestResource() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The testPermissionsRequestResource. + */ + public com.google.cloud.compute.v1.TestPermissionsRequest getTestPermissionsRequestResource() { + if (testPermissionsRequestResourceBuilder_ == null) { + return testPermissionsRequestResource_ == null + ? com.google.cloud.compute.v1.TestPermissionsRequest.getDefaultInstance() + : testPermissionsRequestResource_; + } else { + return testPermissionsRequestResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setTestPermissionsRequestResource( + com.google.cloud.compute.v1.TestPermissionsRequest value) { + if (testPermissionsRequestResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + testPermissionsRequestResource_ = value; + } else { + testPermissionsRequestResourceBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setTestPermissionsRequestResource( + com.google.cloud.compute.v1.TestPermissionsRequest.Builder builderForValue) { + if (testPermissionsRequestResourceBuilder_ == null) { + testPermissionsRequestResource_ = builderForValue.build(); + } else { + testPermissionsRequestResourceBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeTestPermissionsRequestResource( + com.google.cloud.compute.v1.TestPermissionsRequest value) { + if (testPermissionsRequestResourceBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && testPermissionsRequestResource_ != null + && testPermissionsRequestResource_ + != com.google.cloud.compute.v1.TestPermissionsRequest.getDefaultInstance()) { + getTestPermissionsRequestResourceBuilder().mergeFrom(value); + } else { + testPermissionsRequestResource_ = value; + } + } else { + testPermissionsRequestResourceBuilder_.mergeFrom(value); + } + if (testPermissionsRequestResource_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearTestPermissionsRequestResource() { + bitField0_ = (bitField0_ & ~0x00000004); + testPermissionsRequestResource_ = null; + if (testPermissionsRequestResourceBuilder_ != null) { + testPermissionsRequestResourceBuilder_.dispose(); + testPermissionsRequestResourceBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.TestPermissionsRequest.Builder + getTestPermissionsRequestResourceBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getTestPermissionsRequestResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.TestPermissionsRequestOrBuilder + getTestPermissionsRequestResourceOrBuilder() { + if (testPermissionsRequestResourceBuilder_ != null) { + return testPermissionsRequestResourceBuilder_.getMessageOrBuilder(); + } else { + return testPermissionsRequestResource_ == null + ? com.google.cloud.compute.v1.TestPermissionsRequest.getDefaultInstance() + : testPermissionsRequestResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.TestPermissionsRequest, + com.google.cloud.compute.v1.TestPermissionsRequest.Builder, + com.google.cloud.compute.v1.TestPermissionsRequestOrBuilder> + getTestPermissionsRequestResourceFieldBuilder() { + if (testPermissionsRequestResourceBuilder_ == null) { + testPermissionsRequestResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.TestPermissionsRequest, + com.google.cloud.compute.v1.TestPermissionsRequest.Builder, + com.google.cloud.compute.v1.TestPermissionsRequestOrBuilder>( + getTestPermissionsRequestResource(), getParentForChildren(), isClean()); + testPermissionsRequestResource_ = null; + } + return testPermissionsRequestResourceBuilder_; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest) + private static final com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest(); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TestIamPermissionsStoragePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsStoragePoolRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsStoragePoolRequestOrBuilder.java new file mode 100644 index 000000000000..0201ff53d378 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsStoragePoolRequestOrBuilder.java @@ -0,0 +1,143 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface TestIamPermissionsStoragePoolRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * Name or id of the resource for this request.
+   * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The resource. + */ + java.lang.String getResource(); + /** + * + * + *
+   * Name or id of the resource for this request.
+   * 
+ * + * string resource = 195806222 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for resource. + */ + com.google.protobuf.ByteString getResourceBytes(); + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the testPermissionsRequestResource field is set. + */ + boolean hasTestPermissionsRequestResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The testPermissionsRequestResource. + */ + com.google.cloud.compute.v1.TestPermissionsRequest getTestPermissionsRequestResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.TestPermissionsRequest test_permissions_request_resource = 439214758 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.TestPermissionsRequestOrBuilder + getTestPermissionsRequestResourceOrBuilder(); + + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UpdateStoragePoolRequest.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UpdateStoragePoolRequest.java new file mode 100644 index 000000000000..ad1fa90f338d --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UpdateStoragePoolRequest.java @@ -0,0 +1,1762 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for StoragePools.Update. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.UpdateStoragePoolRequest} + */ +public final class UpdateStoragePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.UpdateStoragePoolRequest) + UpdateStoragePoolRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use UpdateStoragePoolRequest.newBuilder() to construct. + private UpdateStoragePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private UpdateStoragePoolRequest() { + project_ = ""; + requestId_ = ""; + storagePool_ = ""; + updateMask_ = ""; + zone_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateStoragePoolRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_UpdateStoragePoolRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_UpdateStoragePoolRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.UpdateStoragePoolRequest.class, + com.google.cloud.compute.v1.UpdateStoragePoolRequest.Builder.class); + } + + private int bitField0_; + public static final int PROJECT_FIELD_NUMBER = 227560217; + + @SuppressWarnings("serial") + private volatile java.lang.Object project_ = ""; + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + @java.lang.Override + public java.lang.String getProject() { + java.lang.Object ref = project_; + 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(); + project_ = s; + return s; + } + } + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestId_ = ""; + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + @java.lang.Override + public boolean hasRequestId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + @java.lang.Override + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + 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(); + requestId_ = s; + return s; + } + } + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STORAGE_POOL_FIELD_NUMBER = 360473440; + + @SuppressWarnings("serial") + private volatile java.lang.Object storagePool_ = ""; + /** + * + * + *
+   * The storagePool name for this request.
+   * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The storagePool. + */ + @java.lang.Override + public java.lang.String getStoragePool() { + java.lang.Object ref = storagePool_; + 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(); + storagePool_ = s; + return s; + } + } + /** + * + * + *
+   * The storagePool name for this request.
+   * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for storagePool. + */ + @java.lang.Override + public com.google.protobuf.ByteString getStoragePoolBytes() { + java.lang.Object ref = storagePool_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + storagePool_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STORAGE_POOL_RESOURCE_FIELD_NUMBER = 157179405; + private com.google.cloud.compute.v1.StoragePool storagePoolResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the storagePoolResource field is set. + */ + @java.lang.Override + public boolean hasStoragePoolResource() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The storagePoolResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePool getStoragePoolResource() { + return storagePoolResource_ == null + ? com.google.cloud.compute.v1.StoragePool.getDefaultInstance() + : storagePoolResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.StoragePoolOrBuilder getStoragePoolResourceOrBuilder() { + return storagePoolResource_ == null + ? com.google.cloud.compute.v1.StoragePool.getDefaultInstance() + : storagePoolResource_; + } + + public static final int UPDATE_MASK_FIELD_NUMBER = 500079778; + + @SuppressWarnings("serial") + private volatile java.lang.Object updateMask_ = ""; + /** + * + * + *
+   * update_mask indicates fields to be updated as part of this request.
+   * 
+ * + * optional string update_mask = 500079778; + * + * @return Whether the updateMask field is set. + */ + @java.lang.Override + public boolean hasUpdateMask() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * update_mask indicates fields to be updated as part of this request.
+   * 
+ * + * optional string update_mask = 500079778; + * + * @return The updateMask. + */ + @java.lang.Override + public java.lang.String getUpdateMask() { + java.lang.Object ref = updateMask_; + 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(); + updateMask_ = s; + return s; + } + } + /** + * + * + *
+   * update_mask indicates fields to be updated as part of this request.
+   * 
+ * + * optional string update_mask = 500079778; + * + * @return The bytes for updateMask. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUpdateMaskBytes() { + java.lang.Object ref = updateMask_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + updateMask_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ZONE_FIELD_NUMBER = 3744684; + + @SuppressWarnings("serial") + private volatile java.lang.Object zone_ = ""; + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + @java.lang.Override + public java.lang.String getZone() { + java.lang.Object ref = zone_; + 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(); + zone_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + @java.lang.Override + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 37109963, requestId_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(157179405, getStoragePoolResource()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storagePool_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 360473440, storagePool_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 500079778, updateMask_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(37109963, requestId_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 157179405, getStoragePoolResource()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storagePool_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(360473440, storagePool_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(500079778, updateMask_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.compute.v1.UpdateStoragePoolRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.UpdateStoragePoolRequest other = + (com.google.cloud.compute.v1.UpdateStoragePoolRequest) obj; + + if (!getProject().equals(other.getProject())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!getStoragePool().equals(other.getStoragePool())) return false; + if (hasStoragePoolResource() != other.hasStoragePoolResource()) return false; + if (hasStoragePoolResource()) { + if (!getStoragePoolResource().equals(other.getStoragePoolResource())) return false; + } + if (hasUpdateMask() != other.hasUpdateMask()) return false; + if (hasUpdateMask()) { + if (!getUpdateMask().equals(other.getUpdateMask())) return false; + } + if (!getZone().equals(other.getZone())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (37 * hash) + STORAGE_POOL_FIELD_NUMBER; + hash = (53 * hash) + getStoragePool().hashCode(); + if (hasStoragePoolResource()) { + hash = (37 * hash) + STORAGE_POOL_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getStoragePoolResource().hashCode(); + } + if (hasUpdateMask()) { + hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; + hash = (53 * hash) + getUpdateMask().hashCode(); + } + hash = (37 * hash) + ZONE_FIELD_NUMBER; + hash = (53 * hash) + getZone().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.UpdateStoragePoolRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.UpdateStoragePoolRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.UpdateStoragePoolRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.UpdateStoragePoolRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.UpdateStoragePoolRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.UpdateStoragePoolRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.compute.v1.UpdateStoragePoolRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.UpdateStoragePoolRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.UpdateStoragePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.UpdateStoragePoolRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.compute.v1.UpdateStoragePoolRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.UpdateStoragePoolRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.compute.v1.UpdateStoragePoolRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A request message for StoragePools.Update. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.UpdateStoragePoolRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.UpdateStoragePoolRequest) + com.google.cloud.compute.v1.UpdateStoragePoolRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_UpdateStoragePoolRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_UpdateStoragePoolRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.UpdateStoragePoolRequest.class, + com.google.cloud.compute.v1.UpdateStoragePoolRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.UpdateStoragePoolRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getStoragePoolResourceFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + project_ = ""; + requestId_ = ""; + storagePool_ = ""; + storagePoolResource_ = null; + if (storagePoolResourceBuilder_ != null) { + storagePoolResourceBuilder_.dispose(); + storagePoolResourceBuilder_ = null; + } + updateMask_ = ""; + zone_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_UpdateStoragePoolRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.UpdateStoragePoolRequest getDefaultInstanceForType() { + return com.google.cloud.compute.v1.UpdateStoragePoolRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.UpdateStoragePoolRequest build() { + com.google.cloud.compute.v1.UpdateStoragePoolRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.UpdateStoragePoolRequest buildPartial() { + com.google.cloud.compute.v1.UpdateStoragePoolRequest result = + new com.google.cloud.compute.v1.UpdateStoragePoolRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.compute.v1.UpdateStoragePoolRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.project_ = project_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.requestId_ = requestId_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.storagePool_ = storagePool_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.storagePoolResource_ = + storagePoolResourceBuilder_ == null + ? storagePoolResource_ + : storagePoolResourceBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.updateMask_ = updateMask_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.zone_ = zone_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.compute.v1.UpdateStoragePoolRequest) { + return mergeFrom((com.google.cloud.compute.v1.UpdateStoragePoolRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.UpdateStoragePoolRequest other) { + if (other == com.google.cloud.compute.v1.UpdateStoragePoolRequest.getDefaultInstance()) + return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasRequestId()) { + requestId_ = other.requestId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getStoragePool().isEmpty()) { + storagePool_ = other.storagePool_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasStoragePoolResource()) { + mergeStoragePoolResource(other.getStoragePoolResource()); + } + if (other.hasUpdateMask()) { + updateMask_ = other.updateMask_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getZone().isEmpty()) { + zone_ = other.zone_; + bitField0_ |= 0x00000020; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 29957474: + { + zone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 29957474 + case 296879706: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 296879706 + case 1257435242: + { + input.readMessage( + getStoragePoolResourceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 1257435242 + case 1820481738: + { + project_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 1820481738 + case -1411179774: + { + storagePool_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case -1411179774 + case -294329070: + { + updateMask_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case -294329070 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + public com.google.protobuf.ByteString getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @param value The project to set. + * @return This builder for chaining. + */ + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + project_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return This builder for chaining. + */ + public Builder clearProject() { + project_ = getDefaultInstance().getProject(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Project ID for this request.
+     * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @param value The bytes for project to set. + * @return This builder for chaining. + */ + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object requestId_ = ""; + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + public boolean hasRequestId() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @param value The requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @return This builder for chaining. + */ + public Builder clearRequestId() { + requestId_ = getDefaultInstance().getRequestId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+     * 
+ * + * optional string request_id = 37109963; + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object storagePool_ = ""; + /** + * + * + *
+     * The storagePool name for this request.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The storagePool. + */ + public java.lang.String getStoragePool() { + java.lang.Object ref = storagePool_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + storagePool_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The storagePool name for this request.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for storagePool. + */ + public com.google.protobuf.ByteString getStoragePoolBytes() { + java.lang.Object ref = storagePool_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + storagePool_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The storagePool name for this request.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The storagePool to set. + * @return This builder for chaining. + */ + public Builder setStoragePool(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + storagePool_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The storagePool name for this request.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearStoragePool() { + storagePool_ = getDefaultInstance().getStoragePool(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * The storagePool name for this request.
+     * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for storagePool to set. + * @return This builder for chaining. + */ + public Builder setStoragePoolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + storagePool_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.StoragePool storagePoolResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.StoragePool, + com.google.cloud.compute.v1.StoragePool.Builder, + com.google.cloud.compute.v1.StoragePoolOrBuilder> + storagePoolResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the storagePoolResource field is set. + */ + public boolean hasStoragePoolResource() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The storagePoolResource. + */ + public com.google.cloud.compute.v1.StoragePool getStoragePoolResource() { + if (storagePoolResourceBuilder_ == null) { + return storagePoolResource_ == null + ? com.google.cloud.compute.v1.StoragePool.getDefaultInstance() + : storagePoolResource_; + } else { + return storagePoolResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setStoragePoolResource(com.google.cloud.compute.v1.StoragePool value) { + if (storagePoolResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + storagePoolResource_ = value; + } else { + storagePoolResourceBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setStoragePoolResource( + com.google.cloud.compute.v1.StoragePool.Builder builderForValue) { + if (storagePoolResourceBuilder_ == null) { + storagePoolResource_ = builderForValue.build(); + } else { + storagePoolResourceBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeStoragePoolResource(com.google.cloud.compute.v1.StoragePool value) { + if (storagePoolResourceBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && storagePoolResource_ != null + && storagePoolResource_ + != com.google.cloud.compute.v1.StoragePool.getDefaultInstance()) { + getStoragePoolResourceBuilder().mergeFrom(value); + } else { + storagePoolResource_ = value; + } + } else { + storagePoolResourceBuilder_.mergeFrom(value); + } + if (storagePoolResource_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearStoragePoolResource() { + bitField0_ = (bitField0_ & ~0x00000008); + storagePoolResource_ = null; + if (storagePoolResourceBuilder_ != null) { + storagePoolResourceBuilder_.dispose(); + storagePoolResourceBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.StoragePool.Builder getStoragePoolResourceBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getStoragePoolResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.StoragePoolOrBuilder getStoragePoolResourceOrBuilder() { + if (storagePoolResourceBuilder_ != null) { + return storagePoolResourceBuilder_.getMessageOrBuilder(); + } else { + return storagePoolResource_ == null + ? com.google.cloud.compute.v1.StoragePool.getDefaultInstance() + : storagePoolResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.StoragePool, + com.google.cloud.compute.v1.StoragePool.Builder, + com.google.cloud.compute.v1.StoragePoolOrBuilder> + getStoragePoolResourceFieldBuilder() { + if (storagePoolResourceBuilder_ == null) { + storagePoolResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.StoragePool, + com.google.cloud.compute.v1.StoragePool.Builder, + com.google.cloud.compute.v1.StoragePoolOrBuilder>( + getStoragePoolResource(), getParentForChildren(), isClean()); + storagePoolResource_ = null; + } + return storagePoolResourceBuilder_; + } + + private java.lang.Object updateMask_ = ""; + /** + * + * + *
+     * update_mask indicates fields to be updated as part of this request.
+     * 
+ * + * optional string update_mask = 500079778; + * + * @return Whether the updateMask field is set. + */ + public boolean hasUpdateMask() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * update_mask indicates fields to be updated as part of this request.
+     * 
+ * + * optional string update_mask = 500079778; + * + * @return The updateMask. + */ + public java.lang.String getUpdateMask() { + java.lang.Object ref = updateMask_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + updateMask_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * update_mask indicates fields to be updated as part of this request.
+     * 
+ * + * optional string update_mask = 500079778; + * + * @return The bytes for updateMask. + */ + public com.google.protobuf.ByteString getUpdateMaskBytes() { + java.lang.Object ref = updateMask_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + updateMask_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * update_mask indicates fields to be updated as part of this request.
+     * 
+ * + * optional string update_mask = 500079778; + * + * @param value The updateMask to set. + * @return This builder for chaining. + */ + public Builder setUpdateMask(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + updateMask_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * update_mask indicates fields to be updated as part of this request.
+     * 
+ * + * optional string update_mask = 500079778; + * + * @return This builder for chaining. + */ + public Builder clearUpdateMask() { + updateMask_ = getDefaultInstance().getUpdateMask(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * update_mask indicates fields to be updated as part of this request.
+     * 
+ * + * optional string update_mask = 500079778; + * + * @param value The bytes for updateMask to set. + * @return This builder for chaining. + */ + public Builder setUpdateMaskBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + updateMask_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object zone_ = ""; + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + public java.lang.String getZone() { + java.lang.Object ref = zone_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + zone_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + public com.google.protobuf.ByteString getZoneBytes() { + java.lang.Object ref = zone_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + zone_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @param value The zone to set. + * @return This builder for chaining. + */ + public Builder setZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + zone_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return This builder for chaining. + */ + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the zone for this request.
+     * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @param value The bytes for zone to set. + * @return This builder for chaining. + */ + public Builder setZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.compute.v1.UpdateStoragePoolRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.UpdateStoragePoolRequest) + private static final com.google.cloud.compute.v1.UpdateStoragePoolRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.UpdateStoragePoolRequest(); + } + + public static com.google.cloud.compute.v1.UpdateStoragePoolRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateStoragePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.UpdateStoragePoolRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UpdateStoragePoolRequestOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UpdateStoragePoolRequestOrBuilder.java new file mode 100644 index 000000000000..012a903b6bc4 --- /dev/null +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UpdateStoragePoolRequestOrBuilder.java @@ -0,0 +1,224 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.compute.v1; + +public interface UpdateStoragePoolRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.UpdateStoragePoolRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Project ID for this request.
+   * 
+ * + * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; + * + * + * @return The bytes for project. + */ + com.google.protobuf.ByteString getProjectBytes(); + + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return Whether the requestId field is set. + */ + boolean hasRequestId(); + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The requestId. + */ + java.lang.String getRequestId(); + /** + * + * + *
+   * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
+   * 
+ * + * optional string request_id = 37109963; + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); + + /** + * + * + *
+   * The storagePool name for this request.
+   * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The storagePool. + */ + java.lang.String getStoragePool(); + /** + * + * + *
+   * The storagePool name for this request.
+   * 
+ * + * string storage_pool = 360473440 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for storagePool. + */ + com.google.protobuf.ByteString getStoragePoolBytes(); + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the storagePoolResource field is set. + */ + boolean hasStoragePoolResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The storagePoolResource. + */ + com.google.cloud.compute.v1.StoragePool getStoragePoolResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.StoragePool storage_pool_resource = 157179405 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.StoragePoolOrBuilder getStoragePoolResourceOrBuilder(); + + /** + * + * + *
+   * update_mask indicates fields to be updated as part of this request.
+   * 
+ * + * optional string update_mask = 500079778; + * + * @return Whether the updateMask field is set. + */ + boolean hasUpdateMask(); + /** + * + * + *
+   * update_mask indicates fields to be updated as part of this request.
+   * 
+ * + * optional string update_mask = 500079778; + * + * @return The updateMask. + */ + java.lang.String getUpdateMask(); + /** + * + * + *
+   * update_mask indicates fields to be updated as part of this request.
+   * 
+ * + * optional string update_mask = 500079778; + * + * @return The bytes for updateMask. + */ + com.google.protobuf.ByteString getUpdateMaskBytes(); + + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The zone. + */ + java.lang.String getZone(); + /** + * + * + *
+   * The name of the zone for this request.
+   * 
+ * + * + * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; + * + * + * @return The bytes for zone. + */ + com.google.protobuf.ByteString getZoneBytes(); +} diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UrlMap.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UrlMap.java index e6663af2d734..08b56fa9a263 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UrlMap.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UrlMap.java @@ -201,7 +201,7 @@ public com.google.cloud.compute.v1.HttpRouteActionOrBuilder getDefaultRouteActio * * *
-   * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
+   * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
    * 
* * optional string default_service = 370242231; @@ -216,7 +216,7 @@ public boolean hasDefaultService() { * * *
-   * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
+   * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
    * 
* * optional string default_service = 370242231; @@ -239,7 +239,7 @@ public java.lang.String getDefaultService() { * * *
-   * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
+   * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
    * 
* * optional string default_service = 370242231; @@ -2241,7 +2241,7 @@ public com.google.cloud.compute.v1.HttpRouteActionOrBuilder getDefaultRouteActio * * *
-     * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
+     * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
      * 
* * optional string default_service = 370242231; @@ -2255,7 +2255,7 @@ public boolean hasDefaultService() { * * *
-     * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
+     * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
      * 
* * optional string default_service = 370242231; @@ -2277,7 +2277,7 @@ public java.lang.String getDefaultService() { * * *
-     * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
+     * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
      * 
* * optional string default_service = 370242231; @@ -2299,7 +2299,7 @@ public com.google.protobuf.ByteString getDefaultServiceBytes() { * * *
-     * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
+     * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
      * 
* * optional string default_service = 370242231; @@ -2320,7 +2320,7 @@ public Builder setDefaultService(java.lang.String value) { * * *
-     * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
+     * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
      * 
* * optional string default_service = 370242231; @@ -2337,7 +2337,7 @@ public Builder clearDefaultService() { * * *
-     * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
+     * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
      * 
* * optional string default_service = 370242231; diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UrlMapOrBuilder.java b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UrlMapOrBuilder.java index 4abf59ca4195..69273e84a487 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UrlMapOrBuilder.java +++ b/java-compute/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UrlMapOrBuilder.java @@ -103,7 +103,7 @@ public interface UrlMapOrBuilder * * *
-   * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
+   * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
    * 
* * optional string default_service = 370242231; @@ -115,7 +115,7 @@ public interface UrlMapOrBuilder * * *
-   * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
+   * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
    * 
* * optional string default_service = 370242231; @@ -127,7 +127,7 @@ public interface UrlMapOrBuilder * * *
-   * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
+   * The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
    * 
* * optional string default_service = 370242231; diff --git a/java-compute/proto-google-cloud-compute-v1/src/main/proto/google/cloud/compute/v1/compute.proto b/java-compute/proto-google-cloud-compute-v1/src/main/proto/google/cloud/compute/v1/compute.proto index 44fc7c3b58fe..30138cb26dff 100644 --- a/java-compute/proto-google-cloud-compute-v1/src/main/proto/google/cloud/compute/v1/compute.proto +++ b/java-compute/proto-google-cloud-compute-v1/src/main/proto/google/cloud/compute/v1/compute.proto @@ -14,7 +14,7 @@ // Generated by the disco-to-proto3-converter. DO NOT EDIT! // Source Discovery file: compute.v1.json -// Source file revision: 20240220 +// Source file revision: 20240421 // API name: compute // API version: v1 @@ -1867,6 +1867,62 @@ message AggregatedListSslPoliciesRequest { } +// A request message for StoragePoolTypes.AggregatedList. See the method description for details. +message AggregatedListStoragePoolTypesRequest { + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. + optional string filter = 336120696; + + // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + optional bool include_all_scopes = 391327988; + + // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + optional uint32 max_results = 54715419; + + // Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + optional string order_by = 160562920; + + // Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + optional string page_token = 19994697; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. + optional bool return_partial_success = 517198390; + + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + +} + +// A request message for StoragePools.AggregatedList. See the method description for details. +message AggregatedListStoragePoolsRequest { + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. + optional string filter = 336120696; + + // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + optional bool include_all_scopes = 391327988; + + // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + optional uint32 max_results = 54715419; + + // Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + optional string order_by = 160562920; + + // Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + optional string page_token = 19994697; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. + optional bool return_partial_success = 517198390; + + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + +} + // A request message for Subnetworks.AggregatedList. See the method description for details. message AggregatedListSubnetworksRequest { // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. @@ -2275,7 +2331,7 @@ message AllocationSpecificSKUAllocationReservedInstanceProperties { } -// This reservation type allows to pre allocate specific instance configuration. Next ID: 6 +// This reservation type allows to pre allocate specific instance configuration. message AllocationSpecificSKUReservation { // [Output Only] Indicates how many instances are actually usable currently. optional int64 assured_count = 281197645; @@ -2700,6 +2756,9 @@ message AttachedDiskInitializeParams { // The customer-supplied encryption key of the source snapshot. optional CustomerEncryptionKey source_snapshot_encryption_key = 303679322; + // The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool + optional string storage_pool = 360473440; + } // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging. @@ -4392,6 +4451,31 @@ message CacheKeyPolicy { } +// A request message for InstanceGroupManagerResizeRequests.Cancel. See the method description for details. +message CancelInstanceGroupManagerResizeRequestRequest { + // The name of the managed instance group. The name should conform to RFC1035 or be a resource ID. + string instance_group_manager = 249363395 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // The name of the resize request to cancel. The name should conform to RFC1035 or be a resource ID. + string resize_request = 216941060 [(google.api.field_behavior) = REQUIRED]; + + // The name of the zone where the managed instance group is located. The name should conform to RFC1035. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + // Settings controlling the volume of requests, connections and retries to this backend service. message CircuitBreakers { // The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. @@ -4541,6 +4625,8 @@ message Commitment { GENERAL_PURPOSE_N2D = 232471400; + GENERAL_PURPOSE_N4 = 301912158; + GENERAL_PURPOSE_T2D = 232477166; GRAPHICS_OPTIMIZED = 68500563; @@ -4830,13 +4916,13 @@ message CorsPolicy { // Specifies the content for the Access-Control-Allow-Methods header. repeated string allow_methods = 205405372; - // Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED. + // Specifies a regular expression that matches allowed origins. For more information, see regular expression syntax . An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED. repeated string allow_origin_regexes = 215385810; // Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. repeated string allow_origins = 194914071; - // If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect. + // If true, disables the CORS policy. The default value is false, which indicates that the CORS policy is in effect. optional bool disabled = 270940796; // Specifies the content for the Access-Control-Expose-Headers header. @@ -5325,6 +5411,31 @@ message DeleteInstanceGroupManagerRequest { } +// A request message for InstanceGroupManagerResizeRequests.Delete. See the method description for details. +message DeleteInstanceGroupManagerResizeRequestRequest { + // The name of the managed instance group. The name should conform to RFC1035 or be a resource ID. + string instance_group_manager = 249363395 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // The name of the resize request to delete. The name should conform to RFC1035 or be a resource ID. + string resize_request = 216941060 [(google.api.field_behavior) = REQUIRED]; + + // The name of the zone where the managed instance group is located. The name should conform to RFC1035. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + // A request message for InstanceGroups.Delete. See the method description for details. message DeleteInstanceGroupRequest { // The name of the instance group to delete. @@ -6417,6 +6528,28 @@ message DeleteSslPolicyRequest { } +// A request message for StoragePools.Delete. See the method description for details. +message DeleteStoragePoolRequest { + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // Name of the storage pool to delete. + string storage_pool = 360473440 [(google.api.field_behavior) = REQUIRED]; + + // The name of the zone for this request. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + // A request message for Subnetworks.Delete. See the method description for details. message DeleteSubnetworkRequest { // Project ID for this request. @@ -6887,6 +7020,9 @@ message Disk { // Source data is being copied into the disk. RESTORING = 404263851; + // Disk is currently unavailable and cannot be accessed, attached or detached. + UNAVAILABLE = 413756464; + } // The architecture of the disk. Valid values are ARM64 or X86_64. @@ -7026,6 +7162,9 @@ message Disk { // Check the Status enum for the list of possible values. optional string status = 181260274; + // The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /storagePools/storagePool - projects/project/zones/zone/storagePools/storagePool - zones/zone/storagePools/storagePool + optional string storage_pool = 360473440; + // URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project /zones/zone/diskTypes/pd-ssd . See Persistent disk types. optional string type = 3575610; @@ -7431,7 +7570,7 @@ message EnableXpnResourceProjectRequest { } -// [Output Only] If errors are generated during processing of the operation, this field will be populated. +// Errors that prevented the ResizeRequest to be fulfilled. message Error { // [Output Only] The array of errors encountered while processing this operation. repeated Errors errors = 315977579; @@ -7455,7 +7594,7 @@ message ErrorInfo { // The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com". optional string domain = 284415172; - // Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request. + // Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request. map metadatas = 8514340; // The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE. @@ -8184,6 +8323,9 @@ message ForwardingRule { // [Output Only] The unique identifier for the resource. This identifier is defined by the server. optional uint64 id = 3355; + // Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to specify a sub-PDP when creating an IPv6 NetLB forwarding rule using BYOIP: Full resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region /publicDelegatedPrefixes/sub-pdp-name Partial URL, as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name + optional string ip_collection = 176818358; + // The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. // Check the IpVersion enum for the list of possible values. optional string ip_version = 294959552; @@ -9051,6 +9193,22 @@ message GetIamPolicySnapshotRequest { } +// A request message for StoragePools.GetIamPolicy. See the method description for details. +message GetIamPolicyStoragePoolRequest { + // Requested IAM Policy version. + optional int32 options_requested_policy_version = 499220029; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Name or id of the resource for this request. + string resource = 195806222 [(google.api.field_behavior) = REQUIRED]; + + // The name of the zone for this request. + string zone = 3744684 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for Subnetworks.GetIamPolicy. See the method description for details. message GetIamPolicySubnetworkRequest { // Requested IAM Policy version. @@ -9103,6 +9261,22 @@ message GetInstanceGroupManagerRequest { } +// A request message for InstanceGroupManagerResizeRequests.Get. See the method description for details. +message GetInstanceGroupManagerResizeRequestRequest { + // The name of the managed instance group. Name should conform to RFC1035 or be a resource ID. + string instance_group_manager = 249363395 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // The name of the resize request. Name should conform to RFC1035 or be a resource ID. + string resize_request = 216941060 [(google.api.field_behavior) = REQUIRED]; + + // Name of the href="/compute/docs/regions-zones/#available">zone scoping this request. Name should conform to RFC1035. + string zone = 3744684 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for InstanceGroups.Get. See the method description for details. message GetInstanceGroupRequest { // The name of the instance group. @@ -9129,6 +9303,16 @@ message GetInstanceRequest { } +// A request message for InstanceSettingsService.Get. See the method description for details. +message GetInstanceSettingRequest { + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Name of the zone for this request. + string zone = 3744684 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for InstanceTemplates.Get. See the method description for details. message GetInstanceTemplateRequest { // The name of the instance template. @@ -9983,6 +10167,32 @@ message GetStatusVpnGatewayRequest { } +// A request message for StoragePools.Get. See the method description for details. +message GetStoragePoolRequest { + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Name of the storage pool to return. + string storage_pool = 360473440 [(google.api.field_behavior) = REQUIRED]; + + // The name of the zone for this request. + string zone = 3744684 [(google.api.field_behavior) = REQUIRED]; + +} + +// A request message for StoragePoolTypes.Get. See the method description for details. +message GetStoragePoolTypeRequest { + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Name of the storage pool type to return. + string storage_pool_type = 285999289 [(google.api.field_behavior) = REQUIRED]; + + // The name of the zone for this request. + string zone = 3744684 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for Subnetworks.Get. See the method description for details. message GetSubnetworkRequest { // Project ID for this request. @@ -10279,7 +10489,7 @@ message GuestAttributesValue { // Guest OS features. message GuestOsFeature { - // The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features. + // The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features. enum Type { // A value indicating that the enum field is not set. UNDEFINED_TYPE = 0; @@ -10310,7 +10520,7 @@ message GuestOsFeature { } - // The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features. + // The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features. // Check the Type enum for the list of possible values. optional string type = 3575610; @@ -11570,6 +11780,31 @@ message InsertInstanceGroupManagerRequest { } +// A request message for InstanceGroupManagerResizeRequests.Insert. See the method description for details. +message InsertInstanceGroupManagerResizeRequestRequest { + // The name of the managed instance group to which the resize request will be added. Name should conform to RFC1035 or be a resource ID. + string instance_group_manager = 249363395 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + InstanceGroupManagerResizeRequest instance_group_manager_resize_request_resource = 468541293 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // The name of the zone where the managed instance group is located and where the resize request will be created. Name should conform to RFC1035. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + // A request message for InstanceGroups.Insert. See the method description for details. message InsertInstanceGroupRequest { // The body resource for this request @@ -12537,6 +12772,28 @@ message InsertSslPolicyRequest { } +// A request message for StoragePools.Insert. See the method description for details. +message InsertStoragePoolRequest { + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // The body resource for this request + StoragePool storage_pool_resource = 157179405 [(google.api.field_behavior) = REQUIRED]; + + // The name of the zone for this request. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + // A request message for Subnetworks.Insert. See the method description for details. message InsertSubnetworkRequest { // Project ID for this request. @@ -13352,6 +13609,111 @@ message InstanceGroupManagerList { } +// InstanceGroupManagerResizeRequest represents a request to create a number of VMs: either immediately or by queuing the request for the specified time. This resize request is nested under InstanceGroupManager and the VMs created by this request are added to the owning InstanceGroupManager. +message InstanceGroupManagerResizeRequest { + // [Output only] Current state of the request. + enum State { + // A value indicating that the enum field is not set. + UNDEFINED_STATE = 0; + + // The request was created successfully and was accepted for provisioning when the capacity becomes available. + ACCEPTED = 246714279; + + // The request is cancelled. + CANCELLED = 41957681; + + // Resize request is being created and may still fail creation. + CREATING = 455564985; + + // The request failed before or during provisioning. If the request fails during provisioning, any VMs that were created during provisioning are rolled back and removed from the MIG. + FAILED = 455706685; + + // Default value. This value should never be returned. + STATE_UNSPECIFIED = 470755401; + + // The request succeeded. + SUCCEEDED = 511103553; + + } + + // [Output Only] The creation timestamp for this resize request in RFC3339 text format. + optional string creation_timestamp = 30525366; + + // An optional description of this resource. + optional string description = 422937596; + + // [Output Only] A unique identifier for this resource type. The server generates this identifier. + optional uint64 id = 3355; + + // [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests. + optional string kind = 3292052; + + // The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035. + optional string name = 3373707; + + // Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted. + optional Duration requested_run_duration = 232146425; + + // The number of instances to be created by this resize request. The group's target size will be increased by this number. + optional int32 resize_by = 533735362; + + // [Output Only] The URL for this resize request. The server defines this URL. + optional string self_link = 456214797; + + // [Output Only] Server-defined URL for this resource with the resource id. + optional string self_link_with_id = 44520962; + + // [Output only] Current state of the request. + // Check the State enum for the list of possible values. + optional string state = 109757585; + + // [Output only] Status of the request. + optional InstanceGroupManagerResizeRequestStatus status = 181260274; + + // [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests. + optional string zone = 3744684; + +} + +// +message InstanceGroupManagerResizeRequestStatus { + // [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry. + optional Error error = 96784904; + + // [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only. + optional InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492; + +} + +// +message InstanceGroupManagerResizeRequestStatusLastAttempt { + // Errors that prevented the ResizeRequest to be fulfilled. + optional Error error = 96784904; + +} + +// [Output Only] A list of resize requests. +message InstanceGroupManagerResizeRequestsListResponse { + // [Output Only] Unique identifier for the resource; defined by the server. + optional string id = 3355; + + // A list of resize request resources. + repeated InstanceGroupManagerResizeRequest items = 100526016; + + // [Output Only] Type of the resource. Always compute#instanceGroupManagerResizeRequestList for a list of resize requests. + optional string kind = 3292052; + + // [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + optional string next_page_token = 79797525; + + // [Output Only] Server-defined URL for this resource. + optional string self_link = 456214797; + + // [Output Only] Informational warning message. + optional Warning warning = 50704284; + +} + // message InstanceGroupManagerStatus { // [Output only] Status of all-instances configuration on the group. @@ -13386,7 +13748,7 @@ message InstanceGroupManagerStatusStateful { // [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. optional bool has_stateful_config = 110474224; - // [Output Only] Status of per-instance configurations on the instance. + // [Output Only] Status of per-instance configurations on the instances. optional InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001; } @@ -14000,6 +14362,32 @@ message InstanceReference { } +// Represents a Instance Settings resource. You can use instance settings to configure default settings for Compute Engine VM instances. For example, you can use it to configure default machine type of Compute Engine VM instances. +message InstanceSettings { + // Specifies a fingerprint for instance settings, which is essentially a hash of the instance settings resource's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance settings resource. You must always provide an up-to-date fingerprint hash in order to update or change the resource, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource. + optional string fingerprint = 234678500; + + // [Output Only] Type of the resource. Always compute#instance_settings for instance settings. + optional string kind = 3292052; + + // The metadata key/value pairs assigned to all the instances in the corresponding scope. + optional InstanceSettingsMetadata metadata = 86866735; + + // [Output Only] URL of the zone where the resource resides You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + optional string zone = 3744684; + +} + +// +message InstanceSettingsMetadata { + // A metadata key/value items map. The total size of all keys and values must be less than 512KB. + map items = 100526016; + + // [Output Only] Type of the resource. Always compute#metadata for metadata. + optional string kind = 3292052; + +} + // Represents an Instance Template resource. Google Compute Engine has two Instance Template resources: * [Global](/compute/docs/reference/rest/v1/instanceTemplates) * [Regional](/compute/docs/reference/rest/v1/regionInstanceTemplates) You can reuse a global instance template in different regions whereas you can use a regional instance template in a specified region only. If you want to reduce cross-region dependency or achieve data residency, use a regional instance template. To create VMs, managed instance groups, and reservations, you can use either global or regional instance templates. For more information, read Instance Templates. message InstanceTemplate { // [Output Only] The creation timestamp for this instance template in RFC3339 text format. @@ -14165,7 +14553,7 @@ message InstancesGetEffectiveFirewallsResponse { // message InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy { - // [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. + // [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. enum Type { // A value indicating that the enum field is not set. UNDEFINED_TYPE = 0; @@ -14192,7 +14580,7 @@ message InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy { // [Output Only] The short name of the firewall policy. optional string short_name = 492051566; - // [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. + // [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. // Check the Type enum for the list of possible values. optional string type = 3575610; @@ -14317,6 +14705,9 @@ message InstantSnapshot { // InstantSnapshot has been created successfully. READY = 77848963; + // InstantSnapshot is currently unavailable and cannot be used for Disk restoration + UNAVAILABLE = 413756464; + } // [Output Only] The architecture of the instant snapshot. Valid values are ARM64 or X86_64. @@ -15631,7 +16022,7 @@ message InterconnectRemoteLocation { // message InterconnectRemoteLocationConstraints { - // [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location. + // [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location. enum PortPairRemoteLocation { // A value indicating that the enum field is not set. UNDEFINED_PORT_PAIR_REMOTE_LOCATION = 0; @@ -15657,7 +16048,7 @@ message InterconnectRemoteLocationConstraints { } - // [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location. + // [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location. // Check the PortPairRemoteLocation enum for the list of possible values. optional string port_pair_remote_location = 495917351; @@ -16112,6 +16503,34 @@ message ListDisksRequest { } +// A request message for StoragePools.ListDisks. See the method description for details. +message ListDisksStoragePoolsRequest { + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. + optional string filter = 336120696; + + // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + optional uint32 max_results = 54715419; + + // Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + optional string order_by = 160562920; + + // Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + optional string page_token = 19994697; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. + optional bool return_partial_success = 517198390; + + // Name of the storage pool to list disks of. + string storage_pool = 360473440 [(google.api.field_behavior) = REQUIRED]; + + // The name of the zone for this request. + string zone = 3744684 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for InstanceGroupManagers.ListErrors. See the method description for details. message ListErrorsInstanceGroupManagersRequest { // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. @@ -16435,6 +16854,34 @@ message ListImagesRequest { } +// A request message for InstanceGroupManagerResizeRequests.List. See the method description for details. +message ListInstanceGroupManagerResizeRequestsRequest { + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. + optional string filter = 336120696; + + // The name of the managed instance group. The name should conform to RFC1035. + string instance_group_manager = 249363395 [(google.api.field_behavior) = REQUIRED]; + + // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + optional uint32 max_results = 54715419; + + // Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + optional string order_by = 160562920; + + // Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + optional string page_token = 19994697; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. + optional bool return_partial_success = 517198390; + + // The name of the zone where the managed instance group is located. The name should conform to RFC1035. + string zone = 3744684 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for InstanceGroupManagers.List. See the method description for details. message ListInstanceGroupManagersRequest { // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. @@ -18149,6 +18596,56 @@ message ListSslPoliciesRequest { } +// A request message for StoragePoolTypes.List. See the method description for details. +message ListStoragePoolTypesRequest { + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. + optional string filter = 336120696; + + // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + optional uint32 max_results = 54715419; + + // Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + optional string order_by = 160562920; + + // Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + optional string page_token = 19994697; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. + optional bool return_partial_success = 517198390; + + // The name of the zone for this request. + string zone = 3744684 [(google.api.field_behavior) = REQUIRED]; + +} + +// A request message for StoragePools.List. See the method description for details. +message ListStoragePoolsRequest { + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. + optional string filter = 336120696; + + // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + optional uint32 max_results = 54715419; + + // Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + optional string order_by = 160562920; + + // Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + optional string page_token = 19994697; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code. + optional bool return_partial_success = 517198390; + + // The name of the zone for this request. + string zone = 3744684 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for Subnetworks.List. See the method description for details. message ListSubnetworksRequest { // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. @@ -19647,7 +20144,7 @@ message NetworkEndpoint { // Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs for different use cases, see Network endpoint groups overview. message NetworkEndpointGroup { - // Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. + // Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP. enum NetworkEndpointType { // A value indicating that the enum field is not set. UNDEFINED_NETWORK_ENDPOINT_TYPE = 0; @@ -19708,7 +20205,7 @@ message NetworkEndpointGroup { // The URL of the network to which all network endpoints in the NEG belong. Uses default project network if unspecified. optional string network = 232872494; - // Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. + // Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP. // Check the NetworkEndpointType enum for the list of possible values. optional string network_endpoint_type = 118301523; @@ -20232,6 +20729,19 @@ message NetworksUpdatePeeringRequest { // Represents a sole-tenant Node Group resource. A sole-tenant node is a physical server that is dedicated to hosting VM instances only for your specific project. Use sole-tenant nodes to keep your instances physically separated from instances in other projects, or to group your instances together on the same host hardware. For more information, read Sole-tenant nodes. message NodeGroup { + // Specifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`. + enum MaintenanceInterval { + // A value indicating that the enum field is not set. + UNDEFINED_MAINTENANCE_INTERVAL = 0; + + // VMs are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the VM than the PERIODIC and RECURRENT options. + AS_NEEDED = 500724834; + + // VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available. RECURRENT is used for GEN3 and Slice of Hardware VMs. + RECURRENT = 194244550; + + } + // Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. enum MaintenancePolicy { // A value indicating that the enum field is not set. @@ -20285,6 +20795,10 @@ message NodeGroup { // An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate. optional string location_hint = 350519505; + // Specifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`. + // Check the MaintenanceInterval enum for the list of possible values. + optional string maintenance_interval = 403368049; + // Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. // Check the MaintenancePolicy enum for the list of possible values. optional string maintenance_policy = 528327646; @@ -20477,6 +20991,9 @@ message NodeGroupNode { // Total amount of available resources on the node. optional InstanceConsumptionInfo total_resources = 97406698; + // [Output Only] The information about an upcoming maintenance event. + optional UpcomingMaintenance upcoming_maintenance = 227348592; + } // @@ -20515,6 +21032,16 @@ message NodeGroupsListNodes { } +// +message NodeGroupsPerformMaintenanceRequest { + // [Required] List of nodes affected by the call. + repeated string nodes = 104993457; + + // The start time of the schedule. The timestamp is an RFC3339 string. + optional string start_time = 37467274; + +} + // message NodeGroupsScopedList { // [Output Only] A list of node groups contained in this scope. @@ -21128,7 +21655,7 @@ message PacketMirroring { // Check the Enable enum for the list of possible values. optional string enable = 311764355; - // Filter for mirrored traffic. If unspecified, all traffic is mirrored. + // Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored. optional PacketMirroringFilter filter = 336120696; // [Output Only] The unique identifier for the resource. This identifier is defined by the server. @@ -21203,7 +21730,7 @@ message PacketMirroringFilter { // Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. repeated string I_p_protocols = 98544854; - // One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview. + // One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". repeated string cidr_ranges = 487901697; // Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. @@ -21518,6 +22045,31 @@ message PatchInstanceGroupManagerRequest { } +// A request message for InstanceSettingsService.Patch. See the method description for details. +message PatchInstanceSettingRequest { + // The body resource for this request + InstanceSettings instance_settings_resource = 290689920 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // update_mask indicates fields to be updated as part of this request. + optional string update_mask = 500079778; + + // The zone scoping this request. It should conform to RFC1035. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + // A request message for InterconnectAttachments.Patch. See the method description for details. message PatchInterconnectAttachmentRequest { // Name of the interconnect attachment to patch. @@ -22418,13 +22970,13 @@ message PatchUrlMapRequest { // A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default service is used. message PathMatcher { - // defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction. + // defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction. optional HttpRouteAction default_route_action = 378919466; - // The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use + // The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect or defaultRouteAction.weightedBackendService. Don't set both. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use optional string default_service = 370242231; - // When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy. + // When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, then set either defaultService or defaultRouteAction. Don't set both. Not supported when the URL map is bound to a target gRPC proxy. optional HttpRedirectAction default_url_redirect = 359503338; // An optional description of this resource. Provide this property when you create the resource. @@ -22524,6 +23076,31 @@ message PerformMaintenanceInstanceRequest { } +// A request message for NodeGroups.PerformMaintenance. See the method description for details. +message PerformMaintenanceNodeGroupRequest { + // Name of the node group scoping this request. + string node_group = 469958146 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + NodeGroupsPerformMaintenanceRequest node_groups_perform_maintenance_request_resource = 185310294 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // The name of the zone for this request. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + // An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). message Policy { // Specifies cloud audit logging configuration for this policy. @@ -23022,6 +23599,19 @@ message PublicDelegatedPrefix { } + // The public delegated prefix mode for IPv6 only. + enum Mode { + // A value indicating that the enum field is not set. + UNDEFINED_MODE = 0; + + // The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength. + DELEGATION = 264149288; + + // The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes. + EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398684356; + + } + // [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned. enum Status { // A value indicating that the enum field is not set. @@ -23047,6 +23637,9 @@ message PublicDelegatedPrefix { } + // The allocatable prefix length supported by this public delegated prefix. This field is optional and cannot be set for prefixes in DELEGATION mode. It cannot be set for IPv4 prefixes either, and it always defaults to 32. + optional int32 allocatable_prefix_length = 38427446; + // [Output Only] The version of BYOIP API. // Check the ByoipApiVersion enum for the list of possible values. optional string byoip_api_version = 162683283; @@ -23072,6 +23665,10 @@ message PublicDelegatedPrefix { // [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes. optional string kind = 3292052; + // The public delegated prefix mode for IPv6 only. + // Check the Mode enum for the list of possible values. + optional string mode = 3357091; + // Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. optional string name = 3373707; @@ -23142,6 +23739,19 @@ message PublicDelegatedPrefixList { // Represents a sub PublicDelegatedPrefix. message PublicDelegatedPrefixPublicDelegatedSubPrefix { + // The PublicDelegatedSubPrefix mode for IPv6 only. + enum Mode { + // A value indicating that the enum field is not set. + UNDEFINED_MODE = 0; + + // The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength. + DELEGATION = 264149288; + + // The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes. + EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398684356; + + } + // [Output Only] The status of the sub public delegated prefix. enum Status { // A value indicating that the enum field is not set. @@ -23153,6 +23763,9 @@ message PublicDelegatedPrefixPublicDelegatedSubPrefix { } + // The allocatable prefix length supported by this PublicDelegatedSubPrefix. + optional int32 allocatable_prefix_length = 38427446; + // Name of the project scoping this PublicDelegatedSubPrefix. optional string delegatee_project = 414860634; @@ -23165,6 +23778,10 @@ message PublicDelegatedPrefixPublicDelegatedSubPrefix { // Whether the sub prefix is delegated to create Address resources in the delegatee project. optional bool is_address = 352617951; + // The PublicDelegatedSubPrefix mode for IPv6 only. + // Check the Mode enum for the list of possible values. + optional string mode = 3357091; + // The name of the sub public delegated prefix. optional string name = 3373707; @@ -23297,6 +23914,12 @@ message Quota { GPUS_ALL_REGIONS = 39387177; + HDB_TOTAL_GB = 319316271; + + HDB_TOTAL_IOPS = 309720317; + + HDB_TOTAL_THROUGHPUT = 20981374; + HEALTH_CHECKS = 289347502; IMAGES = 15562360; @@ -23443,6 +24066,8 @@ message Quota { REGIONAL_INTERNAL_MANAGED_BACKEND_SERVICES = 96282539; + REGIONAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES = 483162968; + RESERVATIONS = 32644647; RESOURCE_POLICIES = 83955297; @@ -23472,6 +24097,8 @@ message Quota { SSL_CERTIFICATES = 378372399; + SSL_POLICIES = 523254339; + STATIC_ADDRESSES = 93624049; STATIC_BYOIP_ADDRESSES = 275809649; @@ -23565,6 +24192,111 @@ message QuotaExceededInfo { } +// [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails. +message QuotaStatusWarning { + // [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. + enum Code { + // A value indicating that the enum field is not set. + UNDEFINED_CODE = 0; + + // Warning about failed cleanup of transient changes made by a failed operation. + CLEANUP_FAILED = 150308440; + + // A link to a deprecated resource was created. + DEPRECATED_RESOURCE_USED = 391835586; + + // When deploying and at least one of the resources has a type marked as deprecated + DEPRECATED_TYPE_USED = 346526230; + + // The user created a boot disk that is larger than image size. + DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967; + + // When deploying and at least one of the resources has a type marked as experimental + EXPERIMENTAL_TYPE_USED = 451954443; + + // Warning that is present in an external api call + EXTERNAL_API_WARNING = 175546307; + + // Warning that value of a field has been overridden. Deprecated unused field. + FIELD_VALUE_OVERRIDEN = 329669423; + + // The operation involved use of an injected kernel, which is deprecated. + INJECTED_KERNELS_DEPRECATED = 417377419; + + // A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2. + INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB = 401542606; + + // When deploying a deployment with a exceedingly large number of resources + LARGE_DEPLOYMENT_WARNING = 481440678; + + // Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter. + LIST_OVERHEAD_QUOTA_EXCEED = 47618117; + + // A resource depends on a missing type + MISSING_TYPE_DEPENDENCY = 344505463; + + // The route's nextHopIp address is not assigned to an instance on the network. + NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999; + + // The route's next hop instance cannot ip forward. + NEXT_HOP_CANNOT_IP_FORWARD = 383382887; + + // The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route. + NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE = 146748434; + + // The route's nextHopInstance URL refers to an instance that does not exist. + NEXT_HOP_INSTANCE_NOT_FOUND = 464250446; + + // The route's nextHopInstance URL refers to an instance that is not on the same network as the route. + NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146; + + // The route's next hop instance does not have a status of RUNNING. + NEXT_HOP_NOT_RUNNING = 417081265; + + // Error which is not critical. We decided to continue the process despite the mentioned error. + NOT_CRITICAL_ERROR = 105763924; + + // No results are present on a particular list page. + NO_RESULTS_ON_PAGE = 30036744; + + // Success is reported, but some results may be missing due to errors + PARTIAL_SUCCESS = 39966469; + + // The user attempted to use a resource that requires a TOS they have not accepted. + REQUIRED_TOS_AGREEMENT = 3745539; + + // Warning that a resource is in use. + RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641; + + // One or more of the resources set to auto-delete could not be deleted because they were in use. + RESOURCE_NOT_DELETED = 168598460; + + // When a resource schema validation is ignored. + SCHEMA_VALIDATION_IGNORED = 275245642; + + // Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group. + SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617; + + // When undeclared properties in the schema are present + UNDECLARED_PROPERTIES = 390513439; + + // A given scope cannot be reached. + UNREACHABLE = 13328052; + + } + + // [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. + // Check the Code enum for the list of possible values. + optional string code = 3059181; + + // [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } + repeated Data data = 3076010; + + // [Output Only] A human-readable description of the warning code. + optional string message = 418054151; + +} + // The parameters of the raw disk image. message RawDisk { // The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. @@ -23685,6 +24417,9 @@ message Region { // [Output Only] Name of the resource. optional string name = 3373707; + // [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails. + optional QuotaStatusWarning quota_status_warning = 302941430; + // [Output Only] Quotas assigned to this region. repeated Quota quotas = 125341947; @@ -24077,7 +24812,7 @@ message RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse { // message RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy { - // [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. + // [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. enum Type { // A value indicating that the enum field is not set. UNDEFINED_TYPE = 0; @@ -24101,7 +24836,7 @@ message RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirew // The rules that apply to the network. repeated FirewallPolicyRule rules = 108873975; - // [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. + // [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. // Check the Type enum for the list of possible values. optional string type = 3575610; @@ -24944,7 +25679,7 @@ message ResourcePolicyDailyCycle { message ResourcePolicyDiskConsistencyGroupPolicy { } -// A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality +// A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation message ResourcePolicyGroupPlacementPolicy { // Specifies network collocation enum Collocation { @@ -25459,6 +26194,9 @@ message RouterBgp { // Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN. optional uint32 asn = 96892; + // Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID". + optional string identifier_range = 501573159; + // The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20. optional uint32 keepalive_interval = 276771516; @@ -25538,15 +26276,27 @@ message RouterBgpPeer { // Check the Enable enum for the list of possible values. optional string enable = 311764355; - // Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default. + // Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4. + optional bool enable_ipv4 = 181467937; + + // Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6. optional bool enable_ipv6 = 181467939; + // List of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies. + repeated string export_policies = 134084987; + + // List of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently available in preview. Please use Beta API to use Route Policies. + repeated string import_policies = 451147946; + // Name of the interface the BGP peer is associated with. optional string interface_name = 437854673; - // IP address of the interface inside Google Cloud Platform. Only IPv4 is supported. + // IP address of the interface inside Google Cloud Platform. optional string ip_address = 406272220; + // IPv4 address of the interface inside Google Cloud Platform. + optional string ipv4_nexthop_address = 5703377; + // IPv6 address of the interface inside Google Cloud Platform. optional string ipv6_nexthop_address = 27968211; @@ -25563,9 +26313,12 @@ message RouterBgpPeer { // Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value. optional uint32 peer_asn = 69573151; - // IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported. + // IP address of the BGP interface outside Google Cloud Platform. optional string peer_ip_address = 207735769; + // IPv4 address of the BGP interface outside Google Cloud Platform. + optional string peer_ipv4_nexthop_address = 469221774; + // IPv6 address of the BGP interface outside Google Cloud Platform. optional string peer_ipv6_nexthop_address = 491486608; @@ -25613,6 +26366,17 @@ message RouterBgpPeerCustomLearnedIpRange { // message RouterInterface { + // IP version of this interface. + enum IpVersion { + // A value indicating that the enum field is not set. + UNDEFINED_IP_VERSION = 0; + + IPV4 = 2254341; + + IPV6 = 2254343; + + } + // [Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted. enum ManagementType { // A value indicating that the enum field is not set. @@ -25626,9 +26390,13 @@ message RouterInterface { } - // IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface. + // IP address and range of the interface. - For Internet Protocol version 4 (IPv4), the IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not truncate the IP address, as it represents the IP address of the interface. - For Internet Protocol version 6 (IPv6), the value must be a unique local address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112. Within the router's VPC, this IPv6 prefix will be reserved exclusively for this connection and cannot be used for any other purpose. optional string ip_range = 145092645; + // IP version of this interface. + // Check the IpVersion enum for the list of possible values. + optional string ip_version = 294959552; + // URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork. optional string linked_interconnect_attachment = 501085518; @@ -25956,6 +26724,12 @@ message RouterStatusBgpPeerStatus { // A value indicating that the enum field is not set. UNDEFINED_STATUS_REASON = 0; + // BGP peer disabled because it requires IPv4 but the underlying connection is IPv6-only. + IPV4_PEER_ON_IPV6_ONLY_CONNECTION = 435936662; + + // BGP peer disabled because it requires IPv6 but the underlying connection is IPv4-only. + IPV6_PEER_ON_IPV4_ONLY_CONNECTION = 436304082; + // Indicates internal problems with configuration of MD5 authentication. This particular reason can only be returned when md5AuthEnabled is true and status is DOWN. MD5_AUTH_INTERNAL_PROBLEM = 140462259; @@ -25968,12 +26742,18 @@ message RouterStatusBgpPeerStatus { optional BfdStatus bfd_status = 395631729; - // Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default. + // Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4. + optional bool enable_ipv4 = 181467937; + + // Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6. optional bool enable_ipv6 = 181467939; // IP address of the local BGP interface. optional string ip_address = 406272220; + // IPv4 address of the local BGP interface. + optional string ipv4_nexthop_address = 5703377; + // IPv6 address of the local BGP interface. optional string ipv6_nexthop_address = 27968211; @@ -25992,6 +26772,9 @@ message RouterStatusBgpPeerStatus { // IP address of the remote BGP interface. optional string peer_ip_address = 207735769; + // IPv4 address of the remote BGP interface. + optional string peer_ipv4_nexthop_address = 469221774; + // IPv6 address of the remote BGP interface. optional string peer_ipv6_nexthop_address = 491486608; @@ -27234,10 +28017,10 @@ message ServiceAttachment { // Check the ConnectionPreference enum for the list of possible values. optional string connection_preference = 285818076; - // Projects that are allowed to connect to this service attachment. + // Specifies which consumer projects or networks are allowed to connect to the service attachment. Each project or network has a connection limit. A given service attachment can manage connections at either the project or network level. Therefore, both the accept and reject lists for a given service attachment must contain either only projects or only networks. repeated ServiceAttachmentConsumerProjectLimit consumer_accept_lists = 402725703; - // Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number. + // Specifies a list of projects or networks that are not allowed to connect to this service attachment. The project can be specified using its project ID or project number and the network can be specified using its URL. A given service attachment can manage connections at either the project or network level. Therefore, both the reject and accept lists for a given service attachment must contain either only projects or only networks. repeated string consumer_reject_lists = 204033182; // [Output Only] Creation timestamp in RFC3339 text format. @@ -28008,6 +28791,22 @@ message SetIamPolicySnapshotRequest { } +// A request message for StoragePools.SetIamPolicy. See the method description for details. +message SetIamPolicyStoragePoolRequest { + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Name or id of the resource for this request. + string resource = 195806222 [(google.api.field_behavior) = REQUIRED]; + + // The name of the zone for this request. + string zone = 3744684 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for Subnetworks.SetIamPolicy. See the method description for details. message SetIamPolicySubnetworkRequest { // Project ID for this request. @@ -30321,6 +31120,408 @@ message StopInstanceRequest { } +// Represents a zonal storage pool resource. +message StoragePool { + // Provisioning type of the byte capacity of the pool. + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // ADVANCED + // STANDARD + // UNSPECIFIED + enum CapacityProvisioningType { + // A value indicating that the enum field is not set. + UNDEFINED_CAPACITY_PROVISIONING_TYPE = 0; + + } + + // Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // ADVANCED + // STANDARD + // UNSPECIFIED + enum PerformanceProvisioningType { + // A value indicating that the enum field is not set. + UNDEFINED_PERFORMANCE_PROVISIONING_TYPE = 0; + + } + + // [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting. + enum State { + // A value indicating that the enum field is not set. + UNDEFINED_STATE = 0; + + // StoragePool is provisioning + CREATING = 455564985; + + // StoragePool is deleting. + DELETING = 528602024; + + // StoragePool creation failed. + FAILED = 455706685; + + // StoragePool is ready for use. + READY = 77848963; + + } + + // Provisioning type of the byte capacity of the pool. + // Check the CapacityProvisioningType enum for the list of possible values. + optional string capacity_provisioning_type = 251610375; + + // [Output Only] Creation timestamp in RFC3339 text format. + optional string creation_timestamp = 30525366; + + // An optional description of this resource. Provide this property when you create the resource. + optional string description = 422937596; + + // [Output Only] The unique identifier for the resource. This identifier is defined by the server. + optional uint64 id = 3355; + + // [Output Only] Type of the resource. Always compute#storagePool for storage pools. + optional string kind = 3292052; + + // A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool. + optional string label_fingerprint = 178124825; + + // Labels to apply to this storage pool. These can be later modified by the setLabels method. + map labels = 500195327; + + // Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + optional string name = 3373707; + + // Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. + // Check the PerformanceProvisioningType enum for the list of possible values. + optional string performance_provisioning_type = 468553469; + + // Size, in GiB, of the storage pool. + optional int64 pool_provisioned_capacity_gb = 478537682; + + // Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced. + optional int64 pool_provisioned_iops = 112092311; + + // Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput. + optional int64 pool_provisioned_throughput = 169215640; + + // [Output Only] Status information for the storage pool resource. + optional StoragePoolResourceStatus resource_status = 249429315; + + // [Output Only] Server-defined fully-qualified URL for this resource. + optional string self_link = 456214797; + + // [Output Only] Server-defined URL for this resource's resource id. + optional string self_link_with_id = 44520962; + + // [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting. + // Check the State enum for the list of possible values. + optional string state = 109757585; + + // [Output Only] Status information for the storage pool resource. + optional StoragePoolResourceStatus status = 181260274; + + // Type of the storage pool. + optional string storage_pool_type = 285999289; + + // [Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + optional string zone = 3744684; + +} + +// +message StoragePoolAggregatedList { + optional string etag = 3123477; + + // [Output Only] Unique identifier for the resource; defined by the server. + optional string id = 3355; + + // A list of StoragePoolsScopedList resources. + map items = 100526016; + + // [Output Only] Type of resource. Always compute#storagePoolAggregatedList for aggregated lists of storage pools. + optional string kind = 3292052; + + // [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + optional string next_page_token = 79797525; + + // [Output Only] Server-defined URL for this resource. + optional string self_link = 456214797; + + // [Output Only] Unreachable resources. + repeated string unreachables = 243372063; + + // [Output Only] Informational warning message. + optional Warning warning = 50704284; + +} + +// +message StoragePoolDisk { + // [Output Only] The disk status. + enum Status { + // A value indicating that the enum field is not set. + UNDEFINED_STATUS = 0; + + // Disk is provisioning + CREATING = 455564985; + + // Disk is deleting. + DELETING = 528602024; + + // Disk creation failed. + FAILED = 455706685; + + // Disk is ready for use. + READY = 77848963; + + // Source data is being copied into the disk. + RESTORING = 404263851; + + // Disk is currently unavailable and cannot be accessed, attached or detached. + UNAVAILABLE = 413756464; + + } + + // [Output Only] Instances this disk is attached to. + repeated string attached_instances = 65255843; + + // [Output Only] Creation timestamp in RFC3339 text format. + optional string creation_timestamp = 30525366; + + // [Output Only] The URL of the disk. + optional string disk = 3083677; + + // [Output Only] The name of the disk. + optional string name = 3373707; + + // [Output Only] The number of IOPS provisioned for the disk. + optional int64 provisioned_iops = 186769108; + + // [Output Only] The throughput provisioned for the disk. + optional int64 provisioned_throughput = 526524181; + + // [Output Only] Resource policies applied to disk for automatic snapshot creations. + repeated string resource_policies = 22220385; + + // [Output Only] The disk size, in GB. + optional int64 size_gb = 494929369; + + // [Output Only] The disk status. + // Check the Status enum for the list of possible values. + optional string status = 181260274; + + // [Output Only] The disk type. + optional string type = 3575610; + + // [Output Only] Amount of disk space used. + optional int64 used_bytes = 231640425; + +} + +// A list of StoragePool resources. +message StoragePoolList { + optional string etag = 3123477; + + // [Output Only] Unique identifier for the resource; defined by the server. + optional string id = 3355; + + // A list of StoragePool resources. + repeated StoragePool items = 100526016; + + // [Output Only] Type of resource. Always compute#storagePoolList for lists of storagePools. + optional string kind = 3292052; + + // [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + optional string next_page_token = 79797525; + + // [Output Only] Server-defined URL for this resource. + optional string self_link = 456214797; + + // [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder + repeated string unreachables = 243372063; + + // [Output Only] Informational warning message. + optional Warning warning = 50704284; + +} + +// +message StoragePoolListDisks { + optional string etag = 3123477; + + // [Output Only] Unique identifier for the resource; defined by the server. + optional string id = 3355; + + // A list of StoragePoolDisk resources. + repeated StoragePoolDisk items = 100526016; + + // [Output Only] Type of resource. Always compute#storagePoolListDisks for lists of disks in a storagePool. + optional string kind = 3292052; + + // [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + optional string next_page_token = 79797525; + + // [Output Only] Server-defined URL for this resource. + optional string self_link = 456214797; + + // [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder + repeated string unreachables = 243372063; + + // [Output Only] Informational warning message. + optional Warning warning = 50704284; + +} + +// [Output Only] Contains output only fields. +message StoragePoolResourceStatus { + // [Output Only] Number of disks used. + optional int64 disk_count = 182933485; + + // [Output Only] Timestamp of the last successful resize in RFC3339 text format. + optional string last_resize_timestamp = 500825556; + + // [Output Only] Maximum allowed aggregate disk size in gigabytes. + optional int64 max_total_provisioned_disk_capacity_gb = 165818207; + + // [Output Only] Space used by data stored in disks within the storage pool (in bytes). This will reflect the total number of bytes written to the disks in the pool, in contrast to the capacity of those disks. + optional int64 pool_used_capacity_bytes = 510407877; + + // Sum of all the disks' provisioned IOPS, minus some amount that is allowed per disk that is not counted towards pool's IOPS capacity. + optional int64 pool_used_iops = 99558536; + + // [Output Only] Sum of all the disks' provisioned throughput in MB/s. + optional int64 pool_used_throughput = 206130633; + + // [Output Only] Amount of data written into the pool, before it is compacted. + optional int64 pool_user_written_bytes = 228964050; + + // [Output Only] Sum of all the capacity provisioned in disks in this storage pool. A disk's provisioned capacity is the same as its total capacity. + optional int64 total_provisioned_disk_capacity_gb = 520930980; + + // [Output Only] Sum of all the disks' provisioned IOPS. + optional int64 total_provisioned_disk_iops = 32812549; + + // [Output Only] Sum of all the disks' provisioned throughput in MB/s, minus some amount that is allowed per disk that is not counted towards pool's throughput capacity. + optional int64 total_provisioned_disk_throughput = 447677830; + +} + +// +message StoragePoolType { + // [Output Only] Creation timestamp in RFC3339 text format. + optional string creation_timestamp = 30525366; + + // [Output Only] The deprecation status associated with this storage pool type. + optional DeprecationStatus deprecated = 515138995; + + // [Output Only] An optional description of this resource. + optional string description = 422937596; + + // [Output Only] The unique identifier for the resource. This identifier is defined by the server. + optional uint64 id = 3355; + + // [Output Only] Type of the resource. Always compute#storagePoolType for storage pool types. + optional string kind = 3292052; + + // [Output Only] Maximum storage pool size in GB. + optional int64 max_pool_provisioned_capacity_gb = 182139085; + + // [Output Only] Maximum provisioned IOPS. + optional int64 max_pool_provisioned_iops = 515270652; + + // [Output Only] Maximum provisioned throughput. + optional int64 max_pool_provisioned_throughput = 228928061; + + // [Output Only] Minimum storage pool size in GB. + optional int64 min_pool_provisioned_capacity_gb = 191022751; + + // [Output Only] Minimum provisioned IOPS. + optional int64 min_pool_provisioned_iops = 416473706; + + // [Output Only] Minimum provisioned throughput. + optional int64 min_pool_provisioned_throughput = 367761963; + + // [Deprecated] This field is deprecated. Use minPoolProvisionedCapacityGb instead. + optional int64 min_size_gb = 385278188; + + // [Output Only] Name of the resource. + optional string name = 3373707; + + // [Output Only] Server-defined URL for the resource. + optional string self_link = 456214797; + + // [Output Only] Server-defined URL for this resource with the resource id. + optional string self_link_with_id = 44520962; + + // [Output Only] The list of disk types supported in this storage pool type. + repeated string supported_disk_types = 150587272; + + // [Output Only] URL of the zone where the storage pool type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + optional string zone = 3744684; + +} + +// +message StoragePoolTypeAggregatedList { + // [Output Only] Unique identifier for the resource; defined by the server. + optional string id = 3355; + + // A list of StoragePoolTypesScopedList resources. + map items = 100526016; + + // [Output Only] Type of resource. Always compute#storagePoolTypeAggregatedList . + optional string kind = 3292052; + + // [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + optional string next_page_token = 79797525; + + // [Output Only] Server-defined URL for this resource. + optional string self_link = 456214797; + + // [Output Only] Informational warning message. + optional Warning warning = 50704284; + +} + +// Contains a list of storage pool types. +message StoragePoolTypeList { + // [Output Only] Unique identifier for the resource; defined by the server. + optional string id = 3355; + + // A list of StoragePoolType resources. + repeated StoragePoolType items = 100526016; + + // [Output Only] Type of resource. Always compute#storagePoolTypeList for storage pool types. + optional string kind = 3292052; + + // [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + optional string next_page_token = 79797525; + + // [Output Only] Server-defined URL for this resource. + optional string self_link = 456214797; + + // [Output Only] Informational warning message. + optional Warning warning = 50704284; + +} + +// +message StoragePoolTypesScopedList { + // [Output Only] A list of storage pool types contained in this scope. + repeated StoragePoolType storage_pool_types = 276043482; + + // [Output Only] Informational warning which replaces the list of storage pool types when the list is empty. + optional Warning warning = 50704284; + +} + +// +message StoragePoolsScopedList { + // [Output Only] A list of storage pool contained in this scope. + repeated StoragePool storage_pools = 437258515; + + // [Output Only] Informational warning which replaces the list of storage pool when the list is empty. + optional Warning warning = 50704284; + +} + // Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a logical partition of a Virtual Private Cloud network with one primary IP range and zero or more secondary IP ranges. For more information, read Virtual Private Cloud (VPC) Network. message Subnetwork { // The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. @@ -32129,6 +33330,22 @@ message TestIamPermissionsSnapshotRequest { } +// A request message for StoragePools.TestIamPermissions. See the method description for details. +message TestIamPermissionsStoragePoolRequest { + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Name or id of the resource for this request. + string resource = 195806222 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + TestPermissionsRequest test_permissions_request_resource = 439214758 [(google.api.field_behavior) = REQUIRED]; + + // The name of the zone for this request. + string zone = 3744684 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for Subnetworks.TestIamPermissions. See the method description for details. message TestIamPermissionsSubnetworkRequest { // Project ID for this request. @@ -32817,6 +34034,34 @@ message UpdateShieldedInstanceConfigInstanceRequest { } +// A request message for StoragePools.Update. See the method description for details. +message UpdateStoragePoolRequest { + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // The storagePool name for this request. + string storage_pool = 360473440 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + StoragePool storage_pool_resource = 157179405 [(google.api.field_behavior) = REQUIRED]; + + // update_mask indicates fields to be updated as part of this request. + optional string update_mask = 500079778; + + // The name of the zone for this request. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + // A request message for UrlMaps.Update. See the method description for details. message UpdateUrlMapRequest { // Project ID for this request. @@ -32844,7 +34089,7 @@ message UrlMap { // defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. optional HttpRouteAction default_route_action = 378919466; - // The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. + // The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. optional string default_service = 370242231; // When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy. @@ -35782,6 +37027,61 @@ service Images { } +// The InstanceGroupManagerResizeRequests API. +service InstanceGroupManagerResizeRequests { + option (google.api.default_host) = + "compute.googleapis.com"; + + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/compute," + "https://www.googleapis.com/auth/cloud-platform"; + + // Cancels the specified resize request and removes it from the queue. Cancelled resize request does no longer wait for the resources to be provisioned. Cancel is only possible for requests that are accepted in the queue. + rpc Cancel(CancelInstanceGroupManagerResizeRequestRequest) returns (Operation) { + option (google.api.http) = { + post: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/resizeRequests/{resize_request}/cancel" + }; + option (google.api.method_signature) = "project,zone,instance_group_manager,resize_request"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + + // Deletes the specified, inactive resize request. Requests that are still active cannot be deleted. Deleting request does not delete instances that were provisioned previously. + rpc Delete(DeleteInstanceGroupManagerResizeRequestRequest) returns (Operation) { + option (google.api.http) = { + delete: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/resizeRequests/{resize_request}" + }; + option (google.api.method_signature) = "project,zone,instance_group_manager,resize_request"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + + // Returns all of the details about the specified resize request. + rpc Get(GetInstanceGroupManagerResizeRequestRequest) returns (InstanceGroupManagerResizeRequest) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/resizeRequests/{resize_request}" + }; + option (google.api.method_signature) = "project,zone,instance_group_manager,resize_request"; + } + + // Creates a new resize request that starts provisioning VMs immediately or queues VM creation. + rpc Insert(InsertInstanceGroupManagerResizeRequestRequest) returns (Operation) { + option (google.api.http) = { + body: "instance_group_manager_resize_request_resource" + post: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/resizeRequests" + }; + option (google.api.method_signature) = "project,zone,instance_group_manager,instance_group_manager_resize_request_resource"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + + // Retrieves a list of resize requests that are contained in the managed instance group. + rpc List(ListInstanceGroupManagerResizeRequestsRequest) returns (InstanceGroupManagerResizeRequestsListResponse) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/resizeRequests" + }; + option (google.api.method_signature) = "project,zone,instance_group_manager"; + } + +} + // The InstanceGroupManagers API. service InstanceGroupManagers { option (google.api.default_host) = @@ -36072,6 +37372,35 @@ service InstanceGroups { } +// The InstanceSettings API. +service InstanceSettingsService { + option (google.api.default_host) = + "compute.googleapis.com"; + + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/compute," + "https://www.googleapis.com/auth/cloud-platform"; + + // Get Instance settings. + rpc Get(GetInstanceSettingRequest) returns (InstanceSettings) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/zones/{zone}/instanceSettings" + }; + option (google.api.method_signature) = "project,zone"; + } + + // Patch Instance settings + rpc Patch(PatchInstanceSettingRequest) returns (Operation) { + option (google.api.http) = { + body: "instance_settings_resource" + patch: "/compute/v1/projects/{project}/zones/{zone}/instanceSettings" + }; + option (google.api.method_signature) = "project,zone,instance_settings_resource"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + +} + // The InstanceTemplates API. service InstanceTemplates { option (google.api.default_host) = @@ -37720,6 +39049,16 @@ service NodeGroups { option (google.cloud.operation_service) = "ZoneOperations"; } + // Perform maintenance on a subset of nodes in the node group. + rpc PerformMaintenance(PerformMaintenanceNodeGroupRequest) returns (Operation) { + option (google.api.http) = { + body: "node_groups_perform_maintenance_request_resource" + post: "/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{node_group}/performMaintenance" + }; + option (google.api.method_signature) = "project,zone,node_group,node_groups_perform_maintenance_request_resource"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + // Sets the access control policy on the specified resource. Replaces any existing policy. rpc SetIamPolicy(SetIamPolicyNodeGroupRequest) returns (Policy) { option (google.api.http) = { @@ -40812,6 +42151,140 @@ service SslPolicies { } +// The StoragePoolTypes API. +service StoragePoolTypes { + option (google.api.default_host) = + "compute.googleapis.com"; + + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/compute.readonly," + "https://www.googleapis.com/auth/compute," + "https://www.googleapis.com/auth/cloud-platform"; + + // Retrieves an aggregated list of storage pool types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. + rpc AggregatedList(AggregatedListStoragePoolTypesRequest) returns (StoragePoolTypeAggregatedList) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/aggregated/storagePoolTypes" + }; + option (google.api.method_signature) = "project"; + } + + // Returns the specified storage pool type. + rpc Get(GetStoragePoolTypeRequest) returns (StoragePoolType) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/zones/{zone}/storagePoolTypes/{storage_pool_type}" + }; + option (google.api.method_signature) = "project,zone,storage_pool_type"; + } + + // Retrieves a list of storage pool types available to the specified project. + rpc List(ListStoragePoolTypesRequest) returns (StoragePoolTypeList) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/zones/{zone}/storagePoolTypes" + }; + option (google.api.method_signature) = "project,zone"; + } + +} + +// The StoragePools API. +service StoragePools { + option (google.api.default_host) = + "compute.googleapis.com"; + + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/compute," + "https://www.googleapis.com/auth/cloud-platform"; + + // Retrieves an aggregated list of storage pools. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. + rpc AggregatedList(AggregatedListStoragePoolsRequest) returns (StoragePoolAggregatedList) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/aggregated/storagePools" + }; + option (google.api.method_signature) = "project"; + } + + // Deletes the specified storage pool. Deleting a storagePool removes its data permanently and is irreversible. However, deleting a storagePool does not delete any snapshots previously made from the storagePool. You must separately delete snapshots. + rpc Delete(DeleteStoragePoolRequest) returns (Operation) { + option (google.api.http) = { + delete: "/compute/v1/projects/{project}/zones/{zone}/storagePools/{storage_pool}" + }; + option (google.api.method_signature) = "project,zone,storage_pool"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + + // Returns a specified storage pool. Gets a list of available storage pools by making a list() request. + rpc Get(GetStoragePoolRequest) returns (StoragePool) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/zones/{zone}/storagePools/{storage_pool}" + }; + option (google.api.method_signature) = "project,zone,storage_pool"; + } + + // Gets the access control policy for a resource. May be empty if no such policy or resource exists. + rpc GetIamPolicy(GetIamPolicyStoragePoolRequest) returns (Policy) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/zones/{zone}/storagePools/{resource}/getIamPolicy" + }; + option (google.api.method_signature) = "project,zone,resource"; + } + + // Creates a storage pool in the specified project using the data in the request. + rpc Insert(InsertStoragePoolRequest) returns (Operation) { + option (google.api.http) = { + body: "storage_pool_resource" + post: "/compute/v1/projects/{project}/zones/{zone}/storagePools" + }; + option (google.api.method_signature) = "project,zone,storage_pool_resource"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + + // Retrieves a list of storage pools contained within the specified zone. + rpc List(ListStoragePoolsRequest) returns (StoragePoolList) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/zones/{zone}/storagePools" + }; + option (google.api.method_signature) = "project,zone"; + } + + // Lists the disks in a specified storage pool. + rpc ListDisks(ListDisksStoragePoolsRequest) returns (StoragePoolListDisks) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/zones/{zone}/storagePools/{storage_pool}/listDisks" + }; + option (google.api.method_signature) = "project,zone,storage_pool"; + } + + // Sets the access control policy on the specified resource. Replaces any existing policy. + rpc SetIamPolicy(SetIamPolicyStoragePoolRequest) returns (Policy) { + option (google.api.http) = { + body: "zone_set_policy_request_resource" + post: "/compute/v1/projects/{project}/zones/{zone}/storagePools/{resource}/setIamPolicy" + }; + option (google.api.method_signature) = "project,zone,resource,zone_set_policy_request_resource"; + } + + // Returns permissions that a caller has on the specified resource. + rpc TestIamPermissions(TestIamPermissionsStoragePoolRequest) returns (TestPermissionsResponse) { + option (google.api.http) = { + body: "test_permissions_request_resource" + post: "/compute/v1/projects/{project}/zones/{zone}/storagePools/{resource}/testIamPermissions" + }; + option (google.api.method_signature) = "project,zone,resource,test_permissions_request_resource"; + } + + // Updates the specified storagePool with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: size_tb and provisioned_iops. + rpc Update(UpdateStoragePoolRequest) returns (Operation) { + option (google.api.http) = { + body: "storage_pool_resource" + patch: "/compute/v1/projects/{project}/zones/{zone}/storagePools/{storage_pool}" + }; + option (google.api.method_signature) = "project,zone,storage_pool,storage_pool_resource"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + +} + // The Subnetworks API. service Subnetworks { option (google.api.default_host) = diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/cancel/AsyncCancel.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/cancel/AsyncCancel.java new file mode 100644 index 000000000000..370857dce1bf --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/cancel/AsyncCancel.java @@ -0,0 +1,54 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_Cancel_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; +import com.google.longrunning.Operation; + +public class AsyncCancel { + + public static void main(String[] args) throws Exception { + asyncCancel(); + } + + public static void asyncCancel() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + CancelInstanceGroupManagerResizeRequestRequest request = + CancelInstanceGroupManagerResizeRequestRequest.newBuilder() + .setInstanceGroupManager("instanceGroupManager-388242077") + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setResizeRequest("resizeRequest-1656358085") + .setZone("zone3744684") + .build(); + ApiFuture future = + instanceGroupManagerResizeRequestsClient.cancelCallable().futureCall(request); + // Do something. + com.google.cloud.compute.v1.Operation response = future.get(); + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_Cancel_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/cancel/AsyncCancelLRO.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/cancel/AsyncCancelLRO.java new file mode 100644 index 000000000000..fe070154c768 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/cancel/AsyncCancelLRO.java @@ -0,0 +1,54 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_Cancel_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; +import com.google.cloud.compute.v1.Operation; + +public class AsyncCancelLRO { + + public static void main(String[] args) throws Exception { + asyncCancelLRO(); + } + + public static void asyncCancelLRO() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + CancelInstanceGroupManagerResizeRequestRequest request = + CancelInstanceGroupManagerResizeRequestRequest.newBuilder() + .setInstanceGroupManager("instanceGroupManager-388242077") + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setResizeRequest("resizeRequest-1656358085") + .setZone("zone3744684") + .build(); + OperationFuture future = + instanceGroupManagerResizeRequestsClient.cancelOperationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_Cancel_LRO_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/cancel/SyncCancel.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/cancel/SyncCancel.java new file mode 100644 index 000000000000..48c1ff44d9c3 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/cancel/SyncCancel.java @@ -0,0 +1,50 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_Cancel_sync] +import com.google.cloud.compute.v1.CancelInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; +import com.google.cloud.compute.v1.Operation; + +public class SyncCancel { + + public static void main(String[] args) throws Exception { + syncCancel(); + } + + public static void syncCancel() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + CancelInstanceGroupManagerResizeRequestRequest request = + CancelInstanceGroupManagerResizeRequestRequest.newBuilder() + .setInstanceGroupManager("instanceGroupManager-388242077") + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setResizeRequest("resizeRequest-1656358085") + .setZone("zone3744684") + .build(); + Operation response = instanceGroupManagerResizeRequestsClient.cancelAsync(request).get(); + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_Cancel_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/cancel/SyncCancelStringStringStringString.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/cancel/SyncCancelStringStringStringString.java new file mode 100644 index 000000000000..ab25d00be9f9 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/cancel/SyncCancelStringStringStringString.java @@ -0,0 +1,48 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_Cancel_StringStringStringString_sync] +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; +import com.google.cloud.compute.v1.Operation; + +public class SyncCancelStringStringStringString { + + public static void main(String[] args) throws Exception { + syncCancelStringStringStringString(); + } + + public static void syncCancelStringStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + String instanceGroupManager = "instanceGroupManager-388242077"; + String resizeRequest = "resizeRequest-1656358085"; + Operation response = + instanceGroupManagerResizeRequestsClient + .cancelAsync(project, zone, instanceGroupManager, resizeRequest) + .get(); + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_Cancel_StringStringStringString_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/create/SyncCreateSetCredentialsProvider.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 000000000000..16450f865595 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,45 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_Create_SetCredentialsProvider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsSettings; +import com.google.cloud.compute.v1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + InstanceGroupManagerResizeRequestsSettings instanceGroupManagerResizeRequestsSettings = + InstanceGroupManagerResizeRequestsSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create(instanceGroupManagerResizeRequestsSettings); + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_Create_SetCredentialsProvider_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/create/SyncCreateSetEndpoint.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/create/SyncCreateSetEndpoint.java new file mode 100644 index 000000000000..7c703f48b669 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/create/SyncCreateSetEndpoint.java @@ -0,0 +1,42 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_Create_SetEndpoint_sync] +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsSettings; +import com.google.cloud.compute.v1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + InstanceGroupManagerResizeRequestsSettings instanceGroupManagerResizeRequestsSettings = + InstanceGroupManagerResizeRequestsSettings.newBuilder().setEndpoint(myEndpoint).build(); + InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create(instanceGroupManagerResizeRequestsSettings); + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_Create_SetEndpoint_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/delete/AsyncDelete.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/delete/AsyncDelete.java new file mode 100644 index 000000000000..fc538eecc65c --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/delete/AsyncDelete.java @@ -0,0 +1,54 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_Delete_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; +import com.google.longrunning.Operation; + +public class AsyncDelete { + + public static void main(String[] args) throws Exception { + asyncDelete(); + } + + public static void asyncDelete() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + DeleteInstanceGroupManagerResizeRequestRequest request = + DeleteInstanceGroupManagerResizeRequestRequest.newBuilder() + .setInstanceGroupManager("instanceGroupManager-388242077") + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setResizeRequest("resizeRequest-1656358085") + .setZone("zone3744684") + .build(); + ApiFuture future = + instanceGroupManagerResizeRequestsClient.deleteCallable().futureCall(request); + // Do something. + com.google.cloud.compute.v1.Operation response = future.get(); + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_Delete_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/delete/AsyncDeleteLRO.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/delete/AsyncDeleteLRO.java new file mode 100644 index 000000000000..b838eadb91a3 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/delete/AsyncDeleteLRO.java @@ -0,0 +1,54 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_Delete_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; +import com.google.cloud.compute.v1.Operation; + +public class AsyncDeleteLRO { + + public static void main(String[] args) throws Exception { + asyncDeleteLRO(); + } + + public static void asyncDeleteLRO() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + DeleteInstanceGroupManagerResizeRequestRequest request = + DeleteInstanceGroupManagerResizeRequestRequest.newBuilder() + .setInstanceGroupManager("instanceGroupManager-388242077") + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setResizeRequest("resizeRequest-1656358085") + .setZone("zone3744684") + .build(); + OperationFuture future = + instanceGroupManagerResizeRequestsClient.deleteOperationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_Delete_LRO_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/delete/SyncDelete.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/delete/SyncDelete.java new file mode 100644 index 000000000000..e467760d1465 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/delete/SyncDelete.java @@ -0,0 +1,50 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_Delete_sync] +import com.google.cloud.compute.v1.DeleteInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; +import com.google.cloud.compute.v1.Operation; + +public class SyncDelete { + + public static void main(String[] args) throws Exception { + syncDelete(); + } + + public static void syncDelete() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + DeleteInstanceGroupManagerResizeRequestRequest request = + DeleteInstanceGroupManagerResizeRequestRequest.newBuilder() + .setInstanceGroupManager("instanceGroupManager-388242077") + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setResizeRequest("resizeRequest-1656358085") + .setZone("zone3744684") + .build(); + Operation response = instanceGroupManagerResizeRequestsClient.deleteAsync(request).get(); + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_Delete_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/delete/SyncDeleteStringStringStringString.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/delete/SyncDeleteStringStringStringString.java new file mode 100644 index 000000000000..3b14df457641 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/delete/SyncDeleteStringStringStringString.java @@ -0,0 +1,48 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_Delete_StringStringStringString_sync] +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; +import com.google.cloud.compute.v1.Operation; + +public class SyncDeleteStringStringStringString { + + public static void main(String[] args) throws Exception { + syncDeleteStringStringStringString(); + } + + public static void syncDeleteStringStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + String instanceGroupManager = "instanceGroupManager-388242077"; + String resizeRequest = "resizeRequest-1656358085"; + Operation response = + instanceGroupManagerResizeRequestsClient + .deleteAsync(project, zone, instanceGroupManager, resizeRequest) + .get(); + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_Delete_StringStringStringString_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/get/AsyncGet.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/get/AsyncGet.java new file mode 100644 index 000000000000..2f2ce803e999 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/get/AsyncGet.java @@ -0,0 +1,53 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_Get_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; + +public class AsyncGet { + + public static void main(String[] args) throws Exception { + asyncGet(); + } + + public static void asyncGet() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + GetInstanceGroupManagerResizeRequestRequest request = + GetInstanceGroupManagerResizeRequestRequest.newBuilder() + .setInstanceGroupManager("instanceGroupManager-388242077") + .setProject("project-309310695") + .setResizeRequest("resizeRequest-1656358085") + .setZone("zone3744684") + .build(); + ApiFuture future = + instanceGroupManagerResizeRequestsClient.getCallable().futureCall(request); + // Do something. + InstanceGroupManagerResizeRequest response = future.get(); + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_Get_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/get/SyncGet.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/get/SyncGet.java new file mode 100644 index 000000000000..95495f52f974 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/get/SyncGet.java @@ -0,0 +1,50 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_Get_sync] +import com.google.cloud.compute.v1.GetInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; + +public class SyncGet { + + public static void main(String[] args) throws Exception { + syncGet(); + } + + public static void syncGet() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + GetInstanceGroupManagerResizeRequestRequest request = + GetInstanceGroupManagerResizeRequestRequest.newBuilder() + .setInstanceGroupManager("instanceGroupManager-388242077") + .setProject("project-309310695") + .setResizeRequest("resizeRequest-1656358085") + .setZone("zone3744684") + .build(); + InstanceGroupManagerResizeRequest response = + instanceGroupManagerResizeRequestsClient.get(request); + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_Get_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/get/SyncGetStringStringStringString.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/get/SyncGetStringStringStringString.java new file mode 100644 index 000000000000..fb1328f14675 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/get/SyncGetStringStringStringString.java @@ -0,0 +1,47 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_Get_StringStringStringString_sync] +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; + +public class SyncGetStringStringStringString { + + public static void main(String[] args) throws Exception { + syncGetStringStringStringString(); + } + + public static void syncGetStringStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + String instanceGroupManager = "instanceGroupManager-388242077"; + String resizeRequest = "resizeRequest-1656358085"; + InstanceGroupManagerResizeRequest response = + instanceGroupManagerResizeRequestsClient.get( + project, zone, instanceGroupManager, resizeRequest); + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_Get_StringStringStringString_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/insert/AsyncInsert.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/insert/AsyncInsert.java new file mode 100644 index 000000000000..dbfd146cc753 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/insert/AsyncInsert.java @@ -0,0 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_Insert_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; +import com.google.longrunning.Operation; + +public class AsyncInsert { + + public static void main(String[] args) throws Exception { + asyncInsert(); + } + + public static void asyncInsert() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + InsertInstanceGroupManagerResizeRequestRequest request = + InsertInstanceGroupManagerResizeRequestRequest.newBuilder() + .setInstanceGroupManager("instanceGroupManager-388242077") + .setInstanceGroupManagerResizeRequestResource( + InstanceGroupManagerResizeRequest.newBuilder().build()) + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setZone("zone3744684") + .build(); + ApiFuture future = + instanceGroupManagerResizeRequestsClient.insertCallable().futureCall(request); + // Do something. + com.google.cloud.compute.v1.Operation response = future.get(); + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_Insert_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/insert/AsyncInsertLRO.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/insert/AsyncInsertLRO.java new file mode 100644 index 000000000000..8b1257aa2586 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/insert/AsyncInsertLRO.java @@ -0,0 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_Insert_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; +import com.google.cloud.compute.v1.Operation; + +public class AsyncInsertLRO { + + public static void main(String[] args) throws Exception { + asyncInsertLRO(); + } + + public static void asyncInsertLRO() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + InsertInstanceGroupManagerResizeRequestRequest request = + InsertInstanceGroupManagerResizeRequestRequest.newBuilder() + .setInstanceGroupManager("instanceGroupManager-388242077") + .setInstanceGroupManagerResizeRequestResource( + InstanceGroupManagerResizeRequest.newBuilder().build()) + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setZone("zone3744684") + .build(); + OperationFuture future = + instanceGroupManagerResizeRequestsClient.insertOperationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_Insert_LRO_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/insert/SyncInsert.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/insert/SyncInsert.java new file mode 100644 index 000000000000..8426c00f3963 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/insert/SyncInsert.java @@ -0,0 +1,52 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_Insert_sync] +import com.google.cloud.compute.v1.InsertInstanceGroupManagerResizeRequestRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; +import com.google.cloud.compute.v1.Operation; + +public class SyncInsert { + + public static void main(String[] args) throws Exception { + syncInsert(); + } + + public static void syncInsert() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + InsertInstanceGroupManagerResizeRequestRequest request = + InsertInstanceGroupManagerResizeRequestRequest.newBuilder() + .setInstanceGroupManager("instanceGroupManager-388242077") + .setInstanceGroupManagerResizeRequestResource( + InstanceGroupManagerResizeRequest.newBuilder().build()) + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setZone("zone3744684") + .build(); + Operation response = instanceGroupManagerResizeRequestsClient.insertAsync(request).get(); + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_Insert_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/insert/SyncInsertStringStringStringInstancegroupmanagerresizerequest.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/insert/SyncInsertStringStringStringInstancegroupmanagerresizerequest.java new file mode 100644 index 000000000000..cbefda582cc9 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/insert/SyncInsertStringStringStringInstancegroupmanagerresizerequest.java @@ -0,0 +1,52 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_Insert_StringStringStringInstancegroupmanagerresizerequest_sync] +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; +import com.google.cloud.compute.v1.Operation; + +public class SyncInsertStringStringStringInstancegroupmanagerresizerequest { + + public static void main(String[] args) throws Exception { + syncInsertStringStringStringInstancegroupmanagerresizerequest(); + } + + public static void syncInsertStringStringStringInstancegroupmanagerresizerequest() + throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + String instanceGroupManager = "instanceGroupManager-388242077"; + InstanceGroupManagerResizeRequest instanceGroupManagerResizeRequestResource = + InstanceGroupManagerResizeRequest.newBuilder().build(); + Operation response = + instanceGroupManagerResizeRequestsClient + .insertAsync( + project, zone, instanceGroupManager, instanceGroupManagerResizeRequestResource) + .get(); + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_Insert_StringStringStringInstancegroupmanagerresizerequest_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/list/AsyncList.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/list/AsyncList.java new file mode 100644 index 000000000000..0ffe3c2d4b35 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/list/AsyncList.java @@ -0,0 +1,59 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_List_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; +import com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest; + +public class AsyncList { + + public static void main(String[] args) throws Exception { + asyncList(); + } + + public static void asyncList() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + ListInstanceGroupManagerResizeRequestsRequest request = + ListInstanceGroupManagerResizeRequestsRequest.newBuilder() + .setFilter("filter-1274492040") + .setInstanceGroupManager("instanceGroupManager-388242077") + .setMaxResults(1128457243) + .setOrderBy("orderBy-1207110587") + .setPageToken("pageToken873572522") + .setProject("project-309310695") + .setReturnPartialSuccess(true) + .setZone("zone3744684") + .build(); + ApiFuture future = + instanceGroupManagerResizeRequestsClient.listPagedCallable().futureCall(request); + // Do something. + for (InstanceGroupManagerResizeRequest element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_List_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/list/AsyncListPaged.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/list/AsyncListPaged.java new file mode 100644 index 000000000000..43d80a6914db --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/list/AsyncListPaged.java @@ -0,0 +1,67 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_List_Paged_async] +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsListResponse; +import com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest; +import com.google.common.base.Strings; + +public class AsyncListPaged { + + public static void main(String[] args) throws Exception { + asyncListPaged(); + } + + public static void asyncListPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + ListInstanceGroupManagerResizeRequestsRequest request = + ListInstanceGroupManagerResizeRequestsRequest.newBuilder() + .setFilter("filter-1274492040") + .setInstanceGroupManager("instanceGroupManager-388242077") + .setMaxResults(1128457243) + .setOrderBy("orderBy-1207110587") + .setPageToken("pageToken873572522") + .setProject("project-309310695") + .setReturnPartialSuccess(true) + .setZone("zone3744684") + .build(); + while (true) { + InstanceGroupManagerResizeRequestsListResponse response = + instanceGroupManagerResizeRequestsClient.listCallable().call(request); + for (InstanceGroupManagerResizeRequest element : response.getItemsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_List_Paged_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/list/SyncList.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/list/SyncList.java new file mode 100644 index 000000000000..8c93ec26d777 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/list/SyncList.java @@ -0,0 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_List_sync] +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; +import com.google.cloud.compute.v1.ListInstanceGroupManagerResizeRequestsRequest; + +public class SyncList { + + public static void main(String[] args) throws Exception { + syncList(); + } + + public static void syncList() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + ListInstanceGroupManagerResizeRequestsRequest request = + ListInstanceGroupManagerResizeRequestsRequest.newBuilder() + .setFilter("filter-1274492040") + .setInstanceGroupManager("instanceGroupManager-388242077") + .setMaxResults(1128457243) + .setOrderBy("orderBy-1207110587") + .setPageToken("pageToken873572522") + .setProject("project-309310695") + .setReturnPartialSuccess(true) + .setZone("zone3744684") + .build(); + for (InstanceGroupManagerResizeRequest element : + instanceGroupManagerResizeRequestsClient.list(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_List_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/list/SyncListStringStringString.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/list/SyncListStringStringString.java new file mode 100644 index 000000000000..1fd395f02ecb --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequests/list/SyncListStringStringString.java @@ -0,0 +1,49 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequests_List_StringStringString_sync] +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequest; +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsClient; + +public class SyncListStringStringString { + + public static void main(String[] args) throws Exception { + syncListStringStringString(); + } + + public static void syncListStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceGroupManagerResizeRequestsClient instanceGroupManagerResizeRequestsClient = + InstanceGroupManagerResizeRequestsClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + String instanceGroupManager = "instanceGroupManager-388242077"; + for (InstanceGroupManagerResizeRequest element : + instanceGroupManagerResizeRequestsClient + .list(project, zone, instanceGroupManager) + .iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequests_List_StringStringString_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequestssettings/get/SyncGet.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequestssettings/get/SyncGet.java new file mode 100644 index 000000000000..c272fb092a4c --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancegroupmanagerresizerequestssettings/get/SyncGet.java @@ -0,0 +1,51 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequestsSettings_Get_sync] +import com.google.cloud.compute.v1.InstanceGroupManagerResizeRequestsSettings; +import java.time.Duration; + +public class SyncGet { + + public static void main(String[] args) throws Exception { + syncGet(); + } + + public static void syncGet() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + InstanceGroupManagerResizeRequestsSettings.Builder + instanceGroupManagerResizeRequestsSettingsBuilder = + InstanceGroupManagerResizeRequestsSettings.newBuilder(); + instanceGroupManagerResizeRequestsSettingsBuilder + .getSettings() + .setRetrySettings( + instanceGroupManagerResizeRequestsSettingsBuilder + .getSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + InstanceGroupManagerResizeRequestsSettings instanceGroupManagerResizeRequestsSettings = + instanceGroupManagerResizeRequestsSettingsBuilder.build(); + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequestsSettings_Get_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/create/SyncCreateSetCredentialsProvider.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 000000000000..6a50ae0035e2 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,45 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceSettingsService_Create_SetCredentialsProvider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.compute.v1.InstanceSettingsServiceClient; +import com.google.cloud.compute.v1.InstanceSettingsServiceSettings; +import com.google.cloud.compute.v1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + InstanceSettingsServiceSettings instanceSettingsServiceSettings = + InstanceSettingsServiceSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + InstanceSettingsServiceClient instanceSettingsServiceClient = + InstanceSettingsServiceClient.create(instanceSettingsServiceSettings); + } +} +// [END compute_v1_generated_InstanceSettingsService_Create_SetCredentialsProvider_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/create/SyncCreateSetEndpoint.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/create/SyncCreateSetEndpoint.java new file mode 100644 index 000000000000..d7630139114e --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/create/SyncCreateSetEndpoint.java @@ -0,0 +1,42 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceSettingsService_Create_SetEndpoint_sync] +import com.google.cloud.compute.v1.InstanceSettingsServiceClient; +import com.google.cloud.compute.v1.InstanceSettingsServiceSettings; +import com.google.cloud.compute.v1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + InstanceSettingsServiceSettings instanceSettingsServiceSettings = + InstanceSettingsServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); + InstanceSettingsServiceClient instanceSettingsServiceClient = + InstanceSettingsServiceClient.create(instanceSettingsServiceSettings); + } +} +// [END compute_v1_generated_InstanceSettingsService_Create_SetEndpoint_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/get/AsyncGet.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/get/AsyncGet.java new file mode 100644 index 000000000000..ab5dd768be3d --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/get/AsyncGet.java @@ -0,0 +1,51 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceSettingsService_Get_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.GetInstanceSettingRequest; +import com.google.cloud.compute.v1.InstanceSettings; +import com.google.cloud.compute.v1.InstanceSettingsServiceClient; + +public class AsyncGet { + + public static void main(String[] args) throws Exception { + asyncGet(); + } + + public static void asyncGet() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceSettingsServiceClient instanceSettingsServiceClient = + InstanceSettingsServiceClient.create()) { + GetInstanceSettingRequest request = + GetInstanceSettingRequest.newBuilder() + .setProject("project-309310695") + .setZone("zone3744684") + .build(); + ApiFuture future = + instanceSettingsServiceClient.getCallable().futureCall(request); + // Do something. + InstanceSettings response = future.get(); + } + } +} +// [END compute_v1_generated_InstanceSettingsService_Get_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/get/SyncGet.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/get/SyncGet.java new file mode 100644 index 000000000000..a83e4870b6d5 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/get/SyncGet.java @@ -0,0 +1,47 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceSettingsService_Get_sync] +import com.google.cloud.compute.v1.GetInstanceSettingRequest; +import com.google.cloud.compute.v1.InstanceSettings; +import com.google.cloud.compute.v1.InstanceSettingsServiceClient; + +public class SyncGet { + + public static void main(String[] args) throws Exception { + syncGet(); + } + + public static void syncGet() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceSettingsServiceClient instanceSettingsServiceClient = + InstanceSettingsServiceClient.create()) { + GetInstanceSettingRequest request = + GetInstanceSettingRequest.newBuilder() + .setProject("project-309310695") + .setZone("zone3744684") + .build(); + InstanceSettings response = instanceSettingsServiceClient.get(request); + } + } +} +// [END compute_v1_generated_InstanceSettingsService_Get_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/get/SyncGetStringString.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/get/SyncGetStringString.java new file mode 100644 index 000000000000..415d4a1d55fc --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/get/SyncGetStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceSettingsService_Get_StringString_sync] +import com.google.cloud.compute.v1.InstanceSettings; +import com.google.cloud.compute.v1.InstanceSettingsServiceClient; + +public class SyncGetStringString { + + public static void main(String[] args) throws Exception { + syncGetStringString(); + } + + public static void syncGetStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceSettingsServiceClient instanceSettingsServiceClient = + InstanceSettingsServiceClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + InstanceSettings response = instanceSettingsServiceClient.get(project, zone); + } + } +} +// [END compute_v1_generated_InstanceSettingsService_Get_StringString_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/patch/AsyncPatch.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/patch/AsyncPatch.java new file mode 100644 index 000000000000..f32306045766 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/patch/AsyncPatch.java @@ -0,0 +1,55 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceSettingsService_Patch_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.InstanceSettings; +import com.google.cloud.compute.v1.InstanceSettingsServiceClient; +import com.google.cloud.compute.v1.PatchInstanceSettingRequest; +import com.google.longrunning.Operation; + +public class AsyncPatch { + + public static void main(String[] args) throws Exception { + asyncPatch(); + } + + public static void asyncPatch() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceSettingsServiceClient instanceSettingsServiceClient = + InstanceSettingsServiceClient.create()) { + PatchInstanceSettingRequest request = + PatchInstanceSettingRequest.newBuilder() + .setInstanceSettingsResource(InstanceSettings.newBuilder().build()) + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setUpdateMask("updateMask-296147115") + .setZone("zone3744684") + .build(); + ApiFuture future = + instanceSettingsServiceClient.patchCallable().futureCall(request); + // Do something. + com.google.cloud.compute.v1.Operation response = future.get(); + } + } +} +// [END compute_v1_generated_InstanceSettingsService_Patch_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/patch/AsyncPatchLRO.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/patch/AsyncPatchLRO.java new file mode 100644 index 000000000000..af5db6819c92 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/patch/AsyncPatchLRO.java @@ -0,0 +1,55 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceSettingsService_Patch_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.compute.v1.InstanceSettings; +import com.google.cloud.compute.v1.InstanceSettingsServiceClient; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.PatchInstanceSettingRequest; + +public class AsyncPatchLRO { + + public static void main(String[] args) throws Exception { + asyncPatchLRO(); + } + + public static void asyncPatchLRO() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceSettingsServiceClient instanceSettingsServiceClient = + InstanceSettingsServiceClient.create()) { + PatchInstanceSettingRequest request = + PatchInstanceSettingRequest.newBuilder() + .setInstanceSettingsResource(InstanceSettings.newBuilder().build()) + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setUpdateMask("updateMask-296147115") + .setZone("zone3744684") + .build(); + OperationFuture future = + instanceSettingsServiceClient.patchOperationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END compute_v1_generated_InstanceSettingsService_Patch_LRO_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/patch/SyncPatch.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/patch/SyncPatch.java new file mode 100644 index 000000000000..70dd83e3136b --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/patch/SyncPatch.java @@ -0,0 +1,51 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceSettingsService_Patch_sync] +import com.google.cloud.compute.v1.InstanceSettings; +import com.google.cloud.compute.v1.InstanceSettingsServiceClient; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.PatchInstanceSettingRequest; + +public class SyncPatch { + + public static void main(String[] args) throws Exception { + syncPatch(); + } + + public static void syncPatch() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceSettingsServiceClient instanceSettingsServiceClient = + InstanceSettingsServiceClient.create()) { + PatchInstanceSettingRequest request = + PatchInstanceSettingRequest.newBuilder() + .setInstanceSettingsResource(InstanceSettings.newBuilder().build()) + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setUpdateMask("updateMask-296147115") + .setZone("zone3744684") + .build(); + Operation response = instanceSettingsServiceClient.patchAsync(request).get(); + } + } +} +// [END compute_v1_generated_InstanceSettingsService_Patch_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/patch/SyncPatchStringStringInstancesettings.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/patch/SyncPatchStringStringInstancesettings.java new file mode 100644 index 000000000000..9b6b4994e4c0 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservice/patch/SyncPatchStringStringInstancesettings.java @@ -0,0 +1,46 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceSettingsService_Patch_StringStringInstancesettings_sync] +import com.google.cloud.compute.v1.InstanceSettings; +import com.google.cloud.compute.v1.InstanceSettingsServiceClient; +import com.google.cloud.compute.v1.Operation; + +public class SyncPatchStringStringInstancesettings { + + public static void main(String[] args) throws Exception { + syncPatchStringStringInstancesettings(); + } + + public static void syncPatchStringStringInstancesettings() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (InstanceSettingsServiceClient instanceSettingsServiceClient = + InstanceSettingsServiceClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + InstanceSettings instanceSettingsResource = InstanceSettings.newBuilder().build(); + Operation response = + instanceSettingsServiceClient.patchAsync(project, zone, instanceSettingsResource).get(); + } + } +} +// [END compute_v1_generated_InstanceSettingsService_Patch_StringStringInstancesettings_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservicesettings/get/SyncGet.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservicesettings/get/SyncGet.java new file mode 100644 index 000000000000..39166dc42b38 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/instancesettingsservicesettings/get/SyncGet.java @@ -0,0 +1,50 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_InstanceSettingsServiceSettings_Get_sync] +import com.google.cloud.compute.v1.InstanceSettingsServiceSettings; +import java.time.Duration; + +public class SyncGet { + + public static void main(String[] args) throws Exception { + syncGet(); + } + + public static void syncGet() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + InstanceSettingsServiceSettings.Builder instanceSettingsServiceSettingsBuilder = + InstanceSettingsServiceSettings.newBuilder(); + instanceSettingsServiceSettingsBuilder + .getSettings() + .setRetrySettings( + instanceSettingsServiceSettingsBuilder + .getSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + InstanceSettingsServiceSettings instanceSettingsServiceSettings = + instanceSettingsServiceSettingsBuilder.build(); + } +} +// [END compute_v1_generated_InstanceSettingsServiceSettings_Get_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/nodegroups/performmaintenance/AsyncPerformMaintenance.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/nodegroups/performmaintenance/AsyncPerformMaintenance.java new file mode 100644 index 000000000000..5448ac5b533e --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/nodegroups/performmaintenance/AsyncPerformMaintenance.java @@ -0,0 +1,55 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_NodeGroups_PerformMaintenance_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.NodeGroupsClient; +import com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest; +import com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest; +import com.google.longrunning.Operation; + +public class AsyncPerformMaintenance { + + public static void main(String[] args) throws Exception { + asyncPerformMaintenance(); + } + + public static void asyncPerformMaintenance() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (NodeGroupsClient nodeGroupsClient = NodeGroupsClient.create()) { + PerformMaintenanceNodeGroupRequest request = + PerformMaintenanceNodeGroupRequest.newBuilder() + .setNodeGroup("nodeGroup443599261") + .setNodeGroupsPerformMaintenanceRequestResource( + NodeGroupsPerformMaintenanceRequest.newBuilder().build()) + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setZone("zone3744684") + .build(); + ApiFuture future = + nodeGroupsClient.performMaintenanceCallable().futureCall(request); + // Do something. + com.google.cloud.compute.v1.Operation response = future.get(); + } + } +} +// [END compute_v1_generated_NodeGroups_PerformMaintenance_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/nodegroups/performmaintenance/AsyncPerformMaintenanceLRO.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/nodegroups/performmaintenance/AsyncPerformMaintenanceLRO.java new file mode 100644 index 000000000000..2511349df3a4 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/nodegroups/performmaintenance/AsyncPerformMaintenanceLRO.java @@ -0,0 +1,55 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_NodeGroups_PerformMaintenance_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.compute.v1.NodeGroupsClient; +import com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest; + +public class AsyncPerformMaintenanceLRO { + + public static void main(String[] args) throws Exception { + asyncPerformMaintenanceLRO(); + } + + public static void asyncPerformMaintenanceLRO() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (NodeGroupsClient nodeGroupsClient = NodeGroupsClient.create()) { + PerformMaintenanceNodeGroupRequest request = + PerformMaintenanceNodeGroupRequest.newBuilder() + .setNodeGroup("nodeGroup443599261") + .setNodeGroupsPerformMaintenanceRequestResource( + NodeGroupsPerformMaintenanceRequest.newBuilder().build()) + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setZone("zone3744684") + .build(); + OperationFuture future = + nodeGroupsClient.performMaintenanceOperationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END compute_v1_generated_NodeGroups_PerformMaintenance_LRO_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/nodegroups/performmaintenance/SyncPerformMaintenance.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/nodegroups/performmaintenance/SyncPerformMaintenance.java new file mode 100644 index 000000000000..88aacc02d0e1 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/nodegroups/performmaintenance/SyncPerformMaintenance.java @@ -0,0 +1,51 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_NodeGroups_PerformMaintenance_sync] +import com.google.cloud.compute.v1.NodeGroupsClient; +import com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.PerformMaintenanceNodeGroupRequest; + +public class SyncPerformMaintenance { + + public static void main(String[] args) throws Exception { + syncPerformMaintenance(); + } + + public static void syncPerformMaintenance() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (NodeGroupsClient nodeGroupsClient = NodeGroupsClient.create()) { + PerformMaintenanceNodeGroupRequest request = + PerformMaintenanceNodeGroupRequest.newBuilder() + .setNodeGroup("nodeGroup443599261") + .setNodeGroupsPerformMaintenanceRequestResource( + NodeGroupsPerformMaintenanceRequest.newBuilder().build()) + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setZone("zone3744684") + .build(); + Operation response = nodeGroupsClient.performMaintenanceAsync(request).get(); + } + } +} +// [END compute_v1_generated_NodeGroups_PerformMaintenance_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/nodegroups/performmaintenance/SyncPerformMaintenanceStringStringStringNodegroupsperformmaintenancerequest.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/nodegroups/performmaintenance/SyncPerformMaintenanceStringStringStringNodegroupsperformmaintenancerequest.java new file mode 100644 index 000000000000..b1771bd816c3 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/nodegroups/performmaintenance/SyncPerformMaintenanceStringStringStringNodegroupsperformmaintenancerequest.java @@ -0,0 +1,51 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_NodeGroups_PerformMaintenance_StringStringStringNodegroupsperformmaintenancerequest_sync] +import com.google.cloud.compute.v1.NodeGroupsClient; +import com.google.cloud.compute.v1.NodeGroupsPerformMaintenanceRequest; +import com.google.cloud.compute.v1.Operation; + +public class SyncPerformMaintenanceStringStringStringNodegroupsperformmaintenancerequest { + + public static void main(String[] args) throws Exception { + syncPerformMaintenanceStringStringStringNodegroupsperformmaintenancerequest(); + } + + public static void syncPerformMaintenanceStringStringStringNodegroupsperformmaintenancerequest() + throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (NodeGroupsClient nodeGroupsClient = NodeGroupsClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + String nodeGroup = "nodeGroup443599261"; + NodeGroupsPerformMaintenanceRequest nodeGroupsPerformMaintenanceRequestResource = + NodeGroupsPerformMaintenanceRequest.newBuilder().build(); + Operation response = + nodeGroupsClient + .performMaintenanceAsync( + project, zone, nodeGroup, nodeGroupsPerformMaintenanceRequestResource) + .get(); + } + } +} +// [END compute_v1_generated_NodeGroups_PerformMaintenance_StringStringStringNodegroupsperformmaintenancerequest_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/aggregatedlist/AsyncAggregatedList.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/aggregatedlist/AsyncAggregatedList.java new file mode 100644 index 000000000000..89760578127e --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/aggregatedlist/AsyncAggregatedList.java @@ -0,0 +1,59 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_AggregatedList_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest; +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.cloud.compute.v1.StoragePoolsScopedList; +import java.util.Map; + +public class AsyncAggregatedList { + + public static void main(String[] args) throws Exception { + asyncAggregatedList(); + } + + public static void asyncAggregatedList() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + AggregatedListStoragePoolsRequest request = + AggregatedListStoragePoolsRequest.newBuilder() + .setFilter("filter-1274492040") + .setIncludeAllScopes(true) + .setMaxResults(1128457243) + .setOrderBy("orderBy-1207110587") + .setPageToken("pageToken873572522") + .setProject("project-309310695") + .setReturnPartialSuccess(true) + .setServiceProjectNumber(-1293855239) + .build(); + ApiFuture> future = + storagePoolsClient.aggregatedListPagedCallable().futureCall(request); + // Do something. + for (Map.Entry element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END compute_v1_generated_StoragePools_AggregatedList_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/aggregatedlist/AsyncAggregatedListPaged.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/aggregatedlist/AsyncAggregatedListPaged.java new file mode 100644 index 000000000000..54f1a8868950 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/aggregatedlist/AsyncAggregatedListPaged.java @@ -0,0 +1,67 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_AggregatedList_Paged_async] +import com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest; +import com.google.cloud.compute.v1.StoragePoolAggregatedList; +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.cloud.compute.v1.StoragePoolsScopedList; +import com.google.common.base.Strings; +import java.util.Map; + +public class AsyncAggregatedListPaged { + + public static void main(String[] args) throws Exception { + asyncAggregatedListPaged(); + } + + public static void asyncAggregatedListPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + AggregatedListStoragePoolsRequest request = + AggregatedListStoragePoolsRequest.newBuilder() + .setFilter("filter-1274492040") + .setIncludeAllScopes(true) + .setMaxResults(1128457243) + .setOrderBy("orderBy-1207110587") + .setPageToken("pageToken873572522") + .setProject("project-309310695") + .setReturnPartialSuccess(true) + .setServiceProjectNumber(-1293855239) + .build(); + while (true) { + StoragePoolAggregatedList response = + storagePoolsClient.aggregatedListCallable().call(request); + for (Map.Entry element : response.getItemsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END compute_v1_generated_StoragePools_AggregatedList_Paged_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/aggregatedlist/SyncAggregatedList.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/aggregatedlist/SyncAggregatedList.java new file mode 100644 index 000000000000..3cff10a35f7c --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/aggregatedlist/SyncAggregatedList.java @@ -0,0 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_AggregatedList_sync] +import com.google.cloud.compute.v1.AggregatedListStoragePoolsRequest; +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.cloud.compute.v1.StoragePoolsScopedList; +import java.util.Map; + +public class SyncAggregatedList { + + public static void main(String[] args) throws Exception { + syncAggregatedList(); + } + + public static void syncAggregatedList() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + AggregatedListStoragePoolsRequest request = + AggregatedListStoragePoolsRequest.newBuilder() + .setFilter("filter-1274492040") + .setIncludeAllScopes(true) + .setMaxResults(1128457243) + .setOrderBy("orderBy-1207110587") + .setPageToken("pageToken873572522") + .setProject("project-309310695") + .setReturnPartialSuccess(true) + .setServiceProjectNumber(-1293855239) + .build(); + for (Map.Entry element : + storagePoolsClient.aggregatedList(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END compute_v1_generated_StoragePools_AggregatedList_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/aggregatedlist/SyncAggregatedListString.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/aggregatedlist/SyncAggregatedListString.java new file mode 100644 index 000000000000..faa8cdf05830 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/aggregatedlist/SyncAggregatedListString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_AggregatedList_String_sync] +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.cloud.compute.v1.StoragePoolsScopedList; +import java.util.Map; + +public class SyncAggregatedListString { + + public static void main(String[] args) throws Exception { + syncAggregatedListString(); + } + + public static void syncAggregatedListString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + String project = "project-309310695"; + for (Map.Entry element : + storagePoolsClient.aggregatedList(project).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END compute_v1_generated_StoragePools_AggregatedList_String_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/create/SyncCreateSetCredentialsProvider.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 000000000000..2c1fdc2438ea --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,44 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_Create_SetCredentialsProvider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.cloud.compute.v1.StoragePoolsSettings; +import com.google.cloud.compute.v1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + StoragePoolsSettings storagePoolsSettings = + StoragePoolsSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + StoragePoolsClient storagePoolsClient = StoragePoolsClient.create(storagePoolsSettings); + } +} +// [END compute_v1_generated_StoragePools_Create_SetCredentialsProvider_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/create/SyncCreateSetEndpoint.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/create/SyncCreateSetEndpoint.java new file mode 100644 index 000000000000..2f9f0f639399 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/create/SyncCreateSetEndpoint.java @@ -0,0 +1,41 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_Create_SetEndpoint_sync] +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.cloud.compute.v1.StoragePoolsSettings; +import com.google.cloud.compute.v1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + StoragePoolsSettings storagePoolsSettings = + StoragePoolsSettings.newBuilder().setEndpoint(myEndpoint).build(); + StoragePoolsClient storagePoolsClient = StoragePoolsClient.create(storagePoolsSettings); + } +} +// [END compute_v1_generated_StoragePools_Create_SetEndpoint_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/delete/AsyncDelete.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/delete/AsyncDelete.java new file mode 100644 index 000000000000..0bc7983882bd --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/delete/AsyncDelete.java @@ -0,0 +1,51 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_Delete_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.DeleteStoragePoolRequest; +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.longrunning.Operation; + +public class AsyncDelete { + + public static void main(String[] args) throws Exception { + asyncDelete(); + } + + public static void asyncDelete() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + DeleteStoragePoolRequest request = + DeleteStoragePoolRequest.newBuilder() + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setStoragePool("storagePool-525690569") + .setZone("zone3744684") + .build(); + ApiFuture future = storagePoolsClient.deleteCallable().futureCall(request); + // Do something. + com.google.cloud.compute.v1.Operation response = future.get(); + } + } +} +// [END compute_v1_generated_StoragePools_Delete_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/delete/AsyncDeleteLRO.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/delete/AsyncDeleteLRO.java new file mode 100644 index 000000000000..e111cbc7a4ce --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/delete/AsyncDeleteLRO.java @@ -0,0 +1,52 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_Delete_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.compute.v1.DeleteStoragePoolRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class AsyncDeleteLRO { + + public static void main(String[] args) throws Exception { + asyncDeleteLRO(); + } + + public static void asyncDeleteLRO() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + DeleteStoragePoolRequest request = + DeleteStoragePoolRequest.newBuilder() + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setStoragePool("storagePool-525690569") + .setZone("zone3744684") + .build(); + OperationFuture future = + storagePoolsClient.deleteOperationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END compute_v1_generated_StoragePools_Delete_LRO_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/delete/SyncDelete.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/delete/SyncDelete.java new file mode 100644 index 000000000000..bb9ffce2318e --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/delete/SyncDelete.java @@ -0,0 +1,48 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_Delete_sync] +import com.google.cloud.compute.v1.DeleteStoragePoolRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class SyncDelete { + + public static void main(String[] args) throws Exception { + syncDelete(); + } + + public static void syncDelete() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + DeleteStoragePoolRequest request = + DeleteStoragePoolRequest.newBuilder() + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setStoragePool("storagePool-525690569") + .setZone("zone3744684") + .build(); + Operation response = storagePoolsClient.deleteAsync(request).get(); + } + } +} +// [END compute_v1_generated_StoragePools_Delete_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/delete/SyncDeleteStringStringString.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/delete/SyncDeleteStringStringString.java new file mode 100644 index 000000000000..b5551c1fbd2d --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/delete/SyncDeleteStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_Delete_StringStringString_sync] +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class SyncDeleteStringStringString { + + public static void main(String[] args) throws Exception { + syncDeleteStringStringString(); + } + + public static void syncDeleteStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + String storagePool = "storagePool-525690569"; + Operation response = storagePoolsClient.deleteAsync(project, zone, storagePool).get(); + } + } +} +// [END compute_v1_generated_StoragePools_Delete_StringStringString_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/get/AsyncGet.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/get/AsyncGet.java new file mode 100644 index 000000000000..47b1d78eca69 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/get/AsyncGet.java @@ -0,0 +1,50 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_Get_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.GetStoragePoolRequest; +import com.google.cloud.compute.v1.StoragePool; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class AsyncGet { + + public static void main(String[] args) throws Exception { + asyncGet(); + } + + public static void asyncGet() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + GetStoragePoolRequest request = + GetStoragePoolRequest.newBuilder() + .setProject("project-309310695") + .setStoragePool("storagePool-525690569") + .setZone("zone3744684") + .build(); + ApiFuture future = storagePoolsClient.getCallable().futureCall(request); + // Do something. + StoragePool response = future.get(); + } + } +} +// [END compute_v1_generated_StoragePools_Get_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/get/SyncGet.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/get/SyncGet.java new file mode 100644 index 000000000000..39ace8ed786d --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/get/SyncGet.java @@ -0,0 +1,47 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_Get_sync] +import com.google.cloud.compute.v1.GetStoragePoolRequest; +import com.google.cloud.compute.v1.StoragePool; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class SyncGet { + + public static void main(String[] args) throws Exception { + syncGet(); + } + + public static void syncGet() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + GetStoragePoolRequest request = + GetStoragePoolRequest.newBuilder() + .setProject("project-309310695") + .setStoragePool("storagePool-525690569") + .setZone("zone3744684") + .build(); + StoragePool response = storagePoolsClient.get(request); + } + } +} +// [END compute_v1_generated_StoragePools_Get_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/get/SyncGetStringStringString.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/get/SyncGetStringStringString.java new file mode 100644 index 000000000000..64a4308e945d --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/get/SyncGetStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_Get_StringStringString_sync] +import com.google.cloud.compute.v1.StoragePool; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class SyncGetStringStringString { + + public static void main(String[] args) throws Exception { + syncGetStringStringString(); + } + + public static void syncGetStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + String storagePool = "storagePool-525690569"; + StoragePool response = storagePoolsClient.get(project, zone, storagePool); + } + } +} +// [END compute_v1_generated_StoragePools_Get_StringStringString_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/getiampolicy/AsyncGetIamPolicy.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/getiampolicy/AsyncGetIamPolicy.java new file mode 100644 index 000000000000..8b1c9eda4727 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/getiampolicy/AsyncGetIamPolicy.java @@ -0,0 +1,51 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_GetIamPolicy_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest; +import com.google.cloud.compute.v1.Policy; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class AsyncGetIamPolicy { + + public static void main(String[] args) throws Exception { + asyncGetIamPolicy(); + } + + public static void asyncGetIamPolicy() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + GetIamPolicyStoragePoolRequest request = + GetIamPolicyStoragePoolRequest.newBuilder() + .setOptionsRequestedPolicyVersion(-574521795) + .setProject("project-309310695") + .setResource("resource-341064690") + .setZone("zone3744684") + .build(); + ApiFuture future = storagePoolsClient.getIamPolicyCallable().futureCall(request); + // Do something. + Policy response = future.get(); + } + } +} +// [END compute_v1_generated_StoragePools_GetIamPolicy_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/getiampolicy/SyncGetIamPolicy.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/getiampolicy/SyncGetIamPolicy.java new file mode 100644 index 000000000000..cf8e21682317 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/getiampolicy/SyncGetIamPolicy.java @@ -0,0 +1,48 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_GetIamPolicy_sync] +import com.google.cloud.compute.v1.GetIamPolicyStoragePoolRequest; +import com.google.cloud.compute.v1.Policy; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class SyncGetIamPolicy { + + public static void main(String[] args) throws Exception { + syncGetIamPolicy(); + } + + public static void syncGetIamPolicy() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + GetIamPolicyStoragePoolRequest request = + GetIamPolicyStoragePoolRequest.newBuilder() + .setOptionsRequestedPolicyVersion(-574521795) + .setProject("project-309310695") + .setResource("resource-341064690") + .setZone("zone3744684") + .build(); + Policy response = storagePoolsClient.getIamPolicy(request); + } + } +} +// [END compute_v1_generated_StoragePools_GetIamPolicy_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/getiampolicy/SyncGetIamPolicyStringStringString.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/getiampolicy/SyncGetIamPolicyStringStringString.java new file mode 100644 index 000000000000..8f10a63e434e --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/getiampolicy/SyncGetIamPolicyStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_GetIamPolicy_StringStringString_sync] +import com.google.cloud.compute.v1.Policy; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class SyncGetIamPolicyStringStringString { + + public static void main(String[] args) throws Exception { + syncGetIamPolicyStringStringString(); + } + + public static void syncGetIamPolicyStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + String resource = "resource-341064690"; + Policy response = storagePoolsClient.getIamPolicy(project, zone, resource); + } + } +} +// [END compute_v1_generated_StoragePools_GetIamPolicy_StringStringString_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/insert/AsyncInsert.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/insert/AsyncInsert.java new file mode 100644 index 000000000000..19c30e264af8 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/insert/AsyncInsert.java @@ -0,0 +1,52 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_Insert_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.InsertStoragePoolRequest; +import com.google.cloud.compute.v1.StoragePool; +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.longrunning.Operation; + +public class AsyncInsert { + + public static void main(String[] args) throws Exception { + asyncInsert(); + } + + public static void asyncInsert() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + InsertStoragePoolRequest request = + InsertStoragePoolRequest.newBuilder() + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setStoragePoolResource(StoragePool.newBuilder().build()) + .setZone("zone3744684") + .build(); + ApiFuture future = storagePoolsClient.insertCallable().futureCall(request); + // Do something. + com.google.cloud.compute.v1.Operation response = future.get(); + } + } +} +// [END compute_v1_generated_StoragePools_Insert_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/insert/AsyncInsertLRO.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/insert/AsyncInsertLRO.java new file mode 100644 index 000000000000..885d8e5250a2 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/insert/AsyncInsertLRO.java @@ -0,0 +1,53 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_Insert_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.compute.v1.InsertStoragePoolRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.StoragePool; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class AsyncInsertLRO { + + public static void main(String[] args) throws Exception { + asyncInsertLRO(); + } + + public static void asyncInsertLRO() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + InsertStoragePoolRequest request = + InsertStoragePoolRequest.newBuilder() + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setStoragePoolResource(StoragePool.newBuilder().build()) + .setZone("zone3744684") + .build(); + OperationFuture future = + storagePoolsClient.insertOperationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END compute_v1_generated_StoragePools_Insert_LRO_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/insert/SyncInsert.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/insert/SyncInsert.java new file mode 100644 index 000000000000..e1b9e210f9c7 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/insert/SyncInsert.java @@ -0,0 +1,49 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_Insert_sync] +import com.google.cloud.compute.v1.InsertStoragePoolRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.StoragePool; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class SyncInsert { + + public static void main(String[] args) throws Exception { + syncInsert(); + } + + public static void syncInsert() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + InsertStoragePoolRequest request = + InsertStoragePoolRequest.newBuilder() + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setStoragePoolResource(StoragePool.newBuilder().build()) + .setZone("zone3744684") + .build(); + Operation response = storagePoolsClient.insertAsync(request).get(); + } + } +} +// [END compute_v1_generated_StoragePools_Insert_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/insert/SyncInsertStringStringStoragepool.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/insert/SyncInsertStringStringStoragepool.java new file mode 100644 index 000000000000..735585951577 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/insert/SyncInsertStringStringStoragepool.java @@ -0,0 +1,44 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_Insert_StringStringStoragepool_sync] +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.StoragePool; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class SyncInsertStringStringStoragepool { + + public static void main(String[] args) throws Exception { + syncInsertStringStringStoragepool(); + } + + public static void syncInsertStringStringStoragepool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + StoragePool storagePoolResource = StoragePool.newBuilder().build(); + Operation response = storagePoolsClient.insertAsync(project, zone, storagePoolResource).get(); + } + } +} +// [END compute_v1_generated_StoragePools_Insert_StringStringStoragepool_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/list/AsyncList.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/list/AsyncList.java new file mode 100644 index 000000000000..38a8520874ce --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/list/AsyncList.java @@ -0,0 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_List_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.ListStoragePoolsRequest; +import com.google.cloud.compute.v1.StoragePool; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class AsyncList { + + public static void main(String[] args) throws Exception { + asyncList(); + } + + public static void asyncList() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + ListStoragePoolsRequest request = + ListStoragePoolsRequest.newBuilder() + .setFilter("filter-1274492040") + .setMaxResults(1128457243) + .setOrderBy("orderBy-1207110587") + .setPageToken("pageToken873572522") + .setProject("project-309310695") + .setReturnPartialSuccess(true) + .setZone("zone3744684") + .build(); + ApiFuture future = storagePoolsClient.listPagedCallable().futureCall(request); + // Do something. + for (StoragePool element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END compute_v1_generated_StoragePools_List_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/list/AsyncListPaged.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/list/AsyncListPaged.java new file mode 100644 index 000000000000..557ee2e2accd --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/list/AsyncListPaged.java @@ -0,0 +1,64 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_List_Paged_async] +import com.google.cloud.compute.v1.ListStoragePoolsRequest; +import com.google.cloud.compute.v1.StoragePool; +import com.google.cloud.compute.v1.StoragePoolList; +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.common.base.Strings; + +public class AsyncListPaged { + + public static void main(String[] args) throws Exception { + asyncListPaged(); + } + + public static void asyncListPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + ListStoragePoolsRequest request = + ListStoragePoolsRequest.newBuilder() + .setFilter("filter-1274492040") + .setMaxResults(1128457243) + .setOrderBy("orderBy-1207110587") + .setPageToken("pageToken873572522") + .setProject("project-309310695") + .setReturnPartialSuccess(true) + .setZone("zone3744684") + .build(); + while (true) { + StoragePoolList response = storagePoolsClient.listCallable().call(request); + for (StoragePool element : response.getItemsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END compute_v1_generated_StoragePools_List_Paged_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/list/SyncList.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/list/SyncList.java new file mode 100644 index 000000000000..702d6cac4bf3 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/list/SyncList.java @@ -0,0 +1,53 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_List_sync] +import com.google.cloud.compute.v1.ListStoragePoolsRequest; +import com.google.cloud.compute.v1.StoragePool; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class SyncList { + + public static void main(String[] args) throws Exception { + syncList(); + } + + public static void syncList() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + ListStoragePoolsRequest request = + ListStoragePoolsRequest.newBuilder() + .setFilter("filter-1274492040") + .setMaxResults(1128457243) + .setOrderBy("orderBy-1207110587") + .setPageToken("pageToken873572522") + .setProject("project-309310695") + .setReturnPartialSuccess(true) + .setZone("zone3744684") + .build(); + for (StoragePool element : storagePoolsClient.list(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END compute_v1_generated_StoragePools_List_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/list/SyncListStringString.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/list/SyncListStringString.java new file mode 100644 index 000000000000..e559fd6502ad --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/list/SyncListStringString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_List_StringString_sync] +import com.google.cloud.compute.v1.StoragePool; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class SyncListStringString { + + public static void main(String[] args) throws Exception { + syncListStringString(); + } + + public static void syncListStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + for (StoragePool element : storagePoolsClient.list(project, zone).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END compute_v1_generated_StoragePools_List_StringString_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/listdisks/AsyncListDisks.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/listdisks/AsyncListDisks.java new file mode 100644 index 000000000000..0a80e18ae350 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/listdisks/AsyncListDisks.java @@ -0,0 +1,58 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_ListDisks_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.ListDisksStoragePoolsRequest; +import com.google.cloud.compute.v1.StoragePoolDisk; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class AsyncListDisks { + + public static void main(String[] args) throws Exception { + asyncListDisks(); + } + + public static void asyncListDisks() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + ListDisksStoragePoolsRequest request = + ListDisksStoragePoolsRequest.newBuilder() + .setFilter("filter-1274492040") + .setMaxResults(1128457243) + .setOrderBy("orderBy-1207110587") + .setPageToken("pageToken873572522") + .setProject("project-309310695") + .setReturnPartialSuccess(true) + .setStoragePool("storagePool-525690569") + .setZone("zone3744684") + .build(); + ApiFuture future = + storagePoolsClient.listDisksPagedCallable().futureCall(request); + // Do something. + for (StoragePoolDisk element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END compute_v1_generated_StoragePools_ListDisks_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/listdisks/AsyncListDisksPaged.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/listdisks/AsyncListDisksPaged.java new file mode 100644 index 000000000000..a515ad4f5b3e --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/listdisks/AsyncListDisksPaged.java @@ -0,0 +1,65 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_ListDisks_Paged_async] +import com.google.cloud.compute.v1.ListDisksStoragePoolsRequest; +import com.google.cloud.compute.v1.StoragePoolDisk; +import com.google.cloud.compute.v1.StoragePoolListDisks; +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.common.base.Strings; + +public class AsyncListDisksPaged { + + public static void main(String[] args) throws Exception { + asyncListDisksPaged(); + } + + public static void asyncListDisksPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + ListDisksStoragePoolsRequest request = + ListDisksStoragePoolsRequest.newBuilder() + .setFilter("filter-1274492040") + .setMaxResults(1128457243) + .setOrderBy("orderBy-1207110587") + .setPageToken("pageToken873572522") + .setProject("project-309310695") + .setReturnPartialSuccess(true) + .setStoragePool("storagePool-525690569") + .setZone("zone3744684") + .build(); + while (true) { + StoragePoolListDisks response = storagePoolsClient.listDisksCallable().call(request); + for (StoragePoolDisk element : response.getItemsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END compute_v1_generated_StoragePools_ListDisks_Paged_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/listdisks/SyncListDisks.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/listdisks/SyncListDisks.java new file mode 100644 index 000000000000..6f07fa93248e --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/listdisks/SyncListDisks.java @@ -0,0 +1,54 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_ListDisks_sync] +import com.google.cloud.compute.v1.ListDisksStoragePoolsRequest; +import com.google.cloud.compute.v1.StoragePoolDisk; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class SyncListDisks { + + public static void main(String[] args) throws Exception { + syncListDisks(); + } + + public static void syncListDisks() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + ListDisksStoragePoolsRequest request = + ListDisksStoragePoolsRequest.newBuilder() + .setFilter("filter-1274492040") + .setMaxResults(1128457243) + .setOrderBy("orderBy-1207110587") + .setPageToken("pageToken873572522") + .setProject("project-309310695") + .setReturnPartialSuccess(true) + .setStoragePool("storagePool-525690569") + .setZone("zone3744684") + .build(); + for (StoragePoolDisk element : storagePoolsClient.listDisks(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END compute_v1_generated_StoragePools_ListDisks_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/listdisks/SyncListDisksStringStringString.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/listdisks/SyncListDisksStringStringString.java new file mode 100644 index 000000000000..8f3e65cfa109 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/listdisks/SyncListDisksStringStringString.java @@ -0,0 +1,46 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_ListDisks_StringStringString_sync] +import com.google.cloud.compute.v1.StoragePoolDisk; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class SyncListDisksStringStringString { + + public static void main(String[] args) throws Exception { + syncListDisksStringStringString(); + } + + public static void syncListDisksStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + String storagePool = "storagePool-525690569"; + for (StoragePoolDisk element : + storagePoolsClient.listDisks(project, zone, storagePool).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END compute_v1_generated_StoragePools_ListDisks_StringStringString_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/setiampolicy/AsyncSetIamPolicy.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/setiampolicy/AsyncSetIamPolicy.java new file mode 100644 index 000000000000..6b14db5e3724 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/setiampolicy/AsyncSetIamPolicy.java @@ -0,0 +1,52 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_SetIamPolicy_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.Policy; +import com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest; +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.cloud.compute.v1.ZoneSetPolicyRequest; + +public class AsyncSetIamPolicy { + + public static void main(String[] args) throws Exception { + asyncSetIamPolicy(); + } + + public static void asyncSetIamPolicy() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + SetIamPolicyStoragePoolRequest request = + SetIamPolicyStoragePoolRequest.newBuilder() + .setProject("project-309310695") + .setResource("resource-341064690") + .setZone("zone3744684") + .setZoneSetPolicyRequestResource(ZoneSetPolicyRequest.newBuilder().build()) + .build(); + ApiFuture future = storagePoolsClient.setIamPolicyCallable().futureCall(request); + // Do something. + Policy response = future.get(); + } + } +} +// [END compute_v1_generated_StoragePools_SetIamPolicy_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/setiampolicy/SyncSetIamPolicy.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/setiampolicy/SyncSetIamPolicy.java new file mode 100644 index 000000000000..a7aeaa19e1b6 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/setiampolicy/SyncSetIamPolicy.java @@ -0,0 +1,49 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_SetIamPolicy_sync] +import com.google.cloud.compute.v1.Policy; +import com.google.cloud.compute.v1.SetIamPolicyStoragePoolRequest; +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.cloud.compute.v1.ZoneSetPolicyRequest; + +public class SyncSetIamPolicy { + + public static void main(String[] args) throws Exception { + syncSetIamPolicy(); + } + + public static void syncSetIamPolicy() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + SetIamPolicyStoragePoolRequest request = + SetIamPolicyStoragePoolRequest.newBuilder() + .setProject("project-309310695") + .setResource("resource-341064690") + .setZone("zone3744684") + .setZoneSetPolicyRequestResource(ZoneSetPolicyRequest.newBuilder().build()) + .build(); + Policy response = storagePoolsClient.setIamPolicy(request); + } + } +} +// [END compute_v1_generated_StoragePools_SetIamPolicy_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/setiampolicy/SyncSetIamPolicyStringStringStringZonesetpolicyrequest.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/setiampolicy/SyncSetIamPolicyStringStringStringZonesetpolicyrequest.java new file mode 100644 index 000000000000..6d1bf585622c --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/setiampolicy/SyncSetIamPolicyStringStringStringZonesetpolicyrequest.java @@ -0,0 +1,46 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_SetIamPolicy_StringStringStringZonesetpolicyrequest_sync] +import com.google.cloud.compute.v1.Policy; +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.cloud.compute.v1.ZoneSetPolicyRequest; + +public class SyncSetIamPolicyStringStringStringZonesetpolicyrequest { + + public static void main(String[] args) throws Exception { + syncSetIamPolicyStringStringStringZonesetpolicyrequest(); + } + + public static void syncSetIamPolicyStringStringStringZonesetpolicyrequest() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + String resource = "resource-341064690"; + ZoneSetPolicyRequest zoneSetPolicyRequestResource = ZoneSetPolicyRequest.newBuilder().build(); + Policy response = + storagePoolsClient.setIamPolicy(project, zone, resource, zoneSetPolicyRequestResource); + } + } +} +// [END compute_v1_generated_StoragePools_SetIamPolicy_StringStringStringZonesetpolicyrequest_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/testiampermissions/AsyncTestIamPermissions.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/testiampermissions/AsyncTestIamPermissions.java new file mode 100644 index 000000000000..af50984d9c3c --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/testiampermissions/AsyncTestIamPermissions.java @@ -0,0 +1,53 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_TestIamPermissions_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest; +import com.google.cloud.compute.v1.TestPermissionsRequest; +import com.google.cloud.compute.v1.TestPermissionsResponse; + +public class AsyncTestIamPermissions { + + public static void main(String[] args) throws Exception { + asyncTestIamPermissions(); + } + + public static void asyncTestIamPermissions() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + TestIamPermissionsStoragePoolRequest request = + TestIamPermissionsStoragePoolRequest.newBuilder() + .setProject("project-309310695") + .setResource("resource-341064690") + .setTestPermissionsRequestResource(TestPermissionsRequest.newBuilder().build()) + .setZone("zone3744684") + .build(); + ApiFuture future = + storagePoolsClient.testIamPermissionsCallable().futureCall(request); + // Do something. + TestPermissionsResponse response = future.get(); + } + } +} +// [END compute_v1_generated_StoragePools_TestIamPermissions_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/testiampermissions/SyncTestIamPermissions.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/testiampermissions/SyncTestIamPermissions.java new file mode 100644 index 000000000000..5f22c9822076 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/testiampermissions/SyncTestIamPermissions.java @@ -0,0 +1,49 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_TestIamPermissions_sync] +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.cloud.compute.v1.TestIamPermissionsStoragePoolRequest; +import com.google.cloud.compute.v1.TestPermissionsRequest; +import com.google.cloud.compute.v1.TestPermissionsResponse; + +public class SyncTestIamPermissions { + + public static void main(String[] args) throws Exception { + syncTestIamPermissions(); + } + + public static void syncTestIamPermissions() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + TestIamPermissionsStoragePoolRequest request = + TestIamPermissionsStoragePoolRequest.newBuilder() + .setProject("project-309310695") + .setResource("resource-341064690") + .setTestPermissionsRequestResource(TestPermissionsRequest.newBuilder().build()) + .setZone("zone3744684") + .build(); + TestPermissionsResponse response = storagePoolsClient.testIamPermissions(request); + } + } +} +// [END compute_v1_generated_StoragePools_TestIamPermissions_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/testiampermissions/SyncTestIamPermissionsStringStringStringTestpermissionsrequest.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/testiampermissions/SyncTestIamPermissionsStringStringStringTestpermissionsrequest.java new file mode 100644 index 000000000000..60952d81e662 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/testiampermissions/SyncTestIamPermissionsStringStringStringTestpermissionsrequest.java @@ -0,0 +1,49 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_TestIamPermissions_StringStringStringTestpermissionsrequest_sync] +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.cloud.compute.v1.TestPermissionsRequest; +import com.google.cloud.compute.v1.TestPermissionsResponse; + +public class SyncTestIamPermissionsStringStringStringTestpermissionsrequest { + + public static void main(String[] args) throws Exception { + syncTestIamPermissionsStringStringStringTestpermissionsrequest(); + } + + public static void syncTestIamPermissionsStringStringStringTestpermissionsrequest() + throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + String resource = "resource-341064690"; + TestPermissionsRequest testPermissionsRequestResource = + TestPermissionsRequest.newBuilder().build(); + TestPermissionsResponse response = + storagePoolsClient.testIamPermissions( + project, zone, resource, testPermissionsRequestResource); + } + } +} +// [END compute_v1_generated_StoragePools_TestIamPermissions_StringStringStringTestpermissionsrequest_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/update/AsyncUpdate.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/update/AsyncUpdate.java new file mode 100644 index 000000000000..bc95057e0375 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/update/AsyncUpdate.java @@ -0,0 +1,54 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_Update_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.StoragePool; +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.cloud.compute.v1.UpdateStoragePoolRequest; +import com.google.longrunning.Operation; + +public class AsyncUpdate { + + public static void main(String[] args) throws Exception { + asyncUpdate(); + } + + public static void asyncUpdate() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + UpdateStoragePoolRequest request = + UpdateStoragePoolRequest.newBuilder() + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setStoragePool("storagePool-525690569") + .setStoragePoolResource(StoragePool.newBuilder().build()) + .setUpdateMask("updateMask-296147115") + .setZone("zone3744684") + .build(); + ApiFuture future = storagePoolsClient.updateCallable().futureCall(request); + // Do something. + com.google.cloud.compute.v1.Operation response = future.get(); + } + } +} +// [END compute_v1_generated_StoragePools_Update_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/update/AsyncUpdateLRO.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/update/AsyncUpdateLRO.java new file mode 100644 index 000000000000..2834e572480a --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/update/AsyncUpdateLRO.java @@ -0,0 +1,55 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_Update_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.StoragePool; +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.cloud.compute.v1.UpdateStoragePoolRequest; + +public class AsyncUpdateLRO { + + public static void main(String[] args) throws Exception { + asyncUpdateLRO(); + } + + public static void asyncUpdateLRO() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + UpdateStoragePoolRequest request = + UpdateStoragePoolRequest.newBuilder() + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setStoragePool("storagePool-525690569") + .setStoragePoolResource(StoragePool.newBuilder().build()) + .setUpdateMask("updateMask-296147115") + .setZone("zone3744684") + .build(); + OperationFuture future = + storagePoolsClient.updateOperationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END compute_v1_generated_StoragePools_Update_LRO_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/update/SyncUpdate.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/update/SyncUpdate.java new file mode 100644 index 000000000000..bf984618dd98 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/update/SyncUpdate.java @@ -0,0 +1,51 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_Update_sync] +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.StoragePool; +import com.google.cloud.compute.v1.StoragePoolsClient; +import com.google.cloud.compute.v1.UpdateStoragePoolRequest; + +public class SyncUpdate { + + public static void main(String[] args) throws Exception { + syncUpdate(); + } + + public static void syncUpdate() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + UpdateStoragePoolRequest request = + UpdateStoragePoolRequest.newBuilder() + .setProject("project-309310695") + .setRequestId("requestId693933066") + .setStoragePool("storagePool-525690569") + .setStoragePoolResource(StoragePool.newBuilder().build()) + .setUpdateMask("updateMask-296147115") + .setZone("zone3744684") + .build(); + Operation response = storagePoolsClient.updateAsync(request).get(); + } + } +} +// [END compute_v1_generated_StoragePools_Update_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/update/SyncUpdateStringStringStringStoragepool.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/update/SyncUpdateStringStringStringStoragepool.java new file mode 100644 index 000000000000..0b55513e5477 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepools/update/SyncUpdateStringStringStringStoragepool.java @@ -0,0 +1,46 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePools_Update_StringStringStringStoragepool_sync] +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.StoragePool; +import com.google.cloud.compute.v1.StoragePoolsClient; + +public class SyncUpdateStringStringStringStoragepool { + + public static void main(String[] args) throws Exception { + syncUpdateStringStringStringStoragepool(); + } + + public static void syncUpdateStringStringStringStoragepool() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolsClient storagePoolsClient = StoragePoolsClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + String storagePool = "storagePool-525690569"; + StoragePool storagePoolResource = StoragePool.newBuilder().build(); + Operation response = + storagePoolsClient.updateAsync(project, zone, storagePool, storagePoolResource).get(); + } + } +} +// [END compute_v1_generated_StoragePools_Update_StringStringStringStoragepool_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepoolssettings/get/SyncGet.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepoolssettings/get/SyncGet.java new file mode 100644 index 000000000000..4dfafa0e8eeb --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepoolssettings/get/SyncGet.java @@ -0,0 +1,48 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePoolsSettings_Get_sync] +import com.google.cloud.compute.v1.StoragePoolsSettings; +import java.time.Duration; + +public class SyncGet { + + public static void main(String[] args) throws Exception { + syncGet(); + } + + public static void syncGet() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + StoragePoolsSettings.Builder storagePoolsSettingsBuilder = StoragePoolsSettings.newBuilder(); + storagePoolsSettingsBuilder + .getSettings() + .setRetrySettings( + storagePoolsSettingsBuilder + .getSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + StoragePoolsSettings storagePoolsSettings = storagePoolsSettingsBuilder.build(); + } +} +// [END compute_v1_generated_StoragePoolsSettings_Get_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/aggregatedlist/AsyncAggregatedList.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/aggregatedlist/AsyncAggregatedList.java new file mode 100644 index 000000000000..fc332ae68c01 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/aggregatedlist/AsyncAggregatedList.java @@ -0,0 +1,59 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePoolTypes_AggregatedList_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest; +import com.google.cloud.compute.v1.StoragePoolTypesClient; +import com.google.cloud.compute.v1.StoragePoolTypesScopedList; +import java.util.Map; + +public class AsyncAggregatedList { + + public static void main(String[] args) throws Exception { + asyncAggregatedList(); + } + + public static void asyncAggregatedList() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) { + AggregatedListStoragePoolTypesRequest request = + AggregatedListStoragePoolTypesRequest.newBuilder() + .setFilter("filter-1274492040") + .setIncludeAllScopes(true) + .setMaxResults(1128457243) + .setOrderBy("orderBy-1207110587") + .setPageToken("pageToken873572522") + .setProject("project-309310695") + .setReturnPartialSuccess(true) + .setServiceProjectNumber(-1293855239) + .build(); + ApiFuture> future = + storagePoolTypesClient.aggregatedListPagedCallable().futureCall(request); + // Do something. + for (Map.Entry element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END compute_v1_generated_StoragePoolTypes_AggregatedList_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/aggregatedlist/AsyncAggregatedListPaged.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/aggregatedlist/AsyncAggregatedListPaged.java new file mode 100644 index 000000000000..2087a4c109e5 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/aggregatedlist/AsyncAggregatedListPaged.java @@ -0,0 +1,67 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePoolTypes_AggregatedList_Paged_async] +import com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest; +import com.google.cloud.compute.v1.StoragePoolTypeAggregatedList; +import com.google.cloud.compute.v1.StoragePoolTypesClient; +import com.google.cloud.compute.v1.StoragePoolTypesScopedList; +import com.google.common.base.Strings; +import java.util.Map; + +public class AsyncAggregatedListPaged { + + public static void main(String[] args) throws Exception { + asyncAggregatedListPaged(); + } + + public static void asyncAggregatedListPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) { + AggregatedListStoragePoolTypesRequest request = + AggregatedListStoragePoolTypesRequest.newBuilder() + .setFilter("filter-1274492040") + .setIncludeAllScopes(true) + .setMaxResults(1128457243) + .setOrderBy("orderBy-1207110587") + .setPageToken("pageToken873572522") + .setProject("project-309310695") + .setReturnPartialSuccess(true) + .setServiceProjectNumber(-1293855239) + .build(); + while (true) { + StoragePoolTypeAggregatedList response = + storagePoolTypesClient.aggregatedListCallable().call(request); + for (Map.Entry element : response.getItemsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END compute_v1_generated_StoragePoolTypes_AggregatedList_Paged_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/aggregatedlist/SyncAggregatedList.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/aggregatedlist/SyncAggregatedList.java new file mode 100644 index 000000000000..97a9924ebf4a --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/aggregatedlist/SyncAggregatedList.java @@ -0,0 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePoolTypes_AggregatedList_sync] +import com.google.cloud.compute.v1.AggregatedListStoragePoolTypesRequest; +import com.google.cloud.compute.v1.StoragePoolTypesClient; +import com.google.cloud.compute.v1.StoragePoolTypesScopedList; +import java.util.Map; + +public class SyncAggregatedList { + + public static void main(String[] args) throws Exception { + syncAggregatedList(); + } + + public static void syncAggregatedList() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) { + AggregatedListStoragePoolTypesRequest request = + AggregatedListStoragePoolTypesRequest.newBuilder() + .setFilter("filter-1274492040") + .setIncludeAllScopes(true) + .setMaxResults(1128457243) + .setOrderBy("orderBy-1207110587") + .setPageToken("pageToken873572522") + .setProject("project-309310695") + .setReturnPartialSuccess(true) + .setServiceProjectNumber(-1293855239) + .build(); + for (Map.Entry element : + storagePoolTypesClient.aggregatedList(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END compute_v1_generated_StoragePoolTypes_AggregatedList_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/aggregatedlist/SyncAggregatedListString.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/aggregatedlist/SyncAggregatedListString.java new file mode 100644 index 000000000000..72d0f8ca640f --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/aggregatedlist/SyncAggregatedListString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePoolTypes_AggregatedList_String_sync] +import com.google.cloud.compute.v1.StoragePoolTypesClient; +import com.google.cloud.compute.v1.StoragePoolTypesScopedList; +import java.util.Map; + +public class SyncAggregatedListString { + + public static void main(String[] args) throws Exception { + syncAggregatedListString(); + } + + public static void syncAggregatedListString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) { + String project = "project-309310695"; + for (Map.Entry element : + storagePoolTypesClient.aggregatedList(project).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END compute_v1_generated_StoragePoolTypes_AggregatedList_String_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/create/SyncCreateSetCredentialsProvider.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 000000000000..9ef1141ef13a --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,45 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePoolTypes_Create_SetCredentialsProvider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.compute.v1.StoragePoolTypesClient; +import com.google.cloud.compute.v1.StoragePoolTypesSettings; +import com.google.cloud.compute.v1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + StoragePoolTypesSettings storagePoolTypesSettings = + StoragePoolTypesSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + StoragePoolTypesClient storagePoolTypesClient = + StoragePoolTypesClient.create(storagePoolTypesSettings); + } +} +// [END compute_v1_generated_StoragePoolTypes_Create_SetCredentialsProvider_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/create/SyncCreateSetEndpoint.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/create/SyncCreateSetEndpoint.java new file mode 100644 index 000000000000..1d58c11525a4 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/create/SyncCreateSetEndpoint.java @@ -0,0 +1,42 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePoolTypes_Create_SetEndpoint_sync] +import com.google.cloud.compute.v1.StoragePoolTypesClient; +import com.google.cloud.compute.v1.StoragePoolTypesSettings; +import com.google.cloud.compute.v1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + StoragePoolTypesSettings storagePoolTypesSettings = + StoragePoolTypesSettings.newBuilder().setEndpoint(myEndpoint).build(); + StoragePoolTypesClient storagePoolTypesClient = + StoragePoolTypesClient.create(storagePoolTypesSettings); + } +} +// [END compute_v1_generated_StoragePoolTypes_Create_SetEndpoint_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/get/AsyncGet.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/get/AsyncGet.java new file mode 100644 index 000000000000..01f13c8c7aff --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/get/AsyncGet.java @@ -0,0 +1,50 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePoolTypes_Get_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.GetStoragePoolTypeRequest; +import com.google.cloud.compute.v1.StoragePoolType; +import com.google.cloud.compute.v1.StoragePoolTypesClient; + +public class AsyncGet { + + public static void main(String[] args) throws Exception { + asyncGet(); + } + + public static void asyncGet() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) { + GetStoragePoolTypeRequest request = + GetStoragePoolTypeRequest.newBuilder() + .setProject("project-309310695") + .setStoragePoolType("storagePoolType-354080495") + .setZone("zone3744684") + .build(); + ApiFuture future = storagePoolTypesClient.getCallable().futureCall(request); + // Do something. + StoragePoolType response = future.get(); + } + } +} +// [END compute_v1_generated_StoragePoolTypes_Get_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/get/SyncGet.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/get/SyncGet.java new file mode 100644 index 000000000000..682835571f2a --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/get/SyncGet.java @@ -0,0 +1,47 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePoolTypes_Get_sync] +import com.google.cloud.compute.v1.GetStoragePoolTypeRequest; +import com.google.cloud.compute.v1.StoragePoolType; +import com.google.cloud.compute.v1.StoragePoolTypesClient; + +public class SyncGet { + + public static void main(String[] args) throws Exception { + syncGet(); + } + + public static void syncGet() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) { + GetStoragePoolTypeRequest request = + GetStoragePoolTypeRequest.newBuilder() + .setProject("project-309310695") + .setStoragePoolType("storagePoolType-354080495") + .setZone("zone3744684") + .build(); + StoragePoolType response = storagePoolTypesClient.get(request); + } + } +} +// [END compute_v1_generated_StoragePoolTypes_Get_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/get/SyncGetStringStringString.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/get/SyncGetStringStringString.java new file mode 100644 index 000000000000..2af6755db75b --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/get/SyncGetStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePoolTypes_Get_StringStringString_sync] +import com.google.cloud.compute.v1.StoragePoolType; +import com.google.cloud.compute.v1.StoragePoolTypesClient; + +public class SyncGetStringStringString { + + public static void main(String[] args) throws Exception { + syncGetStringStringString(); + } + + public static void syncGetStringStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + String storagePoolType = "storagePoolType-354080495"; + StoragePoolType response = storagePoolTypesClient.get(project, zone, storagePoolType); + } + } +} +// [END compute_v1_generated_StoragePoolTypes_Get_StringStringString_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/list/AsyncList.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/list/AsyncList.java new file mode 100644 index 000000000000..74a18a95aa46 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/list/AsyncList.java @@ -0,0 +1,57 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePoolTypes_List_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.compute.v1.ListStoragePoolTypesRequest; +import com.google.cloud.compute.v1.StoragePoolType; +import com.google.cloud.compute.v1.StoragePoolTypesClient; + +public class AsyncList { + + public static void main(String[] args) throws Exception { + asyncList(); + } + + public static void asyncList() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) { + ListStoragePoolTypesRequest request = + ListStoragePoolTypesRequest.newBuilder() + .setFilter("filter-1274492040") + .setMaxResults(1128457243) + .setOrderBy("orderBy-1207110587") + .setPageToken("pageToken873572522") + .setProject("project-309310695") + .setReturnPartialSuccess(true) + .setZone("zone3744684") + .build(); + ApiFuture future = + storagePoolTypesClient.listPagedCallable().futureCall(request); + // Do something. + for (StoragePoolType element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END compute_v1_generated_StoragePoolTypes_List_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/list/AsyncListPaged.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/list/AsyncListPaged.java new file mode 100644 index 000000000000..4169ed875a72 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/list/AsyncListPaged.java @@ -0,0 +1,64 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePoolTypes_List_Paged_async] +import com.google.cloud.compute.v1.ListStoragePoolTypesRequest; +import com.google.cloud.compute.v1.StoragePoolType; +import com.google.cloud.compute.v1.StoragePoolTypeList; +import com.google.cloud.compute.v1.StoragePoolTypesClient; +import com.google.common.base.Strings; + +public class AsyncListPaged { + + public static void main(String[] args) throws Exception { + asyncListPaged(); + } + + public static void asyncListPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) { + ListStoragePoolTypesRequest request = + ListStoragePoolTypesRequest.newBuilder() + .setFilter("filter-1274492040") + .setMaxResults(1128457243) + .setOrderBy("orderBy-1207110587") + .setPageToken("pageToken873572522") + .setProject("project-309310695") + .setReturnPartialSuccess(true) + .setZone("zone3744684") + .build(); + while (true) { + StoragePoolTypeList response = storagePoolTypesClient.listCallable().call(request); + for (StoragePoolType element : response.getItemsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END compute_v1_generated_StoragePoolTypes_List_Paged_async] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/list/SyncList.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/list/SyncList.java new file mode 100644 index 000000000000..846cbd1ed451 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/list/SyncList.java @@ -0,0 +1,53 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePoolTypes_List_sync] +import com.google.cloud.compute.v1.ListStoragePoolTypesRequest; +import com.google.cloud.compute.v1.StoragePoolType; +import com.google.cloud.compute.v1.StoragePoolTypesClient; + +public class SyncList { + + public static void main(String[] args) throws Exception { + syncList(); + } + + public static void syncList() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) { + ListStoragePoolTypesRequest request = + ListStoragePoolTypesRequest.newBuilder() + .setFilter("filter-1274492040") + .setMaxResults(1128457243) + .setOrderBy("orderBy-1207110587") + .setPageToken("pageToken873572522") + .setProject("project-309310695") + .setReturnPartialSuccess(true) + .setZone("zone3744684") + .build(); + for (StoragePoolType element : storagePoolTypesClient.list(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END compute_v1_generated_StoragePoolTypes_List_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/list/SyncListStringString.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/list/SyncListStringString.java new file mode 100644 index 000000000000..09808dd10fd9 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypes/list/SyncListStringString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePoolTypes_List_StringString_sync] +import com.google.cloud.compute.v1.StoragePoolType; +import com.google.cloud.compute.v1.StoragePoolTypesClient; + +public class SyncListStringString { + + public static void main(String[] args) throws Exception { + syncListStringString(); + } + + public static void syncListStringString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (StoragePoolTypesClient storagePoolTypesClient = StoragePoolTypesClient.create()) { + String project = "project-309310695"; + String zone = "zone3744684"; + for (StoragePoolType element : storagePoolTypesClient.list(project, zone).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END compute_v1_generated_StoragePoolTypes_List_StringString_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypessettings/get/SyncGet.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypessettings/get/SyncGet.java new file mode 100644 index 000000000000..f9c8dddf6306 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/storagepooltypessettings/get/SyncGet.java @@ -0,0 +1,49 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.samples; + +// [START compute_v1_generated_StoragePoolTypesSettings_Get_sync] +import com.google.cloud.compute.v1.StoragePoolTypesSettings; +import java.time.Duration; + +public class SyncGet { + + public static void main(String[] args) throws Exception { + syncGet(); + } + + public static void syncGet() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + StoragePoolTypesSettings.Builder storagePoolTypesSettingsBuilder = + StoragePoolTypesSettings.newBuilder(); + storagePoolTypesSettingsBuilder + .getSettings() + .setRetrySettings( + storagePoolTypesSettingsBuilder + .getSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + StoragePoolTypesSettings storagePoolTypesSettings = storagePoolTypesSettingsBuilder.build(); + } +} +// [END compute_v1_generated_StoragePoolTypesSettings_Get_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/stub/instancegroupmanagerresizerequestsstubsettings/get/SyncGet.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/stub/instancegroupmanagerresizerequestsstubsettings/get/SyncGet.java new file mode 100644 index 000000000000..c97f343aeaff --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/stub/instancegroupmanagerresizerequestsstubsettings/get/SyncGet.java @@ -0,0 +1,51 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub.samples; + +// [START compute_v1_generated_InstanceGroupManagerResizeRequestsStubSettings_Get_sync] +import com.google.cloud.compute.v1.stub.InstanceGroupManagerResizeRequestsStubSettings; +import java.time.Duration; + +public class SyncGet { + + public static void main(String[] args) throws Exception { + syncGet(); + } + + public static void syncGet() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + InstanceGroupManagerResizeRequestsStubSettings.Builder + instanceGroupManagerResizeRequestsSettingsBuilder = + InstanceGroupManagerResizeRequestsStubSettings.newBuilder(); + instanceGroupManagerResizeRequestsSettingsBuilder + .getSettings() + .setRetrySettings( + instanceGroupManagerResizeRequestsSettingsBuilder + .getSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + InstanceGroupManagerResizeRequestsStubSettings instanceGroupManagerResizeRequestsSettings = + instanceGroupManagerResizeRequestsSettingsBuilder.build(); + } +} +// [END compute_v1_generated_InstanceGroupManagerResizeRequestsStubSettings_Get_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/stub/instancesettingsservicestubsettings/get/SyncGet.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/stub/instancesettingsservicestubsettings/get/SyncGet.java new file mode 100644 index 000000000000..96ebe5e01b0c --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/stub/instancesettingsservicestubsettings/get/SyncGet.java @@ -0,0 +1,50 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub.samples; + +// [START compute_v1_generated_InstanceSettingsServiceStubSettings_Get_sync] +import com.google.cloud.compute.v1.stub.InstanceSettingsServiceStubSettings; +import java.time.Duration; + +public class SyncGet { + + public static void main(String[] args) throws Exception { + syncGet(); + } + + public static void syncGet() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + InstanceSettingsServiceStubSettings.Builder instanceSettingsServiceSettingsBuilder = + InstanceSettingsServiceStubSettings.newBuilder(); + instanceSettingsServiceSettingsBuilder + .getSettings() + .setRetrySettings( + instanceSettingsServiceSettingsBuilder + .getSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + InstanceSettingsServiceStubSettings instanceSettingsServiceSettings = + instanceSettingsServiceSettingsBuilder.build(); + } +} +// [END compute_v1_generated_InstanceSettingsServiceStubSettings_Get_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/stub/storagepoolsstubsettings/get/SyncGet.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/stub/storagepoolsstubsettings/get/SyncGet.java new file mode 100644 index 000000000000..9050c24e3960 --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/stub/storagepoolsstubsettings/get/SyncGet.java @@ -0,0 +1,49 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub.samples; + +// [START compute_v1_generated_StoragePoolsStubSettings_Get_sync] +import com.google.cloud.compute.v1.stub.StoragePoolsStubSettings; +import java.time.Duration; + +public class SyncGet { + + public static void main(String[] args) throws Exception { + syncGet(); + } + + public static void syncGet() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + StoragePoolsStubSettings.Builder storagePoolsSettingsBuilder = + StoragePoolsStubSettings.newBuilder(); + storagePoolsSettingsBuilder + .getSettings() + .setRetrySettings( + storagePoolsSettingsBuilder + .getSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + StoragePoolsStubSettings storagePoolsSettings = storagePoolsSettingsBuilder.build(); + } +} +// [END compute_v1_generated_StoragePoolsStubSettings_Get_sync] diff --git a/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/stub/storagepooltypesstubsettings/get/SyncGet.java b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/stub/storagepooltypesstubsettings/get/SyncGet.java new file mode 100644 index 000000000000..a49e0078cada --- /dev/null +++ b/java-compute/samples/snippets/generated/com/google/cloud/compute/v1/stub/storagepooltypesstubsettings/get/SyncGet.java @@ -0,0 +1,49 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.compute.v1.stub.samples; + +// [START compute_v1_generated_StoragePoolTypesStubSettings_Get_sync] +import com.google.cloud.compute.v1.stub.StoragePoolTypesStubSettings; +import java.time.Duration; + +public class SyncGet { + + public static void main(String[] args) throws Exception { + syncGet(); + } + + public static void syncGet() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + StoragePoolTypesStubSettings.Builder storagePoolTypesSettingsBuilder = + StoragePoolTypesStubSettings.newBuilder(); + storagePoolTypesSettingsBuilder + .getSettings() + .setRetrySettings( + storagePoolTypesSettingsBuilder + .getSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + StoragePoolTypesStubSettings storagePoolTypesSettings = storagePoolTypesSettingsBuilder.build(); + } +} +// [END compute_v1_generated_StoragePoolTypesStubSettings_Get_sync] diff --git a/java-confidentialcomputing/README.md b/java-confidentialcomputing/README.md index fb1f0fbd4204..036adb4cd11b 100644 --- a/java-confidentialcomputing/README.md +++ b/java-confidentialcomputing/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-confidentialcomputing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-confidentialcomputing/0.27.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-confidentialcomputing/0.28.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-contact-center-insights/README.md b/java-contact-center-insights/README.md index 3308506b80a2..55d81d59fe66 100644 --- a/java-contact-center-insights/README.md +++ b/java-contact-center-insights/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-contact-center-insights.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contact-center-insights/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contact-center-insights/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-container/README.md b/java-container/README.md index dc80afd56f12..6b4640ce7cd1 100644 --- a/java-container/README.md +++ b/java-container/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-container.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.44.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.45.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-containeranalysis/README.md b/java-containeranalysis/README.md index e44750447159..e27ab3469f93 100644 --- a/java-containeranalysis/README.md +++ b/java-containeranalysis/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-containeranalysis.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-containeranalysis/2.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-containeranalysis/2.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-contentwarehouse/README.md b/java-contentwarehouse/README.md index b136cccf61b4..add1b9e9f17a 100644 --- a/java-contentwarehouse/README.md +++ b/java-contentwarehouse/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-contentwarehouse.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contentwarehouse/0.37.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contentwarehouse/0.38.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-data-fusion/README.md b/java-data-fusion/README.md index af3aa1ffbf49..dc2729f9652b 100644 --- a/java-data-fusion/README.md +++ b/java-data-fusion/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-data-fusion.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-data-fusion/1.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-data-fusion/1.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-datacatalog/README.md b/java-datacatalog/README.md index 097881777558..daa4de0161d8 100644 --- a/java-datacatalog/README.md +++ b/java-datacatalog/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datacatalog.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datacatalog/1.47.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datacatalog/1.48.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dataflow/README.md b/java-dataflow/README.md index 68bdff555791..8a265aff9dd6 100644 --- a/java-dataflow/README.md +++ b/java-dataflow/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataflow.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataflow/0.45.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataflow/0.46.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dataform/README.md b/java-dataform/README.md index 136a42d78d72..8e2dfb0423c4 100644 --- a/java-dataform/README.md +++ b/java-dataform/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataform.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataform/0.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataform/0.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-datalabeling/README.md b/java-datalabeling/README.md index 4b3a9a4fda7e..9af65d6f72cf 100644 --- a/java-datalabeling/README.md +++ b/java-datalabeling/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datalabeling.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalabeling/0.161.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalabeling/0.162.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-datalineage/README.md b/java-datalineage/README.md index b1febef7aa52..2dc37b2aaa9f 100644 --- a/java-datalineage/README.md +++ b/java-datalineage/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datalineage.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalineage/0.33.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalineage/0.34.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dataplex/README.md b/java-dataplex/README.md index bdce483e37f9..d025f7e82f76 100644 --- a/java-dataplex/README.md +++ b/java-dataplex/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataplex.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataplex/1.39.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataplex/1.40.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dataproc-metastore/README.md b/java-dataproc-metastore/README.md index c1248aa244d6..00c8887b87a1 100644 --- a/java-dataproc-metastore/README.md +++ b/java-dataproc-metastore/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataproc-metastore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc-metastore/2.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc-metastore/2.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dataproc/README.md b/java-dataproc/README.md index bbe262d7dc8d..11303de84d46 100644 --- a/java-dataproc/README.md +++ b/java-dataproc/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataproc.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc/4.38.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc/4.39.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-datastream/README.md b/java-datastream/README.md index c2fb745749c0..0532a8b1dfcf 100644 --- a/java-datastream/README.md +++ b/java-datastream/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datastream.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastream/1.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastream/1.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-debugger-client/README.md b/java-debugger-client/README.md index 1e44d040d449..17df304f8975 100644 --- a/java-debugger-client/README.md +++ b/java-debugger-client/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-debugger-client.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-debugger-client/1.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-debugger-client/1.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-deploy/README.md b/java-deploy/README.md index 2dada56db334..7accb68c2d75 100644 --- a/java-deploy/README.md +++ b/java-deploy/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-deploy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.39.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.40.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dialogflow-cx/README.md b/java-dialogflow-cx/README.md index 843f5b82e19c..b45ae3fa35f1 100644 --- a/java-dialogflow-cx/README.md +++ b/java-dialogflow-cx/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dialogflow-cx.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow-cx/0.52.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow-cx/0.53.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryClient.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryClient.java new file mode 100644 index 000000000000..3b5c52162e38 --- /dev/null +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryClient.java @@ -0,0 +1,1024 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1; + +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.paging.AbstractFixedSizeCollection; +import com.google.api.gax.paging.AbstractPage; +import com.google.api.gax.paging.AbstractPagedListResponse; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.dialogflow.cx.v3beta1.stub.ConversationHistoryStub; +import com.google.cloud.dialogflow.cx.v3beta1.stub.ConversationHistoryStubSettings; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.common.util.concurrent.MoreExecutors; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.List; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: Service for managing conversation history. + * + *

This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+ *   ConversationName name =
+ *       ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]");
+ *   Conversation response = conversationHistoryClient.getConversation(name);
+ * }
+ * }
+ * + *

Note: close() needs to be called on the ConversationHistoryClient object to clean up resources + * such as threads. In the example above, try-with-resources is used, which automatically calls + * close(). + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Methods
MethodDescriptionMethod Variants

ListConversations

Returns the list of all conversations.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • listConversations(ListConversationsRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • listConversations(AgentName parent) + *

  • listConversations(String parent) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listConversationsPagedCallable() + *

  • listConversationsCallable() + *

+ *

GetConversation

Retrieves the specified conversation.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • getConversation(GetConversationRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • getConversation(ConversationName name) + *

  • getConversation(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getConversationCallable() + *

+ *

DeleteConversation

Deletes the specified conversation.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • deleteConversation(DeleteConversationRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • deleteConversation(ConversationName name) + *

  • deleteConversation(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • deleteConversationCallable() + *

+ *

ListLocations

Lists information about the supported locations for this service.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • listLocations(ListLocationsRequest request) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listLocationsPagedCallable() + *

  • listLocationsCallable() + *

+ *

GetLocation

Gets information about a location.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • getLocation(GetLocationRequest request) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getLocationCallable() + *

+ *
+ * + *

See the individual methods for example code. + * + *

Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *

This class can be customized by passing in a custom instance of ConversationHistorySettings to + * create(). For example: + * + *

To customize credentials: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * ConversationHistorySettings conversationHistorySettings =
+ *     ConversationHistorySettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * ConversationHistoryClient conversationHistoryClient =
+ *     ConversationHistoryClient.create(conversationHistorySettings);
+ * }
+ * + *

To customize the endpoint: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * ConversationHistorySettings conversationHistorySettings =
+ *     ConversationHistorySettings.newBuilder().setEndpoint(myEndpoint).build();
+ * ConversationHistoryClient conversationHistoryClient =
+ *     ConversationHistoryClient.create(conversationHistorySettings);
+ * }
+ * + *

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

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * ConversationHistorySettings conversationHistorySettings =
+ *     ConversationHistorySettings.newHttpJsonBuilder().build();
+ * ConversationHistoryClient conversationHistoryClient =
+ *     ConversationHistoryClient.create(conversationHistorySettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class ConversationHistoryClient implements BackgroundResource { + private final ConversationHistorySettings settings; + private final ConversationHistoryStub stub; + + /** Constructs an instance of ConversationHistoryClient with default settings. */ + public static final ConversationHistoryClient create() throws IOException { + return create(ConversationHistorySettings.newBuilder().build()); + } + + /** + * Constructs an instance of ConversationHistoryClient, using the given settings. The channels are + * created based on the settings passed in, or defaults for any settings that are not set. + */ + public static final ConversationHistoryClient create(ConversationHistorySettings settings) + throws IOException { + return new ConversationHistoryClient(settings); + } + + /** + * Constructs an instance of ConversationHistoryClient, using the given stub for making calls. + * This is for advanced usage - prefer using create(ConversationHistorySettings). + */ + public static final ConversationHistoryClient create(ConversationHistoryStub stub) { + return new ConversationHistoryClient(stub); + } + + /** + * Constructs an instance of ConversationHistoryClient, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected ConversationHistoryClient(ConversationHistorySettings settings) throws IOException { + this.settings = settings; + this.stub = ((ConversationHistoryStubSettings) settings.getStubSettings()).createStub(); + } + + protected ConversationHistoryClient(ConversationHistoryStub stub) { + this.settings = null; + this.stub = stub; + } + + public final ConversationHistorySettings getSettings() { + return settings; + } + + public ConversationHistoryStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the list of all conversations. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+   *   AgentName parent = AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]");
+   *   for (Conversation element :
+   *       conversationHistoryClient.listConversations(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The agent to list all conversations for. Format: `projects/<Project + * ID>/locations/<Location ID>/agents/<Agent ID>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListConversationsPagedResponse listConversations(AgentName parent) { + ListConversationsRequest request = + ListConversationsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listConversations(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the list of all conversations. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+   *   String parent = AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString();
+   *   for (Conversation element :
+   *       conversationHistoryClient.listConversations(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The agent to list all conversations for. Format: `projects/<Project + * ID>/locations/<Location ID>/agents/<Agent ID>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListConversationsPagedResponse listConversations(String parent) { + ListConversationsRequest request = + ListConversationsRequest.newBuilder().setParent(parent).build(); + return listConversations(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the list of all conversations. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+   *   ListConversationsRequest request =
+   *       ListConversationsRequest.newBuilder()
+   *           .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (Conversation element :
+   *       conversationHistoryClient.listConversations(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListConversationsPagedResponse listConversations(ListConversationsRequest request) { + return listConversationsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the list of all conversations. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+   *   ListConversationsRequest request =
+   *       ListConversationsRequest.newBuilder()
+   *           .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       conversationHistoryClient.listConversationsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (Conversation element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listConversationsPagedCallable() { + return stub.listConversationsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the list of all conversations. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+   *   ListConversationsRequest request =
+   *       ListConversationsRequest.newBuilder()
+   *           .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListConversationsResponse response =
+   *         conversationHistoryClient.listConversationsCallable().call(request);
+   *     for (Conversation element : response.getConversationsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listConversationsCallable() { + return stub.listConversationsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the specified conversation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+   *   ConversationName name =
+   *       ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]");
+   *   Conversation response = conversationHistoryClient.getConversation(name);
+   * }
+   * }
+ * + * @param name Required. The name of the conversation. Format: `projects/<Project + * ID>/locations/<Location ID>/agents/<Agent ID>/conversations/<Conversation + * ID>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Conversation getConversation(ConversationName name) { + GetConversationRequest request = + GetConversationRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getConversation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the specified conversation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+   *   String name =
+   *       ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]").toString();
+   *   Conversation response = conversationHistoryClient.getConversation(name);
+   * }
+   * }
+ * + * @param name Required. The name of the conversation. Format: `projects/<Project + * ID>/locations/<Location ID>/agents/<Agent ID>/conversations/<Conversation + * ID>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Conversation getConversation(String name) { + GetConversationRequest request = GetConversationRequest.newBuilder().setName(name).build(); + return getConversation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the specified conversation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+   *   GetConversationRequest request =
+   *       GetConversationRequest.newBuilder()
+   *           .setName(
+   *               ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]")
+   *                   .toString())
+   *           .build();
+   *   Conversation response = conversationHistoryClient.getConversation(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Conversation getConversation(GetConversationRequest request) { + return getConversationCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the specified conversation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+   *   GetConversationRequest request =
+   *       GetConversationRequest.newBuilder()
+   *           .setName(
+   *               ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]")
+   *                   .toString())
+   *           .build();
+   *   ApiFuture future =
+   *       conversationHistoryClient.getConversationCallable().futureCall(request);
+   *   // Do something.
+   *   Conversation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getConversationCallable() { + return stub.getConversationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified conversation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+   *   ConversationName name =
+   *       ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]");
+   *   conversationHistoryClient.deleteConversation(name);
+   * }
+   * }
+ * + * @param name Required. The name of the conversation. Format: `projects/<Project + * ID>/locations/<Location ID>/agents/<Agent ID>/conversations/<Conversation + * ID>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteConversation(ConversationName name) { + DeleteConversationRequest request = + DeleteConversationRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + deleteConversation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified conversation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+   *   String name =
+   *       ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]").toString();
+   *   conversationHistoryClient.deleteConversation(name);
+   * }
+   * }
+ * + * @param name Required. The name of the conversation. Format: `projects/<Project + * ID>/locations/<Location ID>/agents/<Agent ID>/conversations/<Conversation + * ID>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteConversation(String name) { + DeleteConversationRequest request = + DeleteConversationRequest.newBuilder().setName(name).build(); + deleteConversation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified conversation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+   *   DeleteConversationRequest request =
+   *       DeleteConversationRequest.newBuilder()
+   *           .setName(
+   *               ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]")
+   *                   .toString())
+   *           .build();
+   *   conversationHistoryClient.deleteConversation(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteConversation(DeleteConversationRequest request) { + deleteConversationCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified conversation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+   *   DeleteConversationRequest request =
+   *       DeleteConversationRequest.newBuilder()
+   *           .setName(
+   *               ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]")
+   *                   .toString())
+   *           .build();
+   *   ApiFuture future =
+   *       conversationHistoryClient.deleteConversationCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteConversationCallable() { + return stub.deleteConversationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about the supported locations for this service. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+   *   ListLocationsRequest request =
+   *       ListLocationsRequest.newBuilder()
+   *           .setName("name3373707")
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (Location element : conversationHistoryClient.listLocations(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListLocationsPagedResponse listLocations(ListLocationsRequest request) { + return listLocationsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about the supported locations for this service. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+   *   ListLocationsRequest request =
+   *       ListLocationsRequest.newBuilder()
+   *           .setName("name3373707")
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       conversationHistoryClient.listLocationsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (Location element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listLocationsPagedCallable() { + return stub.listLocationsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about the supported locations for this service. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+   *   ListLocationsRequest request =
+   *       ListLocationsRequest.newBuilder()
+   *           .setName("name3373707")
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListLocationsResponse response =
+   *         conversationHistoryClient.listLocationsCallable().call(request);
+   *     for (Location element : response.getLocationsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listLocationsCallable() { + return stub.listLocationsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+   *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+   *   Location response = conversationHistoryClient.getLocation(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Location getLocation(GetLocationRequest request) { + return getLocationCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+   *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+   *   ApiFuture future =
+   *       conversationHistoryClient.getLocationCallable().futureCall(request);
+   *   // Do something.
+   *   Location response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getLocationCallable() { + return stub.getLocationCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } + + public static class ListConversationsPagedResponse + extends AbstractPagedListResponse< + ListConversationsRequest, + ListConversationsResponse, + Conversation, + ListConversationsPage, + ListConversationsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListConversationsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListConversationsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListConversationsPagedResponse(ListConversationsPage page) { + super(page, ListConversationsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListConversationsPage + extends AbstractPage< + ListConversationsRequest, + ListConversationsResponse, + Conversation, + ListConversationsPage> { + + private ListConversationsPage( + PageContext context, + ListConversationsResponse response) { + super(context, response); + } + + private static ListConversationsPage createEmptyPage() { + return new ListConversationsPage(null, null); + } + + @Override + protected ListConversationsPage createPage( + PageContext context, + ListConversationsResponse response) { + return new ListConversationsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListConversationsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListConversationsRequest, + ListConversationsResponse, + Conversation, + ListConversationsPage, + ListConversationsFixedSizeCollection> { + + private ListConversationsFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListConversationsFixedSizeCollection createEmptyCollection() { + return new ListConversationsFixedSizeCollection(null, 0); + } + + @Override + protected ListConversationsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListConversationsFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListLocationsPagedResponse + extends AbstractPagedListResponse< + ListLocationsRequest, + ListLocationsResponse, + Location, + ListLocationsPage, + ListLocationsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListLocationsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListLocationsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListLocationsPagedResponse(ListLocationsPage page) { + super(page, ListLocationsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListLocationsPage + extends AbstractPage< + ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage> { + + private ListLocationsPage( + PageContext context, + ListLocationsResponse response) { + super(context, response); + } + + private static ListLocationsPage createEmptyPage() { + return new ListLocationsPage(null, null); + } + + @Override + protected ListLocationsPage createPage( + PageContext context, + ListLocationsResponse response) { + return new ListLocationsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListLocationsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListLocationsRequest, + ListLocationsResponse, + Location, + ListLocationsPage, + ListLocationsFixedSizeCollection> { + + private ListLocationsFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListLocationsFixedSizeCollection createEmptyCollection() { + return new ListLocationsFixedSizeCollection(null, 0); + } + + @Override + protected ListLocationsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListLocationsFixedSizeCollection(pages, collectionSize); + } + } +} diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistorySettings.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistorySettings.java new file mode 100644 index 000000000000..9fbf27530cd1 --- /dev/null +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistorySettings.java @@ -0,0 +1,262 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1; + +import static com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.ListConversationsPagedResponse; +import static com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.ListLocationsPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.cloud.dialogflow.cx.v3beta1.stub.ConversationHistoryStubSettings; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link ConversationHistoryClient}. + * + *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

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

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * ConversationHistorySettings.Builder conversationHistorySettingsBuilder =
+ *     ConversationHistorySettings.newBuilder();
+ * conversationHistorySettingsBuilder
+ *     .getConversationSettings()
+ *     .setRetrySettings(
+ *         conversationHistorySettingsBuilder
+ *             .getConversationSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * ConversationHistorySettings conversationHistorySettings =
+ *     conversationHistorySettingsBuilder.build();
+ * }
+ */ +@BetaApi +@Generated("by gapic-generator-java") +public class ConversationHistorySettings extends ClientSettings { + + /** Returns the object with the settings used for calls to listConversations. */ + public PagedCallSettings< + ListConversationsRequest, ListConversationsResponse, ListConversationsPagedResponse> + listConversationsSettings() { + return ((ConversationHistoryStubSettings) getStubSettings()).listConversationsSettings(); + } + + /** Returns the object with the settings used for calls to getConversation. */ + public UnaryCallSettings getConversationSettings() { + return ((ConversationHistoryStubSettings) getStubSettings()).getConversationSettings(); + } + + /** Returns the object with the settings used for calls to deleteConversation. */ + public UnaryCallSettings deleteConversationSettings() { + return ((ConversationHistoryStubSettings) getStubSettings()).deleteConversationSettings(); + } + + /** Returns the object with the settings used for calls to listLocations. */ + public PagedCallSettings + listLocationsSettings() { + return ((ConversationHistoryStubSettings) getStubSettings()).listLocationsSettings(); + } + + /** Returns the object with the settings used for calls to getLocation. */ + public UnaryCallSettings getLocationSettings() { + return ((ConversationHistoryStubSettings) getStubSettings()).getLocationSettings(); + } + + public static final ConversationHistorySettings create(ConversationHistoryStubSettings stub) + throws IOException { + return new ConversationHistorySettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return ConversationHistoryStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return ConversationHistoryStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return ConversationHistoryStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return ConversationHistoryStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default gRPC ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return ConversationHistoryStubSettings.defaultGrpcTransportProviderBuilder(); + } + + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return ConversationHistoryStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return ConversationHistoryStubSettings.defaultTransportChannelProvider(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ConversationHistoryStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected ConversationHistorySettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for ConversationHistorySettings. */ + public static class Builder extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(ConversationHistoryStubSettings.newBuilder(clientContext)); + } + + protected Builder(ConversationHistorySettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(ConversationHistoryStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(ConversationHistoryStubSettings.newBuilder()); + } + + private static Builder createHttpJsonDefault() { + return new Builder(ConversationHistoryStubSettings.newHttpJsonBuilder()); + } + + public ConversationHistoryStubSettings.Builder getStubSettingsBuilder() { + return ((ConversationHistoryStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to listConversations. */ + public PagedCallSettings.Builder< + ListConversationsRequest, ListConversationsResponse, ListConversationsPagedResponse> + listConversationsSettings() { + return getStubSettingsBuilder().listConversationsSettings(); + } + + /** Returns the builder for the settings used for calls to getConversation. */ + public UnaryCallSettings.Builder + getConversationSettings() { + return getStubSettingsBuilder().getConversationSettings(); + } + + /** Returns the builder for the settings used for calls to deleteConversation. */ + public UnaryCallSettings.Builder + deleteConversationSettings() { + return getStubSettingsBuilder().deleteConversationSettings(); + } + + /** Returns the builder for the settings used for calls to listLocations. */ + public PagedCallSettings.Builder< + ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> + listLocationsSettings() { + return getStubSettingsBuilder().listLocationsSettings(); + } + + /** Returns the builder for the settings used for calls to getLocation. */ + public UnaryCallSettings.Builder getLocationSettings() { + return getStubSettingsBuilder().getLocationSettings(); + } + + @Override + public ConversationHistorySettings build() throws IOException { + return new ConversationHistorySettings(this); + } + } +} diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/gapic_metadata.json b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/gapic_metadata.json index 39ecb3f2d947..24617ce9f718 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/gapic_metadata.json +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/gapic_metadata.json @@ -74,6 +74,30 @@ } } }, + "ConversationHistory": { + "clients": { + "grpc": { + "libraryClient": "ConversationHistoryClient", + "rpcs": { + "DeleteConversation": { + "methods": ["deleteConversation", "deleteConversation", "deleteConversation", "deleteConversationCallable"] + }, + "GetConversation": { + "methods": ["getConversation", "getConversation", "getConversation", "getConversationCallable"] + }, + "GetLocation": { + "methods": ["getLocation", "getLocationCallable"] + }, + "ListConversations": { + "methods": ["listConversations", "listConversations", "listConversations", "listConversationsPagedCallable", "listConversationsCallable"] + }, + "ListLocations": { + "methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"] + } + } + } + } + }, "Deployments": { "clients": { "grpc": { diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/package-info.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/package-info.java index 560308c067fc..c3615a9e01cd 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/package-info.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/package-info.java @@ -56,6 +56,25 @@ * } * } * + *

======================= ConversationHistoryClient ======================= + * + *

Service Description: Service for managing conversation history. + * + *

Sample for ConversationHistoryClient: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) {
+ *   ConversationName name =
+ *       ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]");
+ *   Conversation response = conversationHistoryClient.getConversation(name);
+ * }
+ * }
+ * *

======================= DeploymentsClient ======================= * *

Service Description: Service for managing diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/ConversationHistoryStub.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/ConversationHistoryStub.java new file mode 100644 index 000000000000..51949e151d58 --- /dev/null +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/ConversationHistoryStub.java @@ -0,0 +1,80 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.stub; + +import static com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.ListConversationsPagedResponse; +import static com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.ListLocationsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.dialogflow.cx.v3beta1.Conversation; +import com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest; +import com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.protobuf.Empty; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the ConversationHistory service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public abstract class ConversationHistoryStub implements BackgroundResource { + + public UnaryCallable + listConversationsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listConversationsPagedCallable()"); + } + + public UnaryCallable + listConversationsCallable() { + throw new UnsupportedOperationException("Not implemented: listConversationsCallable()"); + } + + public UnaryCallable getConversationCallable() { + throw new UnsupportedOperationException("Not implemented: getConversationCallable()"); + } + + public UnaryCallable deleteConversationCallable() { + throw new UnsupportedOperationException("Not implemented: deleteConversationCallable()"); + } + + public UnaryCallable + listLocationsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); + } + + public UnaryCallable listLocationsCallable() { + throw new UnsupportedOperationException("Not implemented: listLocationsCallable()"); + } + + public UnaryCallable getLocationCallable() { + throw new UnsupportedOperationException("Not implemented: getLocationCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/ConversationHistoryStubSettings.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/ConversationHistoryStubSettings.java new file mode 100644 index 000000000000..651ac4468d35 --- /dev/null +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/ConversationHistoryStubSettings.java @@ -0,0 +1,574 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.stub; + +import static com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.ListConversationsPagedResponse; +import static com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.ListLocationsPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.ApiFuture; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiCallContext; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.PagedListDescriptor; +import com.google.api.gax.rpc.PagedListResponseFactory; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.dialogflow.cx.v3beta1.Conversation; +import com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest; +import com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link ConversationHistoryStub}. + * + *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

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

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * ConversationHistoryStubSettings.Builder conversationHistorySettingsBuilder =
+ *     ConversationHistoryStubSettings.newBuilder();
+ * conversationHistorySettingsBuilder
+ *     .getConversationSettings()
+ *     .setRetrySettings(
+ *         conversationHistorySettingsBuilder
+ *             .getConversationSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * ConversationHistoryStubSettings conversationHistorySettings =
+ *     conversationHistorySettingsBuilder.build();
+ * }
+ */ +@BetaApi +@Generated("by gapic-generator-java") +public class ConversationHistoryStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder() + .add("https://www.googleapis.com/auth/cloud-platform") + .add("https://www.googleapis.com/auth/dialogflow") + .build(); + + private final PagedCallSettings< + ListConversationsRequest, ListConversationsResponse, ListConversationsPagedResponse> + listConversationsSettings; + private final UnaryCallSettings getConversationSettings; + private final UnaryCallSettings deleteConversationSettings; + private final PagedCallSettings< + ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> + listLocationsSettings; + private final UnaryCallSettings getLocationSettings; + + private static final PagedListDescriptor< + ListConversationsRequest, ListConversationsResponse, Conversation> + LIST_CONVERSATIONS_PAGE_STR_DESC = + new PagedListDescriptor< + ListConversationsRequest, ListConversationsResponse, Conversation>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListConversationsRequest injectToken( + ListConversationsRequest payload, String token) { + return ListConversationsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListConversationsRequest injectPageSize( + ListConversationsRequest payload, int pageSize) { + return ListConversationsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListConversationsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListConversationsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListConversationsResponse payload) { + return payload.getConversationsList() == null + ? ImmutableList.of() + : payload.getConversationsList(); + } + }; + + private static final PagedListDescriptor + LIST_LOCATIONS_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListLocationsRequest injectToken(ListLocationsRequest payload, String token) { + return ListLocationsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListLocationsRequest injectPageSize(ListLocationsRequest payload, int pageSize) { + return ListLocationsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListLocationsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListLocationsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListLocationsResponse payload) { + return payload.getLocationsList() == null + ? ImmutableList.of() + : payload.getLocationsList(); + } + }; + + private static final PagedListResponseFactory< + ListConversationsRequest, ListConversationsResponse, ListConversationsPagedResponse> + LIST_CONVERSATIONS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListConversationsRequest, + ListConversationsResponse, + ListConversationsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListConversationsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext + pageContext = + PageContext.create( + callable, LIST_CONVERSATIONS_PAGE_STR_DESC, request, context); + return ListConversationsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> + LIST_LOCATIONS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListLocationsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_LOCATIONS_PAGE_STR_DESC, request, context); + return ListLocationsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Returns the object with the settings used for calls to listConversations. */ + public PagedCallSettings< + ListConversationsRequest, ListConversationsResponse, ListConversationsPagedResponse> + listConversationsSettings() { + return listConversationsSettings; + } + + /** Returns the object with the settings used for calls to getConversation. */ + public UnaryCallSettings getConversationSettings() { + return getConversationSettings; + } + + /** Returns the object with the settings used for calls to deleteConversation. */ + public UnaryCallSettings deleteConversationSettings() { + return deleteConversationSettings; + } + + /** Returns the object with the settings used for calls to listLocations. */ + public PagedCallSettings + listLocationsSettings() { + return listLocationsSettings; + } + + /** Returns the object with the settings used for calls to getLocation. */ + public UnaryCallSettings getLocationSettings() { + return getLocationSettings; + } + + public ConversationHistoryStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcConversationHistoryStub.create(this); + } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonConversationHistoryStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns the default service name. */ + @Override + public String getServiceName() { + return "dialogflow"; + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "dialogflow.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "dialogflow.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default gRPC ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(ConversationHistoryStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(ConversationHistoryStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ConversationHistoryStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected ConversationHistoryStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + listConversationsSettings = settingsBuilder.listConversationsSettings().build(); + getConversationSettings = settingsBuilder.getConversationSettings().build(); + deleteConversationSettings = settingsBuilder.deleteConversationSettings().build(); + listLocationsSettings = settingsBuilder.listLocationsSettings().build(); + getLocationSettings = settingsBuilder.getLocationSettings().build(); + } + + /** Builder for ConversationHistoryStubSettings. */ + public static class Builder + extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final PagedCallSettings.Builder< + ListConversationsRequest, ListConversationsResponse, ListConversationsPagedResponse> + listConversationsSettings; + private final UnaryCallSettings.Builder + getConversationSettings; + private final UnaryCallSettings.Builder + deleteConversationSettings; + private final PagedCallSettings.Builder< + ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> + listLocationsSettings; + private final UnaryCallSettings.Builder getLocationSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "retry_policy_0_codes", + ImmutableSet.copyOf(Lists.newArrayList(StatusCode.Code.UNAVAILABLE))); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(100L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("retry_policy_0_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + listConversationsSettings = PagedCallSettings.newBuilder(LIST_CONVERSATIONS_PAGE_STR_FACT); + getConversationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteConversationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listLocationsSettings = PagedCallSettings.newBuilder(LIST_LOCATIONS_PAGE_STR_FACT); + getLocationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + listConversationsSettings, + getConversationSettings, + deleteConversationSettings, + listLocationsSettings, + getLocationSettings); + initDefaults(this); + } + + protected Builder(ConversationHistoryStubSettings settings) { + super(settings); + + listConversationsSettings = settings.listConversationsSettings.toBuilder(); + getConversationSettings = settings.getConversationSettings.toBuilder(); + deleteConversationSettings = settings.deleteConversationSettings.toBuilder(); + listLocationsSettings = settings.listLocationsSettings.toBuilder(); + getLocationSettings = settings.getLocationSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + listConversationsSettings, + getConversationSettings, + deleteConversationSettings, + listLocationsSettings, + getLocationSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .listConversationsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .getConversationSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .deleteConversationSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .listLocationsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .getLocationSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to listConversations. */ + public PagedCallSettings.Builder< + ListConversationsRequest, ListConversationsResponse, ListConversationsPagedResponse> + listConversationsSettings() { + return listConversationsSettings; + } + + /** Returns the builder for the settings used for calls to getConversation. */ + public UnaryCallSettings.Builder + getConversationSettings() { + return getConversationSettings; + } + + /** Returns the builder for the settings used for calls to deleteConversation. */ + public UnaryCallSettings.Builder + deleteConversationSettings() { + return deleteConversationSettings; + } + + /** Returns the builder for the settings used for calls to listLocations. */ + public PagedCallSettings.Builder< + ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> + listLocationsSettings() { + return listLocationsSettings; + } + + /** Returns the builder for the settings used for calls to getLocation. */ + public UnaryCallSettings.Builder getLocationSettings() { + return getLocationSettings; + } + + @Override + public ConversationHistoryStubSettings build() throws IOException { + return new ConversationHistoryStubSettings(this); + } + } +} diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/ExamplesStubSettings.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/ExamplesStubSettings.java index 27193224c689..3918d9ca65b6 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/ExamplesStubSettings.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/ExamplesStubSettings.java @@ -63,7 +63,6 @@ import java.io.IOException; import java.util.List; import javax.annotation.Generated; -import org.threeten.bp.Duration; // AUTO-GENERATED DOCUMENTATION AND CLASS. /** @@ -403,9 +402,7 @@ public static class Builder extends StubSettings.Builder> definitions = ImmutableMap.builder(); - definitions.put( - "retry_policy_0_codes", - ImmutableSet.copyOf(Lists.newArrayList(StatusCode.Code.UNAVAILABLE))); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -414,17 +411,8 @@ public static class Builder extends StubSettings.Builder definitions = ImmutableMap.builder(); RetrySettings settings = null; - settings = - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(100L)) - .setRetryDelayMultiplier(1.3) - .setMaxRetryDelay(Duration.ofMillis(60000L)) - .setInitialRpcTimeout(Duration.ofMillis(60000L)) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(60000L)) - .setTotalTimeout(Duration.ofMillis(60000L)) - .build(); - definitions.put("retry_policy_0_params", settings); + settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); + definitions.put("no_retry_params", settings); RETRY_PARAM_DEFINITIONS = definitions.build(); } @@ -504,38 +492,38 @@ private static Builder createHttpJsonDefault() { private static Builder initDefaults(Builder builder) { builder .createExampleSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .deleteExampleSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .listExamplesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .getExampleSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .updateExampleSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .listLocationsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .getLocationSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); return builder; } diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/GrpcConversationHistoryCallableFactory.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/GrpcConversationHistoryCallableFactory.java new file mode 100644 index 000000000000..696c8b4bce71 --- /dev/null +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/GrpcConversationHistoryCallableFactory.java @@ -0,0 +1,115 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcCallableFactory; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientStreamingCallable; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC callable factory implementation for the ConversationHistory service API. + * + *

This class is for advanced usage. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class GrpcConversationHistoryCallableFactory implements GrpcStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + GrpcCallSettings grpcCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + GrpcCallSettings grpcCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + GrpcCallSettings grpcCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + GrpcCallSettings grpcCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, callSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + GrpcCallSettings grpcCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } +} diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/GrpcConversationHistoryStub.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/GrpcConversationHistoryStub.java new file mode 100644 index 000000000000..38220b8516ab --- /dev/null +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/GrpcConversationHistoryStub.java @@ -0,0 +1,325 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.stub; + +import static com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.ListConversationsPagedResponse; +import static com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.ListLocationsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.dialogflow.cx.v3beta1.Conversation; +import com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest; +import com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.longrunning.stub.GrpcOperationsStub; +import com.google.protobuf.Empty; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC stub implementation for the ConversationHistory service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class GrpcConversationHistoryStub extends ConversationHistoryStub { + private static final MethodDescriptor + listConversationsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.dialogflow.cx.v3beta1.ConversationHistory/ListConversations") + .setRequestMarshaller( + ProtoUtils.marshaller(ListConversationsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListConversationsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + getConversationMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.dialogflow.cx.v3beta1.ConversationHistory/GetConversation") + .setRequestMarshaller( + ProtoUtils.marshaller(GetConversationRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Conversation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deleteConversationMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.dialogflow.cx.v3beta1.ConversationHistory/DeleteConversation") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteConversationRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listLocationsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.location.Locations/ListLocations") + .setRequestMarshaller( + ProtoUtils.marshaller(ListLocationsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListLocationsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getLocationMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.location.Locations/GetLocation") + .setRequestMarshaller(ProtoUtils.marshaller(GetLocationRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Location.getDefaultInstance())) + .build(); + + private final UnaryCallable + listConversationsCallable; + private final UnaryCallable + listConversationsPagedCallable; + private final UnaryCallable getConversationCallable; + private final UnaryCallable deleteConversationCallable; + private final UnaryCallable listLocationsCallable; + private final UnaryCallable + listLocationsPagedCallable; + private final UnaryCallable getLocationCallable; + + private final BackgroundResource backgroundResources; + private final GrpcOperationsStub operationsStub; + private final GrpcStubCallableFactory callableFactory; + + public static final GrpcConversationHistoryStub create(ConversationHistoryStubSettings settings) + throws IOException { + return new GrpcConversationHistoryStub(settings, ClientContext.create(settings)); + } + + public static final GrpcConversationHistoryStub create(ClientContext clientContext) + throws IOException { + return new GrpcConversationHistoryStub( + ConversationHistoryStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcConversationHistoryStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcConversationHistoryStub( + ConversationHistoryStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcConversationHistoryStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected GrpcConversationHistoryStub( + ConversationHistoryStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new GrpcConversationHistoryCallableFactory()); + } + + /** + * Constructs an instance of GrpcConversationHistoryStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected GrpcConversationHistoryStub( + ConversationHistoryStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + + GrpcCallSettings + listConversationsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listConversationsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings getConversationTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getConversationMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings deleteConversationTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteConversationMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings listLocationsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listLocationsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings getLocationTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getLocationMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + + this.listConversationsCallable = + callableFactory.createUnaryCallable( + listConversationsTransportSettings, + settings.listConversationsSettings(), + clientContext); + this.listConversationsPagedCallable = + callableFactory.createPagedCallable( + listConversationsTransportSettings, + settings.listConversationsSettings(), + clientContext); + this.getConversationCallable = + callableFactory.createUnaryCallable( + getConversationTransportSettings, settings.getConversationSettings(), clientContext); + this.deleteConversationCallable = + callableFactory.createUnaryCallable( + deleteConversationTransportSettings, + settings.deleteConversationSettings(), + clientContext); + this.listLocationsCallable = + callableFactory.createUnaryCallable( + listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); + this.listLocationsPagedCallable = + callableFactory.createPagedCallable( + listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); + this.getLocationCallable = + callableFactory.createUnaryCallable( + getLocationTransportSettings, settings.getLocationSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public GrpcOperationsStub getOperationsStub() { + return operationsStub; + } + + @Override + public UnaryCallable + listConversationsCallable() { + return listConversationsCallable; + } + + @Override + public UnaryCallable + listConversationsPagedCallable() { + return listConversationsPagedCallable; + } + + @Override + public UnaryCallable getConversationCallable() { + return getConversationCallable; + } + + @Override + public UnaryCallable deleteConversationCallable() { + return deleteConversationCallable; + } + + @Override + public UnaryCallable listLocationsCallable() { + return listLocationsCallable; + } + + @Override + public UnaryCallable + listLocationsPagedCallable() { + return listLocationsPagedCallable; + } + + @Override + public UnaryCallable getLocationCallable() { + return getLocationCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/HttpJsonConversationHistoryCallableFactory.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/HttpJsonConversationHistoryCallableFactory.java new file mode 100644 index 000000000000..3cdf36073878 --- /dev/null +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/HttpJsonConversationHistoryCallableFactory.java @@ -0,0 +1,103 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the ConversationHistory service API. + * + *

This class is for advanced usage. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonConversationHistoryCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/HttpJsonConversationHistoryStub.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/HttpJsonConversationHistoryStub.java new file mode 100644 index 000000000000..8f2fa57dec46 --- /dev/null +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/HttpJsonConversationHistoryStub.java @@ -0,0 +1,470 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.stub; + +import static com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.ListConversationsPagedResponse; +import static com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.ListLocationsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.dialogflow.cx.v3beta1.Conversation; +import com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest; +import com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the ConversationHistory service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonConversationHistoryStub extends ConversationHistoryStub { + private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); + + private static final ApiMethodDescriptor + listConversationsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.dialogflow.cx.v3beta1.ConversationHistory/ListConversations") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v3beta1/{parent=projects/*/locations/*/agents/*}/conversations", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListConversationsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getConversationMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.dialogflow.cx.v3beta1.ConversationHistory/GetConversation") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v3beta1/{name=projects/*/locations/*/agents/*/conversations/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Conversation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteConversationMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.dialogflow.cx.v3beta1.ConversationHistory/DeleteConversation") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v3beta1/{name=projects/*/locations/*/agents/*/conversations/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listLocationsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.location.Locations/ListLocations") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v3beta1/{name=projects/*}/locations", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListLocationsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getLocationMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.location.Locations/GetLocation") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v3beta1/{name=projects/*/locations/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Location.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable + listConversationsCallable; + private final UnaryCallable + listConversationsPagedCallable; + private final UnaryCallable getConversationCallable; + private final UnaryCallable deleteConversationCallable; + private final UnaryCallable listLocationsCallable; + private final UnaryCallable + listLocationsPagedCallable; + private final UnaryCallable getLocationCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonConversationHistoryStub create( + ConversationHistoryStubSettings settings) throws IOException { + return new HttpJsonConversationHistoryStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonConversationHistoryStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonConversationHistoryStub( + ConversationHistoryStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonConversationHistoryStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonConversationHistoryStub( + ConversationHistoryStubSettings.newHttpJsonBuilder().build(), + clientContext, + callableFactory); + } + + /** + * Constructs an instance of HttpJsonConversationHistoryStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonConversationHistoryStub( + ConversationHistoryStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new HttpJsonConversationHistoryCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonConversationHistoryStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonConversationHistoryStub( + ConversationHistoryStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + HttpJsonCallSettings + listConversationsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listConversationsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings getConversationTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getConversationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings deleteConversationTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteConversationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings + listLocationsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listLocationsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings getLocationTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getLocationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + + this.listConversationsCallable = + callableFactory.createUnaryCallable( + listConversationsTransportSettings, + settings.listConversationsSettings(), + clientContext); + this.listConversationsPagedCallable = + callableFactory.createPagedCallable( + listConversationsTransportSettings, + settings.listConversationsSettings(), + clientContext); + this.getConversationCallable = + callableFactory.createUnaryCallable( + getConversationTransportSettings, settings.getConversationSettings(), clientContext); + this.deleteConversationCallable = + callableFactory.createUnaryCallable( + deleteConversationTransportSettings, + settings.deleteConversationSettings(), + clientContext); + this.listLocationsCallable = + callableFactory.createUnaryCallable( + listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); + this.listLocationsPagedCallable = + callableFactory.createPagedCallable( + listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); + this.getLocationCallable = + callableFactory.createUnaryCallable( + getLocationTransportSettings, settings.getLocationSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(listConversationsMethodDescriptor); + methodDescriptors.add(getConversationMethodDescriptor); + methodDescriptors.add(deleteConversationMethodDescriptor); + methodDescriptors.add(listLocationsMethodDescriptor); + methodDescriptors.add(getLocationMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable + listConversationsCallable() { + return listConversationsCallable; + } + + @Override + public UnaryCallable + listConversationsPagedCallable() { + return listConversationsPagedCallable; + } + + @Override + public UnaryCallable getConversationCallable() { + return getConversationCallable; + } + + @Override + public UnaryCallable deleteConversationCallable() { + return deleteConversationCallable; + } + + @Override + public UnaryCallable listLocationsCallable() { + return listLocationsCallable; + } + + @Override + public UnaryCallable + listLocationsPagedCallable() { + return listLocationsPagedCallable; + } + + @Override + public UnaryCallable getLocationCallable() { + return getLocationCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/PlaybooksStubSettings.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/PlaybooksStubSettings.java index 902255d9a3b5..a43215ab65b5 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/PlaybooksStubSettings.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/PlaybooksStubSettings.java @@ -70,7 +70,6 @@ import java.io.IOException; import java.util.List; import javax.annotation.Generated; -import org.threeten.bp.Duration; // AUTO-GENERATED DOCUMENTATION AND CLASS. /** @@ -527,9 +526,7 @@ public static class Builder extends StubSettings.Builder> definitions = ImmutableMap.builder(); - definitions.put( - "retry_policy_0_codes", - ImmutableSet.copyOf(Lists.newArrayList(StatusCode.Code.UNAVAILABLE))); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -538,17 +535,8 @@ public static class Builder extends StubSettings.Builder definitions = ImmutableMap.builder(); RetrySettings settings = null; - settings = - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(100L)) - .setRetryDelayMultiplier(1.3) - .setMaxRetryDelay(Duration.ofMillis(60000L)) - .setInitialRpcTimeout(Duration.ofMillis(60000L)) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(60000L)) - .setTotalTimeout(Duration.ofMillis(60000L)) - .build(); - definitions.put("retry_policy_0_params", settings); + settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); + definitions.put("no_retry_params", settings); RETRY_PARAM_DEFINITIONS = definitions.build(); } @@ -645,58 +633,58 @@ private static Builder createHttpJsonDefault() { private static Builder initDefaults(Builder builder) { builder .createPlaybookSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .deletePlaybookSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .listPlaybooksSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .getPlaybookSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .updatePlaybookSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .createPlaybookVersionSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .getPlaybookVersionSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .listPlaybookVersionsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .deletePlaybookVersionSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .listLocationsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .getLocationSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); return builder; } diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/ToolsStubSettings.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/ToolsStubSettings.java index dd7bd90874db..fc68a4be4f41 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/ToolsStubSettings.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/ToolsStubSettings.java @@ -430,9 +430,7 @@ public static class Builder extends StubSettings.Builder> definitions = ImmutableMap.builder(); - definitions.put( - "retry_policy_0_codes", - ImmutableSet.copyOf(Lists.newArrayList(StatusCode.Code.UNAVAILABLE))); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -441,17 +439,8 @@ public static class Builder extends StubSettings.Builder definitions = ImmutableMap.builder(); RetrySettings settings = null; - settings = - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(100L)) - .setRetryDelayMultiplier(1.3) - .setMaxRetryDelay(Duration.ofMillis(60000L)) - .setInitialRpcTimeout(Duration.ofMillis(60000L)) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(60000L)) - .setTotalTimeout(Duration.ofMillis(60000L)) - .build(); - definitions.put("retry_policy_0_params", settings); + settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); + definitions.put("no_retry_params", settings); RETRY_PARAM_DEFINITIONS = definitions.build(); } @@ -537,50 +526,50 @@ private static Builder createHttpJsonDefault() { private static Builder initDefaults(Builder builder) { builder .createToolSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .listToolsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .exportToolsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .getToolSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .updateToolSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .deleteToolSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .listLocationsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .getLocationSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); builder .exportToolsOperationSettings() .setInitialCallSettings( UnaryCallSettings.newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) .build()) .setResponseTransformer( ProtoOperationTransformers.ResponseTransformer.create(ExportToolsResponse.class)) diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/resources/META-INF/native-image/com.google.cloud.dialogflow.cx.v3beta1/reflect-config.json b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/resources/META-INF/native-image/com.google.cloud.dialogflow.cx.v3beta1/reflect-config.json index fab2c25e1297..9a10a95ef303 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/resources/META-INF/native-image/com.google.cloud.dialogflow.cx.v3beta1/reflect-config.json +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/resources/META-INF/native-image/com.google.cloud.dialogflow.cx.v3beta1/reflect-config.json @@ -989,6 +989,123 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.Conversation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.Conversation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.Conversation$Interaction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.Conversation$Interaction$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.Conversation$Interaction$MissingTransition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.Conversation$Interaction$MissingTransition$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.Conversation$Metrics", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.Conversation$Metrics$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.Conversation$Metrics$MatchTypeCount", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.Conversation$Metrics$MatchTypeCount$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.Conversation$Metrics$QueryInputCount", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.Conversation$Metrics$QueryInputCount$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.Conversation$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.dialogflow.cx.v3beta1.ConversationTurn", "queryAllDeclaredConstructors": true, @@ -1610,6 +1727,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.dialogflow.cx.v3beta1.DeleteEntityTypeRequest", "queryAllDeclaredConstructors": true, @@ -3230,6 +3365,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.dialogflow.cx.v3beta1.GetDeploymentRequest", "queryAllDeclaredConstructors": true, @@ -4085,6 +4238,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.dialogflow.cx.v3beta1.ListAgentsRequest", "queryAllDeclaredConstructors": true, @@ -4193,6 +4364,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.dialogflow.cx.v3beta1.ListDeploymentsRequest", "queryAllDeclaredConstructors": true, diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryClientHttpJsonTest.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryClientHttpJsonTest.java new file mode 100644 index 000000000000..5f712b72f35b --- /dev/null +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryClientHttpJsonTest.java @@ -0,0 +1,504 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1; + +import static com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.ListConversationsPagedResponse; +import static com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.ListLocationsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.dialogflow.cx.v3beta1.stub.HttpJsonConversationHistoryStub; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.common.collect.Lists; +import com.google.protobuf.Any; +import com.google.protobuf.Duration; +import com.google.protobuf.Empty; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class ConversationHistoryClientHttpJsonTest { + private static MockHttpService mockService; + private static ConversationHistoryClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonConversationHistoryStub.getMethodDescriptors(), + ConversationHistorySettings.getDefaultEndpoint()); + ConversationHistorySettings settings = + ConversationHistorySettings.newHttpJsonBuilder() + .setTransportChannelProvider( + ConversationHistorySettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = ConversationHistoryClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listConversationsTest() throws Exception { + Conversation responsesElement = Conversation.newBuilder().build(); + ListConversationsResponse expectedResponse = + ListConversationsResponse.newBuilder() + .setNextPageToken("") + .addAllConversations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + AgentName parent = AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]"); + + ListConversationsPagedResponse pagedListResponse = client.listConversations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getConversationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listConversationsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AgentName parent = AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]"); + client.listConversations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listConversationsTest2() throws Exception { + Conversation responsesElement = Conversation.newBuilder().build(); + ListConversationsResponse expectedResponse = + ListConversationsResponse.newBuilder() + .setNextPageToken("") + .addAllConversations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-1167/locations/location-1167/agents/agent-1167"; + + ListConversationsPagedResponse pagedListResponse = client.listConversations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getConversationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listConversationsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-1167/locations/location-1167/agents/agent-1167"; + client.listConversations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getConversationTest() throws Exception { + Conversation expectedResponse = + Conversation.newBuilder() + .setName( + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]") + .toString()) + .setLanguageCode("languageCode-2092349083") + .setStartTime(Timestamp.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) + .setMetrics(Conversation.Metrics.newBuilder().build()) + .addAllIntents(new ArrayList()) + .addAllFlows(new ArrayList()) + .addAllPages(new ArrayList()) + .addAllInteractions(new ArrayList()) + .setEnvironment(Environment.newBuilder().build()) + .putAllFlowVersions(new HashMap()) + .build(); + mockService.addResponse(expectedResponse); + + ConversationName name = + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]"); + + Conversation actualResponse = client.getConversation(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getConversationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ConversationName name = + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]"); + client.getConversation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getConversationTest2() throws Exception { + Conversation expectedResponse = + Conversation.newBuilder() + .setName( + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]") + .toString()) + .setLanguageCode("languageCode-2092349083") + .setStartTime(Timestamp.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) + .setMetrics(Conversation.Metrics.newBuilder().build()) + .addAllIntents(new ArrayList()) + .addAllFlows(new ArrayList()) + .addAllPages(new ArrayList()) + .addAllInteractions(new ArrayList()) + .setEnvironment(Environment.newBuilder().build()) + .putAllFlowVersions(new HashMap()) + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-9222/locations/location-9222/agents/agent-9222/conversations/conversation-9222"; + + Conversation actualResponse = client.getConversation(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getConversationExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-9222/locations/location-9222/agents/agent-9222/conversations/conversation-9222"; + client.getConversation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteConversationTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + ConversationName name = + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]"); + + client.deleteConversation(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteConversationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ConversationName name = + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]"); + client.deleteConversation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteConversationTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-9222/locations/location-9222/agents/agent-9222/conversations/conversation-9222"; + + client.deleteConversation(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteConversationExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-9222/locations/location-9222/agents/agent-9222/conversations/conversation-9222"; + client.deleteConversation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listLocationsTest() throws Exception { + Location responsesElement = Location.newBuilder().build(); + ListLocationsResponse expectedResponse = + ListLocationsResponse.newBuilder() + .setNextPageToken("") + .addAllLocations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("projects/project-3664") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + + ListLocationsPagedResponse pagedListResponse = client.listLocations(request); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getLocationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listLocationsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("projects/project-3664") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + client.listLocations(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getLocationTest() throws Exception { + Location expectedResponse = + Location.newBuilder() + .setName("name3373707") + .setLocationId("locationId1541836720") + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setMetadata(Any.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + GetLocationRequest request = + GetLocationRequest.newBuilder() + .setName("projects/project-9062/locations/location-9062") + .build(); + + Location actualResponse = client.getLocation(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getLocationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + GetLocationRequest request = + GetLocationRequest.newBuilder() + .setName("projects/project-9062/locations/location-9062") + .build(); + client.getLocation(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryClientTest.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryClientTest.java new file mode 100644 index 000000000000..76e45e496932 --- /dev/null +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryClientTest.java @@ -0,0 +1,455 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1; + +import static com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.ListConversationsPagedResponse; +import static com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient.ListLocationsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.common.collect.Lists; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Any; +import com.google.protobuf.Duration; +import com.google.protobuf.Empty; +import com.google.protobuf.Timestamp; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.UUID; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class ConversationHistoryClientTest { + private static MockConversationHistory mockConversationHistory; + private static MockLocations mockLocations; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private ConversationHistoryClient client; + + @BeforeClass + public static void startStaticServer() { + mockConversationHistory = new MockConversationHistory(); + mockLocations = new MockLocations(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), + Arrays.asList(mockConversationHistory, mockLocations)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + ConversationHistorySettings settings = + ConversationHistorySettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = ConversationHistoryClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void listConversationsTest() throws Exception { + Conversation responsesElement = Conversation.newBuilder().build(); + ListConversationsResponse expectedResponse = + ListConversationsResponse.newBuilder() + .setNextPageToken("") + .addAllConversations(Arrays.asList(responsesElement)) + .build(); + mockConversationHistory.addResponse(expectedResponse); + + AgentName parent = AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]"); + + ListConversationsPagedResponse pagedListResponse = client.listConversations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getConversationsList().get(0), resources.get(0)); + + List actualRequests = mockConversationHistory.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListConversationsRequest actualRequest = ((ListConversationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listConversationsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockConversationHistory.addException(exception); + + try { + AgentName parent = AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]"); + client.listConversations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listConversationsTest2() throws Exception { + Conversation responsesElement = Conversation.newBuilder().build(); + ListConversationsResponse expectedResponse = + ListConversationsResponse.newBuilder() + .setNextPageToken("") + .addAllConversations(Arrays.asList(responsesElement)) + .build(); + mockConversationHistory.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListConversationsPagedResponse pagedListResponse = client.listConversations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getConversationsList().get(0), resources.get(0)); + + List actualRequests = mockConversationHistory.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListConversationsRequest actualRequest = ((ListConversationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listConversationsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockConversationHistory.addException(exception); + + try { + String parent = "parent-995424086"; + client.listConversations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getConversationTest() throws Exception { + Conversation expectedResponse = + Conversation.newBuilder() + .setName( + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]") + .toString()) + .setLanguageCode("languageCode-2092349083") + .setStartTime(Timestamp.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) + .setMetrics(Conversation.Metrics.newBuilder().build()) + .addAllIntents(new ArrayList()) + .addAllFlows(new ArrayList()) + .addAllPages(new ArrayList()) + .addAllInteractions(new ArrayList()) + .setEnvironment(Environment.newBuilder().build()) + .putAllFlowVersions(new HashMap()) + .build(); + mockConversationHistory.addResponse(expectedResponse); + + ConversationName name = + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]"); + + Conversation actualResponse = client.getConversation(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockConversationHistory.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetConversationRequest actualRequest = ((GetConversationRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getConversationExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockConversationHistory.addException(exception); + + try { + ConversationName name = + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]"); + client.getConversation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getConversationTest2() throws Exception { + Conversation expectedResponse = + Conversation.newBuilder() + .setName( + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]") + .toString()) + .setLanguageCode("languageCode-2092349083") + .setStartTime(Timestamp.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) + .setMetrics(Conversation.Metrics.newBuilder().build()) + .addAllIntents(new ArrayList()) + .addAllFlows(new ArrayList()) + .addAllPages(new ArrayList()) + .addAllInteractions(new ArrayList()) + .setEnvironment(Environment.newBuilder().build()) + .putAllFlowVersions(new HashMap()) + .build(); + mockConversationHistory.addResponse(expectedResponse); + + String name = "name3373707"; + + Conversation actualResponse = client.getConversation(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockConversationHistory.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetConversationRequest actualRequest = ((GetConversationRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getConversationExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockConversationHistory.addException(exception); + + try { + String name = "name3373707"; + client.getConversation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteConversationTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockConversationHistory.addResponse(expectedResponse); + + ConversationName name = + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]"); + + client.deleteConversation(name); + + List actualRequests = mockConversationHistory.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteConversationRequest actualRequest = ((DeleteConversationRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteConversationExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockConversationHistory.addException(exception); + + try { + ConversationName name = + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]"); + client.deleteConversation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteConversationTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockConversationHistory.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteConversation(name); + + List actualRequests = mockConversationHistory.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteConversationRequest actualRequest = ((DeleteConversationRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteConversationExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockConversationHistory.addException(exception); + + try { + String name = "name3373707"; + client.deleteConversation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listLocationsTest() throws Exception { + Location responsesElement = Location.newBuilder().build(); + ListLocationsResponse expectedResponse = + ListLocationsResponse.newBuilder() + .setNextPageToken("") + .addAllLocations(Arrays.asList(responsesElement)) + .build(); + mockLocations.addResponse(expectedResponse); + + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("name3373707") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + + ListLocationsPagedResponse pagedListResponse = client.listLocations(request); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getLocationsList().get(0), resources.get(0)); + + List actualRequests = mockLocations.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListLocationsRequest actualRequest = ((ListLocationsRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getFilter(), actualRequest.getFilter()); + Assert.assertEquals(request.getPageSize(), actualRequest.getPageSize()); + Assert.assertEquals(request.getPageToken(), actualRequest.getPageToken()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listLocationsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockLocations.addException(exception); + + try { + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("name3373707") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + client.listLocations(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getLocationTest() throws Exception { + Location expectedResponse = + Location.newBuilder() + .setName("name3373707") + .setLocationId("locationId1541836720") + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setMetadata(Any.newBuilder().build()) + .build(); + mockLocations.addResponse(expectedResponse); + + GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); + + Location actualResponse = client.getLocation(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockLocations.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetLocationRequest actualRequest = ((GetLocationRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getLocationExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockLocations.addException(exception); + + try { + GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); + client.getLocation(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/MockConversationHistory.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/MockConversationHistory.java new file mode 100644 index 000000000000..83facb4b7815 --- /dev/null +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/MockConversationHistory.java @@ -0,0 +1,59 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockConversationHistory implements MockGrpcService { + private final MockConversationHistoryImpl serviceImpl; + + public MockConversationHistory() { + serviceImpl = new MockConversationHistoryImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/MockConversationHistoryImpl.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/MockConversationHistoryImpl.java new file mode 100644 index 000000000000..84f2dd946b8d --- /dev/null +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/MockConversationHistoryImpl.java @@ -0,0 +1,125 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1; + +import com.google.api.core.BetaApi; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryGrpc.ConversationHistoryImplBase; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Empty; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockConversationHistoryImpl extends ConversationHistoryImplBase { + private List requests; + private Queue responses; + + public MockConversationHistoryImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void listConversations( + ListConversationsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListConversationsResponse) { + requests.add(request); + responseObserver.onNext(((ListConversationsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListConversations, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListConversationsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getConversation( + GetConversationRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Conversation) { + requests.add(request); + responseObserver.onNext(((Conversation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetConversation, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Conversation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteConversation( + DeleteConversationRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteConversation, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/java-dialogflow-cx/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryGrpc.java b/java-dialogflow-cx/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryGrpc.java new file mode 100644 index 000000000000..aaca109caf57 --- /dev/null +++ b/java-dialogflow-cx/grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryGrpc.java @@ -0,0 +1,625 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.dialogflow.cx.v3beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Service for managing conversation history.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/dialogflow/cx/v3beta1/conversation_history.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ConversationHistoryGrpc { + + private ConversationHistoryGrpc() {} + + public static final java.lang.String SERVICE_NAME = + "google.cloud.dialogflow.cx.v3beta1.ConversationHistory"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest, + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse> + getListConversationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListConversations", + requestType = com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.class, + responseType = com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest, + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse> + getListConversationsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest, + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse> + getListConversationsMethod; + if ((getListConversationsMethod = ConversationHistoryGrpc.getListConversationsMethod) == null) { + synchronized (ConversationHistoryGrpc.class) { + if ((getListConversationsMethod = ConversationHistoryGrpc.getListConversationsMethod) + == null) { + ConversationHistoryGrpc.getListConversationsMethod = + getListConversationsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConversations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ConversationHistoryMethodDescriptorSupplier("ListConversations")) + .build(); + } + } + } + return getListConversationsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest, + com.google.cloud.dialogflow.cx.v3beta1.Conversation> + getGetConversationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetConversation", + requestType = com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest.class, + responseType = com.google.cloud.dialogflow.cx.v3beta1.Conversation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest, + com.google.cloud.dialogflow.cx.v3beta1.Conversation> + getGetConversationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest, + com.google.cloud.dialogflow.cx.v3beta1.Conversation> + getGetConversationMethod; + if ((getGetConversationMethod = ConversationHistoryGrpc.getGetConversationMethod) == null) { + synchronized (ConversationHistoryGrpc.class) { + if ((getGetConversationMethod = ConversationHistoryGrpc.getGetConversationMethod) == null) { + ConversationHistoryGrpc.getGetConversationMethod = + getGetConversationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConversation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dialogflow.cx.v3beta1.Conversation + .getDefaultInstance())) + .setSchemaDescriptor( + new ConversationHistoryMethodDescriptorSupplier("GetConversation")) + .build(); + } + } + } + return getGetConversationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest, + com.google.protobuf.Empty> + getDeleteConversationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteConversation", + requestType = com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest, + com.google.protobuf.Empty> + getDeleteConversationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest, + com.google.protobuf.Empty> + getDeleteConversationMethod; + if ((getDeleteConversationMethod = ConversationHistoryGrpc.getDeleteConversationMethod) + == null) { + synchronized (ConversationHistoryGrpc.class) { + if ((getDeleteConversationMethod = ConversationHistoryGrpc.getDeleteConversationMethod) + == null) { + ConversationHistoryGrpc.getDeleteConversationMethod = + getDeleteConversationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConversation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ConversationHistoryMethodDescriptorSupplier("DeleteConversation")) + .build(); + } + } + } + return getDeleteConversationMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ConversationHistoryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ConversationHistoryStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ConversationHistoryStub(channel, callOptions); + } + }; + return ConversationHistoryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ConversationHistoryBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ConversationHistoryBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ConversationHistoryBlockingStub(channel, callOptions); + } + }; + return ConversationHistoryBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ConversationHistoryFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ConversationHistoryFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ConversationHistoryFutureStub(channel, callOptions); + } + }; + return ConversationHistoryFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Service for managing conversation history.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Returns the list of all conversations.
+     * 
+ */ + default void listConversations( + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListConversationsMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves the specified conversation.
+     * 
+ */ + default void getConversation( + com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetConversationMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes the specified conversation.
+     * 
+ */ + default void deleteConversation( + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteConversationMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service ConversationHistory. + * + *
+   * Service for managing conversation history.
+   * 
+ */ + public abstract static class ConversationHistoryImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return ConversationHistoryGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service ConversationHistory. + * + *
+   * Service for managing conversation history.
+   * 
+ */ + public static final class ConversationHistoryStub + extends io.grpc.stub.AbstractAsyncStub { + private ConversationHistoryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ConversationHistoryStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ConversationHistoryStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns the list of all conversations.
+     * 
+ */ + public void listConversations( + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListConversationsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves the specified conversation.
+     * 
+ */ + public void getConversation( + com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetConversationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes the specified conversation.
+     * 
+ */ + public void deleteConversation( + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteConversationMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service ConversationHistory. + * + *
+   * Service for managing conversation history.
+   * 
+ */ + public static final class ConversationHistoryBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ConversationHistoryBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ConversationHistoryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ConversationHistoryBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns the list of all conversations.
+     * 
+ */ + public com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse listConversations( + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListConversationsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves the specified conversation.
+     * 
+ */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation getConversation( + com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetConversationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes the specified conversation.
+     * 
+ */ + public com.google.protobuf.Empty deleteConversation( + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteConversationMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service ConversationHistory. + * + *
+   * Service for managing conversation history.
+   * 
+ */ + public static final class ConversationHistoryFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ConversationHistoryFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ConversationHistoryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ConversationHistoryFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns the list of all conversations.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse> + listConversations(com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListConversationsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves the specified conversation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dialogflow.cx.v3beta1.Conversation> + getConversation(com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetConversationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes the specified conversation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteConversation( + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteConversationMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_CONVERSATIONS = 0; + private static final int METHODID_GET_CONVERSATION = 1; + private static final int METHODID_DELETE_CONVERSATION = 2; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_CONVERSATIONS: + serviceImpl.listConversations( + (com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse>) + responseObserver); + break; + case METHODID_GET_CONVERSATION: + serviceImpl.getConversation( + (com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_CONVERSATION: + serviceImpl.deleteConversation( + (com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListConversationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest, + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse>( + service, METHODID_LIST_CONVERSATIONS))) + .addMethod( + getGetConversationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest, + com.google.cloud.dialogflow.cx.v3beta1.Conversation>( + service, METHODID_GET_CONVERSATION))) + .addMethod( + getDeleteConversationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_CONVERSATION))) + .build(); + } + + private abstract static class ConversationHistoryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ConversationHistoryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ConversationHistory"); + } + } + + private static final class ConversationHistoryFileDescriptorSupplier + extends ConversationHistoryBaseDescriptorSupplier { + ConversationHistoryFileDescriptorSupplier() {} + } + + private static final class ConversationHistoryMethodDescriptorSupplier + extends ConversationHistoryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + ConversationHistoryMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (ConversationHistoryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ConversationHistoryFileDescriptorSupplier()) + .addMethod(getListConversationsMethod()) + .addMethod(getGetConversationMethod()) + .addMethod(getDeleteConversationMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Conversation.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Conversation.java new file mode 100644 index 000000000000..2c540028e099 --- /dev/null +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Conversation.java @@ -0,0 +1,13396 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/cx/v3beta1/conversation_history.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.dialogflow.cx.v3beta1; + +/** + * + * + *
+ * Represents a conversation.
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.Conversation} + */ +public final class Conversation extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.Conversation) + ConversationOrBuilder { + private static final long serialVersionUID = 0L; + // Use Conversation.newBuilder() to construct. + private Conversation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Conversation() { + name_ = ""; + type_ = 0; + languageCode_ = ""; + intents_ = java.util.Collections.emptyList(); + flows_ = java.util.Collections.emptyList(); + pages_ = java.util.Collections.emptyList(); + interactions_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Conversation(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 12: + return internalGetFlowVersions(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.class, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Builder.class); + } + + /** + * + * + *
+   * Represents the type of a conversation.
+   * 
+ * + * Protobuf enum {@code google.cloud.dialogflow.cx.v3beta1.Conversation.Type} + */ + public enum Type implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Not specified. This value should never be used.
+     * 
+ * + * TYPE_UNSPECIFIED = 0; + */ + TYPE_UNSPECIFIED(0), + /** + * + * + *
+     * Audio conversation. A conversation is classified as an audio conversation
+     * if any request has STT input audio or any response has TTS output audio.
+     * 
+ * + * AUDIO = 1; + */ + AUDIO(1), + /** + * + * + *
+     * Text conversation. A conversation is classified as a text conversation
+     * if any request has text input and no request has STT input audio and no
+     * response has TTS output audio.
+     * 
+ * + * TEXT = 2; + */ + TEXT(2), + /** + * + * + *
+     * Default conversation type for a conversation. A conversation is
+     * classified as undetermined if none of the requests contain text or audio
+     * input (eg. event or intent input).
+     * 
+ * + * UNDETERMINED = 3; + */ + UNDETERMINED(3), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Not specified. This value should never be used.
+     * 
+ * + * TYPE_UNSPECIFIED = 0; + */ + public static final int TYPE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Audio conversation. A conversation is classified as an audio conversation
+     * if any request has STT input audio or any response has TTS output audio.
+     * 
+ * + * AUDIO = 1; + */ + public static final int AUDIO_VALUE = 1; + /** + * + * + *
+     * Text conversation. A conversation is classified as a text conversation
+     * if any request has text input and no request has STT input audio and no
+     * response has TTS output audio.
+     * 
+ * + * TEXT = 2; + */ + public static final int TEXT_VALUE = 2; + /** + * + * + *
+     * Default conversation type for a conversation. A conversation is
+     * classified as undetermined if none of the requests contain text or audio
+     * input (eg. event or intent input).
+     * 
+ * + * UNDETERMINED = 3; + */ + public static final int UNDETERMINED_VALUE = 3; + + 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 Type 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 Type forNumber(int value) { + switch (value) { + case 0: + return TYPE_UNSPECIFIED; + case 1: + return AUDIO; + case 2: + return TEXT; + case 3: + return UNDETERMINED; + 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 Type findValueByNumber(int number) { + return Type.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.cloud.dialogflow.cx.v3beta1.Conversation.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Type[] VALUES = values(); + + public static Type 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 Type(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.dialogflow.cx.v3beta1.Conversation.Type) + } + + public interface MetricsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The number of interactions in the conversation.
+     * 
+ * + * int32 interaction_count = 1; + * + * @return The interactionCount. + */ + int getInteractionCount(); + + /** + * + * + *
+     * Duration of all the input's audio in the conversation.
+     * 
+ * + * .google.protobuf.Duration input_audio_duration = 2; + * + * @return Whether the inputAudioDuration field is set. + */ + boolean hasInputAudioDuration(); + /** + * + * + *
+     * Duration of all the input's audio in the conversation.
+     * 
+ * + * .google.protobuf.Duration input_audio_duration = 2; + * + * @return The inputAudioDuration. + */ + com.google.protobuf.Duration getInputAudioDuration(); + /** + * + * + *
+     * Duration of all the input's audio in the conversation.
+     * 
+ * + * .google.protobuf.Duration input_audio_duration = 2; + */ + com.google.protobuf.DurationOrBuilder getInputAudioDurationOrBuilder(); + + /** + * + * + *
+     * Duration of all the output's audio in the conversation.
+     * 
+ * + * .google.protobuf.Duration output_audio_duration = 3; + * + * @return Whether the outputAudioDuration field is set. + */ + boolean hasOutputAudioDuration(); + /** + * + * + *
+     * Duration of all the output's audio in the conversation.
+     * 
+ * + * .google.protobuf.Duration output_audio_duration = 3; + * + * @return The outputAudioDuration. + */ + com.google.protobuf.Duration getOutputAudioDuration(); + /** + * + * + *
+     * Duration of all the output's audio in the conversation.
+     * 
+ * + * .google.protobuf.Duration output_audio_duration = 3; + */ + com.google.protobuf.DurationOrBuilder getOutputAudioDurationOrBuilder(); + + /** + * + * + *
+     * Maximum latency of the
+     * [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the
+     * conversation.
+     * 
+ * + * .google.protobuf.Duration max_webhook_latency = 4; + * + * @return Whether the maxWebhookLatency field is set. + */ + boolean hasMaxWebhookLatency(); + /** + * + * + *
+     * Maximum latency of the
+     * [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the
+     * conversation.
+     * 
+ * + * .google.protobuf.Duration max_webhook_latency = 4; + * + * @return The maxWebhookLatency. + */ + com.google.protobuf.Duration getMaxWebhookLatency(); + /** + * + * + *
+     * Maximum latency of the
+     * [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the
+     * conversation.
+     * 
+ * + * .google.protobuf.Duration max_webhook_latency = 4; + */ + com.google.protobuf.DurationOrBuilder getMaxWebhookLatencyOrBuilder(); + + /** + * + * + *
+     * A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * If any response has the
+     * [ResponseMessage.end_interaction][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.end_interaction]
+     * signal, this is set to true.
+     * 
+ * + * bool has_end_interaction = 5; + * + * @return The hasEndInteraction. + */ + boolean getHasEndInteraction(); + + /** + * + * + *
+     * Hands off conversation to a human agent.
+     * If any response has the
+     * [ResponseMessage.live_agent_handoff][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.live_agent_handoff]signal,
+     * this is set to true.
+     * 
+ * + * bool has_live_agent_handoff = 6; + * + * @return The hasLiveAgentHandoff. + */ + boolean getHasLiveAgentHandoff(); + + /** + * + * + *
+     * The average confidence all of the
+     * [Match][google.cloud.dialogflow.cx.v3beta1.Match] in the conversation.
+     * Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
+     * 
+ * + * float average_match_confidence = 7; + * + * @return The averageMatchConfidence. + */ + float getAverageMatchConfidence(); + + /** + * + * + *
+     * Query input counts.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8; + * + * + * @return Whether the queryInputCount field is set. + */ + boolean hasQueryInputCount(); + /** + * + * + *
+     * Query input counts.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8; + * + * + * @return The queryInputCount. + */ + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + getQueryInputCount(); + /** + * + * + *
+     * Query input counts.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8; + * + */ + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCountOrBuilder + getQueryInputCountOrBuilder(); + + /** + * + * + *
+     * Match type counts.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9; + * + * + * @return Whether the matchTypeCount field is set. + */ + boolean hasMatchTypeCount(); + /** + * + * + *
+     * Match type counts.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9; + * + * + * @return The matchTypeCount. + */ + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount getMatchTypeCount(); + /** + * + * + *
+     * Match type counts.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9; + * + */ + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCountOrBuilder + getMatchTypeCountOrBuilder(); + } + /** + * + * + *
+   * Represents metrics for the conversation.
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics} + */ + public static final class Metrics extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics) + MetricsOrBuilder { + private static final long serialVersionUID = 0L; + // Use Metrics.newBuilder() to construct. + private Metrics(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Metrics() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Metrics(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.class, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.Builder.class); + } + + public interface QueryInputCountOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * The number of [TextInput][google.cloud.dialogflow.cx.v3beta1.TextInput]
+       * in the conversation.
+       * 
+ * + * int32 text_count = 1; + * + * @return The textCount. + */ + int getTextCount(); + + /** + * + * + *
+       * The number of
+       * [IntentInput][google.cloud.dialogflow.cx.v3beta1.IntentInput] in the
+       * conversation.
+       * 
+ * + * int32 intent_count = 2; + * + * @return The intentCount. + */ + int getIntentCount(); + + /** + * + * + *
+       * The number of
+       * [AudioInput][google.cloud.dialogflow.cx.v3beta1.AudioInput] in the
+       * conversation.
+       * 
+ * + * int32 audio_count = 3; + * + * @return The audioCount. + */ + int getAudioCount(); + + /** + * + * + *
+       * The number of
+       * [EventInput][google.cloud.dialogflow.cx.v3beta1.EventInput] in the
+       * conversation.
+       * 
+ * + * int32 event_count = 4; + * + * @return The eventCount. + */ + int getEventCount(); + + /** + * + * + *
+       * The number of [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput]
+       * in the conversation.
+       * 
+ * + * int32 dtmf_count = 5; + * + * @return The dtmfCount. + */ + int getDtmfCount(); + } + /** + * + * + *
+     * Count by types of
+     * [QueryInput][google.cloud.dialogflow.cx.v3beta1.QueryInput] of the
+     * requests in the conversation.
+     * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount} + */ + public static final class QueryInputCount extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount) + QueryInputCountOrBuilder { + private static final long serialVersionUID = 0L; + // Use QueryInputCount.newBuilder() to construct. + private QueryInputCount(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private QueryInputCount() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new QueryInputCount(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_QueryInputCount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_QueryInputCount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount.class, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount.Builder + .class); + } + + public static final int TEXT_COUNT_FIELD_NUMBER = 1; + private int textCount_ = 0; + /** + * + * + *
+       * The number of [TextInput][google.cloud.dialogflow.cx.v3beta1.TextInput]
+       * in the conversation.
+       * 
+ * + * int32 text_count = 1; + * + * @return The textCount. + */ + @java.lang.Override + public int getTextCount() { + return textCount_; + } + + public static final int INTENT_COUNT_FIELD_NUMBER = 2; + private int intentCount_ = 0; + /** + * + * + *
+       * The number of
+       * [IntentInput][google.cloud.dialogflow.cx.v3beta1.IntentInput] in the
+       * conversation.
+       * 
+ * + * int32 intent_count = 2; + * + * @return The intentCount. + */ + @java.lang.Override + public int getIntentCount() { + return intentCount_; + } + + public static final int AUDIO_COUNT_FIELD_NUMBER = 3; + private int audioCount_ = 0; + /** + * + * + *
+       * The number of
+       * [AudioInput][google.cloud.dialogflow.cx.v3beta1.AudioInput] in the
+       * conversation.
+       * 
+ * + * int32 audio_count = 3; + * + * @return The audioCount. + */ + @java.lang.Override + public int getAudioCount() { + return audioCount_; + } + + public static final int EVENT_COUNT_FIELD_NUMBER = 4; + private int eventCount_ = 0; + /** + * + * + *
+       * The number of
+       * [EventInput][google.cloud.dialogflow.cx.v3beta1.EventInput] in the
+       * conversation.
+       * 
+ * + * int32 event_count = 4; + * + * @return The eventCount. + */ + @java.lang.Override + public int getEventCount() { + return eventCount_; + } + + public static final int DTMF_COUNT_FIELD_NUMBER = 5; + private int dtmfCount_ = 0; + /** + * + * + *
+       * The number of [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput]
+       * in the conversation.
+       * 
+ * + * int32 dtmf_count = 5; + * + * @return The dtmfCount. + */ + @java.lang.Override + public int getDtmfCount() { + return dtmfCount_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (textCount_ != 0) { + output.writeInt32(1, textCount_); + } + if (intentCount_ != 0) { + output.writeInt32(2, intentCount_); + } + if (audioCount_ != 0) { + output.writeInt32(3, audioCount_); + } + if (eventCount_ != 0) { + output.writeInt32(4, eventCount_); + } + if (dtmfCount_ != 0) { + output.writeInt32(5, dtmfCount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (textCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, textCount_); + } + if (intentCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, intentCount_); + } + if (audioCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, audioCount_); + } + if (eventCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, eventCount_); + } + if (dtmfCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, dtmfCount_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount other = + (com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount) obj; + + if (getTextCount() != other.getTextCount()) return false; + if (getIntentCount() != other.getIntentCount()) return false; + if (getAudioCount() != other.getAudioCount()) return false; + if (getEventCount() != other.getEventCount()) return false; + if (getDtmfCount() != other.getDtmfCount()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TEXT_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getTextCount(); + hash = (37 * hash) + INTENT_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getIntentCount(); + hash = (37 * hash) + AUDIO_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getAudioCount(); + hash = (37 * hash) + EVENT_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getEventCount(); + hash = (37 * hash) + DTMF_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getDtmfCount(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * Count by types of
+       * [QueryInput][google.cloud.dialogflow.cx.v3beta1.QueryInput] of the
+       * requests in the conversation.
+       * 
+ * + * Protobuf type {@code + * google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount) + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCountOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_QueryInputCount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_QueryInputCount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount.class, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + .Builder.class); + } + + // Construct using + // com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + textCount_ = 0; + intentCount_ = 0; + audioCount_ = 0; + eventCount_ = 0; + dtmfCount_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_QueryInputCount_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount build() { + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount result = + new com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.textCount_ = textCount_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.intentCount_ = intentCount_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.audioCount_ = audioCount_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.eventCount_ = eventCount_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.dtmfCount_ = dtmfCount_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount) { + return mergeFrom( + (com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount other) { + if (other + == com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + .getDefaultInstance()) return this; + if (other.getTextCount() != 0) { + setTextCount(other.getTextCount()); + } + if (other.getIntentCount() != 0) { + setIntentCount(other.getIntentCount()); + } + if (other.getAudioCount() != 0) { + setAudioCount(other.getAudioCount()); + } + if (other.getEventCount() != 0) { + setEventCount(other.getEventCount()); + } + if (other.getDtmfCount() != 0) { + setDtmfCount(other.getDtmfCount()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + textCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + intentCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + audioCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + eventCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + dtmfCount_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private int textCount_; + /** + * + * + *
+         * The number of [TextInput][google.cloud.dialogflow.cx.v3beta1.TextInput]
+         * in the conversation.
+         * 
+ * + * int32 text_count = 1; + * + * @return The textCount. + */ + @java.lang.Override + public int getTextCount() { + return textCount_; + } + /** + * + * + *
+         * The number of [TextInput][google.cloud.dialogflow.cx.v3beta1.TextInput]
+         * in the conversation.
+         * 
+ * + * int32 text_count = 1; + * + * @param value The textCount to set. + * @return This builder for chaining. + */ + public Builder setTextCount(int value) { + + textCount_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * The number of [TextInput][google.cloud.dialogflow.cx.v3beta1.TextInput]
+         * in the conversation.
+         * 
+ * + * int32 text_count = 1; + * + * @return This builder for chaining. + */ + public Builder clearTextCount() { + bitField0_ = (bitField0_ & ~0x00000001); + textCount_ = 0; + onChanged(); + return this; + } + + private int intentCount_; + /** + * + * + *
+         * The number of
+         * [IntentInput][google.cloud.dialogflow.cx.v3beta1.IntentInput] in the
+         * conversation.
+         * 
+ * + * int32 intent_count = 2; + * + * @return The intentCount. + */ + @java.lang.Override + public int getIntentCount() { + return intentCount_; + } + /** + * + * + *
+         * The number of
+         * [IntentInput][google.cloud.dialogflow.cx.v3beta1.IntentInput] in the
+         * conversation.
+         * 
+ * + * int32 intent_count = 2; + * + * @param value The intentCount to set. + * @return This builder for chaining. + */ + public Builder setIntentCount(int value) { + + intentCount_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+         * The number of
+         * [IntentInput][google.cloud.dialogflow.cx.v3beta1.IntentInput] in the
+         * conversation.
+         * 
+ * + * int32 intent_count = 2; + * + * @return This builder for chaining. + */ + public Builder clearIntentCount() { + bitField0_ = (bitField0_ & ~0x00000002); + intentCount_ = 0; + onChanged(); + return this; + } + + private int audioCount_; + /** + * + * + *
+         * The number of
+         * [AudioInput][google.cloud.dialogflow.cx.v3beta1.AudioInput] in the
+         * conversation.
+         * 
+ * + * int32 audio_count = 3; + * + * @return The audioCount. + */ + @java.lang.Override + public int getAudioCount() { + return audioCount_; + } + /** + * + * + *
+         * The number of
+         * [AudioInput][google.cloud.dialogflow.cx.v3beta1.AudioInput] in the
+         * conversation.
+         * 
+ * + * int32 audio_count = 3; + * + * @param value The audioCount to set. + * @return This builder for chaining. + */ + public Builder setAudioCount(int value) { + + audioCount_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+         * The number of
+         * [AudioInput][google.cloud.dialogflow.cx.v3beta1.AudioInput] in the
+         * conversation.
+         * 
+ * + * int32 audio_count = 3; + * + * @return This builder for chaining. + */ + public Builder clearAudioCount() { + bitField0_ = (bitField0_ & ~0x00000004); + audioCount_ = 0; + onChanged(); + return this; + } + + private int eventCount_; + /** + * + * + *
+         * The number of
+         * [EventInput][google.cloud.dialogflow.cx.v3beta1.EventInput] in the
+         * conversation.
+         * 
+ * + * int32 event_count = 4; + * + * @return The eventCount. + */ + @java.lang.Override + public int getEventCount() { + return eventCount_; + } + /** + * + * + *
+         * The number of
+         * [EventInput][google.cloud.dialogflow.cx.v3beta1.EventInput] in the
+         * conversation.
+         * 
+ * + * int32 event_count = 4; + * + * @param value The eventCount to set. + * @return This builder for chaining. + */ + public Builder setEventCount(int value) { + + eventCount_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+         * The number of
+         * [EventInput][google.cloud.dialogflow.cx.v3beta1.EventInput] in the
+         * conversation.
+         * 
+ * + * int32 event_count = 4; + * + * @return This builder for chaining. + */ + public Builder clearEventCount() { + bitField0_ = (bitField0_ & ~0x00000008); + eventCount_ = 0; + onChanged(); + return this; + } + + private int dtmfCount_; + /** + * + * + *
+         * The number of [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput]
+         * in the conversation.
+         * 
+ * + * int32 dtmf_count = 5; + * + * @return The dtmfCount. + */ + @java.lang.Override + public int getDtmfCount() { + return dtmfCount_; + } + /** + * + * + *
+         * The number of [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput]
+         * in the conversation.
+         * 
+ * + * int32 dtmf_count = 5; + * + * @param value The dtmfCount to set. + * @return This builder for chaining. + */ + public Builder setDtmfCount(int value) { + + dtmfCount_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+         * The number of [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput]
+         * in the conversation.
+         * 
+ * + * int32 dtmf_count = 5; + * + * @return This builder for chaining. + */ + public Builder clearDtmfCount() { + bitField0_ = (bitField0_ & ~0x00000010); + dtmfCount_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount) + private static final com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics + .QueryInputCount + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryInputCount parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface MatchTypeCountOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * The number of matches with type
+       * [Match.MatchType.MATCH_TYPE_UNSPECIFIED][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.MATCH_TYPE_UNSPECIFIED].
+       * 
+ * + * int32 unspecified_count = 1; + * + * @return The unspecifiedCount. + */ + int getUnspecifiedCount(); + + /** + * + * + *
+       * The number of matches with type
+       * [Match.MatchType.INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.INTENT].
+       * 
+ * + * int32 intent_count = 2; + * + * @return The intentCount. + */ + int getIntentCount(); + + /** + * + * + *
+       * The number of matches with type
+       * [Match.MatchType.DIRECT_INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.DIRECT_INTENT].
+       * 
+ * + * int32 direct_intent_count = 3; + * + * @return The directIntentCount. + */ + int getDirectIntentCount(); + + /** + * + * + *
+       * The number of matches with type
+       * [Match.MatchType.PARAMETER_FILLING][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.PARAMETER_FILLING].
+       * 
+ * + * int32 parameter_filling_count = 4; + * + * @return The parameterFillingCount. + */ + int getParameterFillingCount(); + + /** + * + * + *
+       * The number of matches with type
+       * [Match.MatchType.NO_MATCH][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_MATCH].
+       * 
+ * + * int32 no_match_count = 5; + * + * @return The noMatchCount. + */ + int getNoMatchCount(); + + /** + * + * + *
+       * The number of matches with type
+       * [Match.MatchType.NO_INPUT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_INPUT].
+       * 
+ * + * int32 no_input_count = 6; + * + * @return The noInputCount. + */ + int getNoInputCount(); + + /** + * + * + *
+       * The number of matches with type
+       * [Match.MatchType.EVENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.EVENT].
+       * 
+ * + * int32 event_count = 7; + * + * @return The eventCount. + */ + int getEventCount(); + } + /** + * + * + *
+     * Count by
+     * [Match.MatchType][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] of
+     * the matches in the conversation.
+     * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount} + */ + public static final class MatchTypeCount extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount) + MatchTypeCountOrBuilder { + private static final long serialVersionUID = 0L; + // Use MatchTypeCount.newBuilder() to construct. + private MatchTypeCount(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MatchTypeCount() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MatchTypeCount(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_MatchTypeCount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_MatchTypeCount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount.class, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount.Builder + .class); + } + + public static final int UNSPECIFIED_COUNT_FIELD_NUMBER = 1; + private int unspecifiedCount_ = 0; + /** + * + * + *
+       * The number of matches with type
+       * [Match.MatchType.MATCH_TYPE_UNSPECIFIED][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.MATCH_TYPE_UNSPECIFIED].
+       * 
+ * + * int32 unspecified_count = 1; + * + * @return The unspecifiedCount. + */ + @java.lang.Override + public int getUnspecifiedCount() { + return unspecifiedCount_; + } + + public static final int INTENT_COUNT_FIELD_NUMBER = 2; + private int intentCount_ = 0; + /** + * + * + *
+       * The number of matches with type
+       * [Match.MatchType.INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.INTENT].
+       * 
+ * + * int32 intent_count = 2; + * + * @return The intentCount. + */ + @java.lang.Override + public int getIntentCount() { + return intentCount_; + } + + public static final int DIRECT_INTENT_COUNT_FIELD_NUMBER = 3; + private int directIntentCount_ = 0; + /** + * + * + *
+       * The number of matches with type
+       * [Match.MatchType.DIRECT_INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.DIRECT_INTENT].
+       * 
+ * + * int32 direct_intent_count = 3; + * + * @return The directIntentCount. + */ + @java.lang.Override + public int getDirectIntentCount() { + return directIntentCount_; + } + + public static final int PARAMETER_FILLING_COUNT_FIELD_NUMBER = 4; + private int parameterFillingCount_ = 0; + /** + * + * + *
+       * The number of matches with type
+       * [Match.MatchType.PARAMETER_FILLING][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.PARAMETER_FILLING].
+       * 
+ * + * int32 parameter_filling_count = 4; + * + * @return The parameterFillingCount. + */ + @java.lang.Override + public int getParameterFillingCount() { + return parameterFillingCount_; + } + + public static final int NO_MATCH_COUNT_FIELD_NUMBER = 5; + private int noMatchCount_ = 0; + /** + * + * + *
+       * The number of matches with type
+       * [Match.MatchType.NO_MATCH][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_MATCH].
+       * 
+ * + * int32 no_match_count = 5; + * + * @return The noMatchCount. + */ + @java.lang.Override + public int getNoMatchCount() { + return noMatchCount_; + } + + public static final int NO_INPUT_COUNT_FIELD_NUMBER = 6; + private int noInputCount_ = 0; + /** + * + * + *
+       * The number of matches with type
+       * [Match.MatchType.NO_INPUT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_INPUT].
+       * 
+ * + * int32 no_input_count = 6; + * + * @return The noInputCount. + */ + @java.lang.Override + public int getNoInputCount() { + return noInputCount_; + } + + public static final int EVENT_COUNT_FIELD_NUMBER = 7; + private int eventCount_ = 0; + /** + * + * + *
+       * The number of matches with type
+       * [Match.MatchType.EVENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.EVENT].
+       * 
+ * + * int32 event_count = 7; + * + * @return The eventCount. + */ + @java.lang.Override + public int getEventCount() { + return eventCount_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (unspecifiedCount_ != 0) { + output.writeInt32(1, unspecifiedCount_); + } + if (intentCount_ != 0) { + output.writeInt32(2, intentCount_); + } + if (directIntentCount_ != 0) { + output.writeInt32(3, directIntentCount_); + } + if (parameterFillingCount_ != 0) { + output.writeInt32(4, parameterFillingCount_); + } + if (noMatchCount_ != 0) { + output.writeInt32(5, noMatchCount_); + } + if (noInputCount_ != 0) { + output.writeInt32(6, noInputCount_); + } + if (eventCount_ != 0) { + output.writeInt32(7, eventCount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (unspecifiedCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, unspecifiedCount_); + } + if (intentCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, intentCount_); + } + if (directIntentCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, directIntentCount_); + } + if (parameterFillingCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, parameterFillingCount_); + } + if (noMatchCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, noMatchCount_); + } + if (noInputCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, noInputCount_); + } + if (eventCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, eventCount_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount other = + (com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount) obj; + + if (getUnspecifiedCount() != other.getUnspecifiedCount()) return false; + if (getIntentCount() != other.getIntentCount()) return false; + if (getDirectIntentCount() != other.getDirectIntentCount()) return false; + if (getParameterFillingCount() != other.getParameterFillingCount()) return false; + if (getNoMatchCount() != other.getNoMatchCount()) return false; + if (getNoInputCount() != other.getNoInputCount()) return false; + if (getEventCount() != other.getEventCount()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + UNSPECIFIED_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getUnspecifiedCount(); + hash = (37 * hash) + INTENT_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getIntentCount(); + hash = (37 * hash) + DIRECT_INTENT_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getDirectIntentCount(); + hash = (37 * hash) + PARAMETER_FILLING_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getParameterFillingCount(); + hash = (37 * hash) + NO_MATCH_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getNoMatchCount(); + hash = (37 * hash) + NO_INPUT_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getNoInputCount(); + hash = (37 * hash) + EVENT_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getEventCount(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * Count by
+       * [Match.MatchType][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] of
+       * the matches in the conversation.
+       * 
+ * + * Protobuf type {@code + * google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount) + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCountOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_MatchTypeCount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_MatchTypeCount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount.class, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount.Builder + .class); + } + + // Construct using + // com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + unspecifiedCount_ = 0; + intentCount_ = 0; + directIntentCount_ = 0; + parameterFillingCount_ = 0; + noMatchCount_ = 0; + noInputCount_ = 0; + eventCount_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_MatchTypeCount_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount build() { + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount result = + new com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.unspecifiedCount_ = unspecifiedCount_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.intentCount_ = intentCount_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.directIntentCount_ = directIntentCount_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.parameterFillingCount_ = parameterFillingCount_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.noMatchCount_ = noMatchCount_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.noInputCount_ = noInputCount_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.eventCount_ = eventCount_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount) { + return mergeFrom( + (com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount other) { + if (other + == com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + .getDefaultInstance()) return this; + if (other.getUnspecifiedCount() != 0) { + setUnspecifiedCount(other.getUnspecifiedCount()); + } + if (other.getIntentCount() != 0) { + setIntentCount(other.getIntentCount()); + } + if (other.getDirectIntentCount() != 0) { + setDirectIntentCount(other.getDirectIntentCount()); + } + if (other.getParameterFillingCount() != 0) { + setParameterFillingCount(other.getParameterFillingCount()); + } + if (other.getNoMatchCount() != 0) { + setNoMatchCount(other.getNoMatchCount()); + } + if (other.getNoInputCount() != 0) { + setNoInputCount(other.getNoInputCount()); + } + if (other.getEventCount() != 0) { + setEventCount(other.getEventCount()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + unspecifiedCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + intentCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + directIntentCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + parameterFillingCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + noMatchCount_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + noInputCount_ = input.readInt32(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: + { + eventCount_ = input.readInt32(); + bitField0_ |= 0x00000040; + break; + } // case 56 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private int unspecifiedCount_; + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.MATCH_TYPE_UNSPECIFIED][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.MATCH_TYPE_UNSPECIFIED].
+         * 
+ * + * int32 unspecified_count = 1; + * + * @return The unspecifiedCount. + */ + @java.lang.Override + public int getUnspecifiedCount() { + return unspecifiedCount_; + } + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.MATCH_TYPE_UNSPECIFIED][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.MATCH_TYPE_UNSPECIFIED].
+         * 
+ * + * int32 unspecified_count = 1; + * + * @param value The unspecifiedCount to set. + * @return This builder for chaining. + */ + public Builder setUnspecifiedCount(int value) { + + unspecifiedCount_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.MATCH_TYPE_UNSPECIFIED][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.MATCH_TYPE_UNSPECIFIED].
+         * 
+ * + * int32 unspecified_count = 1; + * + * @return This builder for chaining. + */ + public Builder clearUnspecifiedCount() { + bitField0_ = (bitField0_ & ~0x00000001); + unspecifiedCount_ = 0; + onChanged(); + return this; + } + + private int intentCount_; + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.INTENT].
+         * 
+ * + * int32 intent_count = 2; + * + * @return The intentCount. + */ + @java.lang.Override + public int getIntentCount() { + return intentCount_; + } + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.INTENT].
+         * 
+ * + * int32 intent_count = 2; + * + * @param value The intentCount to set. + * @return This builder for chaining. + */ + public Builder setIntentCount(int value) { + + intentCount_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.INTENT].
+         * 
+ * + * int32 intent_count = 2; + * + * @return This builder for chaining. + */ + public Builder clearIntentCount() { + bitField0_ = (bitField0_ & ~0x00000002); + intentCount_ = 0; + onChanged(); + return this; + } + + private int directIntentCount_; + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.DIRECT_INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.DIRECT_INTENT].
+         * 
+ * + * int32 direct_intent_count = 3; + * + * @return The directIntentCount. + */ + @java.lang.Override + public int getDirectIntentCount() { + return directIntentCount_; + } + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.DIRECT_INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.DIRECT_INTENT].
+         * 
+ * + * int32 direct_intent_count = 3; + * + * @param value The directIntentCount to set. + * @return This builder for chaining. + */ + public Builder setDirectIntentCount(int value) { + + directIntentCount_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.DIRECT_INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.DIRECT_INTENT].
+         * 
+ * + * int32 direct_intent_count = 3; + * + * @return This builder for chaining. + */ + public Builder clearDirectIntentCount() { + bitField0_ = (bitField0_ & ~0x00000004); + directIntentCount_ = 0; + onChanged(); + return this; + } + + private int parameterFillingCount_; + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.PARAMETER_FILLING][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.PARAMETER_FILLING].
+         * 
+ * + * int32 parameter_filling_count = 4; + * + * @return The parameterFillingCount. + */ + @java.lang.Override + public int getParameterFillingCount() { + return parameterFillingCount_; + } + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.PARAMETER_FILLING][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.PARAMETER_FILLING].
+         * 
+ * + * int32 parameter_filling_count = 4; + * + * @param value The parameterFillingCount to set. + * @return This builder for chaining. + */ + public Builder setParameterFillingCount(int value) { + + parameterFillingCount_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.PARAMETER_FILLING][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.PARAMETER_FILLING].
+         * 
+ * + * int32 parameter_filling_count = 4; + * + * @return This builder for chaining. + */ + public Builder clearParameterFillingCount() { + bitField0_ = (bitField0_ & ~0x00000008); + parameterFillingCount_ = 0; + onChanged(); + return this; + } + + private int noMatchCount_; + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.NO_MATCH][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_MATCH].
+         * 
+ * + * int32 no_match_count = 5; + * + * @return The noMatchCount. + */ + @java.lang.Override + public int getNoMatchCount() { + return noMatchCount_; + } + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.NO_MATCH][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_MATCH].
+         * 
+ * + * int32 no_match_count = 5; + * + * @param value The noMatchCount to set. + * @return This builder for chaining. + */ + public Builder setNoMatchCount(int value) { + + noMatchCount_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.NO_MATCH][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_MATCH].
+         * 
+ * + * int32 no_match_count = 5; + * + * @return This builder for chaining. + */ + public Builder clearNoMatchCount() { + bitField0_ = (bitField0_ & ~0x00000010); + noMatchCount_ = 0; + onChanged(); + return this; + } + + private int noInputCount_; + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.NO_INPUT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_INPUT].
+         * 
+ * + * int32 no_input_count = 6; + * + * @return The noInputCount. + */ + @java.lang.Override + public int getNoInputCount() { + return noInputCount_; + } + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.NO_INPUT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_INPUT].
+         * 
+ * + * int32 no_input_count = 6; + * + * @param value The noInputCount to set. + * @return This builder for chaining. + */ + public Builder setNoInputCount(int value) { + + noInputCount_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.NO_INPUT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_INPUT].
+         * 
+ * + * int32 no_input_count = 6; + * + * @return This builder for chaining. + */ + public Builder clearNoInputCount() { + bitField0_ = (bitField0_ & ~0x00000020); + noInputCount_ = 0; + onChanged(); + return this; + } + + private int eventCount_; + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.EVENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.EVENT].
+         * 
+ * + * int32 event_count = 7; + * + * @return The eventCount. + */ + @java.lang.Override + public int getEventCount() { + return eventCount_; + } + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.EVENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.EVENT].
+         * 
+ * + * int32 event_count = 7; + * + * @param value The eventCount to set. + * @return This builder for chaining. + */ + public Builder setEventCount(int value) { + + eventCount_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+         * The number of matches with type
+         * [Match.MatchType.EVENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.EVENT].
+         * 
+ * + * int32 event_count = 7; + * + * @return This builder for chaining. + */ + public Builder clearEventCount() { + bitField0_ = (bitField0_ & ~0x00000040); + eventCount_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount) + private static final com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics + .MatchTypeCount + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MatchTypeCount parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int bitField0_; + public static final int INTERACTION_COUNT_FIELD_NUMBER = 1; + private int interactionCount_ = 0; + /** + * + * + *
+     * The number of interactions in the conversation.
+     * 
+ * + * int32 interaction_count = 1; + * + * @return The interactionCount. + */ + @java.lang.Override + public int getInteractionCount() { + return interactionCount_; + } + + public static final int INPUT_AUDIO_DURATION_FIELD_NUMBER = 2; + private com.google.protobuf.Duration inputAudioDuration_; + /** + * + * + *
+     * Duration of all the input's audio in the conversation.
+     * 
+ * + * .google.protobuf.Duration input_audio_duration = 2; + * + * @return Whether the inputAudioDuration field is set. + */ + @java.lang.Override + public boolean hasInputAudioDuration() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Duration of all the input's audio in the conversation.
+     * 
+ * + * .google.protobuf.Duration input_audio_duration = 2; + * + * @return The inputAudioDuration. + */ + @java.lang.Override + public com.google.protobuf.Duration getInputAudioDuration() { + return inputAudioDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : inputAudioDuration_; + } + /** + * + * + *
+     * Duration of all the input's audio in the conversation.
+     * 
+ * + * .google.protobuf.Duration input_audio_duration = 2; + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getInputAudioDurationOrBuilder() { + return inputAudioDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : inputAudioDuration_; + } + + public static final int OUTPUT_AUDIO_DURATION_FIELD_NUMBER = 3; + private com.google.protobuf.Duration outputAudioDuration_; + /** + * + * + *
+     * Duration of all the output's audio in the conversation.
+     * 
+ * + * .google.protobuf.Duration output_audio_duration = 3; + * + * @return Whether the outputAudioDuration field is set. + */ + @java.lang.Override + public boolean hasOutputAudioDuration() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * Duration of all the output's audio in the conversation.
+     * 
+ * + * .google.protobuf.Duration output_audio_duration = 3; + * + * @return The outputAudioDuration. + */ + @java.lang.Override + public com.google.protobuf.Duration getOutputAudioDuration() { + return outputAudioDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : outputAudioDuration_; + } + /** + * + * + *
+     * Duration of all the output's audio in the conversation.
+     * 
+ * + * .google.protobuf.Duration output_audio_duration = 3; + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getOutputAudioDurationOrBuilder() { + return outputAudioDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : outputAudioDuration_; + } + + public static final int MAX_WEBHOOK_LATENCY_FIELD_NUMBER = 4; + private com.google.protobuf.Duration maxWebhookLatency_; + /** + * + * + *
+     * Maximum latency of the
+     * [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the
+     * conversation.
+     * 
+ * + * .google.protobuf.Duration max_webhook_latency = 4; + * + * @return Whether the maxWebhookLatency field is set. + */ + @java.lang.Override + public boolean hasMaxWebhookLatency() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * Maximum latency of the
+     * [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the
+     * conversation.
+     * 
+ * + * .google.protobuf.Duration max_webhook_latency = 4; + * + * @return The maxWebhookLatency. + */ + @java.lang.Override + public com.google.protobuf.Duration getMaxWebhookLatency() { + return maxWebhookLatency_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxWebhookLatency_; + } + /** + * + * + *
+     * Maximum latency of the
+     * [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the
+     * conversation.
+     * 
+ * + * .google.protobuf.Duration max_webhook_latency = 4; + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getMaxWebhookLatencyOrBuilder() { + return maxWebhookLatency_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxWebhookLatency_; + } + + public static final int HAS_END_INTERACTION_FIELD_NUMBER = 5; + private boolean hasEndInteraction_ = false; + /** + * + * + *
+     * A signal that indicates the interaction with the Dialogflow agent has
+     * ended.
+     * If any response has the
+     * [ResponseMessage.end_interaction][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.end_interaction]
+     * signal, this is set to true.
+     * 
+ * + * bool has_end_interaction = 5; + * + * @return The hasEndInteraction. + */ + @java.lang.Override + public boolean getHasEndInteraction() { + return hasEndInteraction_; + } + + public static final int HAS_LIVE_AGENT_HANDOFF_FIELD_NUMBER = 6; + private boolean hasLiveAgentHandoff_ = false; + /** + * + * + *
+     * Hands off conversation to a human agent.
+     * If any response has the
+     * [ResponseMessage.live_agent_handoff][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.live_agent_handoff]signal,
+     * this is set to true.
+     * 
+ * + * bool has_live_agent_handoff = 6; + * + * @return The hasLiveAgentHandoff. + */ + @java.lang.Override + public boolean getHasLiveAgentHandoff() { + return hasLiveAgentHandoff_; + } + + public static final int AVERAGE_MATCH_CONFIDENCE_FIELD_NUMBER = 7; + private float averageMatchConfidence_ = 0F; + /** + * + * + *
+     * The average confidence all of the
+     * [Match][google.cloud.dialogflow.cx.v3beta1.Match] in the conversation.
+     * Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
+     * 
+ * + * float average_match_confidence = 7; + * + * @return The averageMatchConfidence. + */ + @java.lang.Override + public float getAverageMatchConfidence() { + return averageMatchConfidence_; + } + + public static final int QUERY_INPUT_COUNT_FIELD_NUMBER = 8; + private com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + queryInputCount_; + /** + * + * + *
+     * Query input counts.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8; + * + * + * @return Whether the queryInputCount field is set. + */ + @java.lang.Override + public boolean hasQueryInputCount() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Query input counts.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8; + * + * + * @return The queryInputCount. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + getQueryInputCount() { + return queryInputCount_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + .getDefaultInstance() + : queryInputCount_; + } + /** + * + * + *
+     * Query input counts.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8; + * + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCountOrBuilder + getQueryInputCountOrBuilder() { + return queryInputCount_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + .getDefaultInstance() + : queryInputCount_; + } + + public static final int MATCH_TYPE_COUNT_FIELD_NUMBER = 9; + private com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + matchTypeCount_; + /** + * + * + *
+     * Match type counts.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9; + * + * + * @return Whether the matchTypeCount field is set. + */ + @java.lang.Override + public boolean hasMatchTypeCount() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * Match type counts.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9; + * + * + * @return The matchTypeCount. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + getMatchTypeCount() { + return matchTypeCount_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + .getDefaultInstance() + : matchTypeCount_; + } + /** + * + * + *
+     * Match type counts.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9; + * + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCountOrBuilder + getMatchTypeCountOrBuilder() { + return matchTypeCount_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + .getDefaultInstance() + : matchTypeCount_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (interactionCount_ != 0) { + output.writeInt32(1, interactionCount_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getInputAudioDuration()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(3, getOutputAudioDuration()); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(4, getMaxWebhookLatency()); + } + if (hasEndInteraction_ != false) { + output.writeBool(5, hasEndInteraction_); + } + if (hasLiveAgentHandoff_ != false) { + output.writeBool(6, hasLiveAgentHandoff_); + } + if (java.lang.Float.floatToRawIntBits(averageMatchConfidence_) != 0) { + output.writeFloat(7, averageMatchConfidence_); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(8, getQueryInputCount()); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeMessage(9, getMatchTypeCount()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (interactionCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, interactionCount_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInputAudioDuration()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOutputAudioDuration()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxWebhookLatency()); + } + if (hasEndInteraction_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, hasEndInteraction_); + } + if (hasLiveAgentHandoff_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, hasLiveAgentHandoff_); + } + if (java.lang.Float.floatToRawIntBits(averageMatchConfidence_) != 0) { + size += com.google.protobuf.CodedOutputStream.computeFloatSize(7, averageMatchConfidence_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getQueryInputCount()); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getMatchTypeCount()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics other = + (com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics) obj; + + if (getInteractionCount() != other.getInteractionCount()) return false; + if (hasInputAudioDuration() != other.hasInputAudioDuration()) return false; + if (hasInputAudioDuration()) { + if (!getInputAudioDuration().equals(other.getInputAudioDuration())) return false; + } + if (hasOutputAudioDuration() != other.hasOutputAudioDuration()) return false; + if (hasOutputAudioDuration()) { + if (!getOutputAudioDuration().equals(other.getOutputAudioDuration())) return false; + } + if (hasMaxWebhookLatency() != other.hasMaxWebhookLatency()) return false; + if (hasMaxWebhookLatency()) { + if (!getMaxWebhookLatency().equals(other.getMaxWebhookLatency())) return false; + } + if (getHasEndInteraction() != other.getHasEndInteraction()) return false; + if (getHasLiveAgentHandoff() != other.getHasLiveAgentHandoff()) return false; + if (java.lang.Float.floatToIntBits(getAverageMatchConfidence()) + != java.lang.Float.floatToIntBits(other.getAverageMatchConfidence())) return false; + if (hasQueryInputCount() != other.hasQueryInputCount()) return false; + if (hasQueryInputCount()) { + if (!getQueryInputCount().equals(other.getQueryInputCount())) return false; + } + if (hasMatchTypeCount() != other.hasMatchTypeCount()) return false; + if (hasMatchTypeCount()) { + if (!getMatchTypeCount().equals(other.getMatchTypeCount())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INTERACTION_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getInteractionCount(); + if (hasInputAudioDuration()) { + hash = (37 * hash) + INPUT_AUDIO_DURATION_FIELD_NUMBER; + hash = (53 * hash) + getInputAudioDuration().hashCode(); + } + if (hasOutputAudioDuration()) { + hash = (37 * hash) + OUTPUT_AUDIO_DURATION_FIELD_NUMBER; + hash = (53 * hash) + getOutputAudioDuration().hashCode(); + } + if (hasMaxWebhookLatency()) { + hash = (37 * hash) + MAX_WEBHOOK_LATENCY_FIELD_NUMBER; + hash = (53 * hash) + getMaxWebhookLatency().hashCode(); + } + hash = (37 * hash) + HAS_END_INTERACTION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasEndInteraction()); + hash = (37 * hash) + HAS_LIVE_AGENT_HANDOFF_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasLiveAgentHandoff()); + hash = (37 * hash) + AVERAGE_MATCH_CONFIDENCE_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits(getAverageMatchConfidence()); + if (hasQueryInputCount()) { + hash = (37 * hash) + QUERY_INPUT_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getQueryInputCount().hashCode(); + } + if (hasMatchTypeCount()) { + hash = (37 * hash) + MATCH_TYPE_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getMatchTypeCount().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * Represents metrics for the conversation.
+     * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics) + com.google.cloud.dialogflow.cx.v3beta1.Conversation.MetricsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.class, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getInputAudioDurationFieldBuilder(); + getOutputAudioDurationFieldBuilder(); + getMaxWebhookLatencyFieldBuilder(); + getQueryInputCountFieldBuilder(); + getMatchTypeCountFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + interactionCount_ = 0; + inputAudioDuration_ = null; + if (inputAudioDurationBuilder_ != null) { + inputAudioDurationBuilder_.dispose(); + inputAudioDurationBuilder_ = null; + } + outputAudioDuration_ = null; + if (outputAudioDurationBuilder_ != null) { + outputAudioDurationBuilder_.dispose(); + outputAudioDurationBuilder_ = null; + } + maxWebhookLatency_ = null; + if (maxWebhookLatencyBuilder_ != null) { + maxWebhookLatencyBuilder_.dispose(); + maxWebhookLatencyBuilder_ = null; + } + hasEndInteraction_ = false; + hasLiveAgentHandoff_ = false; + averageMatchConfidence_ = 0F; + queryInputCount_ = null; + if (queryInputCountBuilder_ != null) { + queryInputCountBuilder_.dispose(); + queryInputCountBuilder_ = null; + } + matchTypeCount_ = null; + if (matchTypeCountBuilder_ != null) { + matchTypeCountBuilder_.dispose(); + matchTypeCountBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics build() { + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics result = + new com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.interactionCount_ = interactionCount_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.inputAudioDuration_ = + inputAudioDurationBuilder_ == null + ? inputAudioDuration_ + : inputAudioDurationBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.outputAudioDuration_ = + outputAudioDurationBuilder_ == null + ? outputAudioDuration_ + : outputAudioDurationBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.maxWebhookLatency_ = + maxWebhookLatencyBuilder_ == null + ? maxWebhookLatency_ + : maxWebhookLatencyBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.hasEndInteraction_ = hasEndInteraction_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.hasLiveAgentHandoff_ = hasLiveAgentHandoff_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.averageMatchConfidence_ = averageMatchConfidence_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.queryInputCount_ = + queryInputCountBuilder_ == null ? queryInputCount_ : queryInputCountBuilder_.build(); + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.matchTypeCount_ = + matchTypeCountBuilder_ == null ? matchTypeCount_ : matchTypeCountBuilder_.build(); + to_bitField0_ |= 0x00000010; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics other) { + if (other + == com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.getDefaultInstance()) + return this; + if (other.getInteractionCount() != 0) { + setInteractionCount(other.getInteractionCount()); + } + if (other.hasInputAudioDuration()) { + mergeInputAudioDuration(other.getInputAudioDuration()); + } + if (other.hasOutputAudioDuration()) { + mergeOutputAudioDuration(other.getOutputAudioDuration()); + } + if (other.hasMaxWebhookLatency()) { + mergeMaxWebhookLatency(other.getMaxWebhookLatency()); + } + if (other.getHasEndInteraction() != false) { + setHasEndInteraction(other.getHasEndInteraction()); + } + if (other.getHasLiveAgentHandoff() != false) { + setHasLiveAgentHandoff(other.getHasLiveAgentHandoff()); + } + if (other.getAverageMatchConfidence() != 0F) { + setAverageMatchConfidence(other.getAverageMatchConfidence()); + } + if (other.hasQueryInputCount()) { + mergeQueryInputCount(other.getQueryInputCount()); + } + if (other.hasMatchTypeCount()) { + mergeMatchTypeCount(other.getMatchTypeCount()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + interactionCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage( + getInputAudioDurationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getOutputAudioDurationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + getMaxWebhookLatencyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + hasEndInteraction_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + hasLiveAgentHandoff_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 61: + { + averageMatchConfidence_ = input.readFloat(); + bitField0_ |= 0x00000040; + break; + } // case 61 + case 66: + { + input.readMessage( + getQueryInputCountFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: + { + input.readMessage( + getMatchTypeCountFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private int interactionCount_; + /** + * + * + *
+       * The number of interactions in the conversation.
+       * 
+ * + * int32 interaction_count = 1; + * + * @return The interactionCount. + */ + @java.lang.Override + public int getInteractionCount() { + return interactionCount_; + } + /** + * + * + *
+       * The number of interactions in the conversation.
+       * 
+ * + * int32 interaction_count = 1; + * + * @param value The interactionCount to set. + * @return This builder for chaining. + */ + public Builder setInteractionCount(int value) { + + interactionCount_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * The number of interactions in the conversation.
+       * 
+ * + * int32 interaction_count = 1; + * + * @return This builder for chaining. + */ + public Builder clearInteractionCount() { + bitField0_ = (bitField0_ & ~0x00000001); + interactionCount_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Duration inputAudioDuration_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + inputAudioDurationBuilder_; + /** + * + * + *
+       * Duration of all the input's audio in the conversation.
+       * 
+ * + * .google.protobuf.Duration input_audio_duration = 2; + * + * @return Whether the inputAudioDuration field is set. + */ + public boolean hasInputAudioDuration() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+       * Duration of all the input's audio in the conversation.
+       * 
+ * + * .google.protobuf.Duration input_audio_duration = 2; + * + * @return The inputAudioDuration. + */ + public com.google.protobuf.Duration getInputAudioDuration() { + if (inputAudioDurationBuilder_ == null) { + return inputAudioDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : inputAudioDuration_; + } else { + return inputAudioDurationBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Duration of all the input's audio in the conversation.
+       * 
+ * + * .google.protobuf.Duration input_audio_duration = 2; + */ + public Builder setInputAudioDuration(com.google.protobuf.Duration value) { + if (inputAudioDurationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + inputAudioDuration_ = value; + } else { + inputAudioDurationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * Duration of all the input's audio in the conversation.
+       * 
+ * + * .google.protobuf.Duration input_audio_duration = 2; + */ + public Builder setInputAudioDuration(com.google.protobuf.Duration.Builder builderForValue) { + if (inputAudioDurationBuilder_ == null) { + inputAudioDuration_ = builderForValue.build(); + } else { + inputAudioDurationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * Duration of all the input's audio in the conversation.
+       * 
+ * + * .google.protobuf.Duration input_audio_duration = 2; + */ + public Builder mergeInputAudioDuration(com.google.protobuf.Duration value) { + if (inputAudioDurationBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && inputAudioDuration_ != null + && inputAudioDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + getInputAudioDurationBuilder().mergeFrom(value); + } else { + inputAudioDuration_ = value; + } + } else { + inputAudioDurationBuilder_.mergeFrom(value); + } + if (inputAudioDuration_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * + * + *
+       * Duration of all the input's audio in the conversation.
+       * 
+ * + * .google.protobuf.Duration input_audio_duration = 2; + */ + public Builder clearInputAudioDuration() { + bitField0_ = (bitField0_ & ~0x00000002); + inputAudioDuration_ = null; + if (inputAudioDurationBuilder_ != null) { + inputAudioDurationBuilder_.dispose(); + inputAudioDurationBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Duration of all the input's audio in the conversation.
+       * 
+ * + * .google.protobuf.Duration input_audio_duration = 2; + */ + public com.google.protobuf.Duration.Builder getInputAudioDurationBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getInputAudioDurationFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Duration of all the input's audio in the conversation.
+       * 
+ * + * .google.protobuf.Duration input_audio_duration = 2; + */ + public com.google.protobuf.DurationOrBuilder getInputAudioDurationOrBuilder() { + if (inputAudioDurationBuilder_ != null) { + return inputAudioDurationBuilder_.getMessageOrBuilder(); + } else { + return inputAudioDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : inputAudioDuration_; + } + } + /** + * + * + *
+       * Duration of all the input's audio in the conversation.
+       * 
+ * + * .google.protobuf.Duration input_audio_duration = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + getInputAudioDurationFieldBuilder() { + if (inputAudioDurationBuilder_ == null) { + inputAudioDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getInputAudioDuration(), getParentForChildren(), isClean()); + inputAudioDuration_ = null; + } + return inputAudioDurationBuilder_; + } + + private com.google.protobuf.Duration outputAudioDuration_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + outputAudioDurationBuilder_; + /** + * + * + *
+       * Duration of all the output's audio in the conversation.
+       * 
+ * + * .google.protobuf.Duration output_audio_duration = 3; + * + * @return Whether the outputAudioDuration field is set. + */ + public boolean hasOutputAudioDuration() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+       * Duration of all the output's audio in the conversation.
+       * 
+ * + * .google.protobuf.Duration output_audio_duration = 3; + * + * @return The outputAudioDuration. + */ + public com.google.protobuf.Duration getOutputAudioDuration() { + if (outputAudioDurationBuilder_ == null) { + return outputAudioDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : outputAudioDuration_; + } else { + return outputAudioDurationBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Duration of all the output's audio in the conversation.
+       * 
+ * + * .google.protobuf.Duration output_audio_duration = 3; + */ + public Builder setOutputAudioDuration(com.google.protobuf.Duration value) { + if (outputAudioDurationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + outputAudioDuration_ = value; + } else { + outputAudioDurationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Duration of all the output's audio in the conversation.
+       * 
+ * + * .google.protobuf.Duration output_audio_duration = 3; + */ + public Builder setOutputAudioDuration(com.google.protobuf.Duration.Builder builderForValue) { + if (outputAudioDurationBuilder_ == null) { + outputAudioDuration_ = builderForValue.build(); + } else { + outputAudioDurationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Duration of all the output's audio in the conversation.
+       * 
+ * + * .google.protobuf.Duration output_audio_duration = 3; + */ + public Builder mergeOutputAudioDuration(com.google.protobuf.Duration value) { + if (outputAudioDurationBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && outputAudioDuration_ != null + && outputAudioDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + getOutputAudioDurationBuilder().mergeFrom(value); + } else { + outputAudioDuration_ = value; + } + } else { + outputAudioDurationBuilder_.mergeFrom(value); + } + if (outputAudioDuration_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + /** + * + * + *
+       * Duration of all the output's audio in the conversation.
+       * 
+ * + * .google.protobuf.Duration output_audio_duration = 3; + */ + public Builder clearOutputAudioDuration() { + bitField0_ = (bitField0_ & ~0x00000004); + outputAudioDuration_ = null; + if (outputAudioDurationBuilder_ != null) { + outputAudioDurationBuilder_.dispose(); + outputAudioDurationBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Duration of all the output's audio in the conversation.
+       * 
+ * + * .google.protobuf.Duration output_audio_duration = 3; + */ + public com.google.protobuf.Duration.Builder getOutputAudioDurationBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getOutputAudioDurationFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Duration of all the output's audio in the conversation.
+       * 
+ * + * .google.protobuf.Duration output_audio_duration = 3; + */ + public com.google.protobuf.DurationOrBuilder getOutputAudioDurationOrBuilder() { + if (outputAudioDurationBuilder_ != null) { + return outputAudioDurationBuilder_.getMessageOrBuilder(); + } else { + return outputAudioDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : outputAudioDuration_; + } + } + /** + * + * + *
+       * Duration of all the output's audio in the conversation.
+       * 
+ * + * .google.protobuf.Duration output_audio_duration = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + getOutputAudioDurationFieldBuilder() { + if (outputAudioDurationBuilder_ == null) { + outputAudioDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getOutputAudioDuration(), getParentForChildren(), isClean()); + outputAudioDuration_ = null; + } + return outputAudioDurationBuilder_; + } + + private com.google.protobuf.Duration maxWebhookLatency_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + maxWebhookLatencyBuilder_; + /** + * + * + *
+       * Maximum latency of the
+       * [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the
+       * conversation.
+       * 
+ * + * .google.protobuf.Duration max_webhook_latency = 4; + * + * @return Whether the maxWebhookLatency field is set. + */ + public boolean hasMaxWebhookLatency() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+       * Maximum latency of the
+       * [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the
+       * conversation.
+       * 
+ * + * .google.protobuf.Duration max_webhook_latency = 4; + * + * @return The maxWebhookLatency. + */ + public com.google.protobuf.Duration getMaxWebhookLatency() { + if (maxWebhookLatencyBuilder_ == null) { + return maxWebhookLatency_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxWebhookLatency_; + } else { + return maxWebhookLatencyBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Maximum latency of the
+       * [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the
+       * conversation.
+       * 
+ * + * .google.protobuf.Duration max_webhook_latency = 4; + */ + public Builder setMaxWebhookLatency(com.google.protobuf.Duration value) { + if (maxWebhookLatencyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + maxWebhookLatency_ = value; + } else { + maxWebhookLatencyBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+       * Maximum latency of the
+       * [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the
+       * conversation.
+       * 
+ * + * .google.protobuf.Duration max_webhook_latency = 4; + */ + public Builder setMaxWebhookLatency(com.google.protobuf.Duration.Builder builderForValue) { + if (maxWebhookLatencyBuilder_ == null) { + maxWebhookLatency_ = builderForValue.build(); + } else { + maxWebhookLatencyBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+       * Maximum latency of the
+       * [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the
+       * conversation.
+       * 
+ * + * .google.protobuf.Duration max_webhook_latency = 4; + */ + public Builder mergeMaxWebhookLatency(com.google.protobuf.Duration value) { + if (maxWebhookLatencyBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && maxWebhookLatency_ != null + && maxWebhookLatency_ != com.google.protobuf.Duration.getDefaultInstance()) { + getMaxWebhookLatencyBuilder().mergeFrom(value); + } else { + maxWebhookLatency_ = value; + } + } else { + maxWebhookLatencyBuilder_.mergeFrom(value); + } + if (maxWebhookLatency_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + /** + * + * + *
+       * Maximum latency of the
+       * [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the
+       * conversation.
+       * 
+ * + * .google.protobuf.Duration max_webhook_latency = 4; + */ + public Builder clearMaxWebhookLatency() { + bitField0_ = (bitField0_ & ~0x00000008); + maxWebhookLatency_ = null; + if (maxWebhookLatencyBuilder_ != null) { + maxWebhookLatencyBuilder_.dispose(); + maxWebhookLatencyBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Maximum latency of the
+       * [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the
+       * conversation.
+       * 
+ * + * .google.protobuf.Duration max_webhook_latency = 4; + */ + public com.google.protobuf.Duration.Builder getMaxWebhookLatencyBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getMaxWebhookLatencyFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Maximum latency of the
+       * [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the
+       * conversation.
+       * 
+ * + * .google.protobuf.Duration max_webhook_latency = 4; + */ + public com.google.protobuf.DurationOrBuilder getMaxWebhookLatencyOrBuilder() { + if (maxWebhookLatencyBuilder_ != null) { + return maxWebhookLatencyBuilder_.getMessageOrBuilder(); + } else { + return maxWebhookLatency_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxWebhookLatency_; + } + } + /** + * + * + *
+       * Maximum latency of the
+       * [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the
+       * conversation.
+       * 
+ * + * .google.protobuf.Duration max_webhook_latency = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + getMaxWebhookLatencyFieldBuilder() { + if (maxWebhookLatencyBuilder_ == null) { + maxWebhookLatencyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getMaxWebhookLatency(), getParentForChildren(), isClean()); + maxWebhookLatency_ = null; + } + return maxWebhookLatencyBuilder_; + } + + private boolean hasEndInteraction_; + /** + * + * + *
+       * A signal that indicates the interaction with the Dialogflow agent has
+       * ended.
+       * If any response has the
+       * [ResponseMessage.end_interaction][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.end_interaction]
+       * signal, this is set to true.
+       * 
+ * + * bool has_end_interaction = 5; + * + * @return The hasEndInteraction. + */ + @java.lang.Override + public boolean getHasEndInteraction() { + return hasEndInteraction_; + } + /** + * + * + *
+       * A signal that indicates the interaction with the Dialogflow agent has
+       * ended.
+       * If any response has the
+       * [ResponseMessage.end_interaction][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.end_interaction]
+       * signal, this is set to true.
+       * 
+ * + * bool has_end_interaction = 5; + * + * @param value The hasEndInteraction to set. + * @return This builder for chaining. + */ + public Builder setHasEndInteraction(boolean value) { + + hasEndInteraction_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+       * A signal that indicates the interaction with the Dialogflow agent has
+       * ended.
+       * If any response has the
+       * [ResponseMessage.end_interaction][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.end_interaction]
+       * signal, this is set to true.
+       * 
+ * + * bool has_end_interaction = 5; + * + * @return This builder for chaining. + */ + public Builder clearHasEndInteraction() { + bitField0_ = (bitField0_ & ~0x00000010); + hasEndInteraction_ = false; + onChanged(); + return this; + } + + private boolean hasLiveAgentHandoff_; + /** + * + * + *
+       * Hands off conversation to a human agent.
+       * If any response has the
+       * [ResponseMessage.live_agent_handoff][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.live_agent_handoff]signal,
+       * this is set to true.
+       * 
+ * + * bool has_live_agent_handoff = 6; + * + * @return The hasLiveAgentHandoff. + */ + @java.lang.Override + public boolean getHasLiveAgentHandoff() { + return hasLiveAgentHandoff_; + } + /** + * + * + *
+       * Hands off conversation to a human agent.
+       * If any response has the
+       * [ResponseMessage.live_agent_handoff][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.live_agent_handoff]signal,
+       * this is set to true.
+       * 
+ * + * bool has_live_agent_handoff = 6; + * + * @param value The hasLiveAgentHandoff to set. + * @return This builder for chaining. + */ + public Builder setHasLiveAgentHandoff(boolean value) { + + hasLiveAgentHandoff_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+       * Hands off conversation to a human agent.
+       * If any response has the
+       * [ResponseMessage.live_agent_handoff][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.live_agent_handoff]signal,
+       * this is set to true.
+       * 
+ * + * bool has_live_agent_handoff = 6; + * + * @return This builder for chaining. + */ + public Builder clearHasLiveAgentHandoff() { + bitField0_ = (bitField0_ & ~0x00000020); + hasLiveAgentHandoff_ = false; + onChanged(); + return this; + } + + private float averageMatchConfidence_; + /** + * + * + *
+       * The average confidence all of the
+       * [Match][google.cloud.dialogflow.cx.v3beta1.Match] in the conversation.
+       * Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
+       * 
+ * + * float average_match_confidence = 7; + * + * @return The averageMatchConfidence. + */ + @java.lang.Override + public float getAverageMatchConfidence() { + return averageMatchConfidence_; + } + /** + * + * + *
+       * The average confidence all of the
+       * [Match][google.cloud.dialogflow.cx.v3beta1.Match] in the conversation.
+       * Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
+       * 
+ * + * float average_match_confidence = 7; + * + * @param value The averageMatchConfidence to set. + * @return This builder for chaining. + */ + public Builder setAverageMatchConfidence(float value) { + + averageMatchConfidence_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+       * The average confidence all of the
+       * [Match][google.cloud.dialogflow.cx.v3beta1.Match] in the conversation.
+       * Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
+       * 
+ * + * float average_match_confidence = 7; + * + * @return This builder for chaining. + */ + public Builder clearAverageMatchConfidence() { + bitField0_ = (bitField0_ & ~0x00000040); + averageMatchConfidence_ = 0F; + onChanged(); + return this; + } + + private com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + queryInputCount_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount.Builder, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCountOrBuilder> + queryInputCountBuilder_; + /** + * + * + *
+       * Query input counts.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8; + * + * + * @return Whether the queryInputCount field is set. + */ + public boolean hasQueryInputCount() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+       * Query input counts.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8; + * + * + * @return The queryInputCount. + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + getQueryInputCount() { + if (queryInputCountBuilder_ == null) { + return queryInputCount_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + .getDefaultInstance() + : queryInputCount_; + } else { + return queryInputCountBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Query input counts.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8; + * + */ + public Builder setQueryInputCount( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount value) { + if (queryInputCountBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + queryInputCount_ = value; + } else { + queryInputCountBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+       * Query input counts.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8; + * + */ + public Builder setQueryInputCount( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount.Builder + builderForValue) { + if (queryInputCountBuilder_ == null) { + queryInputCount_ = builderForValue.build(); + } else { + queryInputCountBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+       * Query input counts.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8; + * + */ + public Builder mergeQueryInputCount( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount value) { + if (queryInputCountBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) + && queryInputCount_ != null + && queryInputCount_ + != com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + .getDefaultInstance()) { + getQueryInputCountBuilder().mergeFrom(value); + } else { + queryInputCount_ = value; + } + } else { + queryInputCountBuilder_.mergeFrom(value); + } + if (queryInputCount_ != null) { + bitField0_ |= 0x00000080; + onChanged(); + } + return this; + } + /** + * + * + *
+       * Query input counts.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8; + * + */ + public Builder clearQueryInputCount() { + bitField0_ = (bitField0_ & ~0x00000080); + queryInputCount_ = null; + if (queryInputCountBuilder_ != null) { + queryInputCountBuilder_.dispose(); + queryInputCountBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Query input counts.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount.Builder + getQueryInputCountBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getQueryInputCountFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Query input counts.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCountOrBuilder + getQueryInputCountOrBuilder() { + if (queryInputCountBuilder_ != null) { + return queryInputCountBuilder_.getMessageOrBuilder(); + } else { + return queryInputCount_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + .getDefaultInstance() + : queryInputCount_; + } + } + /** + * + * + *
+       * Query input counts.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount query_input_count = 8; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount.Builder, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCountOrBuilder> + getQueryInputCountFieldBuilder() { + if (queryInputCountBuilder_ == null) { + queryInputCountBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.QueryInputCount + .Builder, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics + .QueryInputCountOrBuilder>( + getQueryInputCount(), getParentForChildren(), isClean()); + queryInputCount_ = null; + } + return queryInputCountBuilder_; + } + + private com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + matchTypeCount_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount.Builder, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCountOrBuilder> + matchTypeCountBuilder_; + /** + * + * + *
+       * Match type counts.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9; + * + * + * @return Whether the matchTypeCount field is set. + */ + public boolean hasMatchTypeCount() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+       * Match type counts.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9; + * + * + * @return The matchTypeCount. + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + getMatchTypeCount() { + if (matchTypeCountBuilder_ == null) { + return matchTypeCount_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + .getDefaultInstance() + : matchTypeCount_; + } else { + return matchTypeCountBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Match type counts.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9; + * + */ + public Builder setMatchTypeCount( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount value) { + if (matchTypeCountBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + matchTypeCount_ = value; + } else { + matchTypeCountBuilder_.setMessage(value); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+       * Match type counts.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9; + * + */ + public Builder setMatchTypeCount( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount.Builder + builderForValue) { + if (matchTypeCountBuilder_ == null) { + matchTypeCount_ = builderForValue.build(); + } else { + matchTypeCountBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+       * Match type counts.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9; + * + */ + public Builder mergeMatchTypeCount( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount value) { + if (matchTypeCountBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0) + && matchTypeCount_ != null + && matchTypeCount_ + != com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + .getDefaultInstance()) { + getMatchTypeCountBuilder().mergeFrom(value); + } else { + matchTypeCount_ = value; + } + } else { + matchTypeCountBuilder_.mergeFrom(value); + } + if (matchTypeCount_ != null) { + bitField0_ |= 0x00000100; + onChanged(); + } + return this; + } + /** + * + * + *
+       * Match type counts.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9; + * + */ + public Builder clearMatchTypeCount() { + bitField0_ = (bitField0_ & ~0x00000100); + matchTypeCount_ = null; + if (matchTypeCountBuilder_ != null) { + matchTypeCountBuilder_.dispose(); + matchTypeCountBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Match type counts.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount.Builder + getMatchTypeCountBuilder() { + bitField0_ |= 0x00000100; + onChanged(); + return getMatchTypeCountFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Match type counts.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCountOrBuilder + getMatchTypeCountOrBuilder() { + if (matchTypeCountBuilder_ != null) { + return matchTypeCountBuilder_.getMessageOrBuilder(); + } else { + return matchTypeCount_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + .getDefaultInstance() + : matchTypeCount_; + } + } + /** + * + * + *
+       * Match type counts.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount match_type_count = 9; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount.Builder, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCountOrBuilder> + getMatchTypeCountFieldBuilder() { + if (matchTypeCountBuilder_ == null) { + matchTypeCountBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.MatchTypeCount + .Builder, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics + .MatchTypeCountOrBuilder>( + getMatchTypeCount(), getParentForChildren(), isClean()); + matchTypeCount_ = null; + } + return matchTypeCountBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics) + private static final com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Metrics parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface InteractionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The request of the interaction.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; + * + * @return Whether the request field is set. + */ + boolean hasRequest(); + /** + * + * + *
+     * The request of the interaction.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; + * + * @return The request. + */ + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest getRequest(); + /** + * + * + *
+     * The request of the interaction.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; + */ + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequestOrBuilder getRequestOrBuilder(); + + /** + * + * + *
+     * The final response of the interaction.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; + * + * @return Whether the response field is set. + */ + boolean hasResponse(); + /** + * + * + *
+     * The final response of the interaction.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; + * + * @return The response. + */ + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse getResponse(); + /** + * + * + *
+     * The final response of the interaction.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; + */ + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseOrBuilder getResponseOrBuilder(); + + /** + * + * + *
+     * The partial responses of the interaction. Empty if there is no partial
+     * response in the interaction.
+     * See the
+     * [partial response
+     * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + java.util.List + getPartialResponsesList(); + /** + * + * + *
+     * The partial responses of the interaction. Empty if there is no partial
+     * response in the interaction.
+     * See the
+     * [partial response
+     * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse getPartialResponses(int index); + /** + * + * + *
+     * The partial responses of the interaction. Empty if there is no partial
+     * response in the interaction.
+     * See the
+     * [partial response
+     * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + int getPartialResponsesCount(); + /** + * + * + *
+     * The partial responses of the interaction. Empty if there is no partial
+     * response in the interaction.
+     * See the
+     * [partial response
+     * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + java.util.List + getPartialResponsesOrBuilderList(); + /** + * + * + *
+     * The partial responses of the interaction. Empty if there is no partial
+     * response in the interaction.
+     * See the
+     * [partial response
+     * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseOrBuilder + getPartialResponsesOrBuilder(int index); + + /** + * + * + *
+     * The input text or the transcript of the input audio in the request.
+     * 
+ * + * string request_utterances = 4; + * + * @return The requestUtterances. + */ + java.lang.String getRequestUtterances(); + /** + * + * + *
+     * The input text or the transcript of the input audio in the request.
+     * 
+ * + * string request_utterances = 4; + * + * @return The bytes for requestUtterances. + */ + com.google.protobuf.ByteString getRequestUtterancesBytes(); + + /** + * + * + *
+     * The output text or the transcript of the output audio in the responses.
+     * If multiple output messages are returned, they will be concatenated into
+     * one.
+     * 
+ * + * string response_utterances = 5; + * + * @return The responseUtterances. + */ + java.lang.String getResponseUtterances(); + /** + * + * + *
+     * The output text or the transcript of the output audio in the responses.
+     * If multiple output messages are returned, they will be concatenated into
+     * one.
+     * 
+ * + * string response_utterances = 5; + * + * @return The bytes for responseUtterances. + */ + com.google.protobuf.ByteString getResponseUtterancesBytes(); + + /** + * + * + *
+     * The time that the interaction was created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 6; + * + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * + * + *
+     * The time that the interaction was created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 6; + * + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * + * + *
+     * The time that the interaction was created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 6; + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + * + * + *
+     * Missing transition predicted for the interaction. This field is set only
+     * if the interaction match type was no-match.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8; + * + * + * @return Whether the missingTransition field is set. + */ + boolean hasMissingTransition(); + /** + * + * + *
+     * Missing transition predicted for the interaction. This field is set only
+     * if the interaction match type was no-match.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8; + * + * + * @return The missingTransition. + */ + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + getMissingTransition(); + /** + * + * + *
+     * Missing transition predicted for the interaction. This field is set only
+     * if the interaction match type was no-match.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8; + * + */ + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransitionOrBuilder + getMissingTransitionOrBuilder(); + } + /** + * + * + *
+   * Represents an interaction between an end user and a Dialogflow CX agent
+   * using V3 (Streaming)DetectIntent API, or an interaction between an end user
+   * and a Dialogflow CX agent using V2 (Streaming)AnalyzeContent API.
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction} + */ + public static final class Interaction extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction) + InteractionOrBuilder { + private static final long serialVersionUID = 0L; + // Use Interaction.newBuilder() to construct. + private Interaction(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Interaction() { + partialResponses_ = java.util.Collections.emptyList(); + requestUtterances_ = ""; + responseUtterances_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Interaction(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.class, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.Builder.class); + } + + public interface MissingTransitionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Name of the intent that could have triggered.
+       * 
+ * + * string intent_display_name = 1; + * + * @return The intentDisplayName. + */ + java.lang.String getIntentDisplayName(); + /** + * + * + *
+       * Name of the intent that could have triggered.
+       * 
+ * + * string intent_display_name = 1; + * + * @return The bytes for intentDisplayName. + */ + com.google.protobuf.ByteString getIntentDisplayNameBytes(); + + /** + * + * + *
+       * Score of the above intent. The higher it is the more likely a
+       * transition was missed on a given page.
+       * 
+ * + * float score = 2; + * + * @return The score. + */ + float getScore(); + } + /** + * + * + *
+     * Information collected for DF CX agents in case NLU predicted an intent
+     * that was filtered out as being inactive which may indicate a missing
+     * transition and/or absent functionality.
+     * 
+ * + * Protobuf type {@code + * google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition} + */ + public static final class MissingTransition extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition) + MissingTransitionOrBuilder { + private static final long serialVersionUID = 0L; + // Use MissingTransition.newBuilder() to construct. + private MissingTransition(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MissingTransition() { + intentDisplayName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MissingTransition(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_MissingTransition_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_MissingTransition_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + .class, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + .Builder.class); + } + + public static final int INTENT_DISPLAY_NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object intentDisplayName_ = ""; + /** + * + * + *
+       * Name of the intent that could have triggered.
+       * 
+ * + * string intent_display_name = 1; + * + * @return The intentDisplayName. + */ + @java.lang.Override + public java.lang.String getIntentDisplayName() { + java.lang.Object ref = intentDisplayName_; + 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(); + intentDisplayName_ = s; + return s; + } + } + /** + * + * + *
+       * Name of the intent that could have triggered.
+       * 
+ * + * string intent_display_name = 1; + * + * @return The bytes for intentDisplayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIntentDisplayNameBytes() { + java.lang.Object ref = intentDisplayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + intentDisplayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SCORE_FIELD_NUMBER = 2; + private float score_ = 0F; + /** + * + * + *
+       * Score of the above intent. The higher it is the more likely a
+       * transition was missed on a given page.
+       * 
+ * + * float score = 2; + * + * @return The score. + */ + @java.lang.Override + public float getScore() { + return score_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(intentDisplayName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, intentDisplayName_); + } + if (java.lang.Float.floatToRawIntBits(score_) != 0) { + output.writeFloat(2, score_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(intentDisplayName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, intentDisplayName_); + } + if (java.lang.Float.floatToRawIntBits(score_) != 0) { + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, score_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition other = + (com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition) obj; + + if (!getIntentDisplayName().equals(other.getIntentDisplayName())) return false; + if (java.lang.Float.floatToIntBits(getScore()) + != java.lang.Float.floatToIntBits(other.getScore())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INTENT_DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getIntentDisplayName().hashCode(); + hash = (37 * hash) + SCORE_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits(getScore()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransition + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransition + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransition + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransition + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransition + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransition + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransition + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransition + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransition + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransition + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransition + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransition + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * Information collected for DF CX agents in case NLU predicted an intent
+       * that was filtered out as being inactive which may indicate a missing
+       * transition and/or absent functionality.
+       * 
+ * + * Protobuf type {@code + * google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition) + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransitionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_MissingTransition_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_MissingTransition_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + .class, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + .Builder.class); + } + + // Construct using + // com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + intentDisplayName_ = ""; + score_ = 0F; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_MissingTransition_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + build() { + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition result = + new com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.intentDisplayName_ = intentDisplayName_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.score_ = score_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition) { + return mergeFrom( + (com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + other) { + if (other + == com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + .getDefaultInstance()) return this; + if (!other.getIntentDisplayName().isEmpty()) { + intentDisplayName_ = other.intentDisplayName_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getScore() != 0F) { + setScore(other.getScore()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + intentDisplayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 21: + { + score_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object intentDisplayName_ = ""; + /** + * + * + *
+         * Name of the intent that could have triggered.
+         * 
+ * + * string intent_display_name = 1; + * + * @return The intentDisplayName. + */ + public java.lang.String getIntentDisplayName() { + java.lang.Object ref = intentDisplayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + intentDisplayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+         * Name of the intent that could have triggered.
+         * 
+ * + * string intent_display_name = 1; + * + * @return The bytes for intentDisplayName. + */ + public com.google.protobuf.ByteString getIntentDisplayNameBytes() { + java.lang.Object ref = intentDisplayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + intentDisplayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+         * Name of the intent that could have triggered.
+         * 
+ * + * string intent_display_name = 1; + * + * @param value The intentDisplayName to set. + * @return This builder for chaining. + */ + public Builder setIntentDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + intentDisplayName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Name of the intent that could have triggered.
+         * 
+ * + * string intent_display_name = 1; + * + * @return This builder for chaining. + */ + public Builder clearIntentDisplayName() { + intentDisplayName_ = getDefaultInstance().getIntentDisplayName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+         * Name of the intent that could have triggered.
+         * 
+ * + * string intent_display_name = 1; + * + * @param value The bytes for intentDisplayName to set. + * @return This builder for chaining. + */ + public Builder setIntentDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + intentDisplayName_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private float score_; + /** + * + * + *
+         * Score of the above intent. The higher it is the more likely a
+         * transition was missed on a given page.
+         * 
+ * + * float score = 2; + * + * @return The score. + */ + @java.lang.Override + public float getScore() { + return score_; + } + /** + * + * + *
+         * Score of the above intent. The higher it is the more likely a
+         * transition was missed on a given page.
+         * 
+ * + * float score = 2; + * + * @param value The score to set. + * @return This builder for chaining. + */ + public Builder setScore(float value) { + + score_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+         * Score of the above intent. The higher it is the more likely a
+         * transition was missed on a given page.
+         * 
+ * + * float score = 2; + * + * @return This builder for chaining. + */ + public Builder clearScore() { + bitField0_ = (bitField0_ & ~0x00000002); + score_ = 0F; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition) + private static final com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransition + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransition + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MissingTransition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int bitField0_; + public static final int REQUEST_FIELD_NUMBER = 1; + private com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request_; + /** + * + * + *
+     * The request of the interaction.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; + * + * @return Whether the request field is set. + */ + @java.lang.Override + public boolean hasRequest() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The request of the interaction.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; + * + * @return The request. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest getRequest() { + return request_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.getDefaultInstance() + : request_; + } + /** + * + * + *
+     * The request of the interaction.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequestOrBuilder + getRequestOrBuilder() { + return request_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.getDefaultInstance() + : request_; + } + + public static final int RESPONSE_FIELD_NUMBER = 2; + private com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response_; + /** + * + * + *
+     * The final response of the interaction.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; + * + * @return Whether the response field is set. + */ + @java.lang.Override + public boolean hasResponse() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * The final response of the interaction.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; + * + * @return The response. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse getResponse() { + return response_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.getDefaultInstance() + : response_; + } + /** + * + * + *
+     * The final response of the interaction.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseOrBuilder + getResponseOrBuilder() { + return response_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.getDefaultInstance() + : response_; + } + + public static final int PARTIAL_RESPONSES_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private java.util.List + partialResponses_; + /** + * + * + *
+     * The partial responses of the interaction. Empty if there is no partial
+     * response in the interaction.
+     * See the
+     * [partial response
+     * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + @java.lang.Override + public java.util.List + getPartialResponsesList() { + return partialResponses_; + } + /** + * + * + *
+     * The partial responses of the interaction. Empty if there is no partial
+     * response in the interaction.
+     * See the
+     * [partial response
+     * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseOrBuilder> + getPartialResponsesOrBuilderList() { + return partialResponses_; + } + /** + * + * + *
+     * The partial responses of the interaction. Empty if there is no partial
+     * response in the interaction.
+     * See the
+     * [partial response
+     * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + @java.lang.Override + public int getPartialResponsesCount() { + return partialResponses_.size(); + } + /** + * + * + *
+     * The partial responses of the interaction. Empty if there is no partial
+     * response in the interaction.
+     * See the
+     * [partial response
+     * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse getPartialResponses( + int index) { + return partialResponses_.get(index); + } + /** + * + * + *
+     * The partial responses of the interaction. Empty if there is no partial
+     * response in the interaction.
+     * See the
+     * [partial response
+     * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseOrBuilder + getPartialResponsesOrBuilder(int index) { + return partialResponses_.get(index); + } + + public static final int REQUEST_UTTERANCES_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestUtterances_ = ""; + /** + * + * + *
+     * The input text or the transcript of the input audio in the request.
+     * 
+ * + * string request_utterances = 4; + * + * @return The requestUtterances. + */ + @java.lang.Override + public java.lang.String getRequestUtterances() { + java.lang.Object ref = requestUtterances_; + 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(); + requestUtterances_ = s; + return s; + } + } + /** + * + * + *
+     * The input text or the transcript of the input audio in the request.
+     * 
+ * + * string request_utterances = 4; + * + * @return The bytes for requestUtterances. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequestUtterancesBytes() { + java.lang.Object ref = requestUtterances_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestUtterances_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESPONSE_UTTERANCES_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object responseUtterances_ = ""; + /** + * + * + *
+     * The output text or the transcript of the output audio in the responses.
+     * If multiple output messages are returned, they will be concatenated into
+     * one.
+     * 
+ * + * string response_utterances = 5; + * + * @return The responseUtterances. + */ + @java.lang.Override + public java.lang.String getResponseUtterances() { + java.lang.Object ref = responseUtterances_; + 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(); + responseUtterances_ = s; + return s; + } + } + /** + * + * + *
+     * The output text or the transcript of the output audio in the responses.
+     * If multiple output messages are returned, they will be concatenated into
+     * one.
+     * 
+ * + * string response_utterances = 5; + * + * @return The bytes for responseUtterances. + */ + @java.lang.Override + public com.google.protobuf.ByteString getResponseUtterancesBytes() { + java.lang.Object ref = responseUtterances_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + responseUtterances_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CREATE_TIME_FIELD_NUMBER = 6; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
+     * The time that the interaction was created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 6; + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * The time that the interaction was created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 6; + * + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * + * + *
+     * The time that the interaction was created.
+     * 
+ * + * .google.protobuf.Timestamp create_time = 6; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + + public static final int MISSING_TRANSITION_FIELD_NUMBER = 8; + private com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + missingTransition_; + /** + * + * + *
+     * Missing transition predicted for the interaction. This field is set only
+     * if the interaction match type was no-match.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8; + * + * + * @return Whether the missingTransition field is set. + */ + @java.lang.Override + public boolean hasMissingTransition() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Missing transition predicted for the interaction. This field is set only
+     * if the interaction match type was no-match.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8; + * + * + * @return The missingTransition. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + getMissingTransition() { + return missingTransition_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + .getDefaultInstance() + : missingTransition_; + } + /** + * + * + *
+     * Missing transition predicted for the interaction. This field is set only
+     * if the interaction match type was no-match.
+     * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8; + * + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransitionOrBuilder + getMissingTransitionOrBuilder() { + return missingTransition_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + .getDefaultInstance() + : missingTransition_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getRequest()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getResponse()); + } + for (int i = 0; i < partialResponses_.size(); i++) { + output.writeMessage(3, partialResponses_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestUtterances_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestUtterances_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseUtterances_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, responseUtterances_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(6, getCreateTime()); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(8, getMissingTransition()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRequest()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResponse()); + } + for (int i = 0; i < partialResponses_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, partialResponses_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestUtterances_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestUtterances_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseUtterances_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, responseUtterances_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMissingTransition()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction other = + (com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction) obj; + + if (hasRequest() != other.hasRequest()) return false; + if (hasRequest()) { + if (!getRequest().equals(other.getRequest())) return false; + } + if (hasResponse() != other.hasResponse()) return false; + if (hasResponse()) { + if (!getResponse().equals(other.getResponse())) return false; + } + if (!getPartialResponsesList().equals(other.getPartialResponsesList())) return false; + if (!getRequestUtterances().equals(other.getRequestUtterances())) return false; + if (!getResponseUtterances().equals(other.getResponseUtterances())) return false; + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime().equals(other.getCreateTime())) return false; + } + if (hasMissingTransition() != other.hasMissingTransition()) return false; + if (hasMissingTransition()) { + if (!getMissingTransition().equals(other.getMissingTransition())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasRequest()) { + hash = (37 * hash) + REQUEST_FIELD_NUMBER; + hash = (53 * hash) + getRequest().hashCode(); + } + if (hasResponse()) { + hash = (37 * hash) + RESPONSE_FIELD_NUMBER; + hash = (53 * hash) + getResponse().hashCode(); + } + if (getPartialResponsesCount() > 0) { + hash = (37 * hash) + PARTIAL_RESPONSES_FIELD_NUMBER; + hash = (53 * hash) + getPartialResponsesList().hashCode(); + } + hash = (37 * hash) + REQUEST_UTTERANCES_FIELD_NUMBER; + hash = (53 * hash) + getRequestUtterances().hashCode(); + hash = (37 * hash) + RESPONSE_UTTERANCES_FIELD_NUMBER; + hash = (53 * hash) + getResponseUtterances().hashCode(); + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + if (hasMissingTransition()) { + hash = (37 * hash) + MISSING_TRANSITION_FIELD_NUMBER; + hash = (53 * hash) + getMissingTransition().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * Represents an interaction between an end user and a Dialogflow CX agent
+     * using V3 (Streaming)DetectIntent API, or an interaction between an end user
+     * and a Dialogflow CX agent using V2 (Streaming)AnalyzeContent API.
+     * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction) + com.google.cloud.dialogflow.cx.v3beta1.Conversation.InteractionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.class, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.Builder.class); + } + + // Construct using + // com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getRequestFieldBuilder(); + getResponseFieldBuilder(); + getPartialResponsesFieldBuilder(); + getCreateTimeFieldBuilder(); + getMissingTransitionFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + request_ = null; + if (requestBuilder_ != null) { + requestBuilder_.dispose(); + requestBuilder_ = null; + } + response_ = null; + if (responseBuilder_ != null) { + responseBuilder_.dispose(); + responseBuilder_ = null; + } + if (partialResponsesBuilder_ == null) { + partialResponses_ = java.util.Collections.emptyList(); + } else { + partialResponses_ = null; + partialResponsesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + requestUtterances_ = ""; + responseUtterances_ = ""; + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + missingTransition_ = null; + if (missingTransitionBuilder_ != null) { + missingTransitionBuilder_.dispose(); + missingTransitionBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction build() { + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction result = + new com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction result) { + if (partialResponsesBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + partialResponses_ = java.util.Collections.unmodifiableList(partialResponses_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.partialResponses_ = partialResponses_; + } else { + result.partialResponses_ = partialResponsesBuilder_.build(); + } + } + + private void buildPartial0( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.request_ = requestBuilder_ == null ? request_ : requestBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.response_ = responseBuilder_ == null ? response_ : responseBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.requestUtterances_ = requestUtterances_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.responseUtterances_ = responseUtterances_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.createTime_ = + createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.missingTransition_ = + missingTransitionBuilder_ == null + ? missingTransition_ + : missingTransitionBuilder_.build(); + to_bitField0_ |= 0x00000008; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction other) { + if (other + == com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.getDefaultInstance()) + return this; + if (other.hasRequest()) { + mergeRequest(other.getRequest()); + } + if (other.hasResponse()) { + mergeResponse(other.getResponse()); + } + if (partialResponsesBuilder_ == null) { + if (!other.partialResponses_.isEmpty()) { + if (partialResponses_.isEmpty()) { + partialResponses_ = other.partialResponses_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensurePartialResponsesIsMutable(); + partialResponses_.addAll(other.partialResponses_); + } + onChanged(); + } + } else { + if (!other.partialResponses_.isEmpty()) { + if (partialResponsesBuilder_.isEmpty()) { + partialResponsesBuilder_.dispose(); + partialResponsesBuilder_ = null; + partialResponses_ = other.partialResponses_; + bitField0_ = (bitField0_ & ~0x00000004); + partialResponsesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPartialResponsesFieldBuilder() + : null; + } else { + partialResponsesBuilder_.addAllMessages(other.partialResponses_); + } + } + } + if (!other.getRequestUtterances().isEmpty()) { + requestUtterances_ = other.requestUtterances_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getResponseUtterances().isEmpty()) { + responseUtterances_ = other.responseUtterances_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.hasMissingTransition()) { + mergeMissingTransition(other.getMissingTransition()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage(getRequestFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getResponseFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse m = + input.readMessage( + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.parser(), + extensionRegistry); + if (partialResponsesBuilder_ == null) { + ensurePartialResponsesIsMutable(); + partialResponses_.add(m); + } else { + partialResponsesBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: + { + requestUtterances_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + responseUtterances_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 66: + { + input.readMessage( + getMissingTransitionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.Builder, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequestOrBuilder> + requestBuilder_; + /** + * + * + *
+       * The request of the interaction.
+       * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; + * + * @return Whether the request field is set. + */ + public boolean hasRequest() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+       * The request of the interaction.
+       * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; + * + * @return The request. + */ + public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest getRequest() { + if (requestBuilder_ == null) { + return request_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.getDefaultInstance() + : request_; + } else { + return requestBuilder_.getMessage(); + } + } + /** + * + * + *
+       * The request of the interaction.
+       * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; + */ + public Builder setRequest(com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest value) { + if (requestBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + request_ = value; + } else { + requestBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * The request of the interaction.
+       * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; + */ + public Builder setRequest( + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.Builder builderForValue) { + if (requestBuilder_ == null) { + request_ = builderForValue.build(); + } else { + requestBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * The request of the interaction.
+       * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; + */ + public Builder mergeRequest( + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest value) { + if (requestBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && request_ != null + && request_ + != com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest + .getDefaultInstance()) { + getRequestBuilder().mergeFrom(value); + } else { + request_ = value; + } + } else { + requestBuilder_.mergeFrom(value); + } + if (request_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * + * + *
+       * The request of the interaction.
+       * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; + */ + public Builder clearRequest() { + bitField0_ = (bitField0_ & ~0x00000001); + request_ = null; + if (requestBuilder_ != null) { + requestBuilder_.dispose(); + requestBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * The request of the interaction.
+       * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; + */ + public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.Builder + getRequestBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getRequestFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * The request of the interaction.
+       * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; + */ + public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequestOrBuilder + getRequestOrBuilder() { + if (requestBuilder_ != null) { + return requestBuilder_.getMessageOrBuilder(); + } else { + return request_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.getDefaultInstance() + : request_; + } + } + /** + * + * + *
+       * The request of the interaction.
+       * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest request = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.Builder, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequestOrBuilder> + getRequestFieldBuilder() { + if (requestBuilder_ == null) { + requestBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequest.Builder, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentRequestOrBuilder>( + getRequest(), getParentForChildren(), isClean()); + request_ = null; + } + return requestBuilder_; + } + + private com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.Builder, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseOrBuilder> + responseBuilder_; + /** + * + * + *
+       * The final response of the interaction.
+       * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; + * + * @return Whether the response field is set. + */ + public boolean hasResponse() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+       * The final response of the interaction.
+       * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; + * + * @return The response. + */ + public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse getResponse() { + if (responseBuilder_ == null) { + return response_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.getDefaultInstance() + : response_; + } else { + return responseBuilder_.getMessage(); + } + } + /** + * + * + *
+       * The final response of the interaction.
+       * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; + */ + public Builder setResponse( + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse value) { + if (responseBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + response_ = value; + } else { + responseBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * The final response of the interaction.
+       * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; + */ + public Builder setResponse( + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.Builder builderForValue) { + if (responseBuilder_ == null) { + response_ = builderForValue.build(); + } else { + responseBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * The final response of the interaction.
+       * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; + */ + public Builder mergeResponse( + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse value) { + if (responseBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && response_ != null + && response_ + != com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse + .getDefaultInstance()) { + getResponseBuilder().mergeFrom(value); + } else { + response_ = value; + } + } else { + responseBuilder_.mergeFrom(value); + } + if (response_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * + * + *
+       * The final response of the interaction.
+       * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; + */ + public Builder clearResponse() { + bitField0_ = (bitField0_ & ~0x00000002); + response_ = null; + if (responseBuilder_ != null) { + responseBuilder_.dispose(); + responseBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * The final response of the interaction.
+       * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; + */ + public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.Builder + getResponseBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getResponseFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * The final response of the interaction.
+       * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; + */ + public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseOrBuilder + getResponseOrBuilder() { + if (responseBuilder_ != null) { + return responseBuilder_.getMessageOrBuilder(); + } else { + return response_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.getDefaultInstance() + : response_; + } + } + /** + * + * + *
+       * The final response of the interaction.
+       * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse response = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.Builder, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseOrBuilder> + getResponseFieldBuilder() { + if (responseBuilder_ == null) { + responseBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.Builder, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseOrBuilder>( + getResponse(), getParentForChildren(), isClean()); + response_ = null; + } + return responseBuilder_; + } + + private java.util.List + partialResponses_ = java.util.Collections.emptyList(); + + private void ensurePartialResponsesIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + partialResponses_ = + new java.util.ArrayList( + partialResponses_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.Builder, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseOrBuilder> + partialResponsesBuilder_; + + /** + * + * + *
+       * The partial responses of the interaction. Empty if there is no partial
+       * response in the interaction.
+       * See the
+       * [partial response
+       * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + public java.util.List + getPartialResponsesList() { + if (partialResponsesBuilder_ == null) { + return java.util.Collections.unmodifiableList(partialResponses_); + } else { + return partialResponsesBuilder_.getMessageList(); + } + } + /** + * + * + *
+       * The partial responses of the interaction. Empty if there is no partial
+       * response in the interaction.
+       * See the
+       * [partial response
+       * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + public int getPartialResponsesCount() { + if (partialResponsesBuilder_ == null) { + return partialResponses_.size(); + } else { + return partialResponsesBuilder_.getCount(); + } + } + /** + * + * + *
+       * The partial responses of the interaction. Empty if there is no partial
+       * response in the interaction.
+       * See the
+       * [partial response
+       * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse getPartialResponses( + int index) { + if (partialResponsesBuilder_ == null) { + return partialResponses_.get(index); + } else { + return partialResponsesBuilder_.getMessage(index); + } + } + /** + * + * + *
+       * The partial responses of the interaction. Empty if there is no partial
+       * response in the interaction.
+       * See the
+       * [partial response
+       * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + public Builder setPartialResponses( + int index, com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse value) { + if (partialResponsesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePartialResponsesIsMutable(); + partialResponses_.set(index, value); + onChanged(); + } else { + partialResponsesBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+       * The partial responses of the interaction. Empty if there is no partial
+       * response in the interaction.
+       * See the
+       * [partial response
+       * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + public Builder setPartialResponses( + int index, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.Builder builderForValue) { + if (partialResponsesBuilder_ == null) { + ensurePartialResponsesIsMutable(); + partialResponses_.set(index, builderForValue.build()); + onChanged(); + } else { + partialResponsesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * The partial responses of the interaction. Empty if there is no partial
+       * response in the interaction.
+       * See the
+       * [partial response
+       * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + public Builder addPartialResponses( + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse value) { + if (partialResponsesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePartialResponsesIsMutable(); + partialResponses_.add(value); + onChanged(); + } else { + partialResponsesBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+       * The partial responses of the interaction. Empty if there is no partial
+       * response in the interaction.
+       * See the
+       * [partial response
+       * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + public Builder addPartialResponses( + int index, com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse value) { + if (partialResponsesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePartialResponsesIsMutable(); + partialResponses_.add(index, value); + onChanged(); + } else { + partialResponsesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+       * The partial responses of the interaction. Empty if there is no partial
+       * response in the interaction.
+       * See the
+       * [partial response
+       * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + public Builder addPartialResponses( + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.Builder builderForValue) { + if (partialResponsesBuilder_ == null) { + ensurePartialResponsesIsMutable(); + partialResponses_.add(builderForValue.build()); + onChanged(); + } else { + partialResponsesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * The partial responses of the interaction. Empty if there is no partial
+       * response in the interaction.
+       * See the
+       * [partial response
+       * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + public Builder addPartialResponses( + int index, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.Builder builderForValue) { + if (partialResponsesBuilder_ == null) { + ensurePartialResponsesIsMutable(); + partialResponses_.add(index, builderForValue.build()); + onChanged(); + } else { + partialResponsesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * The partial responses of the interaction. Empty if there is no partial
+       * response in the interaction.
+       * See the
+       * [partial response
+       * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + public Builder addAllPartialResponses( + java.lang.Iterable + values) { + if (partialResponsesBuilder_ == null) { + ensurePartialResponsesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partialResponses_); + onChanged(); + } else { + partialResponsesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+       * The partial responses of the interaction. Empty if there is no partial
+       * response in the interaction.
+       * See the
+       * [partial response
+       * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + public Builder clearPartialResponses() { + if (partialResponsesBuilder_ == null) { + partialResponses_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + partialResponsesBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * The partial responses of the interaction. Empty if there is no partial
+       * response in the interaction.
+       * See the
+       * [partial response
+       * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + public Builder removePartialResponses(int index) { + if (partialResponsesBuilder_ == null) { + ensurePartialResponsesIsMutable(); + partialResponses_.remove(index); + onChanged(); + } else { + partialResponsesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+       * The partial responses of the interaction. Empty if there is no partial
+       * response in the interaction.
+       * See the
+       * [partial response
+       * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.Builder + getPartialResponsesBuilder(int index) { + return getPartialResponsesFieldBuilder().getBuilder(index); + } + /** + * + * + *
+       * The partial responses of the interaction. Empty if there is no partial
+       * response in the interaction.
+       * See the
+       * [partial response
+       * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseOrBuilder + getPartialResponsesOrBuilder(int index) { + if (partialResponsesBuilder_ == null) { + return partialResponses_.get(index); + } else { + return partialResponsesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+       * The partial responses of the interaction. Empty if there is no partial
+       * response in the interaction.
+       * See the
+       * [partial response
+       * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + public java.util.List< + ? extends com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseOrBuilder> + getPartialResponsesOrBuilderList() { + if (partialResponsesBuilder_ != null) { + return partialResponsesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(partialResponses_); + } + } + /** + * + * + *
+       * The partial responses of the interaction. Empty if there is no partial
+       * response in the interaction.
+       * See the
+       * [partial response
+       * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.Builder + addPartialResponsesBuilder() { + return getPartialResponsesFieldBuilder() + .addBuilder( + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.getDefaultInstance()); + } + /** + * + * + *
+       * The partial responses of the interaction. Empty if there is no partial
+       * response in the interaction.
+       * See the
+       * [partial response
+       * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.Builder + addPartialResponsesBuilder(int index) { + return getPartialResponsesFieldBuilder() + .addBuilder( + index, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.getDefaultInstance()); + } + /** + * + * + *
+       * The partial responses of the interaction. Empty if there is no partial
+       * response in the interaction.
+       * See the
+       * [partial response
+       * documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue].
+       * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse partial_responses = 3; + * + */ + public java.util.List + getPartialResponsesBuilderList() { + return getPartialResponsesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.Builder, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseOrBuilder> + getPartialResponsesFieldBuilder() { + if (partialResponsesBuilder_ == null) { + partialResponsesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.Builder, + com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseOrBuilder>( + partialResponses_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + partialResponses_ = null; + } + return partialResponsesBuilder_; + } + + private java.lang.Object requestUtterances_ = ""; + /** + * + * + *
+       * The input text or the transcript of the input audio in the request.
+       * 
+ * + * string request_utterances = 4; + * + * @return The requestUtterances. + */ + public java.lang.String getRequestUtterances() { + java.lang.Object ref = requestUtterances_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestUtterances_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * The input text or the transcript of the input audio in the request.
+       * 
+ * + * string request_utterances = 4; + * + * @return The bytes for requestUtterances. + */ + public com.google.protobuf.ByteString getRequestUtterancesBytes() { + java.lang.Object ref = requestUtterances_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestUtterances_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * The input text or the transcript of the input audio in the request.
+       * 
+ * + * string request_utterances = 4; + * + * @param value The requestUtterances to set. + * @return This builder for chaining. + */ + public Builder setRequestUtterances(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestUtterances_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+       * The input text or the transcript of the input audio in the request.
+       * 
+ * + * string request_utterances = 4; + * + * @return This builder for chaining. + */ + public Builder clearRequestUtterances() { + requestUtterances_ = getDefaultInstance().getRequestUtterances(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+       * The input text or the transcript of the input audio in the request.
+       * 
+ * + * string request_utterances = 4; + * + * @param value The bytes for requestUtterances to set. + * @return This builder for chaining. + */ + public Builder setRequestUtterancesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestUtterances_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object responseUtterances_ = ""; + /** + * + * + *
+       * The output text or the transcript of the output audio in the responses.
+       * If multiple output messages are returned, they will be concatenated into
+       * one.
+       * 
+ * + * string response_utterances = 5; + * + * @return The responseUtterances. + */ + public java.lang.String getResponseUtterances() { + java.lang.Object ref = responseUtterances_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + responseUtterances_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * The output text or the transcript of the output audio in the responses.
+       * If multiple output messages are returned, they will be concatenated into
+       * one.
+       * 
+ * + * string response_utterances = 5; + * + * @return The bytes for responseUtterances. + */ + public com.google.protobuf.ByteString getResponseUtterancesBytes() { + java.lang.Object ref = responseUtterances_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + responseUtterances_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * The output text or the transcript of the output audio in the responses.
+       * If multiple output messages are returned, they will be concatenated into
+       * one.
+       * 
+ * + * string response_utterances = 5; + * + * @param value The responseUtterances to set. + * @return This builder for chaining. + */ + public Builder setResponseUtterances(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + responseUtterances_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+       * The output text or the transcript of the output audio in the responses.
+       * If multiple output messages are returned, they will be concatenated into
+       * one.
+       * 
+ * + * string response_utterances = 5; + * + * @return This builder for chaining. + */ + public Builder clearResponseUtterances() { + responseUtterances_ = getDefaultInstance().getResponseUtterances(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+       * The output text or the transcript of the output audio in the responses.
+       * If multiple output messages are returned, they will be concatenated into
+       * one.
+       * 
+ * + * string response_utterances = 5; + * + * @param value The bytes for responseUtterances to set. + * @return This builder for chaining. + */ + public Builder setResponseUtterancesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + responseUtterances_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; + /** + * + * + *
+       * The time that the interaction was created.
+       * 
+ * + * .google.protobuf.Timestamp create_time = 6; + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+       * The time that the interaction was created.
+       * 
+ * + * .google.protobuf.Timestamp create_time = 6; + * + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+       * The time that the interaction was created.
+       * 
+ * + * .google.protobuf.Timestamp create_time = 6; + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + } else { + createTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+       * The time that the interaction was created.
+       * 
+ * + * .google.protobuf.Timestamp create_time = 6; + */ + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+       * The time that the interaction was created.
+       * 
+ * + * .google.protobuf.Timestamp create_time = 6; + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreateTimeBuilder().mergeFrom(value); + } else { + createTime_ = value; + } + } else { + createTimeBuilder_.mergeFrom(value); + } + if (createTime_ != null) { + bitField0_ |= 0x00000020; + onChanged(); + } + return this; + } + /** + * + * + *
+       * The time that the interaction was created.
+       * 
+ * + * .google.protobuf.Timestamp create_time = 6; + */ + public Builder clearCreateTime() { + bitField0_ = (bitField0_ & ~0x00000020); + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * The time that the interaction was created.
+       * 
+ * + * .google.protobuf.Timestamp create_time = 6; + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * The time that the interaction was created.
+       * 
+ * + * .google.protobuf.Timestamp create_time = 6; + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } + } + /** + * + * + *
+       * The time that the interaction was created.
+       * 
+ * + * .google.protobuf.Timestamp create_time = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + + private com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + missingTransition_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + .Builder, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransitionOrBuilder> + missingTransitionBuilder_; + /** + * + * + *
+       * Missing transition predicted for the interaction. This field is set only
+       * if the interaction match type was no-match.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8; + * + * + * @return Whether the missingTransition field is set. + */ + public boolean hasMissingTransition() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+       * Missing transition predicted for the interaction. This field is set only
+       * if the interaction match type was no-match.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8; + * + * + * @return The missingTransition. + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + getMissingTransition() { + if (missingTransitionBuilder_ == null) { + return missingTransition_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + .getDefaultInstance() + : missingTransition_; + } else { + return missingTransitionBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Missing transition predicted for the interaction. This field is set only
+       * if the interaction match type was no-match.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8; + * + */ + public Builder setMissingTransition( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition value) { + if (missingTransitionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + missingTransition_ = value; + } else { + missingTransitionBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+       * Missing transition predicted for the interaction. This field is set only
+       * if the interaction match type was no-match.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8; + * + */ + public Builder setMissingTransition( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition.Builder + builderForValue) { + if (missingTransitionBuilder_ == null) { + missingTransition_ = builderForValue.build(); + } else { + missingTransitionBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+       * Missing transition predicted for the interaction. This field is set only
+       * if the interaction match type was no-match.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8; + * + */ + public Builder mergeMissingTransition( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition value) { + if (missingTransitionBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) + && missingTransition_ != null + && missingTransition_ + != com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransition.getDefaultInstance()) { + getMissingTransitionBuilder().mergeFrom(value); + } else { + missingTransition_ = value; + } + } else { + missingTransitionBuilder_.mergeFrom(value); + } + if (missingTransition_ != null) { + bitField0_ |= 0x00000040; + onChanged(); + } + return this; + } + /** + * + * + *
+       * Missing transition predicted for the interaction. This field is set only
+       * if the interaction match type was no-match.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8; + * + */ + public Builder clearMissingTransition() { + bitField0_ = (bitField0_ & ~0x00000040); + missingTransition_ = null; + if (missingTransitionBuilder_ != null) { + missingTransitionBuilder_.dispose(); + missingTransitionBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Missing transition predicted for the interaction. This field is set only
+       * if the interaction match type was no-match.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + .Builder + getMissingTransitionBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getMissingTransitionFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Missing transition predicted for the interaction. This field is set only
+       * if the interaction match type was no-match.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransitionOrBuilder + getMissingTransitionOrBuilder() { + if (missingTransitionBuilder_ != null) { + return missingTransitionBuilder_.getMessageOrBuilder(); + } else { + return missingTransition_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + .getDefaultInstance() + : missingTransition_; + } + } + /** + * + * + *
+       * Missing transition predicted for the interaction. This field is set only
+       * if the interaction match type was no-match.
+       * 
+ * + * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition missing_transition = 8; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + .Builder, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransitionOrBuilder> + getMissingTransitionFieldBuilder() { + if (missingTransitionBuilder_ == null) { + missingTransitionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.MissingTransition + .Builder, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + .MissingTransitionOrBuilder>( + getMissingTransition(), getParentForChildren(), isClean()); + missingTransition_ = null; + } + return missingTransitionBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction) + private static final com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Interaction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int bitField0_; + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Identifier. The identifier of the conversation.
+   * If conversation ID is reused, interactions happened later than 48 hours of
+   * the conversation's create time will be ignored. Format:
+   * `projects/<ProjectID>/locations/<Location ID>/agents/<Agent
+   * ID>/conversations/<Conversation ID>`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Identifier. The identifier of the conversation.
+   * If conversation ID is reused, interactions happened later than 48 hours of
+   * the conversation's create time will be ignored. Format:
+   * `projects/<ProjectID>/locations/<Location ID>/agents/<Agent
+   * ID>/conversations/<Conversation ID>`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TYPE_FIELD_NUMBER = 2; + private int type_ = 0; + /** + * + * + *
+   * The type of the conversation.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2; + * + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override + public int getTypeValue() { + return type_; + } + /** + * + * + *
+   * The type of the conversation.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2; + * + * @return The type. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Type getType() { + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Type result = + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Type.forNumber(type_); + return result == null + ? com.google.cloud.dialogflow.cx.v3beta1.Conversation.Type.UNRECOGNIZED + : result; + } + + public static final int LANGUAGE_CODE_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object languageCode_ = ""; + /** + * + * + *
+   * The language of the conversation, which is the language of the first
+   * request in the conversation.
+   * 
+ * + * string language_code = 3; + * + * @return The languageCode. + */ + @java.lang.Override + public java.lang.String getLanguageCode() { + java.lang.Object ref = languageCode_; + 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(); + languageCode_ = s; + return s; + } + } + /** + * + * + *
+   * The language of the conversation, which is the language of the first
+   * request in the conversation.
+   * 
+ * + * string language_code = 3; + * + * @return The bytes for languageCode. + */ + @java.lang.Override + public com.google.protobuf.ByteString getLanguageCodeBytes() { + java.lang.Object ref = languageCode_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + languageCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int START_TIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp startTime_; + /** + * + * + *
+   * Start time of the conversation, which is the time of the first request of
+   * the conversation.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4; + * + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Start time of the conversation, which is the time of the first request of
+   * the conversation.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4; + * + * @return The startTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getStartTime() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + /** + * + * + *
+   * Start time of the conversation, which is the time of the first request of
+   * the conversation.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + + public static final int DURATION_FIELD_NUMBER = 5; + private com.google.protobuf.Duration duration_; + /** + * + * + *
+   * Duration of the conversation.
+   * 
+ * + * .google.protobuf.Duration duration = 5; + * + * @return Whether the duration field is set. + */ + @java.lang.Override + public boolean hasDuration() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * Duration of the conversation.
+   * 
+ * + * .google.protobuf.Duration duration = 5; + * + * @return The duration. + */ + @java.lang.Override + public com.google.protobuf.Duration getDuration() { + return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; + } + /** + * + * + *
+   * Duration of the conversation.
+   * 
+ * + * .google.protobuf.Duration duration = 5; + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { + return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; + } + + public static final int METRICS_FIELD_NUMBER = 6; + private com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics_; + /** + * + * + *
+   * Conversation metrics.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6; + * + * @return Whether the metrics field is set. + */ + @java.lang.Override + public boolean hasMetrics() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * Conversation metrics.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6; + * + * @return The metrics. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics getMetrics() { + return metrics_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.getDefaultInstance() + : metrics_; + } + /** + * + * + *
+   * Conversation metrics.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6; + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.MetricsOrBuilder + getMetricsOrBuilder() { + return metrics_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.getDefaultInstance() + : metrics_; + } + + public static final int INTENTS_FIELD_NUMBER = 7; + + @SuppressWarnings("serial") + private java.util.List intents_; + /** + * + * + *
+   * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+   * conversation. Only `name` and `display_name` are filled in this message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + @java.lang.Override + public java.util.List getIntentsList() { + return intents_; + } + /** + * + * + *
+   * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+   * conversation. Only `name` and `display_name` are filled in this message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + @java.lang.Override + public java.util.List + getIntentsOrBuilderList() { + return intents_; + } + /** + * + * + *
+   * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+   * conversation. Only `name` and `display_name` are filled in this message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + @java.lang.Override + public int getIntentsCount() { + return intents_.size(); + } + /** + * + * + *
+   * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+   * conversation. Only `name` and `display_name` are filled in this message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Intent getIntents(int index) { + return intents_.get(index); + } + /** + * + * + *
+   * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+   * conversation. Only `name` and `display_name` are filled in this message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.IntentOrBuilder getIntentsOrBuilder(int index) { + return intents_.get(index); + } + + public static final int FLOWS_FIELD_NUMBER = 8; + + @SuppressWarnings("serial") + private java.util.List flows_; + /** + * + * + *
+   * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + @java.lang.Override + public java.util.List getFlowsList() { + return flows_; + } + /** + * + * + *
+   * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + @java.lang.Override + public java.util.List + getFlowsOrBuilderList() { + return flows_; + } + /** + * + * + *
+   * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + @java.lang.Override + public int getFlowsCount() { + return flows_.size(); + } + /** + * + * + *
+   * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Flow getFlows(int index) { + return flows_.get(index); + } + /** + * + * + *
+   * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.FlowOrBuilder getFlowsOrBuilder(int index) { + return flows_.get(index); + } + + public static final int PAGES_FIELD_NUMBER = 9; + + @SuppressWarnings("serial") + private java.util.List pages_; + /** + * + * + *
+   * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + @java.lang.Override + public java.util.List getPagesList() { + return pages_; + } + /** + * + * + *
+   * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + @java.lang.Override + public java.util.List + getPagesOrBuilderList() { + return pages_; + } + /** + * + * + *
+   * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + @java.lang.Override + public int getPagesCount() { + return pages_.size(); + } + /** + * + * + *
+   * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Page getPages(int index) { + return pages_.get(index); + } + /** + * + * + *
+   * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder getPagesOrBuilder(int index) { + return pages_.get(index); + } + + public static final int INTERACTIONS_FIELD_NUMBER = 10; + + @SuppressWarnings("serial") + private java.util.List + interactions_; + /** + * + * + *
+   * Interactions of the conversation.
+   * Only populated for `GetConversation` and empty for `ListConversations`.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + @java.lang.Override + public java.util.List + getInteractionsList() { + return interactions_; + } + /** + * + * + *
+   * Interactions of the conversation.
+   * Only populated for `GetConversation` and empty for `ListConversations`.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + @java.lang.Override + public java.util.List< + ? extends com.google.cloud.dialogflow.cx.v3beta1.Conversation.InteractionOrBuilder> + getInteractionsOrBuilderList() { + return interactions_; + } + /** + * + * + *
+   * Interactions of the conversation.
+   * Only populated for `GetConversation` and empty for `ListConversations`.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + @java.lang.Override + public int getInteractionsCount() { + return interactions_.size(); + } + /** + * + * + *
+   * Interactions of the conversation.
+   * Only populated for `GetConversation` and empty for `ListConversations`.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction getInteractions( + int index) { + return interactions_.get(index); + } + /** + * + * + *
+   * Interactions of the conversation.
+   * Only populated for `GetConversation` and empty for `ListConversations`.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.InteractionOrBuilder + getInteractionsOrBuilder(int index) { + return interactions_.get(index); + } + + public static final int ENVIRONMENT_FIELD_NUMBER = 11; + private com.google.cloud.dialogflow.cx.v3beta1.Environment environment_; + /** + * + * + *
+   * Environment of the conversation.
+   * Only `name` and `display_name` are filled in this message.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Environment environment = 11; + * + * @return Whether the environment field is set. + */ + @java.lang.Override + public boolean hasEnvironment() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+   * Environment of the conversation.
+   * Only `name` and `display_name` are filled in this message.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Environment environment = 11; + * + * @return The environment. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Environment getEnvironment() { + return environment_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Environment.getDefaultInstance() + : environment_; + } + /** + * + * + *
+   * Environment of the conversation.
+   * Only `name` and `display_name` are filled in this message.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Environment environment = 11; + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.EnvironmentOrBuilder getEnvironmentOrBuilder() { + return environment_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Environment.getDefaultInstance() + : environment_; + } + + public static final int FLOW_VERSIONS_FIELD_NUMBER = 12; + + private static final class FlowVersionsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_FlowVersionsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT64, + 0L); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField flowVersions_; + + private com.google.protobuf.MapField internalGetFlowVersions() { + if (flowVersions_ == null) { + return com.google.protobuf.MapField.emptyMapField( + FlowVersionsDefaultEntryHolder.defaultEntry); + } + return flowVersions_; + } + + public int getFlowVersionsCount() { + return internalGetFlowVersions().getMap().size(); + } + /** + * + * + *
+   * Flow versions used in the conversation.
+   * 
+ * + * map<string, int64> flow_versions = 12; + */ + @java.lang.Override + public boolean containsFlowVersions(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetFlowVersions().getMap().containsKey(key); + } + /** Use {@link #getFlowVersionsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getFlowVersions() { + return getFlowVersionsMap(); + } + /** + * + * + *
+   * Flow versions used in the conversation.
+   * 
+ * + * map<string, int64> flow_versions = 12; + */ + @java.lang.Override + public java.util.Map getFlowVersionsMap() { + return internalGetFlowVersions().getMap(); + } + /** + * + * + *
+   * Flow versions used in the conversation.
+   * 
+ * + * map<string, int64> flow_versions = 12; + */ + @java.lang.Override + public long getFlowVersionsOrDefault(java.lang.String key, long defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetFlowVersions().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * Flow versions used in the conversation.
+   * 
+ * + * map<string, int64> flow_versions = 12; + */ + @java.lang.Override + public long getFlowVersionsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetFlowVersions().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (type_ + != com.google.cloud.dialogflow.cx.v3beta1.Conversation.Type.TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(2, type_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, languageCode_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(4, getStartTime()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(5, getDuration()); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(6, getMetrics()); + } + for (int i = 0; i < intents_.size(); i++) { + output.writeMessage(7, intents_.get(i)); + } + for (int i = 0; i < flows_.size(); i++) { + output.writeMessage(8, flows_.get(i)); + } + for (int i = 0; i < pages_.size(); i++) { + output.writeMessage(9, pages_.get(i)); + } + for (int i = 0; i < interactions_.size(); i++) { + output.writeMessage(10, interactions_.get(i)); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(11, getEnvironment()); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetFlowVersions(), FlowVersionsDefaultEntryHolder.defaultEntry, 12); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (type_ + != com.google.cloud.dialogflow.cx.v3beta1.Conversation.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, languageCode_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartTime()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDuration()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMetrics()); + } + for (int i = 0; i < intents_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, intents_.get(i)); + } + for (int i = 0; i < flows_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, flows_.get(i)); + } + for (int i = 0; i < pages_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, pages_.get(i)); + } + for (int i = 0; i < interactions_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, interactions_.get(i)); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getEnvironment()); + } + for (java.util.Map.Entry entry : + internalGetFlowVersions().getMap().entrySet()) { + com.google.protobuf.MapEntry flowVersions__ = + FlowVersionsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, flowVersions__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.Conversation)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.Conversation other = + (com.google.cloud.dialogflow.cx.v3beta1.Conversation) obj; + + if (!getName().equals(other.getName())) return false; + if (type_ != other.type_) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (hasStartTime() != other.hasStartTime()) return false; + if (hasStartTime()) { + if (!getStartTime().equals(other.getStartTime())) return false; + } + if (hasDuration() != other.hasDuration()) return false; + if (hasDuration()) { + if (!getDuration().equals(other.getDuration())) return false; + } + if (hasMetrics() != other.hasMetrics()) return false; + if (hasMetrics()) { + if (!getMetrics().equals(other.getMetrics())) return false; + } + if (!getIntentsList().equals(other.getIntentsList())) return false; + if (!getFlowsList().equals(other.getFlowsList())) return false; + if (!getPagesList().equals(other.getPagesList())) return false; + if (!getInteractionsList().equals(other.getInteractionsList())) return false; + if (hasEnvironment() != other.hasEnvironment()) return false; + if (hasEnvironment()) { + if (!getEnvironment().equals(other.getEnvironment())) return false; + } + if (!internalGetFlowVersions().equals(other.internalGetFlowVersions())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; + hash = (37 * hash) + LANGUAGE_CODE_FIELD_NUMBER; + hash = (53 * hash) + getLanguageCode().hashCode(); + if (hasStartTime()) { + hash = (37 * hash) + START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getStartTime().hashCode(); + } + if (hasDuration()) { + hash = (37 * hash) + DURATION_FIELD_NUMBER; + hash = (53 * hash) + getDuration().hashCode(); + } + if (hasMetrics()) { + hash = (37 * hash) + METRICS_FIELD_NUMBER; + hash = (53 * hash) + getMetrics().hashCode(); + } + if (getIntentsCount() > 0) { + hash = (37 * hash) + INTENTS_FIELD_NUMBER; + hash = (53 * hash) + getIntentsList().hashCode(); + } + if (getFlowsCount() > 0) { + hash = (37 * hash) + FLOWS_FIELD_NUMBER; + hash = (53 * hash) + getFlowsList().hashCode(); + } + if (getPagesCount() > 0) { + hash = (37 * hash) + PAGES_FIELD_NUMBER; + hash = (53 * hash) + getPagesList().hashCode(); + } + if (getInteractionsCount() > 0) { + hash = (37 * hash) + INTERACTIONS_FIELD_NUMBER; + hash = (53 * hash) + getInteractionsList().hashCode(); + } + if (hasEnvironment()) { + hash = (37 * hash) + ENVIRONMENT_FIELD_NUMBER; + hash = (53 * hash) + getEnvironment().hashCode(); + } + if (!internalGetFlowVersions().getMap().isEmpty()) { + hash = (37 * hash) + FLOW_VERSIONS_FIELD_NUMBER; + hash = (53 * hash) + internalGetFlowVersions().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.dialogflow.cx.v3beta1.Conversation prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents a conversation.
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.Conversation} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.Conversation) + com.google.cloud.dialogflow.cx.v3beta1.ConversationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 12: + return internalGetFlowVersions(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 12: + return internalGetMutableFlowVersions(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.class, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.cx.v3beta1.Conversation.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getStartTimeFieldBuilder(); + getDurationFieldBuilder(); + getMetricsFieldBuilder(); + getIntentsFieldBuilder(); + getFlowsFieldBuilder(); + getPagesFieldBuilder(); + getInteractionsFieldBuilder(); + getEnvironmentFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + type_ = 0; + languageCode_ = ""; + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + duration_ = null; + if (durationBuilder_ != null) { + durationBuilder_.dispose(); + durationBuilder_ = null; + } + metrics_ = null; + if (metricsBuilder_ != null) { + metricsBuilder_.dispose(); + metricsBuilder_ = null; + } + if (intentsBuilder_ == null) { + intents_ = java.util.Collections.emptyList(); + } else { + intents_ = null; + intentsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000040); + if (flowsBuilder_ == null) { + flows_ = java.util.Collections.emptyList(); + } else { + flows_ = null; + flowsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000080); + if (pagesBuilder_ == null) { + pages_ = java.util.Collections.emptyList(); + } else { + pages_ = null; + pagesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000100); + if (interactionsBuilder_ == null) { + interactions_ = java.util.Collections.emptyList(); + } else { + interactions_ = null; + interactionsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000200); + environment_ = null; + if (environmentBuilder_ != null) { + environmentBuilder_.dispose(); + environmentBuilder_ = null; + } + internalGetMutableFlowVersions().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.Conversation.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation build() { + com.google.cloud.dialogflow.cx.v3beta1.Conversation result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.Conversation result = + new com.google.cloud.dialogflow.cx.v3beta1.Conversation(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.dialogflow.cx.v3beta1.Conversation result) { + if (intentsBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0)) { + intents_ = java.util.Collections.unmodifiableList(intents_); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.intents_ = intents_; + } else { + result.intents_ = intentsBuilder_.build(); + } + if (flowsBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0)) { + flows_ = java.util.Collections.unmodifiableList(flows_); + bitField0_ = (bitField0_ & ~0x00000080); + } + result.flows_ = flows_; + } else { + result.flows_ = flowsBuilder_.build(); + } + if (pagesBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0)) { + pages_ = java.util.Collections.unmodifiableList(pages_); + bitField0_ = (bitField0_ & ~0x00000100); + } + result.pages_ = pages_; + } else { + result.pages_ = pagesBuilder_.build(); + } + if (interactionsBuilder_ == null) { + if (((bitField0_ & 0x00000200) != 0)) { + interactions_ = java.util.Collections.unmodifiableList(interactions_); + bitField0_ = (bitField0_ & ~0x00000200); + } + result.interactions_ = interactions_; + } else { + result.interactions_ = interactionsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.dialogflow.cx.v3beta1.Conversation result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.type_ = type_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.languageCode_ = languageCode_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.duration_ = durationBuilder_ == null ? duration_ : durationBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.metrics_ = metricsBuilder_ == null ? metrics_ : metricsBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.environment_ = + environmentBuilder_ == null ? environment_ : environmentBuilder_.build(); + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.flowVersions_ = internalGetFlowVersions(); + result.flowVersions_.makeImmutable(); + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.cx.v3beta1.Conversation) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.Conversation) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.Conversation other) { + if (other == com.google.cloud.dialogflow.cx.v3beta1.Conversation.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.type_ != 0) { + setTypeValue(other.getTypeValue()); + } + if (!other.getLanguageCode().isEmpty()) { + languageCode_ = other.languageCode_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.hasStartTime()) { + mergeStartTime(other.getStartTime()); + } + if (other.hasDuration()) { + mergeDuration(other.getDuration()); + } + if (other.hasMetrics()) { + mergeMetrics(other.getMetrics()); + } + if (intentsBuilder_ == null) { + if (!other.intents_.isEmpty()) { + if (intents_.isEmpty()) { + intents_ = other.intents_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensureIntentsIsMutable(); + intents_.addAll(other.intents_); + } + onChanged(); + } + } else { + if (!other.intents_.isEmpty()) { + if (intentsBuilder_.isEmpty()) { + intentsBuilder_.dispose(); + intentsBuilder_ = null; + intents_ = other.intents_; + bitField0_ = (bitField0_ & ~0x00000040); + intentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIntentsFieldBuilder() + : null; + } else { + intentsBuilder_.addAllMessages(other.intents_); + } + } + } + if (flowsBuilder_ == null) { + if (!other.flows_.isEmpty()) { + if (flows_.isEmpty()) { + flows_ = other.flows_; + bitField0_ = (bitField0_ & ~0x00000080); + } else { + ensureFlowsIsMutable(); + flows_.addAll(other.flows_); + } + onChanged(); + } + } else { + if (!other.flows_.isEmpty()) { + if (flowsBuilder_.isEmpty()) { + flowsBuilder_.dispose(); + flowsBuilder_ = null; + flows_ = other.flows_; + bitField0_ = (bitField0_ & ~0x00000080); + flowsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFlowsFieldBuilder() + : null; + } else { + flowsBuilder_.addAllMessages(other.flows_); + } + } + } + if (pagesBuilder_ == null) { + if (!other.pages_.isEmpty()) { + if (pages_.isEmpty()) { + pages_ = other.pages_; + bitField0_ = (bitField0_ & ~0x00000100); + } else { + ensurePagesIsMutable(); + pages_.addAll(other.pages_); + } + onChanged(); + } + } else { + if (!other.pages_.isEmpty()) { + if (pagesBuilder_.isEmpty()) { + pagesBuilder_.dispose(); + pagesBuilder_ = null; + pages_ = other.pages_; + bitField0_ = (bitField0_ & ~0x00000100); + pagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPagesFieldBuilder() + : null; + } else { + pagesBuilder_.addAllMessages(other.pages_); + } + } + } + if (interactionsBuilder_ == null) { + if (!other.interactions_.isEmpty()) { + if (interactions_.isEmpty()) { + interactions_ = other.interactions_; + bitField0_ = (bitField0_ & ~0x00000200); + } else { + ensureInteractionsIsMutable(); + interactions_.addAll(other.interactions_); + } + onChanged(); + } + } else { + if (!other.interactions_.isEmpty()) { + if (interactionsBuilder_.isEmpty()) { + interactionsBuilder_.dispose(); + interactionsBuilder_ = null; + interactions_ = other.interactions_; + bitField0_ = (bitField0_ & ~0x00000200); + interactionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getInteractionsFieldBuilder() + : null; + } else { + interactionsBuilder_.addAllMessages(other.interactions_); + } + } + } + if (other.hasEnvironment()) { + mergeEnvironment(other.getEnvironment()); + } + internalGetMutableFlowVersions().mergeFrom(other.internalGetFlowVersions()); + bitField0_ |= 0x00000800; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + languageCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getDurationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage(getMetricsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + com.google.cloud.dialogflow.cx.v3beta1.Intent m = + input.readMessage( + com.google.cloud.dialogflow.cx.v3beta1.Intent.parser(), extensionRegistry); + if (intentsBuilder_ == null) { + ensureIntentsIsMutable(); + intents_.add(m); + } else { + intentsBuilder_.addMessage(m); + } + break; + } // case 58 + case 66: + { + com.google.cloud.dialogflow.cx.v3beta1.Flow m = + input.readMessage( + com.google.cloud.dialogflow.cx.v3beta1.Flow.parser(), extensionRegistry); + if (flowsBuilder_ == null) { + ensureFlowsIsMutable(); + flows_.add(m); + } else { + flowsBuilder_.addMessage(m); + } + break; + } // case 66 + case 74: + { + com.google.cloud.dialogflow.cx.v3beta1.Page m = + input.readMessage( + com.google.cloud.dialogflow.cx.v3beta1.Page.parser(), extensionRegistry); + if (pagesBuilder_ == null) { + ensurePagesIsMutable(); + pages_.add(m); + } else { + pagesBuilder_.addMessage(m); + } + break; + } // case 74 + case 82: + { + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction m = + input.readMessage( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.parser(), + extensionRegistry); + if (interactionsBuilder_ == null) { + ensureInteractionsIsMutable(); + interactions_.add(m); + } else { + interactionsBuilder_.addMessage(m); + } + break; + } // case 82 + case 90: + { + input.readMessage(getEnvironmentFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 98: + { + com.google.protobuf.MapEntry flowVersions__ = + input.readMessage( + FlowVersionsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableFlowVersions() + .getMutableMap() + .put(flowVersions__.getKey(), flowVersions__.getValue()); + bitField0_ |= 0x00000800; + break; + } // case 98 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Identifier. The identifier of the conversation.
+     * If conversation ID is reused, interactions happened later than 48 hours of
+     * the conversation's create time will be ignored. Format:
+     * `projects/<ProjectID>/locations/<Location ID>/agents/<Agent
+     * ID>/conversations/<Conversation ID>`
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Identifier. The identifier of the conversation.
+     * If conversation ID is reused, interactions happened later than 48 hours of
+     * the conversation's create time will be ignored. Format:
+     * `projects/<ProjectID>/locations/<Location ID>/agents/<Agent
+     * ID>/conversations/<Conversation ID>`
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Identifier. The identifier of the conversation.
+     * If conversation ID is reused, interactions happened later than 48 hours of
+     * the conversation's create time will be ignored. Format:
+     * `projects/<ProjectID>/locations/<Location ID>/agents/<Agent
+     * ID>/conversations/<Conversation ID>`
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Identifier. The identifier of the conversation.
+     * If conversation ID is reused, interactions happened later than 48 hours of
+     * the conversation's create time will be ignored. Format:
+     * `projects/<ProjectID>/locations/<Location ID>/agents/<Agent
+     * ID>/conversations/<Conversation ID>`
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Identifier. The identifier of the conversation.
+     * If conversation ID is reused, interactions happened later than 48 hours of
+     * the conversation's create time will be ignored. Format:
+     * `projects/<ProjectID>/locations/<Location ID>/agents/<Agent
+     * ID>/conversations/<Conversation ID>`
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int type_ = 0; + /** + * + * + *
+     * The type of the conversation.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2; + * + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override + public int getTypeValue() { + return type_; + } + /** + * + * + *
+     * The type of the conversation.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2; + * + * @param value The enum numeric value on the wire for type to set. + * @return This builder for chaining. + */ + public Builder setTypeValue(int value) { + type_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The type of the conversation.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2; + * + * @return The type. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Type getType() { + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Type result = + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Type.forNumber(type_); + return result == null + ? com.google.cloud.dialogflow.cx.v3beta1.Conversation.Type.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * The type of the conversation.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2; + * + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType(com.google.cloud.dialogflow.cx.v3beta1.Conversation.Type value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + type_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * The type of the conversation.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2; + * + * @return This builder for chaining. + */ + public Builder clearType() { + bitField0_ = (bitField0_ & ~0x00000002); + type_ = 0; + onChanged(); + return this; + } + + private java.lang.Object languageCode_ = ""; + /** + * + * + *
+     * The language of the conversation, which is the language of the first
+     * request in the conversation.
+     * 
+ * + * string language_code = 3; + * + * @return The languageCode. + */ + public java.lang.String getLanguageCode() { + java.lang.Object ref = languageCode_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + languageCode_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The language of the conversation, which is the language of the first
+     * request in the conversation.
+     * 
+ * + * string language_code = 3; + * + * @return The bytes for languageCode. + */ + public com.google.protobuf.ByteString getLanguageCodeBytes() { + java.lang.Object ref = languageCode_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + languageCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The language of the conversation, which is the language of the first
+     * request in the conversation.
+     * 
+ * + * string language_code = 3; + * + * @param value The languageCode to set. + * @return This builder for chaining. + */ + public Builder setLanguageCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + languageCode_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The language of the conversation, which is the language of the first
+     * request in the conversation.
+     * 
+ * + * string language_code = 3; + * + * @return This builder for chaining. + */ + public Builder clearLanguageCode() { + languageCode_ = getDefaultInstance().getLanguageCode(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * The language of the conversation, which is the language of the first
+     * request in the conversation.
+     * 
+ * + * string language_code = 3; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. + */ + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp startTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; + /** + * + * + *
+     * Start time of the conversation, which is the time of the first request of
+     * the conversation.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4; + * + * @return Whether the startTime field is set. + */ + public boolean hasStartTime() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Start time of the conversation, which is the time of the first request of
+     * the conversation.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4; + * + * @return The startTime. + */ + public com.google.protobuf.Timestamp getStartTime() { + if (startTimeBuilder_ == null) { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } else { + return startTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Start time of the conversation, which is the time of the first request of
+     * the conversation.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4; + */ + public Builder setStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startTime_ = value; + } else { + startTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Start time of the conversation, which is the time of the first request of
+     * the conversation.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4; + */ + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (startTimeBuilder_ == null) { + startTime_ = builderForValue.build(); + } else { + startTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Start time of the conversation, which is the time of the first request of
+     * the conversation.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4; + */ + public Builder mergeStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getStartTimeBuilder().mergeFrom(value); + } else { + startTime_ = value; + } + } else { + startTimeBuilder_.mergeFrom(value); + } + if (startTime_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Start time of the conversation, which is the time of the first request of
+     * the conversation.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4; + */ + public Builder clearStartTime() { + bitField0_ = (bitField0_ & ~0x00000008); + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Start time of the conversation, which is the time of the first request of
+     * the conversation.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4; + */ + public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getStartTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Start time of the conversation, which is the time of the first request of
+     * the conversation.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4; + */ + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + if (startTimeBuilder_ != null) { + return startTimeBuilder_.getMessageOrBuilder(); + } else { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + } + /** + * + * + *
+     * Start time of the conversation, which is the time of the first request of
+     * the conversation.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getStartTimeFieldBuilder() { + if (startTimeBuilder_ == null) { + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); + startTime_ = null; + } + return startTimeBuilder_; + } + + private com.google.protobuf.Duration duration_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + durationBuilder_; + /** + * + * + *
+     * Duration of the conversation.
+     * 
+ * + * .google.protobuf.Duration duration = 5; + * + * @return Whether the duration field is set. + */ + public boolean hasDuration() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * Duration of the conversation.
+     * 
+ * + * .google.protobuf.Duration duration = 5; + * + * @return The duration. + */ + public com.google.protobuf.Duration getDuration() { + if (durationBuilder_ == null) { + return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; + } else { + return durationBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Duration of the conversation.
+     * 
+ * + * .google.protobuf.Duration duration = 5; + */ + public Builder setDuration(com.google.protobuf.Duration value) { + if (durationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + duration_ = value; + } else { + durationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Duration of the conversation.
+     * 
+ * + * .google.protobuf.Duration duration = 5; + */ + public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) { + if (durationBuilder_ == null) { + duration_ = builderForValue.build(); + } else { + durationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Duration of the conversation.
+     * 
+ * + * .google.protobuf.Duration duration = 5; + */ + public Builder mergeDuration(com.google.protobuf.Duration value) { + if (durationBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && duration_ != null + && duration_ != com.google.protobuf.Duration.getDefaultInstance()) { + getDurationBuilder().mergeFrom(value); + } else { + duration_ = value; + } + } else { + durationBuilder_.mergeFrom(value); + } + if (duration_ != null) { + bitField0_ |= 0x00000010; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Duration of the conversation.
+     * 
+ * + * .google.protobuf.Duration duration = 5; + */ + public Builder clearDuration() { + bitField0_ = (bitField0_ & ~0x00000010); + duration_ = null; + if (durationBuilder_ != null) { + durationBuilder_.dispose(); + durationBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Duration of the conversation.
+     * 
+ * + * .google.protobuf.Duration duration = 5; + */ + public com.google.protobuf.Duration.Builder getDurationBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getDurationFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Duration of the conversation.
+     * 
+ * + * .google.protobuf.Duration duration = 5; + */ + public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { + if (durationBuilder_ != null) { + return durationBuilder_.getMessageOrBuilder(); + } else { + return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; + } + } + /** + * + * + *
+     * Duration of the conversation.
+     * 
+ * + * .google.protobuf.Duration duration = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + getDurationFieldBuilder() { + if (durationBuilder_ == null) { + durationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getDuration(), getParentForChildren(), isClean()); + duration_ = null; + } + return durationBuilder_; + } + + private com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.Builder, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.MetricsOrBuilder> + metricsBuilder_; + /** + * + * + *
+     * Conversation metrics.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6; + * + * @return Whether the metrics field is set. + */ + public boolean hasMetrics() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * Conversation metrics.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6; + * + * @return The metrics. + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics getMetrics() { + if (metricsBuilder_ == null) { + return metrics_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.getDefaultInstance() + : metrics_; + } else { + return metricsBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Conversation metrics.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6; + */ + public Builder setMetrics(com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics value) { + if (metricsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + metrics_ = value; + } else { + metricsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Conversation metrics.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6; + */ + public Builder setMetrics( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.Builder builderForValue) { + if (metricsBuilder_ == null) { + metrics_ = builderForValue.build(); + } else { + metricsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Conversation metrics.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6; + */ + public Builder mergeMetrics(com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics value) { + if (metricsBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && metrics_ != null + && metrics_ + != com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics + .getDefaultInstance()) { + getMetricsBuilder().mergeFrom(value); + } else { + metrics_ = value; + } + } else { + metricsBuilder_.mergeFrom(value); + } + if (metrics_ != null) { + bitField0_ |= 0x00000020; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Conversation metrics.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6; + */ + public Builder clearMetrics() { + bitField0_ = (bitField0_ & ~0x00000020); + metrics_ = null; + if (metricsBuilder_ != null) { + metricsBuilder_.dispose(); + metricsBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Conversation metrics.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.Builder getMetricsBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getMetricsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Conversation metrics.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.MetricsOrBuilder + getMetricsOrBuilder() { + if (metricsBuilder_ != null) { + return metricsBuilder_.getMessageOrBuilder(); + } else { + return metrics_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.getDefaultInstance() + : metrics_; + } + } + /** + * + * + *
+     * Conversation metrics.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.Builder, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.MetricsOrBuilder> + getMetricsFieldBuilder() { + if (metricsBuilder_ == null) { + metricsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics.Builder, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.MetricsOrBuilder>( + getMetrics(), getParentForChildren(), isClean()); + metrics_ = null; + } + return metricsBuilder_; + } + + private java.util.List intents_ = + java.util.Collections.emptyList(); + + private void ensureIntentsIsMutable() { + if (!((bitField0_ & 0x00000040) != 0)) { + intents_ = new java.util.ArrayList(intents_); + bitField0_ |= 0x00000040; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Intent, + com.google.cloud.dialogflow.cx.v3beta1.Intent.Builder, + com.google.cloud.dialogflow.cx.v3beta1.IntentOrBuilder> + intentsBuilder_; + + /** + * + * + *
+     * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+     * conversation. Only `name` and `display_name` are filled in this message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + public java.util.List getIntentsList() { + if (intentsBuilder_ == null) { + return java.util.Collections.unmodifiableList(intents_); + } else { + return intentsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+     * conversation. Only `name` and `display_name` are filled in this message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + public int getIntentsCount() { + if (intentsBuilder_ == null) { + return intents_.size(); + } else { + return intentsBuilder_.getCount(); + } + } + /** + * + * + *
+     * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+     * conversation. Only `name` and `display_name` are filled in this message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Intent getIntents(int index) { + if (intentsBuilder_ == null) { + return intents_.get(index); + } else { + return intentsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+     * conversation. Only `name` and `display_name` are filled in this message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + public Builder setIntents(int index, com.google.cloud.dialogflow.cx.v3beta1.Intent value) { + if (intentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIntentsIsMutable(); + intents_.set(index, value); + onChanged(); + } else { + intentsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+     * conversation. Only `name` and `display_name` are filled in this message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + public Builder setIntents( + int index, com.google.cloud.dialogflow.cx.v3beta1.Intent.Builder builderForValue) { + if (intentsBuilder_ == null) { + ensureIntentsIsMutable(); + intents_.set(index, builderForValue.build()); + onChanged(); + } else { + intentsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+     * conversation. Only `name` and `display_name` are filled in this message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + public Builder addIntents(com.google.cloud.dialogflow.cx.v3beta1.Intent value) { + if (intentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIntentsIsMutable(); + intents_.add(value); + onChanged(); + } else { + intentsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+     * conversation. Only `name` and `display_name` are filled in this message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + public Builder addIntents(int index, com.google.cloud.dialogflow.cx.v3beta1.Intent value) { + if (intentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIntentsIsMutable(); + intents_.add(index, value); + onChanged(); + } else { + intentsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+     * conversation. Only `name` and `display_name` are filled in this message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + public Builder addIntents( + com.google.cloud.dialogflow.cx.v3beta1.Intent.Builder builderForValue) { + if (intentsBuilder_ == null) { + ensureIntentsIsMutable(); + intents_.add(builderForValue.build()); + onChanged(); + } else { + intentsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+     * conversation. Only `name` and `display_name` are filled in this message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + public Builder addIntents( + int index, com.google.cloud.dialogflow.cx.v3beta1.Intent.Builder builderForValue) { + if (intentsBuilder_ == null) { + ensureIntentsIsMutable(); + intents_.add(index, builderForValue.build()); + onChanged(); + } else { + intentsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+     * conversation. Only `name` and `display_name` are filled in this message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + public Builder addAllIntents( + java.lang.Iterable values) { + if (intentsBuilder_ == null) { + ensureIntentsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, intents_); + onChanged(); + } else { + intentsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+     * conversation. Only `name` and `display_name` are filled in this message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + public Builder clearIntents() { + if (intentsBuilder_ == null) { + intents_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + } else { + intentsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+     * conversation. Only `name` and `display_name` are filled in this message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + public Builder removeIntents(int index) { + if (intentsBuilder_ == null) { + ensureIntentsIsMutable(); + intents_.remove(index); + onChanged(); + } else { + intentsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+     * conversation. Only `name` and `display_name` are filled in this message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Intent.Builder getIntentsBuilder(int index) { + return getIntentsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+     * conversation. Only `name` and `display_name` are filled in this message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + public com.google.cloud.dialogflow.cx.v3beta1.IntentOrBuilder getIntentsOrBuilder(int index) { + if (intentsBuilder_ == null) { + return intents_.get(index); + } else { + return intentsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+     * conversation. Only `name` and `display_name` are filled in this message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + public java.util.List + getIntentsOrBuilderList() { + if (intentsBuilder_ != null) { + return intentsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(intents_); + } + } + /** + * + * + *
+     * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+     * conversation. Only `name` and `display_name` are filled in this message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Intent.Builder addIntentsBuilder() { + return getIntentsFieldBuilder() + .addBuilder(com.google.cloud.dialogflow.cx.v3beta1.Intent.getDefaultInstance()); + } + /** + * + * + *
+     * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+     * conversation. Only `name` and `display_name` are filled in this message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Intent.Builder addIntentsBuilder(int index) { + return getIntentsFieldBuilder() + .addBuilder(index, com.google.cloud.dialogflow.cx.v3beta1.Intent.getDefaultInstance()); + } + /** + * + * + *
+     * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+     * conversation. Only `name` and `display_name` are filled in this message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + public java.util.List + getIntentsBuilderList() { + return getIntentsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Intent, + com.google.cloud.dialogflow.cx.v3beta1.Intent.Builder, + com.google.cloud.dialogflow.cx.v3beta1.IntentOrBuilder> + getIntentsFieldBuilder() { + if (intentsBuilder_ == null) { + intentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Intent, + com.google.cloud.dialogflow.cx.v3beta1.Intent.Builder, + com.google.cloud.dialogflow.cx.v3beta1.IntentOrBuilder>( + intents_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); + intents_ = null; + } + return intentsBuilder_; + } + + private java.util.List flows_ = + java.util.Collections.emptyList(); + + private void ensureFlowsIsMutable() { + if (!((bitField0_ & 0x00000080) != 0)) { + flows_ = new java.util.ArrayList(flows_); + bitField0_ |= 0x00000080; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Flow, + com.google.cloud.dialogflow.cx.v3beta1.Flow.Builder, + com.google.cloud.dialogflow.cx.v3beta1.FlowOrBuilder> + flowsBuilder_; + + /** + * + * + *
+     * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + public java.util.List getFlowsList() { + if (flowsBuilder_ == null) { + return java.util.Collections.unmodifiableList(flows_); + } else { + return flowsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + public int getFlowsCount() { + if (flowsBuilder_ == null) { + return flows_.size(); + } else { + return flowsBuilder_.getCount(); + } + } + /** + * + * + *
+     * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Flow getFlows(int index) { + if (flowsBuilder_ == null) { + return flows_.get(index); + } else { + return flowsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + public Builder setFlows(int index, com.google.cloud.dialogflow.cx.v3beta1.Flow value) { + if (flowsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFlowsIsMutable(); + flows_.set(index, value); + onChanged(); + } else { + flowsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + public Builder setFlows( + int index, com.google.cloud.dialogflow.cx.v3beta1.Flow.Builder builderForValue) { + if (flowsBuilder_ == null) { + ensureFlowsIsMutable(); + flows_.set(index, builderForValue.build()); + onChanged(); + } else { + flowsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + public Builder addFlows(com.google.cloud.dialogflow.cx.v3beta1.Flow value) { + if (flowsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFlowsIsMutable(); + flows_.add(value); + onChanged(); + } else { + flowsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + public Builder addFlows(int index, com.google.cloud.dialogflow.cx.v3beta1.Flow value) { + if (flowsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFlowsIsMutable(); + flows_.add(index, value); + onChanged(); + } else { + flowsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + public Builder addFlows(com.google.cloud.dialogflow.cx.v3beta1.Flow.Builder builderForValue) { + if (flowsBuilder_ == null) { + ensureFlowsIsMutable(); + flows_.add(builderForValue.build()); + onChanged(); + } else { + flowsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + public Builder addFlows( + int index, com.google.cloud.dialogflow.cx.v3beta1.Flow.Builder builderForValue) { + if (flowsBuilder_ == null) { + ensureFlowsIsMutable(); + flows_.add(index, builderForValue.build()); + onChanged(); + } else { + flowsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + public Builder addAllFlows( + java.lang.Iterable values) { + if (flowsBuilder_ == null) { + ensureFlowsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, flows_); + onChanged(); + } else { + flowsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + public Builder clearFlows() { + if (flowsBuilder_ == null) { + flows_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + } else { + flowsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + public Builder removeFlows(int index) { + if (flowsBuilder_ == null) { + ensureFlowsIsMutable(); + flows_.remove(index); + onChanged(); + } else { + flowsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Flow.Builder getFlowsBuilder(int index) { + return getFlowsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + public com.google.cloud.dialogflow.cx.v3beta1.FlowOrBuilder getFlowsOrBuilder(int index) { + if (flowsBuilder_ == null) { + return flows_.get(index); + } else { + return flowsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + public java.util.List + getFlowsOrBuilderList() { + if (flowsBuilder_ != null) { + return flowsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(flows_); + } + } + /** + * + * + *
+     * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Flow.Builder addFlowsBuilder() { + return getFlowsFieldBuilder() + .addBuilder(com.google.cloud.dialogflow.cx.v3beta1.Flow.getDefaultInstance()); + } + /** + * + * + *
+     * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Flow.Builder addFlowsBuilder(int index) { + return getFlowsFieldBuilder() + .addBuilder(index, com.google.cloud.dialogflow.cx.v3beta1.Flow.getDefaultInstance()); + } + /** + * + * + *
+     * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + public java.util.List + getFlowsBuilderList() { + return getFlowsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Flow, + com.google.cloud.dialogflow.cx.v3beta1.Flow.Builder, + com.google.cloud.dialogflow.cx.v3beta1.FlowOrBuilder> + getFlowsFieldBuilder() { + if (flowsBuilder_ == null) { + flowsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Flow, + com.google.cloud.dialogflow.cx.v3beta1.Flow.Builder, + com.google.cloud.dialogflow.cx.v3beta1.FlowOrBuilder>( + flows_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); + flows_ = null; + } + return flowsBuilder_; + } + + private java.util.List pages_ = + java.util.Collections.emptyList(); + + private void ensurePagesIsMutable() { + if (!((bitField0_ & 0x00000100) != 0)) { + pages_ = new java.util.ArrayList(pages_); + bitField0_ |= 0x00000100; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Page, + com.google.cloud.dialogflow.cx.v3beta1.Page.Builder, + com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder> + pagesBuilder_; + + /** + * + * + *
+     * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + public java.util.List getPagesList() { + if (pagesBuilder_ == null) { + return java.util.Collections.unmodifiableList(pages_); + } else { + return pagesBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + public int getPagesCount() { + if (pagesBuilder_ == null) { + return pages_.size(); + } else { + return pagesBuilder_.getCount(); + } + } + /** + * + * + *
+     * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Page getPages(int index) { + if (pagesBuilder_ == null) { + return pages_.get(index); + } else { + return pagesBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + public Builder setPages(int index, com.google.cloud.dialogflow.cx.v3beta1.Page value) { + if (pagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePagesIsMutable(); + pages_.set(index, value); + onChanged(); + } else { + pagesBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + public Builder setPages( + int index, com.google.cloud.dialogflow.cx.v3beta1.Page.Builder builderForValue) { + if (pagesBuilder_ == null) { + ensurePagesIsMutable(); + pages_.set(index, builderForValue.build()); + onChanged(); + } else { + pagesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + public Builder addPages(com.google.cloud.dialogflow.cx.v3beta1.Page value) { + if (pagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePagesIsMutable(); + pages_.add(value); + onChanged(); + } else { + pagesBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + public Builder addPages(int index, com.google.cloud.dialogflow.cx.v3beta1.Page value) { + if (pagesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePagesIsMutable(); + pages_.add(index, value); + onChanged(); + } else { + pagesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + public Builder addPages(com.google.cloud.dialogflow.cx.v3beta1.Page.Builder builderForValue) { + if (pagesBuilder_ == null) { + ensurePagesIsMutable(); + pages_.add(builderForValue.build()); + onChanged(); + } else { + pagesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + public Builder addPages( + int index, com.google.cloud.dialogflow.cx.v3beta1.Page.Builder builderForValue) { + if (pagesBuilder_ == null) { + ensurePagesIsMutable(); + pages_.add(index, builderForValue.build()); + onChanged(); + } else { + pagesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + public Builder addAllPages( + java.lang.Iterable values) { + if (pagesBuilder_ == null) { + ensurePagesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pages_); + onChanged(); + } else { + pagesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + public Builder clearPages() { + if (pagesBuilder_ == null) { + pages_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + } else { + pagesBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + public Builder removePages(int index) { + if (pagesBuilder_ == null) { + ensurePagesIsMutable(); + pages_.remove(index); + onChanged(); + } else { + pagesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Page.Builder getPagesBuilder(int index) { + return getPagesFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + public com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder getPagesOrBuilder(int index) { + if (pagesBuilder_ == null) { + return pages_.get(index); + } else { + return pagesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + public java.util.List + getPagesOrBuilderList() { + if (pagesBuilder_ != null) { + return pagesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(pages_); + } + } + /** + * + * + *
+     * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Page.Builder addPagesBuilder() { + return getPagesFieldBuilder() + .addBuilder(com.google.cloud.dialogflow.cx.v3beta1.Page.getDefaultInstance()); + } + /** + * + * + *
+     * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Page.Builder addPagesBuilder(int index) { + return getPagesFieldBuilder() + .addBuilder(index, com.google.cloud.dialogflow.cx.v3beta1.Page.getDefaultInstance()); + } + /** + * + * + *
+     * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+     * has went through. Only `name` and `display_name` are filled in this
+     * message.
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + public java.util.List + getPagesBuilderList() { + return getPagesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Page, + com.google.cloud.dialogflow.cx.v3beta1.Page.Builder, + com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder> + getPagesFieldBuilder() { + if (pagesBuilder_ == null) { + pagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Page, + com.google.cloud.dialogflow.cx.v3beta1.Page.Builder, + com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder>( + pages_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); + pages_ = null; + } + return pagesBuilder_; + } + + private java.util.List + interactions_ = java.util.Collections.emptyList(); + + private void ensureInteractionsIsMutable() { + if (!((bitField0_ & 0x00000200) != 0)) { + interactions_ = + new java.util.ArrayList< + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction>(interactions_); + bitField0_ |= 0x00000200; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.Builder, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.InteractionOrBuilder> + interactionsBuilder_; + + /** + * + * + *
+     * Interactions of the conversation.
+     * Only populated for `GetConversation` and empty for `ListConversations`.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + public java.util.List + getInteractionsList() { + if (interactionsBuilder_ == null) { + return java.util.Collections.unmodifiableList(interactions_); + } else { + return interactionsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * Interactions of the conversation.
+     * Only populated for `GetConversation` and empty for `ListConversations`.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + public int getInteractionsCount() { + if (interactionsBuilder_ == null) { + return interactions_.size(); + } else { + return interactionsBuilder_.getCount(); + } + } + /** + * + * + *
+     * Interactions of the conversation.
+     * Only populated for `GetConversation` and empty for `ListConversations`.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction getInteractions( + int index) { + if (interactionsBuilder_ == null) { + return interactions_.get(index); + } else { + return interactionsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * Interactions of the conversation.
+     * Only populated for `GetConversation` and empty for `ListConversations`.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + public Builder setInteractions( + int index, com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction value) { + if (interactionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInteractionsIsMutable(); + interactions_.set(index, value); + onChanged(); + } else { + interactionsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Interactions of the conversation.
+     * Only populated for `GetConversation` and empty for `ListConversations`.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + public Builder setInteractions( + int index, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.Builder builderForValue) { + if (interactionsBuilder_ == null) { + ensureInteractionsIsMutable(); + interactions_.set(index, builderForValue.build()); + onChanged(); + } else { + interactionsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Interactions of the conversation.
+     * Only populated for `GetConversation` and empty for `ListConversations`.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + public Builder addInteractions( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction value) { + if (interactionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInteractionsIsMutable(); + interactions_.add(value); + onChanged(); + } else { + interactionsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * Interactions of the conversation.
+     * Only populated for `GetConversation` and empty for `ListConversations`.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + public Builder addInteractions( + int index, com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction value) { + if (interactionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInteractionsIsMutable(); + interactions_.add(index, value); + onChanged(); + } else { + interactionsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Interactions of the conversation.
+     * Only populated for `GetConversation` and empty for `ListConversations`.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + public Builder addInteractions( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.Builder builderForValue) { + if (interactionsBuilder_ == null) { + ensureInteractionsIsMutable(); + interactions_.add(builderForValue.build()); + onChanged(); + } else { + interactionsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Interactions of the conversation.
+     * Only populated for `GetConversation` and empty for `ListConversations`.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + public Builder addInteractions( + int index, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.Builder builderForValue) { + if (interactionsBuilder_ == null) { + ensureInteractionsIsMutable(); + interactions_.add(index, builderForValue.build()); + onChanged(); + } else { + interactionsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Interactions of the conversation.
+     * Only populated for `GetConversation` and empty for `ListConversations`.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + public Builder addAllInteractions( + java.lang.Iterable< + ? extends com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction> + values) { + if (interactionsBuilder_ == null) { + ensureInteractionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, interactions_); + onChanged(); + } else { + interactionsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * Interactions of the conversation.
+     * Only populated for `GetConversation` and empty for `ListConversations`.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + public Builder clearInteractions() { + if (interactionsBuilder_ == null) { + interactions_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + } else { + interactionsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Interactions of the conversation.
+     * Only populated for `GetConversation` and empty for `ListConversations`.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + public Builder removeInteractions(int index) { + if (interactionsBuilder_ == null) { + ensureInteractionsIsMutable(); + interactions_.remove(index); + onChanged(); + } else { + interactionsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * Interactions of the conversation.
+     * Only populated for `GetConversation` and empty for `ListConversations`.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.Builder + getInteractionsBuilder(int index) { + return getInteractionsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * Interactions of the conversation.
+     * Only populated for `GetConversation` and empty for `ListConversations`.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.InteractionOrBuilder + getInteractionsOrBuilder(int index) { + if (interactionsBuilder_ == null) { + return interactions_.get(index); + } else { + return interactionsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * Interactions of the conversation.
+     * Only populated for `GetConversation` and empty for `ListConversations`.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + public java.util.List< + ? extends com.google.cloud.dialogflow.cx.v3beta1.Conversation.InteractionOrBuilder> + getInteractionsOrBuilderList() { + if (interactionsBuilder_ != null) { + return interactionsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(interactions_); + } + } + /** + * + * + *
+     * Interactions of the conversation.
+     * Only populated for `GetConversation` and empty for `ListConversations`.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.Builder + addInteractionsBuilder() { + return getInteractionsFieldBuilder() + .addBuilder( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.getDefaultInstance()); + } + /** + * + * + *
+     * Interactions of the conversation.
+     * Only populated for `GetConversation` and empty for `ListConversations`.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.Builder + addInteractionsBuilder(int index) { + return getInteractionsFieldBuilder() + .addBuilder( + index, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.getDefaultInstance()); + } + /** + * + * + *
+     * Interactions of the conversation.
+     * Only populated for `GetConversation` and empty for `ListConversations`.
+     * 
+ * + * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + public java.util.List + getInteractionsBuilderList() { + return getInteractionsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.Builder, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.InteractionOrBuilder> + getInteractionsFieldBuilder() { + if (interactionsBuilder_ == null) { + interactionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction.Builder, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.InteractionOrBuilder>( + interactions_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); + interactions_ = null; + } + return interactionsBuilder_; + } + + private com.google.cloud.dialogflow.cx.v3beta1.Environment environment_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Environment, + com.google.cloud.dialogflow.cx.v3beta1.Environment.Builder, + com.google.cloud.dialogflow.cx.v3beta1.EnvironmentOrBuilder> + environmentBuilder_; + /** + * + * + *
+     * Environment of the conversation.
+     * Only `name` and `display_name` are filled in this message.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Environment environment = 11; + * + * @return Whether the environment field is set. + */ + public boolean hasEnvironment() { + return ((bitField0_ & 0x00000400) != 0); + } + /** + * + * + *
+     * Environment of the conversation.
+     * Only `name` and `display_name` are filled in this message.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Environment environment = 11; + * + * @return The environment. + */ + public com.google.cloud.dialogflow.cx.v3beta1.Environment getEnvironment() { + if (environmentBuilder_ == null) { + return environment_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Environment.getDefaultInstance() + : environment_; + } else { + return environmentBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Environment of the conversation.
+     * Only `name` and `display_name` are filled in this message.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Environment environment = 11; + */ + public Builder setEnvironment(com.google.cloud.dialogflow.cx.v3beta1.Environment value) { + if (environmentBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + environment_ = value; + } else { + environmentBuilder_.setMessage(value); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * + * + *
+     * Environment of the conversation.
+     * Only `name` and `display_name` are filled in this message.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Environment environment = 11; + */ + public Builder setEnvironment( + com.google.cloud.dialogflow.cx.v3beta1.Environment.Builder builderForValue) { + if (environmentBuilder_ == null) { + environment_ = builderForValue.build(); + } else { + environmentBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * + * + *
+     * Environment of the conversation.
+     * Only `name` and `display_name` are filled in this message.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Environment environment = 11; + */ + public Builder mergeEnvironment(com.google.cloud.dialogflow.cx.v3beta1.Environment value) { + if (environmentBuilder_ == null) { + if (((bitField0_ & 0x00000400) != 0) + && environment_ != null + && environment_ + != com.google.cloud.dialogflow.cx.v3beta1.Environment.getDefaultInstance()) { + getEnvironmentBuilder().mergeFrom(value); + } else { + environment_ = value; + } + } else { + environmentBuilder_.mergeFrom(value); + } + if (environment_ != null) { + bitField0_ |= 0x00000400; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Environment of the conversation.
+     * Only `name` and `display_name` are filled in this message.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Environment environment = 11; + */ + public Builder clearEnvironment() { + bitField0_ = (bitField0_ & ~0x00000400); + environment_ = null; + if (environmentBuilder_ != null) { + environmentBuilder_.dispose(); + environmentBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Environment of the conversation.
+     * Only `name` and `display_name` are filled in this message.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Environment environment = 11; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Environment.Builder getEnvironmentBuilder() { + bitField0_ |= 0x00000400; + onChanged(); + return getEnvironmentFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Environment of the conversation.
+     * Only `name` and `display_name` are filled in this message.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Environment environment = 11; + */ + public com.google.cloud.dialogflow.cx.v3beta1.EnvironmentOrBuilder getEnvironmentOrBuilder() { + if (environmentBuilder_ != null) { + return environmentBuilder_.getMessageOrBuilder(); + } else { + return environment_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.Environment.getDefaultInstance() + : environment_; + } + } + /** + * + * + *
+     * Environment of the conversation.
+     * Only `name` and `display_name` are filled in this message.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Environment environment = 11; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Environment, + com.google.cloud.dialogflow.cx.v3beta1.Environment.Builder, + com.google.cloud.dialogflow.cx.v3beta1.EnvironmentOrBuilder> + getEnvironmentFieldBuilder() { + if (environmentBuilder_ == null) { + environmentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Environment, + com.google.cloud.dialogflow.cx.v3beta1.Environment.Builder, + com.google.cloud.dialogflow.cx.v3beta1.EnvironmentOrBuilder>( + getEnvironment(), getParentForChildren(), isClean()); + environment_ = null; + } + return environmentBuilder_; + } + + private com.google.protobuf.MapField flowVersions_; + + private com.google.protobuf.MapField + internalGetFlowVersions() { + if (flowVersions_ == null) { + return com.google.protobuf.MapField.emptyMapField( + FlowVersionsDefaultEntryHolder.defaultEntry); + } + return flowVersions_; + } + + private com.google.protobuf.MapField + internalGetMutableFlowVersions() { + if (flowVersions_ == null) { + flowVersions_ = + com.google.protobuf.MapField.newMapField(FlowVersionsDefaultEntryHolder.defaultEntry); + } + if (!flowVersions_.isMutable()) { + flowVersions_ = flowVersions_.copy(); + } + bitField0_ |= 0x00000800; + onChanged(); + return flowVersions_; + } + + public int getFlowVersionsCount() { + return internalGetFlowVersions().getMap().size(); + } + /** + * + * + *
+     * Flow versions used in the conversation.
+     * 
+ * + * map<string, int64> flow_versions = 12; + */ + @java.lang.Override + public boolean containsFlowVersions(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetFlowVersions().getMap().containsKey(key); + } + /** Use {@link #getFlowVersionsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getFlowVersions() { + return getFlowVersionsMap(); + } + /** + * + * + *
+     * Flow versions used in the conversation.
+     * 
+ * + * map<string, int64> flow_versions = 12; + */ + @java.lang.Override + public java.util.Map getFlowVersionsMap() { + return internalGetFlowVersions().getMap(); + } + /** + * + * + *
+     * Flow versions used in the conversation.
+     * 
+ * + * map<string, int64> flow_versions = 12; + */ + @java.lang.Override + public long getFlowVersionsOrDefault(java.lang.String key, long defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetFlowVersions().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * Flow versions used in the conversation.
+     * 
+ * + * map<string, int64> flow_versions = 12; + */ + @java.lang.Override + public long getFlowVersionsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetFlowVersions().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearFlowVersions() { + bitField0_ = (bitField0_ & ~0x00000800); + internalGetMutableFlowVersions().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * Flow versions used in the conversation.
+     * 
+ * + * map<string, int64> flow_versions = 12; + */ + public Builder removeFlowVersions(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableFlowVersions().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableFlowVersions() { + bitField0_ |= 0x00000800; + return internalGetMutableFlowVersions().getMutableMap(); + } + /** + * + * + *
+     * Flow versions used in the conversation.
+     * 
+ * + * map<string, int64> flow_versions = 12; + */ + public Builder putFlowVersions(java.lang.String key, long value) { + if (key == null) { + throw new NullPointerException("map key"); + } + + internalGetMutableFlowVersions().getMutableMap().put(key, value); + bitField0_ |= 0x00000800; + return this; + } + /** + * + * + *
+     * Flow versions used in the conversation.
+     * 
+ * + * map<string, int64> flow_versions = 12; + */ + public Builder putAllFlowVersions(java.util.Map values) { + internalGetMutableFlowVersions().getMutableMap().putAll(values); + bitField0_ |= 0x00000800; + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.Conversation) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.Conversation) + private static final com.google.cloud.dialogflow.cx.v3beta1.Conversation DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.Conversation(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.Conversation getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Conversation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryProto.java new file mode 100644 index 000000000000..fc2396282f86 --- /dev/null +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationHistoryProto.java @@ -0,0 +1,369 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/cx/v3beta1/conversation_history.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.dialogflow.cx.v3beta1; + +public final class ConversationHistoryProto { + private ConversationHistoryProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_GetConversationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_GetConversationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_DeleteConversationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_DeleteConversationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_QueryInputCount_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_QueryInputCount_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_MatchTypeCount_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_MatchTypeCount_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_MissingTransition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_MissingTransition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_FlowVersionsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_FlowVersionsEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n=google/cloud/dialogflow/cx/v3beta1/con" + + "versation_history.proto\022\"google.cloud.di" + + "alogflow.cx.v3beta1\032\034google/api/annotati" + + "ons.proto\032\027google/api/client.proto\032\037goog" + + "le/api/field_behavior.proto\032\031google/api/" + + "resource.proto\0324google/cloud/dialogflow/" + + "cx/v3beta1/environment.proto\032-google/clo" + + "ud/dialogflow/cx/v3beta1/flow.proto\032/goo" + + "gle/cloud/dialogflow/cx/v3beta1/intent.p" + + "roto\032-google/cloud/dialogflow/cx/v3beta1" + + "/page.proto\0320google/cloud/dialogflow/cx/" + + "v3beta1/session.proto\032\036google/protobuf/d" + + "uration.proto\032\033google/protobuf/empty.pro" + + "to\032\037google/protobuf/timestamp.proto\"V\n\026G" + + "etConversationRequest\022<\n\004name\030\001 \001(\tB.\340A\002" + + "\372A(\n&dialogflow.googleapis.com/Conversat" + + "ion\"Y\n\031DeleteConversationRequest\022<\n\004name" + + "\030\001 \001(\tB.\340A\002\372A(\n&dialogflow.googleapis.co" + + "m/Conversation\"\240\001\n\030ListConversationsRequ" + + "est\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&dialogflow." + + "googleapis.com/Conversation\022\023\n\006filter\030\002 " + + "\001(\tB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\npage" + + "_token\030\004 \001(\tB\003\340A\001\"}\n\031ListConversationsRe" + + "sponse\022G\n\rconversations\030\001 \003(\01320.google.c" + + "loud.dialogflow.cx.v3beta1.Conversation\022" + + "\027\n\017next_page_token\030\002 \001(\t\"\261\022\n\014Conversatio" + + "n\022\021\n\004name\030\001 \001(\tB\003\340A\010\022C\n\004type\030\002 \001(\01625.goo" + + "gle.cloud.dialogflow.cx.v3beta1.Conversa" + + "tion.Type\022\025\n\rlanguage_code\030\003 \001(\t\022.\n\nstar" + + "t_time\030\004 \001(\0132\032.google.protobuf.Timestamp" + + "\022+\n\010duration\030\005 \001(\0132\031.google.protobuf.Dur" + + "ation\022I\n\007metrics\030\006 \001(\01328.google.cloud.di" + + "alogflow.cx.v3beta1.Conversation.Metrics" + + "\022;\n\007intents\030\007 \003(\0132*.google.cloud.dialogf" + + "low.cx.v3beta1.Intent\0227\n\005flows\030\010 \003(\0132(.g" + + "oogle.cloud.dialogflow.cx.v3beta1.Flow\0227" + + "\n\005pages\030\t \003(\0132(.google.cloud.dialogflow." + + "cx.v3beta1.Page\022R\n\014interactions\030\n \003(\0132<." + + "google.cloud.dialogflow.cx.v3beta1.Conve" + + "rsation.Interaction\022D\n\013environment\030\013 \001(\013" + + "2/.google.cloud.dialogflow.cx.v3beta1.En" + + "vironment\022Y\n\rflow_versions\030\014 \003(\0132B.googl" + + "e.cloud.dialogflow.cx.v3beta1.Conversati" + + "on.FlowVersionsEntry\032\270\006\n\007Metrics\022\031\n\021inte" + + "raction_count\030\001 \001(\005\0227\n\024input_audio_durat" + + "ion\030\002 \001(\0132\031.google.protobuf.Duration\0228\n\025" + + "output_audio_duration\030\003 \001(\0132\031.google.pro" + + "tobuf.Duration\0226\n\023max_webhook_latency\030\004 " + + "\001(\0132\031.google.protobuf.Duration\022\033\n\023has_en" + + "d_interaction\030\005 \001(\010\022\036\n\026has_live_agent_ha" + + "ndoff\030\006 \001(\010\022 \n\030average_match_confidence\030" + + "\007 \001(\002\022c\n\021query_input_count\030\010 \001(\0132H.googl" + + "e.cloud.dialogflow.cx.v3beta1.Conversati" + + "on.Metrics.QueryInputCount\022a\n\020match_type" + + "_count\030\t \001(\0132G.google.cloud.dialogflow.c" + + "x.v3beta1.Conversation.Metrics.MatchType" + + "Count\032y\n\017QueryInputCount\022\022\n\ntext_count\030\001" + + " \001(\005\022\024\n\014intent_count\030\002 \001(\005\022\023\n\013audio_coun" + + "t\030\003 \001(\005\022\023\n\013event_count\030\004 \001(\005\022\022\n\ndtmf_cou" + + "nt\030\005 \001(\005\032\304\001\n\016MatchTypeCount\022\031\n\021unspecifi" + + "ed_count\030\001 \001(\005\022\024\n\014intent_count\030\002 \001(\005\022\033\n\023" + + "direct_intent_count\030\003 \001(\005\022\037\n\027parameter_f" + + "illing_count\030\004 \001(\005\022\026\n\016no_match_count\030\005 \001" + + "(\005\022\026\n\016no_input_count\030\006 \001(\005\022\023\n\013event_coun" + + "t\030\007 \001(\005\032\217\004\n\013Interaction\022H\n\007request\030\001 \001(\013" + + "27.google.cloud.dialogflow.cx.v3beta1.De" + + "tectIntentRequest\022J\n\010response\030\002 \001(\01328.go" + + "ogle.cloud.dialogflow.cx.v3beta1.DetectI" + + "ntentResponse\022S\n\021partial_responses\030\003 \003(\013" + + "28.google.cloud.dialogflow.cx.v3beta1.De" + + "tectIntentResponse\022\032\n\022request_utterances" + + "\030\004 \001(\t\022\033\n\023response_utterances\030\005 \001(\t\022/\n\013c" + + "reate_time\030\006 \001(\0132\032.google.protobuf.Times" + + "tamp\022j\n\022missing_transition\030\010 \001(\0132N.googl" + + "e.cloud.dialogflow.cx.v3beta1.Conversati" + + "on.Interaction.MissingTransition\032?\n\021Miss" + + "ingTransition\022\033\n\023intent_display_name\030\001 \001" + + "(\t\022\r\n\005score\030\002 \001(\002\0323\n\021FlowVersionsEntry\022\013" + + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028\001\"C\n\004Type\022\024" + + "\n\020TYPE_UNSPECIFIED\020\000\022\t\n\005AUDIO\020\001\022\010\n\004TEXT\020" + + "\002\022\020\n\014UNDETERMINED\020\003:\236\001\352A\232\001\n&dialogflow.g" + + "oogleapis.com/Conversation\022Sprojects/{pr" + + "oject}/locations/{location}/agents/{agen" + + "t}/conversations/{conversation}*\rconvers" + + "ations2\014conversation2\204\006\n\023ConversationHis" + + "tory\022\342\001\n\021ListConversations\022<.google.clou" + + "d.dialogflow.cx.v3beta1.ListConversation" + + "sRequest\032=.google.cloud.dialogflow.cx.v3" + + "beta1.ListConversationsResponse\"P\332A\006pare" + + "nt\202\323\344\223\002A\022?/v3beta1/{parent=projects/*/lo" + + "cations/*/agents/*}/conversations\022\317\001\n\017Ge" + + "tConversation\022:.google.cloud.dialogflow." + + "cx.v3beta1.GetConversationRequest\0320.goog" + + "le.cloud.dialogflow.cx.v3beta1.Conversat" + + "ion\"N\332A\004name\202\323\344\223\002A\022?/v3beta1/{name=proje" + + "cts/*/locations/*/agents/*/conversations" + + "/*}\022\273\001\n\022DeleteConversation\022=.google.clou" + + "d.dialogflow.cx.v3beta1.DeleteConversati" + + "onRequest\032\026.google.protobuf.Empty\"N\332A\004na" + + "me\202\323\344\223\002A*?/v3beta1/{name=projects/*/loca" + + "tions/*/agents/*/conversations/*}\032x\312A\031di" + + "alogflow.googleapis.com\322AYhttps://www.go" + + "ogleapis.com/auth/cloud-platform,https:/" + + "/www.googleapis.com/auth/dialogflowB\322\001\n&" + + "com.google.cloud.dialogflow.cx.v3beta1B\030" + + "ConversationHistoryProtoP\001Z6cloud.google" + + ".com/go/dialogflow/cx/apiv3beta1/cxpb;cx" + + "pb\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx." + + "V3Beta1\352\002&Google::Cloud::Dialogflow::CX:" + + ":V3beta1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.dialogflow.cx.v3beta1.EnvironmentProto.getDescriptor(), + com.google.cloud.dialogflow.cx.v3beta1.FlowProto.getDescriptor(), + com.google.cloud.dialogflow.cx.v3beta1.IntentProto.getDescriptor(), + com.google.cloud.dialogflow.cx.v3beta1.PageProto.getDescriptor(), + com.google.cloud.dialogflow.cx.v3beta1.SessionProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_dialogflow_cx_v3beta1_GetConversationRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dialogflow_cx_v3beta1_GetConversationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_GetConversationRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dialogflow_cx_v3beta1_DeleteConversationRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dialogflow_cx_v3beta1_DeleteConversationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_DeleteConversationRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", + }); + internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsResponse_descriptor, + new java.lang.String[] { + "Conversations", "NextPageToken", + }); + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_descriptor, + new java.lang.String[] { + "Name", + "Type", + "LanguageCode", + "StartTime", + "Duration", + "Metrics", + "Intents", + "Flows", + "Pages", + "Interactions", + "Environment", + "FlowVersions", + }); + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_descriptor = + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_descriptor, + new java.lang.String[] { + "InteractionCount", + "InputAudioDuration", + "OutputAudioDuration", + "MaxWebhookLatency", + "HasEndInteraction", + "HasLiveAgentHandoff", + "AverageMatchConfidence", + "QueryInputCount", + "MatchTypeCount", + }); + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_QueryInputCount_descriptor = + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_QueryInputCount_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_QueryInputCount_descriptor, + new java.lang.String[] { + "TextCount", "IntentCount", "AudioCount", "EventCount", "DtmfCount", + }); + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_MatchTypeCount_descriptor = + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_MatchTypeCount_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Metrics_MatchTypeCount_descriptor, + new java.lang.String[] { + "UnspecifiedCount", + "IntentCount", + "DirectIntentCount", + "ParameterFillingCount", + "NoMatchCount", + "NoInputCount", + "EventCount", + }); + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_descriptor = + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_descriptor, + new java.lang.String[] { + "Request", + "Response", + "PartialResponses", + "RequestUtterances", + "ResponseUtterances", + "CreateTime", + "MissingTransition", + }); + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_MissingTransition_descriptor = + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_MissingTransition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_Interaction_MissingTransition_descriptor, + new java.lang.String[] { + "IntentDisplayName", "Score", + }); + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_FlowVersionsEntry_descriptor = + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_FlowVersionsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_Conversation_FlowVersionsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.dialogflow.cx.v3beta1.EnvironmentProto.getDescriptor(); + com.google.cloud.dialogflow.cx.v3beta1.FlowProto.getDescriptor(); + com.google.cloud.dialogflow.cx.v3beta1.IntentProto.getDescriptor(); + com.google.cloud.dialogflow.cx.v3beta1.PageProto.getDescriptor(); + com.google.cloud.dialogflow.cx.v3beta1.SessionProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationName.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationName.java new file mode 100644 index 000000000000..0b5d67058585 --- /dev/null +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationName.java @@ -0,0 +1,261 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class ConversationName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_AGENT_CONVERSATION = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/agents/{agent}/conversations/{conversation}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String agent; + private final String conversation; + + @Deprecated + protected ConversationName() { + project = null; + location = null; + agent = null; + conversation = null; + } + + private ConversationName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + agent = Preconditions.checkNotNull(builder.getAgent()); + conversation = Preconditions.checkNotNull(builder.getConversation()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getAgent() { + return agent; + } + + public String getConversation() { + return conversation; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static ConversationName of( + String project, String location, String agent, String conversation) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setAgent(agent) + .setConversation(conversation) + .build(); + } + + public static String format(String project, String location, String agent, String conversation) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setAgent(agent) + .setConversation(conversation) + .build() + .toString(); + } + + public static ConversationName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_AGENT_CONVERSATION.validatedMatch( + formattedString, "ConversationName.parse: formattedString not in valid format"); + return of( + matchMap.get("project"), + matchMap.get("location"), + matchMap.get("agent"), + matchMap.get("conversation")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (ConversationName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_AGENT_CONVERSATION.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (agent != null) { + fieldMapBuilder.put("agent", agent); + } + if (conversation != null) { + fieldMapBuilder.put("conversation", conversation); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_AGENT_CONVERSATION.instantiate( + "project", project, "location", location, "agent", agent, "conversation", conversation); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null && getClass() == o.getClass()) { + ConversationName that = ((ConversationName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.agent, that.agent) + && Objects.equals(this.conversation, that.conversation); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(agent); + h *= 1000003; + h ^= Objects.hashCode(conversation); + return h; + } + + /** + * Builder for + * projects/{project}/locations/{location}/agents/{agent}/conversations/{conversation}. + */ + public static class Builder { + private String project; + private String location; + private String agent; + private String conversation; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getAgent() { + return agent; + } + + public String getConversation() { + return conversation; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setAgent(String agent) { + this.agent = agent; + return this; + } + + public Builder setConversation(String conversation) { + this.conversation = conversation; + return this; + } + + private Builder(ConversationName conversationName) { + this.project = conversationName.project; + this.location = conversationName.location; + this.agent = conversationName.agent; + this.conversation = conversationName.conversation; + } + + public ConversationName build() { + return new ConversationName(this); + } + } +} diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationOrBuilder.java new file mode 100644 index 000000000000..ef0c5d63300a --- /dev/null +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationOrBuilder.java @@ -0,0 +1,556 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/cx/v3beta1/conversation_history.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.dialogflow.cx.v3beta1; + +public interface ConversationOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.Conversation) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Identifier. The identifier of the conversation.
+   * If conversation ID is reused, interactions happened later than 48 hours of
+   * the conversation's create time will be ignored. Format:
+   * `projects/<ProjectID>/locations/<Location ID>/agents/<Agent
+   * ID>/conversations/<Conversation ID>`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Identifier. The identifier of the conversation.
+   * If conversation ID is reused, interactions happened later than 48 hours of
+   * the conversation's create time will be ignored. Format:
+   * `projects/<ProjectID>/locations/<Location ID>/agents/<Agent
+   * ID>/conversations/<Conversation ID>`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * The type of the conversation.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2; + * + * @return The enum numeric value on the wire for type. + */ + int getTypeValue(); + /** + * + * + *
+   * The type of the conversation.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Type type = 2; + * + * @return The type. + */ + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Type getType(); + + /** + * + * + *
+   * The language of the conversation, which is the language of the first
+   * request in the conversation.
+   * 
+ * + * string language_code = 3; + * + * @return The languageCode. + */ + java.lang.String getLanguageCode(); + /** + * + * + *
+   * The language of the conversation, which is the language of the first
+   * request in the conversation.
+   * 
+ * + * string language_code = 3; + * + * @return The bytes for languageCode. + */ + com.google.protobuf.ByteString getLanguageCodeBytes(); + + /** + * + * + *
+   * Start time of the conversation, which is the time of the first request of
+   * the conversation.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4; + * + * @return Whether the startTime field is set. + */ + boolean hasStartTime(); + /** + * + * + *
+   * Start time of the conversation, which is the time of the first request of
+   * the conversation.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4; + * + * @return The startTime. + */ + com.google.protobuf.Timestamp getStartTime(); + /** + * + * + *
+   * Start time of the conversation, which is the time of the first request of
+   * the conversation.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4; + */ + com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); + + /** + * + * + *
+   * Duration of the conversation.
+   * 
+ * + * .google.protobuf.Duration duration = 5; + * + * @return Whether the duration field is set. + */ + boolean hasDuration(); + /** + * + * + *
+   * Duration of the conversation.
+   * 
+ * + * .google.protobuf.Duration duration = 5; + * + * @return The duration. + */ + com.google.protobuf.Duration getDuration(); + /** + * + * + *
+   * Duration of the conversation.
+   * 
+ * + * .google.protobuf.Duration duration = 5; + */ + com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); + + /** + * + * + *
+   * Conversation metrics.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6; + * + * @return Whether the metrics field is set. + */ + boolean hasMetrics(); + /** + * + * + *
+   * Conversation metrics.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6; + * + * @return The metrics. + */ + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics getMetrics(); + /** + * + * + *
+   * Conversation metrics.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Conversation.Metrics metrics = 6; + */ + com.google.cloud.dialogflow.cx.v3beta1.Conversation.MetricsOrBuilder getMetricsOrBuilder(); + + /** + * + * + *
+   * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+   * conversation. Only `name` and `display_name` are filled in this message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + java.util.List getIntentsList(); + /** + * + * + *
+   * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+   * conversation. Only `name` and `display_name` are filled in this message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + com.google.cloud.dialogflow.cx.v3beta1.Intent getIntents(int index); + /** + * + * + *
+   * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+   * conversation. Only `name` and `display_name` are filled in this message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + int getIntentsCount(); + /** + * + * + *
+   * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+   * conversation. Only `name` and `display_name` are filled in this message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + java.util.List + getIntentsOrBuilderList(); + /** + * + * + *
+   * All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the
+   * conversation. Only `name` and `display_name` are filled in this message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Intent intents = 7; + */ + com.google.cloud.dialogflow.cx.v3beta1.IntentOrBuilder getIntentsOrBuilder(int index); + + /** + * + * + *
+   * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + java.util.List getFlowsList(); + /** + * + * + *
+   * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + com.google.cloud.dialogflow.cx.v3beta1.Flow getFlows(int index); + /** + * + * + *
+   * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + int getFlowsCount(); + /** + * + * + *
+   * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + java.util.List + getFlowsOrBuilderList(); + /** + * + * + *
+   * All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Flow flows = 8; + */ + com.google.cloud.dialogflow.cx.v3beta1.FlowOrBuilder getFlowsOrBuilder(int index); + + /** + * + * + *
+   * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + java.util.List getPagesList(); + /** + * + * + *
+   * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + com.google.cloud.dialogflow.cx.v3beta1.Page getPages(int index); + /** + * + * + *
+   * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + int getPagesCount(); + /** + * + * + *
+   * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + java.util.List + getPagesOrBuilderList(); + /** + * + * + *
+   * All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation
+   * has went through. Only `name` and `display_name` are filled in this
+   * message.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Page pages = 9; + */ + com.google.cloud.dialogflow.cx.v3beta1.PageOrBuilder getPagesOrBuilder(int index); + + /** + * + * + *
+   * Interactions of the conversation.
+   * Only populated for `GetConversation` and empty for `ListConversations`.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + java.util.List + getInteractionsList(); + /** + * + * + *
+   * Interactions of the conversation.
+   * Only populated for `GetConversation` and empty for `ListConversations`.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction getInteractions(int index); + /** + * + * + *
+   * Interactions of the conversation.
+   * Only populated for `GetConversation` and empty for `ListConversations`.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + int getInteractionsCount(); + /** + * + * + *
+   * Interactions of the conversation.
+   * Only populated for `GetConversation` and empty for `ListConversations`.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + java.util.List + getInteractionsOrBuilderList(); + /** + * + * + *
+   * Interactions of the conversation.
+   * Only populated for `GetConversation` and empty for `ListConversations`.
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation.Interaction interactions = 10; + * + */ + com.google.cloud.dialogflow.cx.v3beta1.Conversation.InteractionOrBuilder getInteractionsOrBuilder( + int index); + + /** + * + * + *
+   * Environment of the conversation.
+   * Only `name` and `display_name` are filled in this message.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Environment environment = 11; + * + * @return Whether the environment field is set. + */ + boolean hasEnvironment(); + /** + * + * + *
+   * Environment of the conversation.
+   * Only `name` and `display_name` are filled in this message.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Environment environment = 11; + * + * @return The environment. + */ + com.google.cloud.dialogflow.cx.v3beta1.Environment getEnvironment(); + /** + * + * + *
+   * Environment of the conversation.
+   * Only `name` and `display_name` are filled in this message.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.Environment environment = 11; + */ + com.google.cloud.dialogflow.cx.v3beta1.EnvironmentOrBuilder getEnvironmentOrBuilder(); + + /** + * + * + *
+   * Flow versions used in the conversation.
+   * 
+ * + * map<string, int64> flow_versions = 12; + */ + int getFlowVersionsCount(); + /** + * + * + *
+   * Flow versions used in the conversation.
+   * 
+ * + * map<string, int64> flow_versions = 12; + */ + boolean containsFlowVersions(java.lang.String key); + /** Use {@link #getFlowVersionsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getFlowVersions(); + /** + * + * + *
+   * Flow versions used in the conversation.
+   * 
+ * + * map<string, int64> flow_versions = 12; + */ + java.util.Map getFlowVersionsMap(); + /** + * + * + *
+   * Flow versions used in the conversation.
+   * 
+ * + * map<string, int64> flow_versions = 12; + */ + long getFlowVersionsOrDefault(java.lang.String key, long defaultValue); + /** + * + * + *
+   * Flow versions used in the conversation.
+   * 
+ * + * map<string, int64> flow_versions = 12; + */ + long getFlowVersionsOrThrow(java.lang.String key); +} diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteConversationRequest.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteConversationRequest.java new file mode 100644 index 000000000000..93d5f9de19ea --- /dev/null +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteConversationRequest.java @@ -0,0 +1,661 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/cx/v3beta1/conversation_history.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.dialogflow.cx.v3beta1; + +/** + * + * + *
+ * The request message for [Conversations.DeleteConversation][].
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest} + */ +public final class DeleteConversationRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest) + DeleteConversationRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteConversationRequest.newBuilder() to construct. + private DeleteConversationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DeleteConversationRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteConversationRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_DeleteConversationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_DeleteConversationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest.class, + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name of the conversation.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/conversations/<Conversation ID>`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The name of the conversation.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/conversations/<Conversation ID>`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest other = + (com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * The request message for [Conversations.DeleteConversation][].
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest) + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_DeleteConversationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_DeleteConversationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest.class, + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_DeleteConversationRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest build() { + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest result = + new com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest other) { + if (other + == com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Required. The name of the conversation.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/conversations/<Conversation ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The name of the conversation.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/conversations/<Conversation ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The name of the conversation.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/conversations/<Conversation ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the conversation.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/conversations/<Conversation ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the conversation.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/conversations/<Conversation ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest) + private static final com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteConversationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteConversationRequestOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteConversationRequestOrBuilder.java new file mode 100644 index 000000000000..3699fd1561ad --- /dev/null +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DeleteConversationRequestOrBuilder.java @@ -0,0 +1,59 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/cx/v3beta1/conversation_history.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.dialogflow.cx.v3beta1; + +public interface DeleteConversationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the conversation.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/conversations/<Conversation ID>`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the conversation.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/conversations/<Conversation ID>`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetConversationRequest.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetConversationRequest.java new file mode 100644 index 000000000000..455c8fde8527 --- /dev/null +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetConversationRequest.java @@ -0,0 +1,658 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/cx/v3beta1/conversation_history.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.dialogflow.cx.v3beta1; + +/** + * + * + *
+ * The request message for [Conversations.GetConversation][].
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetConversationRequest} + */ +public final class GetConversationRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.GetConversationRequest) + GetConversationRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetConversationRequest.newBuilder() to construct. + private GetConversationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetConversationRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetConversationRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_GetConversationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_GetConversationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest.class, + com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name of the conversation.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/conversations/<Conversation ID>`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The name of the conversation.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/conversations/<Conversation ID>`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest other = + (com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * The request message for [Conversations.GetConversation][].
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.GetConversationRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.GetConversationRequest) + com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_GetConversationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_GetConversationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest.class, + com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_GetConversationRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest build() { + com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest result = + new com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest other) { + if (other + == com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Required. The name of the conversation.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/conversations/<Conversation ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The name of the conversation.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/conversations/<Conversation ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The name of the conversation.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/conversations/<Conversation ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the conversation.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/conversations/<Conversation ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the conversation.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+     * ID>/conversations/<Conversation ID>`.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.GetConversationRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.GetConversationRequest) + private static final com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetConversationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetConversationRequestOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetConversationRequestOrBuilder.java new file mode 100644 index 000000000000..e3d0af39260f --- /dev/null +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/GetConversationRequestOrBuilder.java @@ -0,0 +1,59 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/cx/v3beta1/conversation_history.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.dialogflow.cx.v3beta1; + +public interface GetConversationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.GetConversationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the conversation.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/conversations/<Conversation ID>`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the conversation.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
+   * ID>/conversations/<Conversation ID>`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/LanguageInfo.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/LanguageInfo.java new file mode 100644 index 000000000000..fc311f16fd1f --- /dev/null +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/LanguageInfo.java @@ -0,0 +1,915 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/cx/v3beta1/webhook.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.dialogflow.cx.v3beta1; + +/** + * + * + *
+ * Represents the language information of the request.
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.LanguageInfo} + */ +public final class LanguageInfo extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.LanguageInfo) + LanguageInfoOrBuilder { + private static final long serialVersionUID = 0L; + // Use LanguageInfo.newBuilder() to construct. + private LanguageInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private LanguageInfo() { + inputLanguageCode_ = ""; + resolvedLanguageCode_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LanguageInfo(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.WebhookProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_LanguageInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.WebhookProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_LanguageInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo.class, + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo.Builder.class); + } + + public static final int INPUT_LANGUAGE_CODE_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object inputLanguageCode_ = ""; + /** + * + * + *
+   * The language code specified in the original
+   * [request][google.cloud.dialogflow.cx.v3beta1.QueryInput.language_code].
+   * 
+ * + * string input_language_code = 1; + * + * @return The inputLanguageCode. + */ + @java.lang.Override + public java.lang.String getInputLanguageCode() { + java.lang.Object ref = inputLanguageCode_; + 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(); + inputLanguageCode_ = s; + return s; + } + } + /** + * + * + *
+   * The language code specified in the original
+   * [request][google.cloud.dialogflow.cx.v3beta1.QueryInput.language_code].
+   * 
+ * + * string input_language_code = 1; + * + * @return The bytes for inputLanguageCode. + */ + @java.lang.Override + public com.google.protobuf.ByteString getInputLanguageCodeBytes() { + java.lang.Object ref = inputLanguageCode_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + inputLanguageCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESOLVED_LANGUAGE_CODE_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object resolvedLanguageCode_ = ""; + /** + * + * + *
+   * The language code detected for this request based on the user
+   * conversation.
+   * 
+ * + * string resolved_language_code = 2; + * + * @return The resolvedLanguageCode. + */ + @java.lang.Override + public java.lang.String getResolvedLanguageCode() { + java.lang.Object ref = resolvedLanguageCode_; + 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(); + resolvedLanguageCode_ = s; + return s; + } + } + /** + * + * + *
+   * The language code detected for this request based on the user
+   * conversation.
+   * 
+ * + * string resolved_language_code = 2; + * + * @return The bytes for resolvedLanguageCode. + */ + @java.lang.Override + public com.google.protobuf.ByteString getResolvedLanguageCodeBytes() { + java.lang.Object ref = resolvedLanguageCode_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + resolvedLanguageCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 3; + private float confidenceScore_ = 0F; + /** + * + * + *
+   * The confidence score of the detected language between 0 and 1.
+   * 
+ * + * float confidence_score = 3; + * + * @return The confidenceScore. + */ + @java.lang.Override + public float getConfidenceScore() { + return confidenceScore_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputLanguageCode_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputLanguageCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resolvedLanguageCode_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resolvedLanguageCode_); + } + if (java.lang.Float.floatToRawIntBits(confidenceScore_) != 0) { + output.writeFloat(3, confidenceScore_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputLanguageCode_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputLanguageCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resolvedLanguageCode_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resolvedLanguageCode_); + } + if (java.lang.Float.floatToRawIntBits(confidenceScore_) != 0) { + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, confidenceScore_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo other = + (com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo) obj; + + if (!getInputLanguageCode().equals(other.getInputLanguageCode())) return false; + if (!getResolvedLanguageCode().equals(other.getResolvedLanguageCode())) return false; + if (java.lang.Float.floatToIntBits(getConfidenceScore()) + != java.lang.Float.floatToIntBits(other.getConfidenceScore())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INPUT_LANGUAGE_CODE_FIELD_NUMBER; + hash = (53 * hash) + getInputLanguageCode().hashCode(); + hash = (37 * hash) + RESOLVED_LANGUAGE_CODE_FIELD_NUMBER; + hash = (53 * hash) + getResolvedLanguageCode().hashCode(); + hash = (37 * hash) + CONFIDENCE_SCORE_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits(getConfidenceScore()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents the language information of the request.
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.LanguageInfo} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.LanguageInfo) + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.WebhookProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_LanguageInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.WebhookProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_LanguageInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo.class, + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + inputLanguageCode_ = ""; + resolvedLanguageCode_ = ""; + confidenceScore_ = 0F; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.WebhookProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_LanguageInfo_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo build() { + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo result = + new com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.inputLanguageCode_ = inputLanguageCode_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.resolvedLanguageCode_ = resolvedLanguageCode_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.confidenceScore_ = confidenceScore_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo other) { + if (other == com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo.getDefaultInstance()) + return this; + if (!other.getInputLanguageCode().isEmpty()) { + inputLanguageCode_ = other.inputLanguageCode_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getResolvedLanguageCode().isEmpty()) { + resolvedLanguageCode_ = other.resolvedLanguageCode_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getConfidenceScore() != 0F) { + setConfidenceScore(other.getConfidenceScore()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + inputLanguageCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + resolvedLanguageCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 29: + { + confidenceScore_ = input.readFloat(); + bitField0_ |= 0x00000004; + break; + } // case 29 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object inputLanguageCode_ = ""; + /** + * + * + *
+     * The language code specified in the original
+     * [request][google.cloud.dialogflow.cx.v3beta1.QueryInput.language_code].
+     * 
+ * + * string input_language_code = 1; + * + * @return The inputLanguageCode. + */ + public java.lang.String getInputLanguageCode() { + java.lang.Object ref = inputLanguageCode_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + inputLanguageCode_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The language code specified in the original
+     * [request][google.cloud.dialogflow.cx.v3beta1.QueryInput.language_code].
+     * 
+ * + * string input_language_code = 1; + * + * @return The bytes for inputLanguageCode. + */ + public com.google.protobuf.ByteString getInputLanguageCodeBytes() { + java.lang.Object ref = inputLanguageCode_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + inputLanguageCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The language code specified in the original
+     * [request][google.cloud.dialogflow.cx.v3beta1.QueryInput.language_code].
+     * 
+ * + * string input_language_code = 1; + * + * @param value The inputLanguageCode to set. + * @return This builder for chaining. + */ + public Builder setInputLanguageCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + inputLanguageCode_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The language code specified in the original
+     * [request][google.cloud.dialogflow.cx.v3beta1.QueryInput.language_code].
+     * 
+ * + * string input_language_code = 1; + * + * @return This builder for chaining. + */ + public Builder clearInputLanguageCode() { + inputLanguageCode_ = getDefaultInstance().getInputLanguageCode(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * The language code specified in the original
+     * [request][google.cloud.dialogflow.cx.v3beta1.QueryInput.language_code].
+     * 
+ * + * string input_language_code = 1; + * + * @param value The bytes for inputLanguageCode to set. + * @return This builder for chaining. + */ + public Builder setInputLanguageCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inputLanguageCode_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object resolvedLanguageCode_ = ""; + /** + * + * + *
+     * The language code detected for this request based on the user
+     * conversation.
+     * 
+ * + * string resolved_language_code = 2; + * + * @return The resolvedLanguageCode. + */ + public java.lang.String getResolvedLanguageCode() { + java.lang.Object ref = resolvedLanguageCode_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resolvedLanguageCode_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The language code detected for this request based on the user
+     * conversation.
+     * 
+ * + * string resolved_language_code = 2; + * + * @return The bytes for resolvedLanguageCode. + */ + public com.google.protobuf.ByteString getResolvedLanguageCodeBytes() { + java.lang.Object ref = resolvedLanguageCode_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + resolvedLanguageCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The language code detected for this request based on the user
+     * conversation.
+     * 
+ * + * string resolved_language_code = 2; + * + * @param value The resolvedLanguageCode to set. + * @return This builder for chaining. + */ + public Builder setResolvedLanguageCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + resolvedLanguageCode_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The language code detected for this request based on the user
+     * conversation.
+     * 
+ * + * string resolved_language_code = 2; + * + * @return This builder for chaining. + */ + public Builder clearResolvedLanguageCode() { + resolvedLanguageCode_ = getDefaultInstance().getResolvedLanguageCode(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * The language code detected for this request based on the user
+     * conversation.
+     * 
+ * + * string resolved_language_code = 2; + * + * @param value The bytes for resolvedLanguageCode to set. + * @return This builder for chaining. + */ + public Builder setResolvedLanguageCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resolvedLanguageCode_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private float confidenceScore_; + /** + * + * + *
+     * The confidence score of the detected language between 0 and 1.
+     * 
+ * + * float confidence_score = 3; + * + * @return The confidenceScore. + */ + @java.lang.Override + public float getConfidenceScore() { + return confidenceScore_; + } + /** + * + * + *
+     * The confidence score of the detected language between 0 and 1.
+     * 
+ * + * float confidence_score = 3; + * + * @param value The confidenceScore to set. + * @return This builder for chaining. + */ + public Builder setConfidenceScore(float value) { + + confidenceScore_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The confidence score of the detected language between 0 and 1.
+     * 
+ * + * float confidence_score = 3; + * + * @return This builder for chaining. + */ + public Builder clearConfidenceScore() { + bitField0_ = (bitField0_ & ~0x00000004); + confidenceScore_ = 0F; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.LanguageInfo) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.LanguageInfo) + private static final com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LanguageInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/LanguageInfoOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/LanguageInfoOrBuilder.java new file mode 100644 index 000000000000..4188e3b5690c --- /dev/null +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/LanguageInfoOrBuilder.java @@ -0,0 +1,93 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/cx/v3beta1/webhook.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.dialogflow.cx.v3beta1; + +public interface LanguageInfoOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.LanguageInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The language code specified in the original
+   * [request][google.cloud.dialogflow.cx.v3beta1.QueryInput.language_code].
+   * 
+ * + * string input_language_code = 1; + * + * @return The inputLanguageCode. + */ + java.lang.String getInputLanguageCode(); + /** + * + * + *
+   * The language code specified in the original
+   * [request][google.cloud.dialogflow.cx.v3beta1.QueryInput.language_code].
+   * 
+ * + * string input_language_code = 1; + * + * @return The bytes for inputLanguageCode. + */ + com.google.protobuf.ByteString getInputLanguageCodeBytes(); + + /** + * + * + *
+   * The language code detected for this request based on the user
+   * conversation.
+   * 
+ * + * string resolved_language_code = 2; + * + * @return The resolvedLanguageCode. + */ + java.lang.String getResolvedLanguageCode(); + /** + * + * + *
+   * The language code detected for this request based on the user
+   * conversation.
+   * 
+ * + * string resolved_language_code = 2; + * + * @return The bytes for resolvedLanguageCode. + */ + com.google.protobuf.ByteString getResolvedLanguageCodeBytes(); + + /** + * + * + *
+   * The confidence score of the detected language between 0 and 1.
+   * 
+ * + * float confidence_score = 3; + * + * @return The confidenceScore. + */ + float getConfidenceScore(); +} diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListConversationsRequest.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListConversationsRequest.java new file mode 100644 index 000000000000..35bc108bae62 --- /dev/null +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListConversationsRequest.java @@ -0,0 +1,1192 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/cx/v3beta1/conversation_history.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.dialogflow.cx.v3beta1; + +/** + * + * + *
+ * The request message for [Conversations.ListConversations][].
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest} + */ +public final class ListConversationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest) + ListConversationsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListConversationsRequest.newBuilder() to construct. + private ListConversationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListConversationsRequest() { + parent_ = ""; + filter_ = ""; + pageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListConversationsRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.class, + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + /** + * + * + *
+   * Required. The agent to list all conversations for.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + 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(); + parent_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The agent to list all conversations for.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FILTER_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object filter_ = ""; + /** + * + * + *
+   * Optional. The filter string. Supports filter by create_time,
+   * metrics.has_end_interaction, metrics.has_live_agent_handoff,
+   * intents.display_name, pages.display_name and flows.display_name. Timestamps
+   * expect an [RFC-3339][https://datatracker.ietf.org/doc/html/rfc3339]
+   * formatted string (e.g. 2012-04-21T11:30:00-04:00). UTC offsets are
+   * supported. Some examples:
+   *   1. By create time:
+   *        create_time > "2022-04-21T11:30:00-04:00"
+   *   2. By intent display name:
+   *        intents.display_name : "billing"
+   *   3. By end interaction signal:
+   *        metrics.has_end_interaction = true
+   * 
+ * + * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. + */ + @java.lang.Override + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + 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(); + filter_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. The filter string. Supports filter by create_time,
+   * metrics.has_end_interaction, metrics.has_live_agent_handoff,
+   * intents.display_name, pages.display_name and flows.display_name. Timestamps
+   * expect an [RFC-3339][https://datatracker.ietf.org/doc/html/rfc3339]
+   * formatted string (e.g. 2012-04-21T11:30:00-04:00). UTC offsets are
+   * supported. Some examples:
+   *   1. By create time:
+   *        create_time > "2022-04-21T11:30:00-04:00"
+   *   2. By intent display name:
+   *        intents.display_name : "billing"
+   *   3. By end interaction signal:
+   *        metrics.has_end_interaction = true
+   * 
+ * + * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 3; + private int pageSize_ = 0; + /** + * + * + *
+   * Optional. The maximum number of items to return in a single page. By
+   * default 100 and at most 1000.
+   * 
+ * + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + /** + * + * + *
+   * Optional. The next_page_token value returned from a previous list request.
+   * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + 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(); + pageToken_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. The next_page_token value returned from a previous list request.
+   * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); + } + if (pageSize_ != 0) { + output.writeInt32(3, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest other = + (com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * The request message for [Conversations.ListConversations][].
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest) + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.class, + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + filter_ = ""; + pageSize_ = 0; + pageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest build() { + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest result = + new com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.filter_ = filter_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.pageSize_ = pageSize_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.pageToken_ = pageToken_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest other) { + if (other + == com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getFilter().isEmpty()) { + filter_ = other.filter_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * Required. The agent to list all conversations for.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The agent to list all conversations for.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The agent to list all conversations for.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The agent to list all conversations for.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The agent to list all conversations for.
+     * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+     * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object filter_ = ""; + /** + * + * + *
+     * Optional. The filter string. Supports filter by create_time,
+     * metrics.has_end_interaction, metrics.has_live_agent_handoff,
+     * intents.display_name, pages.display_name and flows.display_name. Timestamps
+     * expect an [RFC-3339][https://datatracker.ietf.org/doc/html/rfc3339]
+     * formatted string (e.g. 2012-04-21T11:30:00-04:00). UTC offsets are
+     * supported. Some examples:
+     *   1. By create time:
+     *        create_time > "2022-04-21T11:30:00-04:00"
+     *   2. By intent display name:
+     *        intents.display_name : "billing"
+     *   3. By end interaction signal:
+     *        metrics.has_end_interaction = true
+     * 
+ * + * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. + */ + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. The filter string. Supports filter by create_time,
+     * metrics.has_end_interaction, metrics.has_live_agent_handoff,
+     * intents.display_name, pages.display_name and flows.display_name. Timestamps
+     * expect an [RFC-3339][https://datatracker.ietf.org/doc/html/rfc3339]
+     * formatted string (e.g. 2012-04-21T11:30:00-04:00). UTC offsets are
+     * supported. Some examples:
+     *   1. By create time:
+     *        create_time > "2022-04-21T11:30:00-04:00"
+     *   2. By intent display name:
+     *        intents.display_name : "billing"
+     *   3. By end interaction signal:
+     *        metrics.has_end_interaction = true
+     * 
+ * + * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. + */ + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. The filter string. Supports filter by create_time,
+     * metrics.has_end_interaction, metrics.has_live_agent_handoff,
+     * intents.display_name, pages.display_name and flows.display_name. Timestamps
+     * expect an [RFC-3339][https://datatracker.ietf.org/doc/html/rfc3339]
+     * formatted string (e.g. 2012-04-21T11:30:00-04:00). UTC offsets are
+     * supported. Some examples:
+     *   1. By create time:
+     *        create_time > "2022-04-21T11:30:00-04:00"
+     *   2. By intent display name:
+     *        intents.display_name : "billing"
+     *   3. By end interaction signal:
+     *        metrics.has_end_interaction = true
+     * 
+ * + * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The filter to set. + * @return This builder for chaining. + */ + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + filter_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The filter string. Supports filter by create_time,
+     * metrics.has_end_interaction, metrics.has_live_agent_handoff,
+     * intents.display_name, pages.display_name and flows.display_name. Timestamps
+     * expect an [RFC-3339][https://datatracker.ietf.org/doc/html/rfc3339]
+     * formatted string (e.g. 2012-04-21T11:30:00-04:00). UTC offsets are
+     * supported. Some examples:
+     *   1. By create time:
+     *        create_time > "2022-04-21T11:30:00-04:00"
+     *   2. By intent display name:
+     *        intents.display_name : "billing"
+     *   3. By end interaction signal:
+     *        metrics.has_end_interaction = true
+     * 
+ * + * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + filter_ = getDefaultInstance().getFilter(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The filter string. Supports filter by create_time,
+     * metrics.has_end_interaction, metrics.has_live_agent_handoff,
+     * intents.display_name, pages.display_name and flows.display_name. Timestamps
+     * expect an [RFC-3339][https://datatracker.ietf.org/doc/html/rfc3339]
+     * formatted string (e.g. 2012-04-21T11:30:00-04:00). UTC offsets are
+     * supported. Some examples:
+     *   1. By create time:
+     *        create_time > "2022-04-21T11:30:00-04:00"
+     *   2. By intent display name:
+     *        intents.display_name : "billing"
+     *   3. By end interaction signal:
+     *        metrics.has_end_interaction = true
+     * 
+ * + * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. + */ + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int pageSize_; + /** + * + * + *
+     * Optional. The maximum number of items to return in a single page. By
+     * default 100 and at most 1000.
+     * 
+ * + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + * + * + *
+     * Optional. The maximum number of items to return in a single page. By
+     * default 100 and at most 1000.
+     * 
+ * + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The maximum number of items to return in a single page. By
+     * default 100 and at most 1000.
+     * 
+ * + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + bitField0_ = (bitField0_ & ~0x00000004); + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
+     * Optional. The next_page_token value returned from a previous list request.
+     * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. The next_page_token value returned from a previous list request.
+     * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. The next_page_token value returned from a previous list request.
+     * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The next_page_token value returned from a previous list request.
+     * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. The next_page_token value returned from a previous list request.
+     * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest) + private static final com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConversationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListConversationsRequestOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListConversationsRequestOrBuilder.java new file mode 100644 index 000000000000..52dc2bda12f1 --- /dev/null +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListConversationsRequestOrBuilder.java @@ -0,0 +1,143 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/cx/v3beta1/conversation_history.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.dialogflow.cx.v3beta1; + +public interface ListConversationsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The agent to list all conversations for.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The agent to list all conversations for.
+   * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Optional. The filter string. Supports filter by create_time,
+   * metrics.has_end_interaction, metrics.has_live_agent_handoff,
+   * intents.display_name, pages.display_name and flows.display_name. Timestamps
+   * expect an [RFC-3339][https://datatracker.ietf.org/doc/html/rfc3339]
+   * formatted string (e.g. 2012-04-21T11:30:00-04:00). UTC offsets are
+   * supported. Some examples:
+   *   1. By create time:
+   *        create_time > "2022-04-21T11:30:00-04:00"
+   *   2. By intent display name:
+   *        intents.display_name : "billing"
+   *   3. By end interaction signal:
+   *        metrics.has_end_interaction = true
+   * 
+ * + * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. + */ + java.lang.String getFilter(); + /** + * + * + *
+   * Optional. The filter string. Supports filter by create_time,
+   * metrics.has_end_interaction, metrics.has_live_agent_handoff,
+   * intents.display_name, pages.display_name and flows.display_name. Timestamps
+   * expect an [RFC-3339][https://datatracker.ietf.org/doc/html/rfc3339]
+   * formatted string (e.g. 2012-04-21T11:30:00-04:00). UTC offsets are
+   * supported. Some examples:
+   *   1. By create time:
+   *        create_time > "2022-04-21T11:30:00-04:00"
+   *   2. By intent display name:
+   *        intents.display_name : "billing"
+   *   3. By end interaction signal:
+   *        metrics.has_end_interaction = true
+   * 
+ * + * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. + */ + com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * Optional. The maximum number of items to return in a single page. By
+   * default 100 and at most 1000.
+   * 
+ * + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
+   * Optional. The next_page_token value returned from a previous list request.
+   * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
+   * Optional. The next_page_token value returned from a previous list request.
+   * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); +} diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListConversationsResponse.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListConversationsResponse.java new file mode 100644 index 000000000000..a2064734652c --- /dev/null +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListConversationsResponse.java @@ -0,0 +1,1241 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/cx/v3beta1/conversation_history.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.dialogflow.cx.v3beta1; + +/** + * + * + *
+ * The response message for [Conversations.ListConversations][].
+ * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse} + */ +public final class ListConversationsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse) + ListConversationsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListConversationsResponse.newBuilder() to construct. + private ListConversationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListConversationsResponse() { + conversations_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListConversationsResponse(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse.class, + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse.Builder.class); + } + + public static final int CONVERSATIONS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List conversations_; + /** + * + * + *
+   * The list of conversations. There will be a maximum number of items returned
+   * based on the
+   * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+   * field. The returned conversations will be sorted by start_time in
+   * descending order (newest conversation first).
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + @java.lang.Override + public java.util.List + getConversationsList() { + return conversations_; + } + /** + * + * + *
+   * The list of conversations. There will be a maximum number of items returned
+   * based on the
+   * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+   * field. The returned conversations will be sorted by start_time in
+   * descending order (newest conversation first).
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + @java.lang.Override + public java.util.List + getConversationsOrBuilderList() { + return conversations_; + } + /** + * + * + *
+   * The list of conversations. There will be a maximum number of items returned
+   * based on the
+   * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+   * field. The returned conversations will be sorted by start_time in
+   * descending order (newest conversation first).
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + @java.lang.Override + public int getConversationsCount() { + return conversations_.size(); + } + /** + * + * + *
+   * The list of conversations. There will be a maximum number of items returned
+   * based on the
+   * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+   * field. The returned conversations will be sorted by start_time in
+   * descending order (newest conversation first).
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.Conversation getConversations(int index) { + return conversations_.get(index); + } + /** + * + * + *
+   * The list of conversations. There will be a maximum number of items returned
+   * based on the
+   * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+   * field. The returned conversations will be sorted by start_time in
+   * descending order (newest conversation first).
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ConversationOrBuilder getConversationsOrBuilder( + int index) { + return conversations_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+   * Token to retrieve the next page of results, or empty if there are no more
+   * results in the list.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + 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(); + nextPageToken_ = s; + return s; + } + } + /** + * + * + *
+   * Token to retrieve the next page of results, or empty if there are no more
+   * results in the list.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < conversations_.size(); i++) { + output.writeMessage(1, conversations_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < conversations_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, conversations_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse)) { + return super.equals(obj); + } + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse other = + (com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse) obj; + + if (!getConversationsList().equals(other.getConversationsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getConversationsCount() > 0) { + hash = (37 * hash) + CONVERSATIONS_FIELD_NUMBER; + hash = (53 * hash) + getConversationsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * The response message for [Conversations.ListConversations][].
+   * 
+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse) + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse.class, + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse.Builder.class); + } + + // Construct using com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (conversationsBuilder_ == null) { + conversations_ = java.util.Collections.emptyList(); + } else { + conversations_ = null; + conversationsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + nextPageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryProto + .internal_static_google_cloud_dialogflow_cx_v3beta1_ListConversationsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse + getDefaultInstanceForType() { + return com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse build() { + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse buildPartial() { + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse result = + new com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse result) { + if (conversationsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + conversations_ = java.util.Collections.unmodifiableList(conversations_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.conversations_ = conversations_; + } else { + result.conversations_ = conversationsBuilder_.build(); + } + } + + private void buildPartial0( + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nextPageToken_ = nextPageToken_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse) { + return mergeFrom((com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse other) { + if (other + == com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse.getDefaultInstance()) + return this; + if (conversationsBuilder_ == null) { + if (!other.conversations_.isEmpty()) { + if (conversations_.isEmpty()) { + conversations_ = other.conversations_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureConversationsIsMutable(); + conversations_.addAll(other.conversations_); + } + onChanged(); + } + } else { + if (!other.conversations_.isEmpty()) { + if (conversationsBuilder_.isEmpty()) { + conversationsBuilder_.dispose(); + conversationsBuilder_ = null; + conversations_ = other.conversations_; + bitField0_ = (bitField0_ & ~0x00000001); + conversationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getConversationsFieldBuilder() + : null; + } else { + conversationsBuilder_.addAllMessages(other.conversations_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.cloud.dialogflow.cx.v3beta1.Conversation m = + input.readMessage( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.parser(), + extensionRegistry); + if (conversationsBuilder_ == null) { + ensureConversationsIsMutable(); + conversations_.add(m); + } else { + conversationsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List conversations_ = + java.util.Collections.emptyList(); + + private void ensureConversationsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + conversations_ = + new java.util.ArrayList( + conversations_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Conversation, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Builder, + com.google.cloud.dialogflow.cx.v3beta1.ConversationOrBuilder> + conversationsBuilder_; + + /** + * + * + *
+     * The list of conversations. There will be a maximum number of items returned
+     * based on the
+     * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+     * field. The returned conversations will be sorted by start_time in
+     * descending order (newest conversation first).
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + public java.util.List + getConversationsList() { + if (conversationsBuilder_ == null) { + return java.util.Collections.unmodifiableList(conversations_); + } else { + return conversationsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * The list of conversations. There will be a maximum number of items returned
+     * based on the
+     * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+     * field. The returned conversations will be sorted by start_time in
+     * descending order (newest conversation first).
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + public int getConversationsCount() { + if (conversationsBuilder_ == null) { + return conversations_.size(); + } else { + return conversationsBuilder_.getCount(); + } + } + /** + * + * + *
+     * The list of conversations. There will be a maximum number of items returned
+     * based on the
+     * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+     * field. The returned conversations will be sorted by start_time in
+     * descending order (newest conversation first).
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation getConversations(int index) { + if (conversationsBuilder_ == null) { + return conversations_.get(index); + } else { + return conversationsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * The list of conversations. There will be a maximum number of items returned
+     * based on the
+     * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+     * field. The returned conversations will be sorted by start_time in
+     * descending order (newest conversation first).
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + public Builder setConversations( + int index, com.google.cloud.dialogflow.cx.v3beta1.Conversation value) { + if (conversationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureConversationsIsMutable(); + conversations_.set(index, value); + onChanged(); + } else { + conversationsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The list of conversations. There will be a maximum number of items returned
+     * based on the
+     * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+     * field. The returned conversations will be sorted by start_time in
+     * descending order (newest conversation first).
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + public Builder setConversations( + int index, com.google.cloud.dialogflow.cx.v3beta1.Conversation.Builder builderForValue) { + if (conversationsBuilder_ == null) { + ensureConversationsIsMutable(); + conversations_.set(index, builderForValue.build()); + onChanged(); + } else { + conversationsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The list of conversations. There will be a maximum number of items returned
+     * based on the
+     * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+     * field. The returned conversations will be sorted by start_time in
+     * descending order (newest conversation first).
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + public Builder addConversations(com.google.cloud.dialogflow.cx.v3beta1.Conversation value) { + if (conversationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureConversationsIsMutable(); + conversations_.add(value); + onChanged(); + } else { + conversationsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * The list of conversations. There will be a maximum number of items returned
+     * based on the
+     * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+     * field. The returned conversations will be sorted by start_time in
+     * descending order (newest conversation first).
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + public Builder addConversations( + int index, com.google.cloud.dialogflow.cx.v3beta1.Conversation value) { + if (conversationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureConversationsIsMutable(); + conversations_.add(index, value); + onChanged(); + } else { + conversationsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The list of conversations. There will be a maximum number of items returned
+     * based on the
+     * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+     * field. The returned conversations will be sorted by start_time in
+     * descending order (newest conversation first).
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + public Builder addConversations( + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Builder builderForValue) { + if (conversationsBuilder_ == null) { + ensureConversationsIsMutable(); + conversations_.add(builderForValue.build()); + onChanged(); + } else { + conversationsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The list of conversations. There will be a maximum number of items returned
+     * based on the
+     * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+     * field. The returned conversations will be sorted by start_time in
+     * descending order (newest conversation first).
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + public Builder addConversations( + int index, com.google.cloud.dialogflow.cx.v3beta1.Conversation.Builder builderForValue) { + if (conversationsBuilder_ == null) { + ensureConversationsIsMutable(); + conversations_.add(index, builderForValue.build()); + onChanged(); + } else { + conversationsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The list of conversations. There will be a maximum number of items returned
+     * based on the
+     * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+     * field. The returned conversations will be sorted by start_time in
+     * descending order (newest conversation first).
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + public Builder addAllConversations( + java.lang.Iterable values) { + if (conversationsBuilder_ == null) { + ensureConversationsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conversations_); + onChanged(); + } else { + conversationsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * The list of conversations. There will be a maximum number of items returned
+     * based on the
+     * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+     * field. The returned conversations will be sorted by start_time in
+     * descending order (newest conversation first).
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + public Builder clearConversations() { + if (conversationsBuilder_ == null) { + conversations_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + conversationsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The list of conversations. There will be a maximum number of items returned
+     * based on the
+     * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+     * field. The returned conversations will be sorted by start_time in
+     * descending order (newest conversation first).
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + public Builder removeConversations(int index) { + if (conversationsBuilder_ == null) { + ensureConversationsIsMutable(); + conversations_.remove(index); + onChanged(); + } else { + conversationsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * The list of conversations. There will be a maximum number of items returned
+     * based on the
+     * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+     * field. The returned conversations will be sorted by start_time in
+     * descending order (newest conversation first).
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Builder getConversationsBuilder( + int index) { + return getConversationsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * The list of conversations. There will be a maximum number of items returned
+     * based on the
+     * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+     * field. The returned conversations will be sorted by start_time in
+     * descending order (newest conversation first).
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + public com.google.cloud.dialogflow.cx.v3beta1.ConversationOrBuilder getConversationsOrBuilder( + int index) { + if (conversationsBuilder_ == null) { + return conversations_.get(index); + } else { + return conversationsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * The list of conversations. There will be a maximum number of items returned
+     * based on the
+     * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+     * field. The returned conversations will be sorted by start_time in
+     * descending order (newest conversation first).
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + public java.util.List + getConversationsOrBuilderList() { + if (conversationsBuilder_ != null) { + return conversationsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(conversations_); + } + } + /** + * + * + *
+     * The list of conversations. There will be a maximum number of items returned
+     * based on the
+     * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+     * field. The returned conversations will be sorted by start_time in
+     * descending order (newest conversation first).
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Builder addConversationsBuilder() { + return getConversationsFieldBuilder() + .addBuilder(com.google.cloud.dialogflow.cx.v3beta1.Conversation.getDefaultInstance()); + } + /** + * + * + *
+     * The list of conversations. There will be a maximum number of items returned
+     * based on the
+     * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+     * field. The returned conversations will be sorted by start_time in
+     * descending order (newest conversation first).
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + public com.google.cloud.dialogflow.cx.v3beta1.Conversation.Builder addConversationsBuilder( + int index) { + return getConversationsFieldBuilder() + .addBuilder( + index, com.google.cloud.dialogflow.cx.v3beta1.Conversation.getDefaultInstance()); + } + /** + * + * + *
+     * The list of conversations. There will be a maximum number of items returned
+     * based on the
+     * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+     * field. The returned conversations will be sorted by start_time in
+     * descending order (newest conversation first).
+     * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + public java.util.List + getConversationsBuilderList() { + return getConversationsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Conversation, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Builder, + com.google.cloud.dialogflow.cx.v3beta1.ConversationOrBuilder> + getConversationsFieldBuilder() { + if (conversationsBuilder_ == null) { + conversationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.Conversation, + com.google.cloud.dialogflow.cx.v3beta1.Conversation.Builder, + com.google.cloud.dialogflow.cx.v3beta1.ConversationOrBuilder>( + conversations_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + conversations_ = null; + } + return conversationsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no more
+     * results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no more
+     * results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no more
+     * results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no more
+     * results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Token to retrieve the next page of results, or empty if there are no more
+     * results in the list.
+     * 
+ * + * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse) + private static final com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse(); + } + + public static com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConversationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListConversationsResponseOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListConversationsResponseOrBuilder.java new file mode 100644 index 000000000000..176f022028bb --- /dev/null +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ListConversationsResponseOrBuilder.java @@ -0,0 +1,125 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dialogflow/cx/v3beta1/conversation_history.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.dialogflow.cx.v3beta1; + +public interface ListConversationsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The list of conversations. There will be a maximum number of items returned
+   * based on the
+   * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+   * field. The returned conversations will be sorted by start_time in
+   * descending order (newest conversation first).
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + java.util.List getConversationsList(); + /** + * + * + *
+   * The list of conversations. There will be a maximum number of items returned
+   * based on the
+   * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+   * field. The returned conversations will be sorted by start_time in
+   * descending order (newest conversation first).
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + com.google.cloud.dialogflow.cx.v3beta1.Conversation getConversations(int index); + /** + * + * + *
+   * The list of conversations. There will be a maximum number of items returned
+   * based on the
+   * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+   * field. The returned conversations will be sorted by start_time in
+   * descending order (newest conversation first).
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + int getConversationsCount(); + /** + * + * + *
+   * The list of conversations. There will be a maximum number of items returned
+   * based on the
+   * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+   * field. The returned conversations will be sorted by start_time in
+   * descending order (newest conversation first).
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + java.util.List + getConversationsOrBuilderList(); + /** + * + * + *
+   * The list of conversations. There will be a maximum number of items returned
+   * based on the
+   * [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size]
+   * field. The returned conversations will be sorted by start_time in
+   * descending order (newest conversation first).
+   * 
+ * + * repeated .google.cloud.dialogflow.cx.v3beta1.Conversation conversations = 1; + */ + com.google.cloud.dialogflow.cx.v3beta1.ConversationOrBuilder getConversationsOrBuilder(int index); + + /** + * + * + *
+   * Token to retrieve the next page of results, or empty if there are no more
+   * results in the list.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * Token to retrieve the next page of results, or empty if there are no more
+   * results in the list.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettings.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettings.java index a30024d54185..537a3d9cac30 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettings.java +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettings.java @@ -376,7 +376,8 @@ public enum RetentionStrategy implements com.google.protobuf.ProtocolMessageEnum * * *
-     * Removes data when the conversation ends. If there is no [Conversation][]
+     * Removes data when the conversation ends. If there is no
+     * [Conversation][google.cloud.dialogflow.cx.v3beta1.Conversation]
      * explicitly established, a default conversation ends when the
      * corresponding Dialogflow session ends.
      * 
@@ -401,7 +402,8 @@ public enum RetentionStrategy implements com.google.protobuf.ProtocolMessageEnum * * *
-     * Removes data when the conversation ends. If there is no [Conversation][]
+     * Removes data when the conversation ends. If there is no
+     * [Conversation][google.cloud.dialogflow.cx.v3beta1.Conversation]
      * explicitly established, a default conversation ends when the
      * corresponding Dialogflow session ends.
      * 
diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookProto.java index 629570d365f2..23bdc46167c4 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookProto.java +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookProto.java @@ -128,6 +128,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_dialogflow_cx_v3beta1_SessionInfo_ParametersEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_dialogflow_cx_v3beta1_SessionInfo_ParametersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dialogflow_cx_v3beta1_LanguageInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dialogflow_cx_v3beta1_LanguageInfo_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -212,7 +216,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".google.protobuf.FieldMask\"^\n\024DeleteWebh" + "ookRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dialog" + "flow.googleapis.com/Webhook\022\r\n\005force\030\002 \001" - + "(\010\"\251\n\n\016WebhookRequest\022!\n\031detect_intent_r" + + "(\010\"\362\n\n\016WebhookRequest\022!\n\031detect_intent_r" + "esponse_id\030\001 \001(\t\022\016\n\004text\030\n \001(\tH\000\022?\n\016trig" + "ger_intent\030\013 \001(\tB%\372A\"\n dialogflow.google" + "apis.com/IntentH\000\022\024\n\ntranscript\030\014 \001(\tH\000\022" @@ -231,96 +235,100 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e.protobuf.Struct\022m\n\031sentiment_analysis_" + "result\030\t \001(\0132J.google.cloud.dialogflow.c" + "x.v3beta1.WebhookRequest.SentimentAnalys" - + "isResult\032\036\n\017FulfillmentInfo\022\013\n\003tag\030\001 \001(\t" - + "\032\305\003\n\nIntentInfo\022B\n\023last_matched_intent\030\001" - + " \001(\tB%\372A\"\n dialogflow.googleapis.com/Int" - + "ent\022\024\n\014display_name\030\003 \001(\t\022a\n\nparameters\030" - + "\002 \003(\0132M.google.cloud.dialogflow.cx.v3bet" - + "a1.WebhookRequest.IntentInfo.ParametersE" - + "ntry\022\022\n\nconfidence\030\004 \001(\002\032^\n\024IntentParame" - + "terValue\022\026\n\016original_value\030\001 \001(\t\022.\n\016reso" - + "lved_value\030\002 \001(\0132\026.google.protobuf.Value" - + "\032\205\001\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\022a\n\005val" - + "ue\030\002 \001(\0132R.google.cloud.dialogflow.cx.v3" - + "beta1.WebhookRequest.IntentInfo.IntentPa" - + "rameterValue:\0028\001\032;\n\027SentimentAnalysisRes" - + "ult\022\r\n\005score\030\001 \001(\002\022\021\n\tmagnitude\030\002 \001(\002B\007\n" - + "\005query\"\310\005\n\017WebhookResponse\022e\n\024fulfillmen" - + "t_response\030\001 \001(\0132G.google.cloud.dialogfl" - + "ow.cx.v3beta1.WebhookResponse.Fulfillmen" - + "tResponse\022?\n\tpage_info\030\002 \001(\0132,.google.cl" - + "oud.dialogflow.cx.v3beta1.PageInfo\022E\n\014se" - + "ssion_info\030\003 \001(\0132/.google.cloud.dialogfl" - + "ow.cx.v3beta1.SessionInfo\022(\n\007payload\030\004 \001" - + "(\0132\027.google.protobuf.Struct\022:\n\013target_pa" - + "ge\030\005 \001(\tB#\372A \n\036dialogflow.googleapis.com" - + "/PageH\000\022:\n\013target_flow\030\006 \001(\tB#\372A \n\036dialo" - + "gflow.googleapis.com/FlowH\000\032\225\002\n\023Fulfillm" - + "entResponse\022E\n\010messages\030\001 \003(\01323.google.c" - + "loud.dialogflow.cx.v3beta1.ResponseMessa" - + "ge\022m\n\016merge_behavior\030\002 \001(\0162U.google.clou" - + "d.dialogflow.cx.v3beta1.WebhookResponse." - + "FulfillmentResponse.MergeBehavior\"H\n\rMer" - + "geBehavior\022\036\n\032MERGE_BEHAVIOR_UNSPECIFIED" - + "\020\000\022\n\n\006APPEND\020\001\022\013\n\007REPLACE\020\002B\014\n\ntransitio" - + "n\"\302\004\n\010PageInfo\0229\n\014current_page\030\001 \001(\tB#\372A" - + " \n\036dialogflow.googleapis.com/Page\022\024\n\014dis" - + "play_name\030\004 \001(\t\022H\n\tform_info\030\003 \001(\01325.goo" - + "gle.cloud.dialogflow.cx.v3beta1.PageInfo" - + ".FormInfo\032\232\003\n\010FormInfo\022[\n\016parameter_info" - + "\030\002 \003(\0132C.google.cloud.dialogflow.cx.v3be" - + "ta1.PageInfo.FormInfo.ParameterInfo\032\260\002\n\r" - + "ParameterInfo\022\024\n\014display_name\030\001 \001(\t\022\020\n\010r" - + "equired\030\002 \001(\010\022a\n\005state\030\003 \001(\0162R.google.cl" - + "oud.dialogflow.cx.v3beta1.PageInfo.FormI" - + "nfo.ParameterInfo.ParameterState\022%\n\005valu" - + "e\030\004 \001(\0132\026.google.protobuf.Value\022\026\n\016just_" - + "collected\030\005 \001(\010\"U\n\016ParameterState\022\037\n\033PAR" - + "AMETER_STATE_UNSPECIFIED\020\000\022\t\n\005EMPTY\020\001\022\013\n" - + "\007INVALID\020\002\022\n\n\006FILLED\020\003\"\346\001\n\013SessionInfo\0227" - + "\n\007session\030\001 \001(\tB&\372A#\n!dialogflow.googlea" - + "pis.com/Session\022S\n\nparameters\030\002 \003(\0132?.go" - + "ogle.cloud.dialogflow.cx.v3beta1.Session" - + "Info.ParametersEntry\032I\n\017ParametersEntry\022" - + "\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.google.pro" - + "tobuf.Value:\0028\0012\375\010\n\010Webhooks\022\316\001\n\014ListWeb" - + "hooks\0227.google.cloud.dialogflow.cx.v3bet" - + "a1.ListWebhooksRequest\0328.google.cloud.di" - + "alogflow.cx.v3beta1.ListWebhooksResponse" - + "\"K\332A\006parent\202\323\344\223\002<\022:/v3beta1/{parent=proj" - + "ects/*/locations/*/agents/*}/webhooks\022\273\001" - + "\n\nGetWebhook\0225.google.cloud.dialogflow.c" - + "x.v3beta1.GetWebhookRequest\032+.google.clo" - + "ud.dialogflow.cx.v3beta1.Webhook\"I\332A\004nam" - + "e\202\323\344\223\002<\022:/v3beta1/{name=projects/*/locat" - + "ions/*/agents/*/webhooks/*}\022\324\001\n\rCreateWe" - + "bhook\0228.google.cloud.dialogflow.cx.v3bet" - + "a1.CreateWebhookRequest\032+.google.cloud.d" - + "ialogflow.cx.v3beta1.Webhook\"\\\332A\016parent," - + "webhook\202\323\344\223\002E\":/v3beta1/{parent=projects" - + "/*/locations/*/agents/*}/webhooks:\007webho" - + "ok\022\341\001\n\rUpdateWebhook\0228.google.cloud.dial" - + "ogflow.cx.v3beta1.UpdateWebhookRequest\032+" + + "isResult\022G\n\rlanguage_info\030\022 \001(\01320.google" + + ".cloud.dialogflow.cx.v3beta1.LanguageInf" + + "o\032\036\n\017FulfillmentInfo\022\013\n\003tag\030\001 \001(\t\032\305\003\n\nIn" + + "tentInfo\022B\n\023last_matched_intent\030\001 \001(\tB%\372" + + "A\"\n dialogflow.googleapis.com/Intent\022\024\n\014" + + "display_name\030\003 \001(\t\022a\n\nparameters\030\002 \003(\0132M" + ".google.cloud.dialogflow.cx.v3beta1.Webh" - + "ook\"i\332A\023webhook,update_mask\202\323\344\223\002M2B/v3be" - + "ta1/{webhook.name=projects/*/locations/*" - + "/agents/*/webhooks/*}:\007webhook\022\254\001\n\rDelet" - + "eWebhook\0228.google.cloud.dialogflow.cx.v3" - + "beta1.DeleteWebhookRequest\032\026.google.prot" - + "obuf.Empty\"I\332A\004name\202\323\344\223\002<*:/v3beta1/{nam" - + "e=projects/*/locations/*/agents/*/webhoo" - + "ks/*}\032x\312A\031dialogflow.googleapis.com\322AYht" - + "tps://www.googleapis.com/auth/cloud-plat" - + "form,https://www.googleapis.com/auth/dia" - + "logflowB\305\002\n&com.google.cloud.dialogflow." - + "cx.v3beta1B\014WebhookProtoP\001Z6cloud.google" - + ".com/go/dialogflow/cx/apiv3beta1/cxpb;cx" - + "pb\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx." - + "V3Beta1\352\002&Google::Cloud::Dialogflow::CX:" - + ":V3beta1\352A|\n\'servicedirectory.googleapis" - + ".com/Service\022Qprojects/{project}/locatio" - + "ns/{location}/namespaces/{namespace}/ser" - + "vices/{service}b\006proto3" + + "ookRequest.IntentInfo.ParametersEntry\022\022\n" + + "\nconfidence\030\004 \001(\002\032^\n\024IntentParameterValu" + + "e\022\026\n\016original_value\030\001 \001(\t\022.\n\016resolved_va" + + "lue\030\002 \001(\0132\026.google.protobuf.Value\032\205\001\n\017Pa" + + "rametersEntry\022\013\n\003key\030\001 \001(\t\022a\n\005value\030\002 \001(" + + "\0132R.google.cloud.dialogflow.cx.v3beta1.W" + + "ebhookRequest.IntentInfo.IntentParameter" + + "Value:\0028\001\032;\n\027SentimentAnalysisResult\022\r\n\005" + + "score\030\001 \001(\002\022\021\n\tmagnitude\030\002 \001(\002B\007\n\005query\"" + + "\310\005\n\017WebhookResponse\022e\n\024fulfillment_respo" + + "nse\030\001 \001(\0132G.google.cloud.dialogflow.cx.v" + + "3beta1.WebhookResponse.FulfillmentRespon" + + "se\022?\n\tpage_info\030\002 \001(\0132,.google.cloud.dia" + + "logflow.cx.v3beta1.PageInfo\022E\n\014session_i" + + "nfo\030\003 \001(\0132/.google.cloud.dialogflow.cx.v" + + "3beta1.SessionInfo\022(\n\007payload\030\004 \001(\0132\027.go" + + "ogle.protobuf.Struct\022:\n\013target_page\030\005 \001(" + + "\tB#\372A \n\036dialogflow.googleapis.com/PageH\000" + + "\022:\n\013target_flow\030\006 \001(\tB#\372A \n\036dialogflow.g" + + "oogleapis.com/FlowH\000\032\225\002\n\023FulfillmentResp" + + "onse\022E\n\010messages\030\001 \003(\01323.google.cloud.di" + + "alogflow.cx.v3beta1.ResponseMessage\022m\n\016m" + + "erge_behavior\030\002 \001(\0162U.google.cloud.dialo" + + "gflow.cx.v3beta1.WebhookResponse.Fulfill" + + "mentResponse.MergeBehavior\"H\n\rMergeBehav" + + "ior\022\036\n\032MERGE_BEHAVIOR_UNSPECIFIED\020\000\022\n\n\006A" + + "PPEND\020\001\022\013\n\007REPLACE\020\002B\014\n\ntransition\"\302\004\n\010P" + + "ageInfo\0229\n\014current_page\030\001 \001(\tB#\372A \n\036dial" + + "ogflow.googleapis.com/Page\022\024\n\014display_na" + + "me\030\004 \001(\t\022H\n\tform_info\030\003 \001(\01325.google.clo" + + "ud.dialogflow.cx.v3beta1.PageInfo.FormIn" + + "fo\032\232\003\n\010FormInfo\022[\n\016parameter_info\030\002 \003(\0132" + + "C.google.cloud.dialogflow.cx.v3beta1.Pag" + + "eInfo.FormInfo.ParameterInfo\032\260\002\n\rParamet" + + "erInfo\022\024\n\014display_name\030\001 \001(\t\022\020\n\010required" + + "\030\002 \001(\010\022a\n\005state\030\003 \001(\0162R.google.cloud.dia" + + "logflow.cx.v3beta1.PageInfo.FormInfo.Par" + + "ameterInfo.ParameterState\022%\n\005value\030\004 \001(\013" + + "2\026.google.protobuf.Value\022\026\n\016just_collect" + + "ed\030\005 \001(\010\"U\n\016ParameterState\022\037\n\033PARAMETER_" + + "STATE_UNSPECIFIED\020\000\022\t\n\005EMPTY\020\001\022\013\n\007INVALI" + + "D\020\002\022\n\n\006FILLED\020\003\"\346\001\n\013SessionInfo\0227\n\007sessi" + + "on\030\001 \001(\tB&\372A#\n!dialogflow.googleapis.com" + + "/Session\022S\n\nparameters\030\002 \003(\0132?.google.cl" + + "oud.dialogflow.cx.v3beta1.SessionInfo.Pa" + + "rametersEntry\032I\n\017ParametersEntry\022\013\n\003key\030" + + "\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.google.protobuf.V" + + "alue:\0028\001\"e\n\014LanguageInfo\022\033\n\023input_langua" + + "ge_code\030\001 \001(\t\022\036\n\026resolved_language_code\030" + + "\002 \001(\t\022\030\n\020confidence_score\030\003 \001(\0022\375\010\n\010Webh" + + "ooks\022\316\001\n\014ListWebhooks\0227.google.cloud.dia" + + "logflow.cx.v3beta1.ListWebhooksRequest\0328" + + ".google.cloud.dialogflow.cx.v3beta1.List" + + "WebhooksResponse\"K\332A\006parent\202\323\344\223\002<\022:/v3be" + + "ta1/{parent=projects/*/locations/*/agent" + + "s/*}/webhooks\022\273\001\n\nGetWebhook\0225.google.cl" + + "oud.dialogflow.cx.v3beta1.GetWebhookRequ" + + "est\032+.google.cloud.dialogflow.cx.v3beta1" + + ".Webhook\"I\332A\004name\202\323\344\223\002<\022:/v3beta1/{name=" + + "projects/*/locations/*/agents/*/webhooks" + + "/*}\022\324\001\n\rCreateWebhook\0228.google.cloud.dia" + + "logflow.cx.v3beta1.CreateWebhookRequest\032" + + "+.google.cloud.dialogflow.cx.v3beta1.Web" + + "hook\"\\\332A\016parent,webhook\202\323\344\223\002E\":/v3beta1/" + + "{parent=projects/*/locations/*/agents/*}" + + "/webhooks:\007webhook\022\341\001\n\rUpdateWebhook\0228.g" + + "oogle.cloud.dialogflow.cx.v3beta1.Update" + + "WebhookRequest\032+.google.cloud.dialogflow" + + ".cx.v3beta1.Webhook\"i\332A\023webhook,update_m" + + "ask\202\323\344\223\002M2B/v3beta1/{webhook.name=projec" + + "ts/*/locations/*/agents/*/webhooks/*}:\007w" + + "ebhook\022\254\001\n\rDeleteWebhook\0228.google.cloud." + + "dialogflow.cx.v3beta1.DeleteWebhookReque" + + "st\032\026.google.protobuf.Empty\"I\332A\004name\202\323\344\223\002" + + "<*:/v3beta1/{name=projects/*/locations/*" + + "/agents/*/webhooks/*}\032x\312A\031dialogflow.goo" + + "gleapis.com\322AYhttps://www.googleapis.com" + + "/auth/cloud-platform,https://www.googlea" + + "pis.com/auth/dialogflowB\305\002\n&com.google.c" + + "loud.dialogflow.cx.v3beta1B\014WebhookProto" + + "P\001Z6cloud.google.com/go/dialogflow/cx/ap" + + "iv3beta1/cxpb;cxpb\370\001\001\242\002\002DF\252\002\"Google.Clou" + + "d.Dialogflow.Cx.V3Beta1\352\002&Google::Cloud:" + + ":Dialogflow::CX::V3beta1\352A|\n\'servicedire" + + "ctory.googleapis.com/Service\022Qprojects/{" + + "project}/locations/{location}/namespaces" + + "/{namespace}/services/{service}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -478,6 +486,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Messages", "Payload", "SentimentAnalysisResult", + "LanguageInfo", "Query", }); internal_static_google_cloud_dialogflow_cx_v3beta1_WebhookRequest_FulfillmentInfo_descriptor = @@ -600,6 +609,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dialogflow_cx_v3beta1_LanguageInfo_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_dialogflow_cx_v3beta1_LanguageInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dialogflow_cx_v3beta1_LanguageInfo_descriptor, + new java.lang.String[] { + "InputLanguageCode", "ResolvedLanguageCode", "ConfidenceScore", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequest.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequest.java index d91a61e548d7..3957992abd3e 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequest.java +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequest.java @@ -5119,6 +5119,56 @@ public boolean hasSentimentAnalysisResult() { : sentimentAnalysisResult_; } + public static final int LANGUAGE_INFO_FIELD_NUMBER = 18; + private com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo languageInfo_; + /** + * + * + *
+   * Information about the language of the request.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; + * + * @return Whether the languageInfo field is set. + */ + @java.lang.Override + public boolean hasLanguageInfo() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+   * Information about the language of the request.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; + * + * @return The languageInfo. + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo getLanguageInfo() { + return languageInfo_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo.getDefaultInstance() + : languageInfo_; + } + /** + * + * + *
+   * Information about the language of the request.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; + */ + @java.lang.Override + public com.google.cloud.dialogflow.cx.v3beta1.LanguageInfoOrBuilder getLanguageInfoOrBuilder() { + return languageInfo_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo.getDefaultInstance() + : languageInfo_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -5175,6 +5225,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (queryCase_ == 17) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, query_); } + if (((bitField0_ & 0x00000040) != 0)) { + output.writeMessage(18, getLanguageInfo()); + } getUnknownFields().writeTo(output); } @@ -5227,6 +5280,9 @@ public int getSerializedSize() { if (queryCase_ == 17) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, query_); } + if (((bitField0_ & 0x00000040) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getLanguageInfo()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -5270,6 +5326,10 @@ public boolean equals(final java.lang.Object obj) { if (hasSentimentAnalysisResult()) { if (!getSentimentAnalysisResult().equals(other.getSentimentAnalysisResult())) return false; } + if (hasLanguageInfo() != other.hasLanguageInfo()) return false; + if (hasLanguageInfo()) { + if (!getLanguageInfo().equals(other.getLanguageInfo())) return false; + } if (!getQueryCase().equals(other.getQueryCase())) return false; switch (queryCase_) { case 10: @@ -5333,6 +5393,10 @@ public int hashCode() { hash = (37 * hash) + SENTIMENT_ANALYSIS_RESULT_FIELD_NUMBER; hash = (53 * hash) + getSentimentAnalysisResult().hashCode(); } + if (hasLanguageInfo()) { + hash = (37 * hash) + LANGUAGE_INFO_FIELD_NUMBER; + hash = (53 * hash) + getLanguageInfo().hashCode(); + } switch (queryCase_) { case 10: hash = (37 * hash) + TEXT_FIELD_NUMBER; @@ -5509,6 +5573,7 @@ private void maybeForceBuilderInitialization() { getMessagesFieldBuilder(); getPayloadFieldBuilder(); getSentimentAnalysisResultFieldBuilder(); + getLanguageInfoFieldBuilder(); } } @@ -5555,6 +5620,11 @@ public Builder clear() { sentimentAnalysisResultBuilder_.dispose(); sentimentAnalysisResultBuilder_ = null; } + languageInfo_ = null; + if (languageInfoBuilder_ != null) { + languageInfoBuilder_.dispose(); + languageInfoBuilder_ = null; + } queryCase_ = 0; query_ = null; return this; @@ -5644,6 +5714,11 @@ private void buildPartial0(com.google.cloud.dialogflow.cx.v3beta1.WebhookRequest : sentimentAnalysisResultBuilder_.build(); to_bitField0_ |= 0x00000020; } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.languageInfo_ = + languageInfoBuilder_ == null ? languageInfo_ : languageInfoBuilder_.build(); + to_bitField0_ |= 0x00000040; + } result.bitField0_ |= to_bitField0_; } @@ -5753,6 +5828,9 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.WebhookRequest o if (other.hasSentimentAnalysisResult()) { mergeSentimentAnalysisResult(other.getSentimentAnalysisResult()); } + if (other.hasLanguageInfo()) { + mergeLanguageInfo(other.getLanguageInfo()); + } switch (other.getQueryCase()) { case TEXT: { @@ -5918,6 +5996,12 @@ public Builder mergeFrom( query_ = s; break; } // case 138 + case 146: + { + input.readMessage(getLanguageInfoFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 146 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -8496,6 +8580,193 @@ public Builder clearSentimentAnalysisResult() { return sentimentAnalysisResultBuilder_; } + private com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo languageInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo, + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo.Builder, + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfoOrBuilder> + languageInfoBuilder_; + /** + * + * + *
+     * Information about the language of the request.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; + * + * @return Whether the languageInfo field is set. + */ + public boolean hasLanguageInfo() { + return ((bitField0_ & 0x00004000) != 0); + } + /** + * + * + *
+     * Information about the language of the request.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; + * + * @return The languageInfo. + */ + public com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo getLanguageInfo() { + if (languageInfoBuilder_ == null) { + return languageInfo_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo.getDefaultInstance() + : languageInfo_; + } else { + return languageInfoBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Information about the language of the request.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; + */ + public Builder setLanguageInfo(com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo value) { + if (languageInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + languageInfo_ = value; + } else { + languageInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + /** + * + * + *
+     * Information about the language of the request.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; + */ + public Builder setLanguageInfo( + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo.Builder builderForValue) { + if (languageInfoBuilder_ == null) { + languageInfo_ = builderForValue.build(); + } else { + languageInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + /** + * + * + *
+     * Information about the language of the request.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; + */ + public Builder mergeLanguageInfo(com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo value) { + if (languageInfoBuilder_ == null) { + if (((bitField0_ & 0x00004000) != 0) + && languageInfo_ != null + && languageInfo_ + != com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo.getDefaultInstance()) { + getLanguageInfoBuilder().mergeFrom(value); + } else { + languageInfo_ = value; + } + } else { + languageInfoBuilder_.mergeFrom(value); + } + if (languageInfo_ != null) { + bitField0_ |= 0x00004000; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Information about the language of the request.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; + */ + public Builder clearLanguageInfo() { + bitField0_ = (bitField0_ & ~0x00004000); + languageInfo_ = null; + if (languageInfoBuilder_ != null) { + languageInfoBuilder_.dispose(); + languageInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Information about the language of the request.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; + */ + public com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo.Builder getLanguageInfoBuilder() { + bitField0_ |= 0x00004000; + onChanged(); + return getLanguageInfoFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Information about the language of the request.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; + */ + public com.google.cloud.dialogflow.cx.v3beta1.LanguageInfoOrBuilder getLanguageInfoOrBuilder() { + if (languageInfoBuilder_ != null) { + return languageInfoBuilder_.getMessageOrBuilder(); + } else { + return languageInfo_ == null + ? com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo.getDefaultInstance() + : languageInfo_; + } + } + /** + * + * + *
+     * Information about the language of the request.
+     * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo, + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo.Builder, + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfoOrBuilder> + getLanguageInfoFieldBuilder() { + if (languageInfoBuilder_ == null) { + languageInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo, + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo.Builder, + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfoOrBuilder>( + getLanguageInfo(), getParentForChildren(), isClean()); + languageInfo_ = null; + } + return languageInfoBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequestOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequestOrBuilder.java index c35457fb7cd9..90af3bef0e9b 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequestOrBuilder.java +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/WebhookRequestOrBuilder.java @@ -583,5 +583,40 @@ public interface WebhookRequestOrBuilder com.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResultOrBuilder getSentimentAnalysisResultOrBuilder(); + /** + * + * + *
+   * Information about the language of the request.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; + * + * @return Whether the languageInfo field is set. + */ + boolean hasLanguageInfo(); + /** + * + * + *
+   * Information about the language of the request.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; + * + * @return The languageInfo. + */ + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfo getLanguageInfo(); + /** + * + * + *
+   * Information about the language of the request.
+   * 
+ * + * .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; + */ + com.google.cloud.dialogflow.cx.v3beta1.LanguageInfoOrBuilder getLanguageInfoOrBuilder(); + com.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.QueryCase getQueryCase(); } diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/conversation_history.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/conversation_history.proto new file mode 100644 index 000000000000..6d39a7fece5e --- /dev/null +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/conversation_history.proto @@ -0,0 +1,372 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.cloud.dialogflow.cx.v3beta1; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/cloud/dialogflow/cx/v3beta1/environment.proto"; +import "google/cloud/dialogflow/cx/v3beta1/flow.proto"; +import "google/cloud/dialogflow/cx/v3beta1/intent.proto"; +import "google/cloud/dialogflow/cx/v3beta1/page.proto"; +import "google/cloud/dialogflow/cx/v3beta1/session.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/timestamp.proto"; + +option cc_enable_arenas = true; +option csharp_namespace = "Google.Cloud.Dialogflow.Cx.V3Beta1"; +option go_package = "cloud.google.com/go/dialogflow/cx/apiv3beta1/cxpb;cxpb"; +option java_multiple_files = true; +option java_outer_classname = "ConversationHistoryProto"; +option java_package = "com.google.cloud.dialogflow.cx.v3beta1"; +option objc_class_prefix = "DF"; +option ruby_package = "Google::Cloud::Dialogflow::CX::V3beta1"; + +// Service for managing conversation history. +service ConversationHistory { + option (google.api.default_host) = "dialogflow.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform," + "https://www.googleapis.com/auth/dialogflow"; + + // Returns the list of all conversations. + rpc ListConversations(ListConversationsRequest) + returns (ListConversationsResponse) { + option (google.api.http) = { + get: "/v3beta1/{parent=projects/*/locations/*/agents/*}/conversations" + }; + option (google.api.method_signature) = "parent"; + } + + // Retrieves the specified conversation. + rpc GetConversation(GetConversationRequest) returns (Conversation) { + option (google.api.http) = { + get: "/v3beta1/{name=projects/*/locations/*/agents/*/conversations/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Deletes the specified conversation. + rpc DeleteConversation(DeleteConversationRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v3beta1/{name=projects/*/locations/*/agents/*/conversations/*}" + }; + option (google.api.method_signature) = "name"; + } +} + +// The request message for [Conversations.GetConversation][]. +message GetConversationRequest { + // Required. The name of the conversation. + // Format: `projects//locations//agents//conversations/`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Conversation" + } + ]; +} + +// The request message for [Conversations.DeleteConversation][]. +message DeleteConversationRequest { + // Required. The name of the conversation. + // Format: `projects//locations//agents//conversations/`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Conversation" + } + ]; +} + +// The request message for [Conversations.ListConversations][]. +message ListConversationsRequest { + // Required. The agent to list all conversations for. + // Format: `projects//locations//agents/`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dialogflow.googleapis.com/Conversation" + } + ]; + + // Optional. The filter string. Supports filter by create_time, + // metrics.has_end_interaction, metrics.has_live_agent_handoff, + // intents.display_name, pages.display_name and flows.display_name. Timestamps + // expect an [RFC-3339][https://datatracker.ietf.org/doc/html/rfc3339] + // formatted string (e.g. 2012-04-21T11:30:00-04:00). UTC offsets are + // supported. Some examples: + // 1. By create time: + // create_time > "2022-04-21T11:30:00-04:00" + // 2. By intent display name: + // intents.display_name : "billing" + // 3. By end interaction signal: + // metrics.has_end_interaction = true + string filter = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The maximum number of items to return in a single page. By + // default 100 and at most 1000. + int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The next_page_token value returned from a previous list request. + string page_token = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +// The response message for [Conversations.ListConversations][]. +message ListConversationsResponse { + // The list of conversations. There will be a maximum number of items returned + // based on the + // [page_size][google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest.page_size] + // field. The returned conversations will be sorted by start_time in + // descending order (newest conversation first). + repeated Conversation conversations = 1; + + // Token to retrieve the next page of results, or empty if there are no more + // results in the list. + string next_page_token = 2; +} + +// Represents a conversation. +message Conversation { + option (google.api.resource) = { + type: "dialogflow.googleapis.com/Conversation" + pattern: "projects/{project}/locations/{location}/agents/{agent}/conversations/{conversation}" + plural: "conversations" + singular: "conversation" + }; + + // Represents the type of a conversation. + enum Type { + // Not specified. This value should never be used. + TYPE_UNSPECIFIED = 0; + + // Audio conversation. A conversation is classified as an audio conversation + // if any request has STT input audio or any response has TTS output audio. + AUDIO = 1; + + // Text conversation. A conversation is classified as a text conversation + // if any request has text input and no request has STT input audio and no + // response has TTS output audio. + TEXT = 2; + + // Default conversation type for a conversation. A conversation is + // classified as undetermined if none of the requests contain text or audio + // input (eg. event or intent input). + UNDETERMINED = 3; + } + + // Represents metrics for the conversation. + message Metrics { + // Count by types of + // [QueryInput][google.cloud.dialogflow.cx.v3beta1.QueryInput] of the + // requests in the conversation. + message QueryInputCount { + // The number of [TextInput][google.cloud.dialogflow.cx.v3beta1.TextInput] + // in the conversation. + int32 text_count = 1; + + // The number of + // [IntentInput][google.cloud.dialogflow.cx.v3beta1.IntentInput] in the + // conversation. + int32 intent_count = 2; + + // The number of + // [AudioInput][google.cloud.dialogflow.cx.v3beta1.AudioInput] in the + // conversation. + int32 audio_count = 3; + + // The number of + // [EventInput][google.cloud.dialogflow.cx.v3beta1.EventInput] in the + // conversation. + int32 event_count = 4; + + // The number of [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput] + // in the conversation. + int32 dtmf_count = 5; + } + + // Count by + // [Match.MatchType][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] of + // the matches in the conversation. + message MatchTypeCount { + // The number of matches with type + // [Match.MatchType.MATCH_TYPE_UNSPECIFIED][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.MATCH_TYPE_UNSPECIFIED]. + int32 unspecified_count = 1; + + // The number of matches with type + // [Match.MatchType.INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.INTENT]. + int32 intent_count = 2; + + // The number of matches with type + // [Match.MatchType.DIRECT_INTENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.DIRECT_INTENT]. + int32 direct_intent_count = 3; + + // The number of matches with type + // [Match.MatchType.PARAMETER_FILLING][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.PARAMETER_FILLING]. + int32 parameter_filling_count = 4; + + // The number of matches with type + // [Match.MatchType.NO_MATCH][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_MATCH]. + int32 no_match_count = 5; + + // The number of matches with type + // [Match.MatchType.NO_INPUT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.NO_INPUT]. + int32 no_input_count = 6; + + // The number of matches with type + // [Match.MatchType.EVENT][google.cloud.dialogflow.cx.v3beta1.Match.MatchType.EVENT]. + int32 event_count = 7; + } + + // The number of interactions in the conversation. + int32 interaction_count = 1; + + // Duration of all the input's audio in the conversation. + google.protobuf.Duration input_audio_duration = 2; + + // Duration of all the output's audio in the conversation. + google.protobuf.Duration output_audio_duration = 3; + + // Maximum latency of the + // [Webhook][google.cloud.dialogflow.cx.v3beta1.Webhook] calls in the + // conversation. + google.protobuf.Duration max_webhook_latency = 4; + + // A signal that indicates the interaction with the Dialogflow agent has + // ended. + // If any response has the + // [ResponseMessage.end_interaction][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.end_interaction] + // signal, this is set to true. + bool has_end_interaction = 5; + + // Hands off conversation to a human agent. + // If any response has the + // [ResponseMessage.live_agent_handoff][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.live_agent_handoff]signal, + // this is set to true. + bool has_live_agent_handoff = 6; + + // The average confidence all of the + // [Match][google.cloud.dialogflow.cx.v3beta1.Match] in the conversation. + // Values range from 0.0 (completely uncertain) to 1.0 (completely certain). + float average_match_confidence = 7; + + // Query input counts. + QueryInputCount query_input_count = 8; + + // Match type counts. + MatchTypeCount match_type_count = 9; + } + + // Represents an interaction between an end user and a Dialogflow CX agent + // using V3 (Streaming)DetectIntent API, or an interaction between an end user + // and a Dialogflow CX agent using V2 (Streaming)AnalyzeContent API. + message Interaction { + // Information collected for DF CX agents in case NLU predicted an intent + // that was filtered out as being inactive which may indicate a missing + // transition and/or absent functionality. + message MissingTransition { + // Name of the intent that could have triggered. + string intent_display_name = 1; + + // Score of the above intent. The higher it is the more likely a + // transition was missed on a given page. + float score = 2; + } + + // The request of the interaction. + DetectIntentRequest request = 1; + + // The final response of the interaction. + DetectIntentResponse response = 2; + + // The partial responses of the interaction. Empty if there is no partial + // response in the interaction. + // See the + // [partial response + // documentation][https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#queue]. + repeated DetectIntentResponse partial_responses = 3; + + // The input text or the transcript of the input audio in the request. + string request_utterances = 4; + + // The output text or the transcript of the output audio in the responses. + // If multiple output messages are returned, they will be concatenated into + // one. + string response_utterances = 5; + + // The time that the interaction was created. + google.protobuf.Timestamp create_time = 6; + + // Missing transition predicted for the interaction. This field is set only + // if the interaction match type was no-match. + MissingTransition missing_transition = 8; + } + + // Identifier. The identifier of the conversation. + // If conversation ID is reused, interactions happened later than 48 hours of + // the conversation's create time will be ignored. Format: + // `projects//locations//agents//conversations/` + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; + + // The type of the conversation. + Type type = 2; + + // The language of the conversation, which is the language of the first + // request in the conversation. + string language_code = 3; + + // Start time of the conversation, which is the time of the first request of + // the conversation. + google.protobuf.Timestamp start_time = 4; + + // Duration of the conversation. + google.protobuf.Duration duration = 5; + + // Conversation metrics. + Metrics metrics = 6; + + // All the matched [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] in the + // conversation. Only `name` and `display_name` are filled in this message. + repeated Intent intents = 7; + + // All the [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] the conversation + // has went through. Only `name` and `display_name` are filled in this + // message. + repeated Flow flows = 8; + + // All the [Page][google.cloud.dialogflow.cx.v3beta1.Page] the conversation + // has went through. Only `name` and `display_name` are filled in this + // message. + repeated Page pages = 9; + + // Interactions of the conversation. + // Only populated for `GetConversation` and empty for `ListConversations`. + repeated Interaction interactions = 10; + + // Environment of the conversation. + // Only `name` and `display_name` are filled in this message. + Environment environment = 11; + + // Flow versions used in the conversation. + map flow_versions = 12; +} diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/security_settings.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/security_settings.proto index 365578149018..125f19ca3eb6 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/security_settings.proto +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/security_settings.proto @@ -223,7 +223,8 @@ message SecuritySettings { // Retains the persisted data with Dialogflow's internal default 365d TTLs. RETENTION_STRATEGY_UNSPECIFIED = 0; - // Removes data when the conversation ends. If there is no [Conversation][] + // Removes data when the conversation ends. If there is no + // [Conversation][google.cloud.dialogflow.cx.v3beta1.Conversation] // explicitly established, a default conversation ends when the // corresponding Dialogflow session ends. REMOVE_AFTER_CONVERSATION = 1; diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/webhook.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/webhook.proto index c43927dec306..21e96cad9522 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/webhook.proto +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/webhook.proto @@ -518,6 +518,9 @@ message WebhookRequest { // The sentiment analysis result of the current user request. The field is // filled when sentiment analysis is configured to be enabled for the request. SentimentAnalysisResult sentiment_analysis_result = 9; + + // Information about the language of the request. + LanguageInfo language_info = 18; } // The response message for a webhook call. @@ -708,3 +711,17 @@ message SessionInfo { // map is keyed by parameters' display names. map parameters = 2; } + +// Represents the language information of the request. +message LanguageInfo { + // The language code specified in the original + // [request][google.cloud.dialogflow.cx.v3beta1.QueryInput.language_code]. + string input_language_code = 1; + + // The language code detected for this request based on the user + // conversation. + string resolved_language_code = 2; + + // The confidence score of the detected language between 0 and 1. + float confidence_score = 3; +} diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/create/SyncCreateSetCredentialsProvider.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 000000000000..70fb64a410b4 --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,45 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_Create_SetCredentialsProvider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistorySettings; +import com.google.cloud.dialogflow.cx.v3beta1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + ConversationHistorySettings conversationHistorySettings = + ConversationHistorySettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + ConversationHistoryClient conversationHistoryClient = + ConversationHistoryClient.create(conversationHistorySettings); + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_Create_SetCredentialsProvider_sync] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/create/SyncCreateSetCredentialsProvider1.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/create/SyncCreateSetCredentialsProvider1.java new file mode 100644 index 000000000000..051bb0b1a326 --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/create/SyncCreateSetCredentialsProvider1.java @@ -0,0 +1,41 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_Create_SetCredentialsProvider1_sync] +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistorySettings; + +public class SyncCreateSetCredentialsProvider1 { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider1(); + } + + public static void syncCreateSetCredentialsProvider1() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + ConversationHistorySettings conversationHistorySettings = + ConversationHistorySettings.newHttpJsonBuilder().build(); + ConversationHistoryClient conversationHistoryClient = + ConversationHistoryClient.create(conversationHistorySettings); + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_Create_SetCredentialsProvider1_sync] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/create/SyncCreateSetEndpoint.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/create/SyncCreateSetEndpoint.java new file mode 100644 index 000000000000..f283d4feaf24 --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/create/SyncCreateSetEndpoint.java @@ -0,0 +1,42 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_Create_SetEndpoint_sync] +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistorySettings; +import com.google.cloud.dialogflow.cx.v3beta1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + ConversationHistorySettings conversationHistorySettings = + ConversationHistorySettings.newBuilder().setEndpoint(myEndpoint).build(); + ConversationHistoryClient conversationHistoryClient = + ConversationHistoryClient.create(conversationHistorySettings); + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_Create_SetEndpoint_sync] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/deleteconversation/AsyncDeleteConversation.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/deleteconversation/AsyncDeleteConversation.java new file mode 100644 index 000000000000..9fd3d5570b3f --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/deleteconversation/AsyncDeleteConversation.java @@ -0,0 +1,52 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_DeleteConversation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationName; +import com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest; +import com.google.protobuf.Empty; + +public class AsyncDeleteConversation { + + public static void main(String[] args) throws Exception { + asyncDeleteConversation(); + } + + public static void asyncDeleteConversation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) { + DeleteConversationRequest request = + DeleteConversationRequest.newBuilder() + .setName( + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]") + .toString()) + .build(); + ApiFuture future = + conversationHistoryClient.deleteConversationCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_DeleteConversation_async] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/deleteconversation/SyncDeleteConversation.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/deleteconversation/SyncDeleteConversation.java new file mode 100644 index 000000000000..4a594f895c95 --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/deleteconversation/SyncDeleteConversation.java @@ -0,0 +1,48 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_DeleteConversation_sync] +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationName; +import com.google.cloud.dialogflow.cx.v3beta1.DeleteConversationRequest; +import com.google.protobuf.Empty; + +public class SyncDeleteConversation { + + public static void main(String[] args) throws Exception { + syncDeleteConversation(); + } + + public static void syncDeleteConversation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) { + DeleteConversationRequest request = + DeleteConversationRequest.newBuilder() + .setName( + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]") + .toString()) + .build(); + conversationHistoryClient.deleteConversation(request); + } + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_DeleteConversation_sync] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/deleteconversation/SyncDeleteConversationConversationname.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/deleteconversation/SyncDeleteConversationConversationname.java new file mode 100644 index 000000000000..0cf1b572e55f --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/deleteconversation/SyncDeleteConversationConversationname.java @@ -0,0 +1,43 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_DeleteConversation_Conversationname_sync] +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationName; +import com.google.protobuf.Empty; + +public class SyncDeleteConversationConversationname { + + public static void main(String[] args) throws Exception { + syncDeleteConversationConversationname(); + } + + public static void syncDeleteConversationConversationname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) { + ConversationName name = + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]"); + conversationHistoryClient.deleteConversation(name); + } + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_DeleteConversation_Conversationname_sync] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/deleteconversation/SyncDeleteConversationString.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/deleteconversation/SyncDeleteConversationString.java new file mode 100644 index 000000000000..ad9723ff392f --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/deleteconversation/SyncDeleteConversationString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_DeleteConversation_String_sync] +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationName; +import com.google.protobuf.Empty; + +public class SyncDeleteConversationString { + + public static void main(String[] args) throws Exception { + syncDeleteConversationString(); + } + + public static void syncDeleteConversationString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) { + String name = + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]").toString(); + conversationHistoryClient.deleteConversation(name); + } + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_DeleteConversation_String_sync] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/getconversation/AsyncGetConversation.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/getconversation/AsyncGetConversation.java new file mode 100644 index 000000000000..6a586f181a32 --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/getconversation/AsyncGetConversation.java @@ -0,0 +1,52 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_GetConversation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.dialogflow.cx.v3beta1.Conversation; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationName; +import com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest; + +public class AsyncGetConversation { + + public static void main(String[] args) throws Exception { + asyncGetConversation(); + } + + public static void asyncGetConversation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) { + GetConversationRequest request = + GetConversationRequest.newBuilder() + .setName( + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]") + .toString()) + .build(); + ApiFuture future = + conversationHistoryClient.getConversationCallable().futureCall(request); + // Do something. + Conversation response = future.get(); + } + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_GetConversation_async] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/getconversation/SyncGetConversation.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/getconversation/SyncGetConversation.java new file mode 100644 index 000000000000..adecf6116b20 --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/getconversation/SyncGetConversation.java @@ -0,0 +1,48 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_GetConversation_sync] +import com.google.cloud.dialogflow.cx.v3beta1.Conversation; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationName; +import com.google.cloud.dialogflow.cx.v3beta1.GetConversationRequest; + +public class SyncGetConversation { + + public static void main(String[] args) throws Exception { + syncGetConversation(); + } + + public static void syncGetConversation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) { + GetConversationRequest request = + GetConversationRequest.newBuilder() + .setName( + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]") + .toString()) + .build(); + Conversation response = conversationHistoryClient.getConversation(request); + } + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_GetConversation_sync] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/getconversation/SyncGetConversationConversationname.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/getconversation/SyncGetConversationConversationname.java new file mode 100644 index 000000000000..b4258c9e3df7 --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/getconversation/SyncGetConversationConversationname.java @@ -0,0 +1,43 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_GetConversation_Conversationname_sync] +import com.google.cloud.dialogflow.cx.v3beta1.Conversation; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationName; + +public class SyncGetConversationConversationname { + + public static void main(String[] args) throws Exception { + syncGetConversationConversationname(); + } + + public static void syncGetConversationConversationname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) { + ConversationName name = + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]"); + Conversation response = conversationHistoryClient.getConversation(name); + } + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_GetConversation_Conversationname_sync] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/getconversation/SyncGetConversationString.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/getconversation/SyncGetConversationString.java new file mode 100644 index 000000000000..fa9958b23158 --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/getconversation/SyncGetConversationString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_GetConversation_String_sync] +import com.google.cloud.dialogflow.cx.v3beta1.Conversation; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationName; + +public class SyncGetConversationString { + + public static void main(String[] args) throws Exception { + syncGetConversationString(); + } + + public static void syncGetConversationString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) { + String name = + ConversationName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[CONVERSATION]").toString(); + Conversation response = conversationHistoryClient.getConversation(name); + } + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_GetConversation_String_sync] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/getlocation/AsyncGetLocation.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/getlocation/AsyncGetLocation.java new file mode 100644 index 000000000000..fbaff05de164 --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/getlocation/AsyncGetLocation.java @@ -0,0 +1,46 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_GetLocation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.Location; + +public class AsyncGetLocation { + + public static void main(String[] args) throws Exception { + asyncGetLocation(); + } + + public static void asyncGetLocation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) { + GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); + ApiFuture future = + conversationHistoryClient.getLocationCallable().futureCall(request); + // Do something. + Location response = future.get(); + } + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_GetLocation_async] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/getlocation/SyncGetLocation.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/getlocation/SyncGetLocation.java new file mode 100644 index 000000000000..cf206ed441d4 --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/getlocation/SyncGetLocation.java @@ -0,0 +1,42 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_GetLocation_sync] +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.Location; + +public class SyncGetLocation { + + public static void main(String[] args) throws Exception { + syncGetLocation(); + } + + public static void syncGetLocation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) { + GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); + Location response = conversationHistoryClient.getLocation(request); + } + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_GetLocation_sync] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listconversations/AsyncListConversations.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listconversations/AsyncListConversations.java new file mode 100644 index 000000000000..dcf0b146690a --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listconversations/AsyncListConversations.java @@ -0,0 +1,55 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_ListConversations_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.dialogflow.cx.v3beta1.AgentName; +import com.google.cloud.dialogflow.cx.v3beta1.Conversation; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest; + +public class AsyncListConversations { + + public static void main(String[] args) throws Exception { + asyncListConversations(); + } + + public static void asyncListConversations() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) { + ListConversationsRequest request = + ListConversationsRequest.newBuilder() + .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + conversationHistoryClient.listConversationsPagedCallable().futureCall(request); + // Do something. + for (Conversation element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_ListConversations_async] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listconversations/AsyncListConversationsPaged.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listconversations/AsyncListConversationsPaged.java new file mode 100644 index 000000000000..c88dd08f33fa --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listconversations/AsyncListConversationsPaged.java @@ -0,0 +1,63 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_ListConversations_Paged_async] +import com.google.cloud.dialogflow.cx.v3beta1.AgentName; +import com.google.cloud.dialogflow.cx.v3beta1.Conversation; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest; +import com.google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse; +import com.google.common.base.Strings; + +public class AsyncListConversationsPaged { + + public static void main(String[] args) throws Exception { + asyncListConversationsPaged(); + } + + public static void asyncListConversationsPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) { + ListConversationsRequest request = + ListConversationsRequest.newBuilder() + .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListConversationsResponse response = + conversationHistoryClient.listConversationsCallable().call(request); + for (Conversation element : response.getConversationsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_ListConversations_Paged_async] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listconversations/SyncListConversations.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listconversations/SyncListConversations.java new file mode 100644 index 000000000000..c98997ae3cb9 --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listconversations/SyncListConversations.java @@ -0,0 +1,52 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_ListConversations_sync] +import com.google.cloud.dialogflow.cx.v3beta1.AgentName; +import com.google.cloud.dialogflow.cx.v3beta1.Conversation; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.dialogflow.cx.v3beta1.ListConversationsRequest; + +public class SyncListConversations { + + public static void main(String[] args) throws Exception { + syncListConversations(); + } + + public static void syncListConversations() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) { + ListConversationsRequest request = + ListConversationsRequest.newBuilder() + .setParent(AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString()) + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (Conversation element : + conversationHistoryClient.listConversations(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_ListConversations_sync] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listconversations/SyncListConversationsAgentname.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listconversations/SyncListConversationsAgentname.java new file mode 100644 index 000000000000..33506e6e14f7 --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listconversations/SyncListConversationsAgentname.java @@ -0,0 +1,45 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_ListConversations_Agentname_sync] +import com.google.cloud.dialogflow.cx.v3beta1.AgentName; +import com.google.cloud.dialogflow.cx.v3beta1.Conversation; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; + +public class SyncListConversationsAgentname { + + public static void main(String[] args) throws Exception { + syncListConversationsAgentname(); + } + + public static void syncListConversationsAgentname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) { + AgentName parent = AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]"); + for (Conversation element : + conversationHistoryClient.listConversations(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_ListConversations_Agentname_sync] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listconversations/SyncListConversationsString.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listconversations/SyncListConversationsString.java new file mode 100644 index 000000000000..d9d12ca30d3a --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listconversations/SyncListConversationsString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_ListConversations_String_sync] +import com.google.cloud.dialogflow.cx.v3beta1.AgentName; +import com.google.cloud.dialogflow.cx.v3beta1.Conversation; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; + +public class SyncListConversationsString { + + public static void main(String[] args) throws Exception { + syncListConversationsString(); + } + + public static void syncListConversationsString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) { + String parent = AgentName.of("[PROJECT]", "[LOCATION]", "[AGENT]").toString(); + for (Conversation element : + conversationHistoryClient.listConversations(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_ListConversations_String_sync] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listlocations/AsyncListLocations.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listlocations/AsyncListLocations.java new file mode 100644 index 000000000000..7f4699042bc2 --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listlocations/AsyncListLocations.java @@ -0,0 +1,54 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_ListLocations_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.Location; + +public class AsyncListLocations { + + public static void main(String[] args) throws Exception { + asyncListLocations(); + } + + public static void asyncListLocations() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) { + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("name3373707") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + conversationHistoryClient.listLocationsPagedCallable().futureCall(request); + // Do something. + for (Location element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_ListLocations_async] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listlocations/AsyncListLocationsPaged.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listlocations/AsyncListLocationsPaged.java new file mode 100644 index 000000000000..62a08275a8d8 --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listlocations/AsyncListLocationsPaged.java @@ -0,0 +1,62 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_ListLocations_Paged_async] +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.common.base.Strings; + +public class AsyncListLocationsPaged { + + public static void main(String[] args) throws Exception { + asyncListLocationsPaged(); + } + + public static void asyncListLocationsPaged() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) { + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("name3373707") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListLocationsResponse response = + conversationHistoryClient.listLocationsCallable().call(request); + for (Location element : response.getLocationsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_ListLocations_Paged_async] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listlocations/SyncListLocations.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listlocations/SyncListLocations.java new file mode 100644 index 000000000000..f5a744ceab39 --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistory/listlocations/SyncListLocations.java @@ -0,0 +1,50 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistory_ListLocations_sync] +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.Location; + +public class SyncListLocations { + + public static void main(String[] args) throws Exception { + syncListLocations(); + } + + public static void syncListLocations() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ConversationHistoryClient conversationHistoryClient = ConversationHistoryClient.create()) { + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("name3373707") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (Location element : conversationHistoryClient.listLocations(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END dialogflow_v3beta1_generated_ConversationHistory_ListLocations_sync] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistorysettings/getconversation/SyncGetConversation.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistorysettings/getconversation/SyncGetConversation.java new file mode 100644 index 000000000000..a14ceea065c4 --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/conversationhistorysettings/getconversation/SyncGetConversation.java @@ -0,0 +1,50 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistorySettings_GetConversation_sync] +import com.google.cloud.dialogflow.cx.v3beta1.ConversationHistorySettings; +import java.time.Duration; + +public class SyncGetConversation { + + public static void main(String[] args) throws Exception { + syncGetConversation(); + } + + public static void syncGetConversation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + ConversationHistorySettings.Builder conversationHistorySettingsBuilder = + ConversationHistorySettings.newBuilder(); + conversationHistorySettingsBuilder + .getConversationSettings() + .setRetrySettings( + conversationHistorySettingsBuilder + .getConversationSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + ConversationHistorySettings conversationHistorySettings = + conversationHistorySettingsBuilder.build(); + } +} +// [END dialogflow_v3beta1_generated_ConversationHistorySettings_GetConversation_sync] diff --git a/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/stub/conversationhistorystubsettings/getconversation/SyncGetConversation.java b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/stub/conversationhistorystubsettings/getconversation/SyncGetConversation.java new file mode 100644 index 000000000000..4a3139cea732 --- /dev/null +++ b/java-dialogflow-cx/samples/snippets/generated/com/google/cloud/dialogflow/cx/v3beta1/stub/conversationhistorystubsettings/getconversation/SyncGetConversation.java @@ -0,0 +1,50 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dialogflow.cx.v3beta1.stub.samples; + +// [START dialogflow_v3beta1_generated_ConversationHistoryStubSettings_GetConversation_sync] +import com.google.cloud.dialogflow.cx.v3beta1.stub.ConversationHistoryStubSettings; +import java.time.Duration; + +public class SyncGetConversation { + + public static void main(String[] args) throws Exception { + syncGetConversation(); + } + + public static void syncGetConversation() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + ConversationHistoryStubSettings.Builder conversationHistorySettingsBuilder = + ConversationHistoryStubSettings.newBuilder(); + conversationHistorySettingsBuilder + .getConversationSettings() + .setRetrySettings( + conversationHistorySettingsBuilder + .getConversationSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + ConversationHistoryStubSettings conversationHistorySettings = + conversationHistorySettingsBuilder.build(); + } +} +// [END dialogflow_v3beta1_generated_ConversationHistoryStubSettings_GetConversation_sync] diff --git a/java-dialogflow/README.md b/java-dialogflow/README.md index fb64725678f1..74ef4bb75bb9 100644 --- a/java-dialogflow/README.md +++ b/java-dialogflow/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dialogflow.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow/4.47.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow/4.48.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-discoveryengine/README.md b/java-discoveryengine/README.md index e17be585ed70..303a6c1e9521 100644 --- a/java-discoveryengine/README.md +++ b/java-discoveryengine/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-discoveryengine.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-discoveryengine/0.37.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-discoveryengine/0.38.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-distributedcloudedge/README.md b/java-distributedcloudedge/README.md index 2a9a14ee57c6..e9410a1d28a4 100644 --- a/java-distributedcloudedge/README.md +++ b/java-distributedcloudedge/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-distributedcloudedge.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-distributedcloudedge/0.38.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-distributedcloudedge/0.39.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dlp/README.md b/java-dlp/README.md index 6817cf73f31f..d0331a98c4ed 100644 --- a/java-dlp/README.md +++ b/java-dlp/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dlp.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dlp/3.45.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dlp/3.46.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dms/README.md b/java-dms/README.md index 8fb684d0c241..964aee5a99fa 100644 --- a/java-dms/README.md +++ b/java-dms/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dms.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dms/2.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dms/2.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-document-ai/README.md b/java-document-ai/README.md index 123fa5c23179..edaeeb65c9e0 100644 --- a/java-document-ai/README.md +++ b/java-document-ai/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-document-ai.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.45.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.46.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-domains/README.md b/java-domains/README.md index be945c89c5a9..37a4786084fe 100644 --- a/java-domains/README.md +++ b/java-domains/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-domains.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-domains/1.38.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-domains/1.39.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-edgenetwork/README.md b/java-edgenetwork/README.md index 484ee3175e38..2d75607513ac 100644 --- a/java-edgenetwork/README.md +++ b/java-edgenetwork/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-edgenetwork.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-edgenetwork/0.9.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-edgenetwork/0.10.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-enterpriseknowledgegraph/README.md b/java-enterpriseknowledgegraph/README.md index 88c0ae37cbcc..b0f5e22e298e 100644 --- a/java-enterpriseknowledgegraph/README.md +++ b/java-enterpriseknowledgegraph/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-enterpriseknowledgegraph.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-enterpriseknowledgegraph/0.37.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-enterpriseknowledgegraph/0.38.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-errorreporting/README.md b/java-errorreporting/README.md index 4af92ecabe54..a72da695ef76 100644 --- a/java-errorreporting/README.md +++ b/java-errorreporting/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-errorreporting.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-errorreporting/0.162.0-beta +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-errorreporting/0.163.0-beta [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-essential-contacts/README.md b/java-essential-contacts/README.md index 4a7e50a8b2bb..b1a815d053a4 100644 --- a/java-essential-contacts/README.md +++ b/java-essential-contacts/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-essential-contacts.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-essential-contacts/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-essential-contacts/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-eventarc-publishing/README.md b/java-eventarc-publishing/README.md index f3138f4d6381..9bce70e80b46 100644 --- a/java-eventarc-publishing/README.md +++ b/java-eventarc-publishing/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-eventarc-publishing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc-publishing/0.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc-publishing/0.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-eventarc/README.md b/java-eventarc/README.md index 776f0d790373..f86e81e021f3 100644 --- a/java-eventarc/README.md +++ b/java-eventarc/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-eventarc.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc/1.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc/1.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-filestore/README.md b/java-filestore/README.md index 5f43da8d27c8..83b1e6a328d2 100644 --- a/java-filestore/README.md +++ b/java-filestore/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-filestore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-filestore/1.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-filestore/1.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-functions/README.md b/java-functions/README.md index 253bd4740962..99de58b59b25 100644 --- a/java-functions/README.md +++ b/java-functions/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-functions.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-functions/2.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-functions/2.44.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-gke-backup/README.md b/java-gke-backup/README.md index 113d4674a9bd..0f26d43c8a6b 100644 --- a/java-gke-backup/README.md +++ b/java-gke-backup/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gke-backup.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-backup/0.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-backup/0.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-gke-connect-gateway/README.md b/java-gke-connect-gateway/README.md index 3d3639a5f9ec..8f00733ba73b 100644 --- a/java-gke-connect-gateway/README.md +++ b/java-gke-connect-gateway/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gke-connect-gateway.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-connect-gateway/0.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-connect-gateway/0.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-gke-multi-cloud/README.md b/java-gke-multi-cloud/README.md index 66bce68e1a70..e76d0e48c63f 100644 --- a/java-gke-multi-cloud/README.md +++ b/java-gke-multi-cloud/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gke-multi-cloud.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-multi-cloud/0.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-multi-cloud/0.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-gkehub/README.md b/java-gkehub/README.md index f05c1baba26d..7c9403135140 100644 --- a/java-gkehub/README.md +++ b/java-gkehub/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gkehub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gkehub/1.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gkehub/1.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-gsuite-addons/README.md b/java-gsuite-addons/README.md index 3a0e69b8325a..15c05a343f3c 100644 --- a/java-gsuite-addons/README.md +++ b/java-gsuite-addons/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gsuite-addons.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gsuite-addons/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gsuite-addons/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-iam-admin/README.md b/java-iam-admin/README.md index 313d579cfa65..8644e995c550 100644 --- a/java-iam-admin/README.md +++ b/java-iam-admin/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-iam-admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-admin/3.36.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-admin/3.37.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-iam/README.md b/java-iam/README.md index 26ac8a0c6fd8..b0f79bd717ab 100644 --- a/java-iam/README.md +++ b/java-iam/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-iam-policy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-policy/1.39.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-policy/1.40.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-iamcredentials/README.md b/java-iamcredentials/README.md index d2876b3e0fbd..5eef6d84aea2 100644 --- a/java-iamcredentials/README.md +++ b/java-iamcredentials/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-iamcredentials.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iamcredentials/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iamcredentials/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-ids/README.md b/java-ids/README.md index e327d9e6ec74..b2db3a2506db 100644 --- a/java-ids/README.md +++ b/java-ids/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-ids.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-ids/1.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-ids/1.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-infra-manager/README.md b/java-infra-manager/README.md index f52f8ac16683..0b10b9a4203b 100644 --- a/java-infra-manager/README.md +++ b/java-infra-manager/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-infra-manager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-infra-manager/0.18.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-infra-manager/0.19.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-iot/README.md b/java-iot/README.md index b385b576c5b9..e8f6a18902c4 100644 --- a/java-iot/README.md +++ b/java-iot/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-iot.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iot/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iot/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-kms/README.md b/java-kms/README.md index 90e7c4637ac9..069de369fed6 100644 --- a/java-kms/README.md +++ b/java-kms/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-kms.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kms/2.44.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kms/2.45.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-kmsinventory/README.md b/java-kmsinventory/README.md index 66f81a3593ec..81d254ae4ab3 100644 --- a/java-kmsinventory/README.md +++ b/java-kmsinventory/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-kmsinventory.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kmsinventory/0.30.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kmsinventory/0.31.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-language/README.md b/java-language/README.md index d0c5f33fcce3..874069a496f0 100644 --- a/java-language/README.md +++ b/java-language/README.md @@ -227,7 +227,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-language.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-language/2.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-language/2.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-life-sciences/README.md b/java-life-sciences/README.md index 6da67ea23b88..44b94525598c 100644 --- a/java-life-sciences/README.md +++ b/java-life-sciences/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-life-sciences.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-life-sciences/0.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-life-sciences/0.44.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-managed-identities/README.md b/java-managed-identities/README.md index c2e134cdeb51..83eea8948f0e 100644 --- a/java-managed-identities/README.md +++ b/java-managed-identities/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-managed-identities.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managed-identities/1.39.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managed-identities/1.40.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-addressvalidation/README.md b/java-maps-addressvalidation/README.md index 1ee239b73391..ed5b190a1046 100644 --- a/java-maps-addressvalidation/README.md +++ b/java-maps-addressvalidation/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-addressvalidation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-addressvalidation/0.35.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-addressvalidation/0.36.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-mapsplatformdatasets/README.md b/java-maps-mapsplatformdatasets/README.md index c061151c3b23..4a691d57ee63 100644 --- a/java-maps-mapsplatformdatasets/README.md +++ b/java-maps-mapsplatformdatasets/README.md @@ -202,7 +202,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-mapsplatformdatasets.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-mapsplatformdatasets/0.30.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-mapsplatformdatasets/0.31.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-places/README.md b/java-maps-places/README.md index 569eff0e4860..df255b6dcd68 100644 --- a/java-maps-places/README.md +++ b/java-maps-places/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-places.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-places/0.12.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-places/0.13.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-places/proto-google-maps-places-v1/src/main/java/com/google/maps/places/v1/SearchTextRequest.java b/java-maps-places/proto-google-maps-places-v1/src/main/java/com/google/maps/places/v1/SearchTextRequest.java index 8e838dd8ac37..cf5a39674816 100644 --- a/java-maps-places/proto-google-maps-places-v1/src/main/java/com/google/maps/places/v1/SearchTextRequest.java +++ b/java-maps-places/proto-google-maps-places-v1/src/main/java/com/google/maps/places/v1/SearchTextRequest.java @@ -82,7 +82,9 @@ public enum RankPreference implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * RankPreference value not set. Will default to DISTANCE.
+     * For a categorical query such as "Restaurants in New York City", RELEVANCE
+     * is the default. For non-categorical queries such as "Mountain View, CA"
+     * we recommend that you leave rankPreference unset.
      * 
* * RANK_PREFERENCE_UNSPECIFIED = 0; @@ -116,7 +118,9 @@ public enum RankPreference implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * RankPreference value not set. Will default to DISTANCE.
+     * For a categorical query such as "Restaurants in New York City", RELEVANCE
+     * is the default. For non-categorical queries such as "Mountain View, CA"
+     * we recommend that you leave rankPreference unset.
      * 
* * RANK_PREFERENCE_UNSPECIFIED = 0; diff --git a/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/attribution.proto b/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/attribution.proto index d982dd06db3b..481ce202499e 100644 --- a/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/attribution.proto +++ b/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/attribution.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 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/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/ev_charging.proto b/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/ev_charging.proto index a81ae499c8aa..80db0cb76e8c 100644 --- a/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/ev_charging.proto +++ b/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/ev_charging.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 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/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/fuel_options.proto b/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/fuel_options.proto index 4a38de53832e..c0e6e9900eb1 100644 --- a/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/fuel_options.proto +++ b/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/fuel_options.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 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/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/geometry.proto b/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/geometry.proto index e5e53a57d91b..92ebd887a24e 100644 --- a/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/geometry.proto +++ b/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/geometry.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 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/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/photo.proto b/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/photo.proto index d2f3f999b6a6..b340dce98e9b 100644 --- a/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/photo.proto +++ b/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/photo.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 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/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/place.proto b/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/place.proto index 7afb4a7d43f1..3fbf76e5ae51 100644 --- a/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/place.proto +++ b/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/place.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 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/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/places_service.proto b/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/places_service.proto index 135852c6970e..947ee1040e92 100644 --- a/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/places_service.proto +++ b/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/places_service.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -237,7 +237,9 @@ message SearchNearbyResponse { message SearchTextRequest { // How results will be ranked in the response. enum RankPreference { - // RankPreference value not set. Will default to DISTANCE. + // For a categorical query such as "Restaurants in New York City", RELEVANCE + // is the default. For non-categorical queries such as "Mountain View, CA" + // we recommend that you leave rankPreference unset. RANK_PREFERENCE_UNSPECIFIED = 0; // Ranks results by distance. diff --git a/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/review.proto b/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/review.proto index bccc4c0bc0f4..5aaca3ab88af 100644 --- a/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/review.proto +++ b/java-maps-places/proto-google-maps-places-v1/src/main/proto/google/maps/places/v1/review.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 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/java-maps-routing/README.md b/java-maps-routing/README.md index e751de7da7ad..102e5846fff0 100644 --- a/java-maps-routing/README.md +++ b/java-maps-routing/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-routing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-routing/1.26.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-routing/1.27.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-solar/README.md b/java-maps-solar/README.md index e9902a5f36b6..8fb944d8db12 100644 --- a/java-maps-solar/README.md +++ b/java-maps-solar/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-solar.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-solar/0.0.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-solar/0.1.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-solar/pom.xml b/java-maps-solar/pom.xml index 4793a1795a6e..d016c23c3da0 100644 --- a/java-maps-solar/pom.xml +++ b/java-maps-solar/pom.xml @@ -52,4 +52,4 @@ google-maps-solar-bom -
+
diff --git a/java-mediatranslation/README.md b/java-mediatranslation/README.md index d7e5b6e5f09e..e136cb03582e 100644 --- a/java-mediatranslation/README.md +++ b/java-mediatranslation/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-mediatranslation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-mediatranslation/0.47.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-mediatranslation/0.48.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-meet/README.md b/java-meet/README.md index 6450f25b5b23..dd10307d6486 100644 --- a/java-meet/README.md +++ b/java-meet/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-meet.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-meet/0.8.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-meet/0.9.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-memcache/README.md b/java-memcache/README.md index 5d87ba068505..ec96a8a5b584 100644 --- a/java-memcache/README.md +++ b/java-memcache/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-memcache.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-memcache/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-memcache/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-migrationcenter/README.md b/java-migrationcenter/README.md index a49a1934cb5e..0ecf78b0c736 100644 --- a/java-migrationcenter/README.md +++ b/java-migrationcenter/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-migrationcenter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-migrationcenter/0.23.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-migrationcenter/0.24.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-monitoring-dashboards/README.md b/java-monitoring-dashboards/README.md index 1577597e9256..08450696e493 100644 --- a/java-monitoring-dashboards/README.md +++ b/java-monitoring-dashboards/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-monitoring-dashboard.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-dashboard/2.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-dashboard/2.44.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-monitoring-metricsscope/README.md b/java-monitoring-metricsscope/README.md index 1e3591d482e2..efba8b51c44f 100644 --- a/java-monitoring-metricsscope/README.md +++ b/java-monitoring-metricsscope/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-monitoring-metricsscope.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-metricsscope/0.35.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-metricsscope/0.36.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-monitoring/README.md b/java-monitoring/README.md index 7a810d1693a7..71c30bf73ce0 100644 --- a/java-monitoring/README.md +++ b/java-monitoring/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-monitoring.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring/3.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring/3.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-monitoring/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java b/java-monitoring/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java index 9aca4af280aa..db845efcabab 100644 --- a/java-monitoring/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java +++ b/java-monitoring/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CommonProto.java @@ -90,12 +90,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020\005\022\021\n\rCOMPARISON_NE\020\006*a\n\013ServiceTier\022\034\n\030" + "SERVICE_TIER_UNSPECIFIED\020\000\022\026\n\022SERVICE_TI" + "ER_BASIC\020\001\022\030\n\024SERVICE_TIER_PREMIUM\020\002\032\002\030\001" - + "B\306\001\n\030com.google.monitoring.v3B\013CommonPro" + + "B\315\001\n\030com.google.monitoring.v3B\013CommonPro" + "toP\001ZAcloud.google.com/go/monitoring/api" - + "v3/v2/monitoringpb;monitoringpb\252\002\032Google" - + ".Cloud.Monitoring.V3\312\002\032Google\\Cloud\\Moni" - + "toring\\V3\352\002\035Google::Cloud::Monitoring::V" - + "3b\006proto3" + + "v3/v2/monitoringpb;monitoringpb\242\002\004GMON\252\002" + + "\032Google.Cloud.Monitoring.V3\312\002\032Google\\Clo" + + "ud\\Monitoring\\V3\352\002\035Google::Cloud::Monito" + + "ring::V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-monitoring/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto b/java-monitoring/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto index b5c728a0cda0..b3a8d0ab9886 100644 --- a/java-monitoring/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto +++ b/java-monitoring/proto-google-cloud-monitoring-v3/src/main/proto/google/monitoring/v3/common.proto @@ -25,6 +25,7 @@ option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monito option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.monitoring.v3"; +option objc_class_prefix = "GMON"; option php_namespace = "Google\\Cloud\\Monitoring\\V3"; option ruby_package = "Google::Cloud::Monitoring::V3"; diff --git a/java-netapp/README.md b/java-netapp/README.md index fe280124a1f1..f5611358a505 100644 --- a/java-netapp/README.md +++ b/java-netapp/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-netapp.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-netapp/0.20.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-netapp/0.21.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-network-management/README.md b/java-network-management/README.md index e81727afdb1f..d384ce14bf90 100644 --- a/java-network-management/README.md +++ b/java-network-management/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-network-management.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-management/1.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-management/1.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-network-security/README.md b/java-network-security/README.md index a70bfdb900e7..80d9d31797f6 100644 --- a/java-network-security/README.md +++ b/java-network-security/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-network-security.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-security/0.44.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-security/0.45.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-networkconnectivity/README.md b/java-networkconnectivity/README.md index d5fa5f3659d1..287197ccd20f 100644 --- a/java-networkconnectivity/README.md +++ b/java-networkconnectivity/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-networkconnectivity.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-networkconnectivity/1.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-networkconnectivity/1.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-notebooks/README.md b/java-notebooks/README.md index 04de27545b93..f7f84a2b4b9a 100644 --- a/java-notebooks/README.md +++ b/java-notebooks/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-notebooks.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-notebooks/1.39.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-notebooks/1.40.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-optimization/README.md b/java-optimization/README.md index 4618df9faa4b..dde674703a08 100644 --- a/java-optimization/README.md +++ b/java-optimization/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-optimization.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-optimization/1.39.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-optimization/1.40.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-orchestration-airflow/README.md b/java-orchestration-airflow/README.md index 835b0da5a2a8..290ff769097a 100644 --- a/java-orchestration-airflow/README.md +++ b/java-orchestration-airflow/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-orchestration-airflow.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orchestration-airflow/1.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orchestration-airflow/1.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-orgpolicy/README.md b/java-orgpolicy/README.md index 690ff46fa16a..6f8555d1d4be 100644 --- a/java-orgpolicy/README.md +++ b/java-orgpolicy/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-orgpolicy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orgpolicy/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orgpolicy/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-os-config/README.md b/java-os-config/README.md index f8e847adccce..44545e79885e 100644 --- a/java-os-config/README.md +++ b/java-os-config/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-os-config.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-config/2.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-config/2.44.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-os-login/README.md b/java-os-login/README.md index 4cbbfeb3498d..b1531f1309f4 100644 --- a/java-os-login/README.md +++ b/java-os-login/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-os-login.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-login/2.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-login/2.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-parallelstore/README.md b/java-parallelstore/README.md index 4570b4a3a39b..903fa004f9ab 100644 --- a/java-parallelstore/README.md +++ b/java-parallelstore/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-parallelstore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-parallelstore/0.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-parallelstore/0.5.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreClient.java b/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreClient.java index eae8a90f9370..d36e80d48fa4 100644 --- a/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreClient.java +++ b/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreClient.java @@ -191,6 +191,36 @@ * * * + *

ImportData + *

ImportData copies data from Cloud Storage to Parallelstore. + * + *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • importDataAsync(ImportDataRequest request) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • importDataOperationCallable() + *

  • importDataCallable() + *

+ * + * + * + *

ExportData + *

ExportData copies data from Parallelstore to Cloud Storage + * + *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • exportDataAsync(ExportDataRequest request) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • exportDataOperationCallable() + *

  • exportDataCallable() + *

+ * + * + * *

ListLocations *

Lists information about the supported locations for this service. * @@ -1100,6 +1130,182 @@ public final UnaryCallable deleteInstanceCalla return stub.deleteInstanceCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * ImportData copies data from Cloud Storage to Parallelstore. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ParallelstoreClient parallelstoreClient = ParallelstoreClient.create()) {
+   *   ImportDataRequest request =
+   *       ImportDataRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ImportDataResponse response = parallelstoreClient.importDataAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture importDataAsync( + ImportDataRequest request) { + return importDataOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * ImportData copies data from Cloud Storage to Parallelstore. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ParallelstoreClient parallelstoreClient = ParallelstoreClient.create()) {
+   *   ImportDataRequest request =
+   *       ImportDataRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       parallelstoreClient.importDataOperationCallable().futureCall(request);
+   *   // Do something.
+   *   ImportDataResponse response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + importDataOperationCallable() { + return stub.importDataOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * ImportData copies data from Cloud Storage to Parallelstore. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ParallelstoreClient parallelstoreClient = ParallelstoreClient.create()) {
+   *   ImportDataRequest request =
+   *       ImportDataRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future = parallelstoreClient.importDataCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable importDataCallable() { + return stub.importDataCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * ExportData copies data from Parallelstore to Cloud Storage + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ParallelstoreClient parallelstoreClient = ParallelstoreClient.create()) {
+   *   ExportDataRequest request =
+   *       ExportDataRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ExportDataResponse response = parallelstoreClient.exportDataAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture exportDataAsync( + ExportDataRequest request) { + return exportDataOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * ExportData copies data from Parallelstore to Cloud Storage + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ParallelstoreClient parallelstoreClient = ParallelstoreClient.create()) {
+   *   ExportDataRequest request =
+   *       ExportDataRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       parallelstoreClient.exportDataOperationCallable().futureCall(request);
+   *   // Do something.
+   *   ExportDataResponse response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + exportDataOperationCallable() { + return stub.exportDataOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * ExportData copies data from Parallelstore to Cloud Storage + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (ParallelstoreClient parallelstoreClient = ParallelstoreClient.create()) {
+   *   ExportDataRequest request =
+   *       ExportDataRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString())
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future = parallelstoreClient.exportDataCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable exportDataCallable() { + return stub.exportDataCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Lists information about the supported locations for this service. diff --git a/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreSettings.java b/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreSettings.java index a071fb46c402..903d4c026799 100644 --- a/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreSettings.java +++ b/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreSettings.java @@ -127,6 +127,28 @@ public UnaryCallSettings deleteInstanceSetting return ((ParallelstoreStubSettings) getStubSettings()).deleteInstanceOperationSettings(); } + /** Returns the object with the settings used for calls to importData. */ + public UnaryCallSettings importDataSettings() { + return ((ParallelstoreStubSettings) getStubSettings()).importDataSettings(); + } + + /** Returns the object with the settings used for calls to importData. */ + public OperationCallSettings + importDataOperationSettings() { + return ((ParallelstoreStubSettings) getStubSettings()).importDataOperationSettings(); + } + + /** Returns the object with the settings used for calls to exportData. */ + public UnaryCallSettings exportDataSettings() { + return ((ParallelstoreStubSettings) getStubSettings()).exportDataSettings(); + } + + /** Returns the object with the settings used for calls to exportData. */ + public OperationCallSettings + exportDataOperationSettings() { + return ((ParallelstoreStubSettings) getStubSettings()).exportDataOperationSettings(); + } + /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { @@ -295,6 +317,28 @@ public UnaryCallSettings.Builder deleteInstanc return getStubSettingsBuilder().deleteInstanceOperationSettings(); } + /** Returns the builder for the settings used for calls to importData. */ + public UnaryCallSettings.Builder importDataSettings() { + return getStubSettingsBuilder().importDataSettings(); + } + + /** Returns the builder for the settings used for calls to importData. */ + public OperationCallSettings.Builder + importDataOperationSettings() { + return getStubSettingsBuilder().importDataOperationSettings(); + } + + /** Returns the builder for the settings used for calls to exportData. */ + public UnaryCallSettings.Builder exportDataSettings() { + return getStubSettingsBuilder().exportDataSettings(); + } + + /** Returns the builder for the settings used for calls to exportData. */ + public OperationCallSettings.Builder + exportDataOperationSettings() { + return getStubSettingsBuilder().exportDataOperationSettings(); + } + /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> diff --git a/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/gapic_metadata.json b/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/gapic_metadata.json index 105622eb842f..44f8afe59e96 100644 --- a/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/gapic_metadata.json +++ b/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/gapic_metadata.json @@ -16,12 +16,18 @@ "DeleteInstance": { "methods": ["deleteInstanceAsync", "deleteInstanceAsync", "deleteInstanceAsync", "deleteInstanceOperationCallable", "deleteInstanceCallable"] }, + "ExportData": { + "methods": ["exportDataAsync", "exportDataOperationCallable", "exportDataCallable"] + }, "GetInstance": { "methods": ["getInstance", "getInstance", "getInstance", "getInstanceCallable"] }, "GetLocation": { "methods": ["getLocation", "getLocationCallable"] }, + "ImportData": { + "methods": ["importDataAsync", "importDataOperationCallable", "importDataCallable"] + }, "ListInstances": { "methods": ["listInstances", "listInstances", "listInstances", "listInstancesPagedCallable", "listInstancesCallable"] }, diff --git a/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/GrpcParallelstoreStub.java b/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/GrpcParallelstoreStub.java index 3ea215fabd07..beac429fa48d 100644 --- a/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/GrpcParallelstoreStub.java +++ b/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/GrpcParallelstoreStub.java @@ -34,7 +34,13 @@ import com.google.cloud.location.Location; import com.google.cloud.parallelstore.v1beta.CreateInstanceRequest; import com.google.cloud.parallelstore.v1beta.DeleteInstanceRequest; +import com.google.cloud.parallelstore.v1beta.ExportDataMetadata; +import com.google.cloud.parallelstore.v1beta.ExportDataRequest; +import com.google.cloud.parallelstore.v1beta.ExportDataResponse; import com.google.cloud.parallelstore.v1beta.GetInstanceRequest; +import com.google.cloud.parallelstore.v1beta.ImportDataMetadata; +import com.google.cloud.parallelstore.v1beta.ImportDataRequest; +import com.google.cloud.parallelstore.v1beta.ImportDataResponse; import com.google.cloud.parallelstore.v1beta.Instance; import com.google.cloud.parallelstore.v1beta.ListInstancesRequest; import com.google.cloud.parallelstore.v1beta.ListInstancesResponse; @@ -107,6 +113,22 @@ public class GrpcParallelstoreStub extends ParallelstoreStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor importDataMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.parallelstore.v1beta.Parallelstore/ImportData") + .setRequestMarshaller(ProtoUtils.marshaller(ImportDataRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor exportDataMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.parallelstore.v1beta.Parallelstore/ExportData") + .setRequestMarshaller(ProtoUtils.marshaller(ExportDataRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + private static final MethodDescriptor listLocationsMethodDescriptor = MethodDescriptor.newBuilder() @@ -139,6 +161,12 @@ public class GrpcParallelstoreStub extends ParallelstoreStub { private final UnaryCallable deleteInstanceCallable; private final OperationCallable deleteInstanceOperationCallable; + private final UnaryCallable importDataCallable; + private final OperationCallable + importDataOperationCallable; + private final UnaryCallable exportDataCallable; + private final OperationCallable + exportDataOperationCallable; private final UnaryCallable listLocationsCallable; private final UnaryCallable listLocationsPagedCallable; @@ -236,6 +264,26 @@ protected GrpcParallelstoreStub( return builder.build(); }) .build(); + GrpcCallSettings importDataTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(importDataMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings exportDataTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(exportDataMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); GrpcCallSettings listLocationsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listLocationsMethodDescriptor) @@ -293,6 +341,24 @@ protected GrpcParallelstoreStub( settings.deleteInstanceOperationSettings(), clientContext, operationsStub); + this.importDataCallable = + callableFactory.createUnaryCallable( + importDataTransportSettings, settings.importDataSettings(), clientContext); + this.importDataOperationCallable = + callableFactory.createOperationCallable( + importDataTransportSettings, + settings.importDataOperationSettings(), + clientContext, + operationsStub); + this.exportDataCallable = + callableFactory.createUnaryCallable( + exportDataTransportSettings, settings.exportDataSettings(), clientContext); + this.exportDataOperationCallable = + callableFactory.createOperationCallable( + exportDataTransportSettings, + settings.exportDataOperationSettings(), + clientContext, + operationsStub); this.listLocationsCallable = callableFactory.createUnaryCallable( listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); @@ -360,6 +426,28 @@ public UnaryCallable deleteInstanceCallable() return deleteInstanceOperationCallable; } + @Override + public UnaryCallable importDataCallable() { + return importDataCallable; + } + + @Override + public OperationCallable + importDataOperationCallable() { + return importDataOperationCallable; + } + + @Override + public UnaryCallable exportDataCallable() { + return exportDataCallable; + } + + @Override + public OperationCallable + exportDataOperationCallable() { + return exportDataOperationCallable; + } + @Override public UnaryCallable listLocationsCallable() { return listLocationsCallable; diff --git a/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/HttpJsonParallelstoreStub.java b/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/HttpJsonParallelstoreStub.java index 658da233f6cd..96c6bf24d0b9 100644 --- a/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/HttpJsonParallelstoreStub.java +++ b/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/HttpJsonParallelstoreStub.java @@ -42,7 +42,13 @@ import com.google.cloud.location.Location; import com.google.cloud.parallelstore.v1beta.CreateInstanceRequest; import com.google.cloud.parallelstore.v1beta.DeleteInstanceRequest; +import com.google.cloud.parallelstore.v1beta.ExportDataMetadata; +import com.google.cloud.parallelstore.v1beta.ExportDataRequest; +import com.google.cloud.parallelstore.v1beta.ExportDataResponse; import com.google.cloud.parallelstore.v1beta.GetInstanceRequest; +import com.google.cloud.parallelstore.v1beta.ImportDataMetadata; +import com.google.cloud.parallelstore.v1beta.ImportDataRequest; +import com.google.cloud.parallelstore.v1beta.ImportDataResponse; import com.google.cloud.parallelstore.v1beta.Instance; import com.google.cloud.parallelstore.v1beta.ListInstancesRequest; import com.google.cloud.parallelstore.v1beta.ListInstancesResponse; @@ -73,6 +79,10 @@ public class HttpJsonParallelstoreStub extends ParallelstoreStub { TypeRegistry.newBuilder() .add(OperationMetadata.getDescriptor()) .add(Empty.getDescriptor()) + .add(ImportDataMetadata.getDescriptor()) + .add(ExportDataResponse.getDescriptor()) + .add(ImportDataResponse.getDescriptor()) + .add(ExportDataMetadata.getDescriptor()) .add(Instance.getDescriptor()) .build(); @@ -271,6 +281,86 @@ public class HttpJsonParallelstoreStub extends ParallelstoreStub { HttpJsonOperationSnapshot.create(response)) .build(); + private static final ApiMethodDescriptor + importDataMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.parallelstore.v1beta.Parallelstore/ImportData") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta/{name=projects/*/locations/*/instances/*}:importData", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (ImportDataRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + exportDataMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.parallelstore.v1beta.Parallelstore/ExportData") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta/{name=projects/*/locations/*/instances/*}:exportData", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (ExportDataRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + private static final ApiMethodDescriptor listLocationsMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -352,6 +442,12 @@ public class HttpJsonParallelstoreStub extends ParallelstoreStub { private final UnaryCallable deleteInstanceCallable; private final OperationCallable deleteInstanceOperationCallable; + private final UnaryCallable importDataCallable; + private final OperationCallable + importDataOperationCallable; + private final UnaryCallable exportDataCallable; + private final OperationCallable + exportDataOperationCallable; private final UnaryCallable listLocationsCallable; private final UnaryCallable listLocationsPagedCallable; @@ -483,6 +579,28 @@ protected HttpJsonParallelstoreStub( return builder.build(); }) .build(); + HttpJsonCallSettings importDataTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(importDataMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings exportDataTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(exportDataMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); HttpJsonCallSettings listLocationsTransportSettings = HttpJsonCallSettings.newBuilder() @@ -543,6 +661,24 @@ protected HttpJsonParallelstoreStub( settings.deleteInstanceOperationSettings(), clientContext, httpJsonOperationsStub); + this.importDataCallable = + callableFactory.createUnaryCallable( + importDataTransportSettings, settings.importDataSettings(), clientContext); + this.importDataOperationCallable = + callableFactory.createOperationCallable( + importDataTransportSettings, + settings.importDataOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.exportDataCallable = + callableFactory.createUnaryCallable( + exportDataTransportSettings, settings.exportDataSettings(), clientContext); + this.exportDataOperationCallable = + callableFactory.createOperationCallable( + exportDataTransportSettings, + settings.exportDataOperationSettings(), + clientContext, + httpJsonOperationsStub); this.listLocationsCallable = callableFactory.createUnaryCallable( listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); @@ -565,6 +701,8 @@ public static List getMethodDescriptors() { methodDescriptors.add(createInstanceMethodDescriptor); methodDescriptors.add(updateInstanceMethodDescriptor); methodDescriptors.add(deleteInstanceMethodDescriptor); + methodDescriptors.add(importDataMethodDescriptor); + methodDescriptors.add(exportDataMethodDescriptor); methodDescriptors.add(listLocationsMethodDescriptor); methodDescriptors.add(getLocationMethodDescriptor); return methodDescriptors; @@ -623,6 +761,28 @@ public UnaryCallable deleteInstanceCallable() return deleteInstanceOperationCallable; } + @Override + public UnaryCallable importDataCallable() { + return importDataCallable; + } + + @Override + public OperationCallable + importDataOperationCallable() { + return importDataOperationCallable; + } + + @Override + public UnaryCallable exportDataCallable() { + return exportDataCallable; + } + + @Override + public OperationCallable + exportDataOperationCallable() { + return exportDataOperationCallable; + } + @Override public UnaryCallable listLocationsCallable() { return listLocationsCallable; diff --git a/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/ParallelstoreStub.java b/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/ParallelstoreStub.java index a57b8079406a..470b07960c7f 100644 --- a/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/ParallelstoreStub.java +++ b/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/ParallelstoreStub.java @@ -29,7 +29,13 @@ import com.google.cloud.location.Location; import com.google.cloud.parallelstore.v1beta.CreateInstanceRequest; import com.google.cloud.parallelstore.v1beta.DeleteInstanceRequest; +import com.google.cloud.parallelstore.v1beta.ExportDataMetadata; +import com.google.cloud.parallelstore.v1beta.ExportDataRequest; +import com.google.cloud.parallelstore.v1beta.ExportDataResponse; import com.google.cloud.parallelstore.v1beta.GetInstanceRequest; +import com.google.cloud.parallelstore.v1beta.ImportDataMetadata; +import com.google.cloud.parallelstore.v1beta.ImportDataRequest; +import com.google.cloud.parallelstore.v1beta.ImportDataResponse; import com.google.cloud.parallelstore.v1beta.Instance; import com.google.cloud.parallelstore.v1beta.ListInstancesRequest; import com.google.cloud.parallelstore.v1beta.ListInstancesResponse; @@ -98,6 +104,24 @@ public UnaryCallable deleteInstanceCallable() throw new UnsupportedOperationException("Not implemented: deleteInstanceCallable()"); } + public OperationCallable + importDataOperationCallable() { + throw new UnsupportedOperationException("Not implemented: importDataOperationCallable()"); + } + + public UnaryCallable importDataCallable() { + throw new UnsupportedOperationException("Not implemented: importDataCallable()"); + } + + public OperationCallable + exportDataOperationCallable() { + throw new UnsupportedOperationException("Not implemented: exportDataOperationCallable()"); + } + + public UnaryCallable exportDataCallable() { + throw new UnsupportedOperationException("Not implemented: exportDataCallable()"); + } + public UnaryCallable listLocationsPagedCallable() { throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); diff --git a/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/ParallelstoreStubSettings.java b/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/ParallelstoreStubSettings.java index 9c9cfed215aa..c7d2ec1ad941 100644 --- a/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/ParallelstoreStubSettings.java +++ b/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/ParallelstoreStubSettings.java @@ -54,7 +54,13 @@ import com.google.cloud.location.Location; import com.google.cloud.parallelstore.v1beta.CreateInstanceRequest; import com.google.cloud.parallelstore.v1beta.DeleteInstanceRequest; +import com.google.cloud.parallelstore.v1beta.ExportDataMetadata; +import com.google.cloud.parallelstore.v1beta.ExportDataRequest; +import com.google.cloud.parallelstore.v1beta.ExportDataResponse; import com.google.cloud.parallelstore.v1beta.GetInstanceRequest; +import com.google.cloud.parallelstore.v1beta.ImportDataMetadata; +import com.google.cloud.parallelstore.v1beta.ImportDataRequest; +import com.google.cloud.parallelstore.v1beta.ImportDataResponse; import com.google.cloud.parallelstore.v1beta.Instance; import com.google.cloud.parallelstore.v1beta.ListInstancesRequest; import com.google.cloud.parallelstore.v1beta.ListInstancesResponse; @@ -128,6 +134,12 @@ public class ParallelstoreStubSettings extends StubSettings deleteInstanceSettings; private final OperationCallSettings deleteInstanceOperationSettings; + private final UnaryCallSettings importDataSettings; + private final OperationCallSettings + importDataOperationSettings; + private final UnaryCallSettings exportDataSettings; + private final OperationCallSettings + exportDataOperationSettings; private final PagedCallSettings< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings; @@ -283,6 +295,28 @@ public UnaryCallSettings deleteInstanceSetting return deleteInstanceOperationSettings; } + /** Returns the object with the settings used for calls to importData. */ + public UnaryCallSettings importDataSettings() { + return importDataSettings; + } + + /** Returns the object with the settings used for calls to importData. */ + public OperationCallSettings + importDataOperationSettings() { + return importDataOperationSettings; + } + + /** Returns the object with the settings used for calls to exportData. */ + public UnaryCallSettings exportDataSettings() { + return exportDataSettings; + } + + /** Returns the object with the settings used for calls to exportData. */ + public OperationCallSettings + exportDataOperationSettings() { + return exportDataOperationSettings; + } + /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { @@ -412,6 +446,10 @@ protected ParallelstoreStubSettings(Builder settingsBuilder) throws IOException updateInstanceOperationSettings = settingsBuilder.updateInstanceOperationSettings().build(); deleteInstanceSettings = settingsBuilder.deleteInstanceSettings().build(); deleteInstanceOperationSettings = settingsBuilder.deleteInstanceOperationSettings().build(); + importDataSettings = settingsBuilder.importDataSettings().build(); + importDataOperationSettings = settingsBuilder.importDataOperationSettings().build(); + exportDataSettings = settingsBuilder.exportDataSettings().build(); + exportDataOperationSettings = settingsBuilder.exportDataOperationSettings().build(); listLocationsSettings = settingsBuilder.listLocationsSettings().build(); getLocationSettings = settingsBuilder.getLocationSettings().build(); } @@ -435,6 +473,14 @@ public static class Builder extends StubSettings.Builder deleteInstanceOperationSettings; + private final UnaryCallSettings.Builder importDataSettings; + private final OperationCallSettings.Builder< + ImportDataRequest, ImportDataResponse, ImportDataMetadata> + importDataOperationSettings; + private final UnaryCallSettings.Builder exportDataSettings; + private final OperationCallSettings.Builder< + ExportDataRequest, ExportDataResponse, ExportDataMetadata> + exportDataOperationSettings; private final PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings; @@ -474,6 +520,10 @@ protected Builder(ClientContext clientContext) { updateInstanceOperationSettings = OperationCallSettings.newBuilder(); deleteInstanceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteInstanceOperationSettings = OperationCallSettings.newBuilder(); + importDataSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + importDataOperationSettings = OperationCallSettings.newBuilder(); + exportDataSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + exportDataOperationSettings = OperationCallSettings.newBuilder(); listLocationsSettings = PagedCallSettings.newBuilder(LIST_LOCATIONS_PAGE_STR_FACT); getLocationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -484,6 +534,8 @@ protected Builder(ClientContext clientContext) { createInstanceSettings, updateInstanceSettings, deleteInstanceSettings, + importDataSettings, + exportDataSettings, listLocationsSettings, getLocationSettings); initDefaults(this); @@ -500,6 +552,10 @@ protected Builder(ParallelstoreStubSettings settings) { updateInstanceOperationSettings = settings.updateInstanceOperationSettings.toBuilder(); deleteInstanceSettings = settings.deleteInstanceSettings.toBuilder(); deleteInstanceOperationSettings = settings.deleteInstanceOperationSettings.toBuilder(); + importDataSettings = settings.importDataSettings.toBuilder(); + importDataOperationSettings = settings.importDataOperationSettings.toBuilder(); + exportDataSettings = settings.exportDataSettings.toBuilder(); + exportDataOperationSettings = settings.exportDataOperationSettings.toBuilder(); listLocationsSettings = settings.listLocationsSettings.toBuilder(); getLocationSettings = settings.getLocationSettings.toBuilder(); @@ -510,6 +566,8 @@ protected Builder(ParallelstoreStubSettings settings) { createInstanceSettings, updateInstanceSettings, deleteInstanceSettings, + importDataSettings, + exportDataSettings, listLocationsSettings, getLocationSettings); } @@ -564,6 +622,16 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder + .importDataSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .exportDataSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder .listLocationsSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) @@ -646,6 +714,52 @@ private static Builder initDefaults(Builder builder) { .setTotalTimeout(Duration.ofMillis(300000L)) .build())); + builder + .importDataOperationSettings() + .setInitialCallSettings( + UnaryCallSettings.newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(ImportDataResponse.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(ImportDataMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + builder + .exportDataOperationSettings() + .setInitialCallSettings( + UnaryCallSettings.newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(ExportDataResponse.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(ExportDataMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + return builder; } @@ -709,6 +823,28 @@ public UnaryCallSettings.Builder deleteInstanc return deleteInstanceOperationSettings; } + /** Returns the builder for the settings used for calls to importData. */ + public UnaryCallSettings.Builder importDataSettings() { + return importDataSettings; + } + + /** Returns the builder for the settings used for calls to importData. */ + public OperationCallSettings.Builder + importDataOperationSettings() { + return importDataOperationSettings; + } + + /** Returns the builder for the settings used for calls to exportData. */ + public UnaryCallSettings.Builder exportDataSettings() { + return exportDataSettings; + } + + /** Returns the builder for the settings used for calls to exportData. */ + public OperationCallSettings.Builder + exportDataOperationSettings() { + return exportDataOperationSettings; + } + /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> diff --git a/java-parallelstore/google-cloud-parallelstore/src/main/resources/META-INF/native-image/com.google.cloud.parallelstore.v1beta/reflect-config.json b/java-parallelstore/google-cloud-parallelstore/src/main/resources/META-INF/native-image/com.google.cloud.parallelstore.v1beta/reflect-config.json index ecbf51f74e8e..dbaf83fab22c 100644 --- a/java-parallelstore/google-cloud-parallelstore/src/main/resources/META-INF/native-image/com.google.cloud.parallelstore.v1beta/reflect-config.json +++ b/java-parallelstore/google-cloud-parallelstore/src/main/resources/META-INF/native-image/com.google.cloud.parallelstore.v1beta/reflect-config.json @@ -512,6 +512,60 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.parallelstore.v1beta.ExportDataMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.ExportDataMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.ExportDataRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.ExportDataRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.ExportDataResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.ExportDataResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.parallelstore.v1beta.GetInstanceRequest", "queryAllDeclaredConstructors": true, @@ -530,6 +584,60 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.parallelstore.v1beta.ImportDataMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.ImportDataMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.ImportDataRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.ImportDataRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.ImportDataResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.ImportDataResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.parallelstore.v1beta.Instance", "queryAllDeclaredConstructors": true, @@ -611,6 +719,51 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.parallelstore.v1beta.TransferCounters", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.TransferCounters$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.TransferOperationMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.TransferOperationMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.TransferType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.parallelstore.v1beta.UpdateInstanceRequest", "queryAllDeclaredConstructors": true, diff --git a/java-parallelstore/google-cloud-parallelstore/src/test/java/com/google/cloud/parallelstore/v1beta/MockParallelstoreImpl.java b/java-parallelstore/google-cloud-parallelstore/src/test/java/com/google/cloud/parallelstore/v1beta/MockParallelstoreImpl.java index a6e4002854bd..f724b2c652d3 100644 --- a/java-parallelstore/google-cloud-parallelstore/src/test/java/com/google/cloud/parallelstore/v1beta/MockParallelstoreImpl.java +++ b/java-parallelstore/google-cloud-parallelstore/src/test/java/com/google/cloud/parallelstore/v1beta/MockParallelstoreImpl.java @@ -162,4 +162,44 @@ public void deleteInstance( Exception.class.getName()))); } } + + @Override + public void importData(ImportDataRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ImportData, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void exportData(ExportDataRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ExportData, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/java-parallelstore/google-cloud-parallelstore/src/test/java/com/google/cloud/parallelstore/v1beta/ParallelstoreClientHttpJsonTest.java b/java-parallelstore/google-cloud-parallelstore/src/test/java/com/google/cloud/parallelstore/v1beta/ParallelstoreClientHttpJsonTest.java index 48f48a15a125..4f1c1faf7584 100644 --- a/java-parallelstore/google-cloud-parallelstore/src/test/java/com/google/cloud/parallelstore/v1beta/ParallelstoreClientHttpJsonTest.java +++ b/java-parallelstore/google-cloud-parallelstore/src/test/java/com/google/cloud/parallelstore/v1beta/ParallelstoreClientHttpJsonTest.java @@ -202,6 +202,7 @@ public void getInstanceTest() throws Exception { .addAllAccessPoints(new ArrayList()) .setNetwork("network1843485230") .setReservedIpRange("reservedIpRange575015950") + .setEffectiveReservedIpRange("effectiveReservedIpRange106116967") .build(); mockService.addResponse(expectedResponse); @@ -255,6 +256,7 @@ public void getInstanceTest2() throws Exception { .addAllAccessPoints(new ArrayList()) .setNetwork("network1843485230") .setReservedIpRange("reservedIpRange575015950") + .setEffectiveReservedIpRange("effectiveReservedIpRange106116967") .build(); mockService.addResponse(expectedResponse); @@ -308,6 +310,7 @@ public void createInstanceTest() throws Exception { .addAllAccessPoints(new ArrayList()) .setNetwork("network1843485230") .setReservedIpRange("reservedIpRange575015950") + .setEffectiveReservedIpRange("effectiveReservedIpRange106116967") .build(); Operation resultOperation = Operation.newBuilder() @@ -370,6 +373,7 @@ public void createInstanceTest2() throws Exception { .addAllAccessPoints(new ArrayList()) .setNetwork("network1843485230") .setReservedIpRange("reservedIpRange575015950") + .setEffectiveReservedIpRange("effectiveReservedIpRange106116967") .build(); Operation resultOperation = Operation.newBuilder() @@ -432,6 +436,7 @@ public void updateInstanceTest() throws Exception { .addAllAccessPoints(new ArrayList()) .setNetwork("network1843485230") .setReservedIpRange("reservedIpRange575015950") + .setEffectiveReservedIpRange("effectiveReservedIpRange106116967") .build(); Operation resultOperation = Operation.newBuilder() @@ -453,6 +458,7 @@ public void updateInstanceTest() throws Exception { .addAllAccessPoints(new ArrayList()) .setNetwork("network1843485230") .setReservedIpRange("reservedIpRange575015950") + .setEffectiveReservedIpRange("effectiveReservedIpRange106116967") .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -494,6 +500,7 @@ public void updateInstanceExceptionTest() throws Exception { .addAllAccessPoints(new ArrayList()) .setNetwork("network1843485230") .setReservedIpRange("reservedIpRange575015950") + .setEffectiveReservedIpRange("effectiveReservedIpRange106116967") .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateInstanceAsync(instance, updateMask).get(); @@ -592,6 +599,114 @@ public void deleteInstanceExceptionTest2() throws Exception { } } + @Test + public void importDataTest() throws Exception { + ImportDataResponse expectedResponse = ImportDataResponse.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("importDataTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + ImportDataRequest request = + ImportDataRequest.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setRequestId("requestId693933066") + .build(); + + ImportDataResponse actualResponse = client.importDataAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void importDataExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ImportDataRequest request = + ImportDataRequest.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setRequestId("requestId693933066") + .build(); + client.importDataAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void exportDataTest() throws Exception { + ExportDataResponse expectedResponse = ExportDataResponse.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("exportDataTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + ExportDataRequest request = + ExportDataRequest.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setRequestId("requestId693933066") + .build(); + + ExportDataResponse actualResponse = client.exportDataAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void exportDataExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ExportDataRequest request = + ExportDataRequest.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setRequestId("requestId693933066") + .build(); + client.exportDataAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + @Test public void listLocationsTest() throws Exception { Location responsesElement = Location.newBuilder().build(); diff --git a/java-parallelstore/google-cloud-parallelstore/src/test/java/com/google/cloud/parallelstore/v1beta/ParallelstoreClientTest.java b/java-parallelstore/google-cloud-parallelstore/src/test/java/com/google/cloud/parallelstore/v1beta/ParallelstoreClientTest.java index 8acab343bf11..d606876a0926 100644 --- a/java-parallelstore/google-cloud-parallelstore/src/test/java/com/google/cloud/parallelstore/v1beta/ParallelstoreClientTest.java +++ b/java-parallelstore/google-cloud-parallelstore/src/test/java/com/google/cloud/parallelstore/v1beta/ParallelstoreClientTest.java @@ -197,6 +197,7 @@ public void getInstanceTest() throws Exception { .addAllAccessPoints(new ArrayList()) .setNetwork("network1843485230") .setReservedIpRange("reservedIpRange575015950") + .setEffectiveReservedIpRange("effectiveReservedIpRange106116967") .build(); mockParallelstore.addResponse(expectedResponse); @@ -244,6 +245,7 @@ public void getInstanceTest2() throws Exception { .addAllAccessPoints(new ArrayList()) .setNetwork("network1843485230") .setReservedIpRange("reservedIpRange575015950") + .setEffectiveReservedIpRange("effectiveReservedIpRange106116967") .build(); mockParallelstore.addResponse(expectedResponse); @@ -291,6 +293,7 @@ public void createInstanceTest() throws Exception { .addAllAccessPoints(new ArrayList()) .setNetwork("network1843485230") .setReservedIpRange("reservedIpRange575015950") + .setEffectiveReservedIpRange("effectiveReservedIpRange106116967") .build(); Operation resultOperation = Operation.newBuilder() @@ -352,6 +355,7 @@ public void createInstanceTest2() throws Exception { .addAllAccessPoints(new ArrayList()) .setNetwork("network1843485230") .setReservedIpRange("reservedIpRange575015950") + .setEffectiveReservedIpRange("effectiveReservedIpRange106116967") .build(); Operation resultOperation = Operation.newBuilder() @@ -413,6 +417,7 @@ public void updateInstanceTest() throws Exception { .addAllAccessPoints(new ArrayList()) .setNetwork("network1843485230") .setReservedIpRange("reservedIpRange575015950") + .setEffectiveReservedIpRange("effectiveReservedIpRange106116967") .build(); Operation resultOperation = Operation.newBuilder() @@ -541,6 +546,114 @@ public void deleteInstanceExceptionTest2() throws Exception { } } + @Test + public void importDataTest() throws Exception { + ImportDataResponse expectedResponse = ImportDataResponse.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("importDataTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockParallelstore.addResponse(resultOperation); + + ImportDataRequest request = + ImportDataRequest.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setRequestId("requestId693933066") + .build(); + + ImportDataResponse actualResponse = client.importDataAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockParallelstore.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ImportDataRequest actualRequest = ((ImportDataRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getSourceGcsUri(), actualRequest.getSourceGcsUri()); + Assert.assertEquals(request.getDestinationPath(), actualRequest.getDestinationPath()); + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getRequestId(), actualRequest.getRequestId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void importDataExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockParallelstore.addException(exception); + + try { + ImportDataRequest request = + ImportDataRequest.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setRequestId("requestId693933066") + .build(); + client.importDataAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void exportDataTest() throws Exception { + ExportDataResponse expectedResponse = ExportDataResponse.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("exportDataTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockParallelstore.addResponse(resultOperation); + + ExportDataRequest request = + ExportDataRequest.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setRequestId("requestId693933066") + .build(); + + ExportDataResponse actualResponse = client.exportDataAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockParallelstore.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ExportDataRequest actualRequest = ((ExportDataRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getSourcePath(), actualRequest.getSourcePath()); + Assert.assertEquals(request.getDestinationGcsUri(), actualRequest.getDestinationGcsUri()); + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getRequestId(), actualRequest.getRequestId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void exportDataExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockParallelstore.addException(exception); + + try { + ExportDataRequest request = + ExportDataRequest.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setRequestId("requestId693933066") + .build(); + client.exportDataAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + @Test public void listLocationsTest() throws Exception { Location responsesElement = Location.newBuilder().build(); diff --git a/java-parallelstore/grpc-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreGrpc.java b/java-parallelstore/grpc-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreGrpc.java index 5e669bf71671..df5a54de2f5d 100644 --- a/java-parallelstore/grpc-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreGrpc.java +++ b/java-parallelstore/grpc-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreGrpc.java @@ -277,6 +277,92 @@ private ParallelstoreGrpc() {} return getDeleteInstanceMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.parallelstore.v1beta.ImportDataRequest, com.google.longrunning.Operation> + getImportDataMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportData", + requestType = com.google.cloud.parallelstore.v1beta.ImportDataRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.parallelstore.v1beta.ImportDataRequest, com.google.longrunning.Operation> + getImportDataMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.parallelstore.v1beta.ImportDataRequest, + com.google.longrunning.Operation> + getImportDataMethod; + if ((getImportDataMethod = ParallelstoreGrpc.getImportDataMethod) == null) { + synchronized (ParallelstoreGrpc.class) { + if ((getImportDataMethod = ParallelstoreGrpc.getImportDataMethod) == null) { + ParallelstoreGrpc.getImportDataMethod = + getImportDataMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportData")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.parallelstore.v1beta.ImportDataRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ParallelstoreMethodDescriptorSupplier("ImportData")) + .build(); + } + } + } + return getImportDataMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.parallelstore.v1beta.ExportDataRequest, com.google.longrunning.Operation> + getExportDataMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportData", + requestType = com.google.cloud.parallelstore.v1beta.ExportDataRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.parallelstore.v1beta.ExportDataRequest, com.google.longrunning.Operation> + getExportDataMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.parallelstore.v1beta.ExportDataRequest, + com.google.longrunning.Operation> + getExportDataMethod; + if ((getExportDataMethod = ParallelstoreGrpc.getExportDataMethod) == null) { + synchronized (ParallelstoreGrpc.class) { + if ((getExportDataMethod = ParallelstoreGrpc.getExportDataMethod) == null) { + ParallelstoreGrpc.getExportDataMethod = + getExportDataMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportData")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.parallelstore.v1beta.ExportDataRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ParallelstoreMethodDescriptorSupplier("ExportData")) + .build(); + } + } + } + return getExportDataMethod; + } + /** Creates a new async stub that supports all call types for the service */ public static ParallelstoreStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = @@ -409,6 +495,32 @@ default void deleteInstance( io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getDeleteInstanceMethod(), responseObserver); } + + /** + * + * + *
+     * ImportData copies data from Cloud Storage to Parallelstore.
+     * 
+ */ + default void importData( + com.google.cloud.parallelstore.v1beta.ImportDataRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportDataMethod(), responseObserver); + } + + /** + * + * + *
+     * ExportData copies data from Parallelstore to Cloud Storage
+     * 
+ */ + default void exportData( + com.google.cloud.parallelstore.v1beta.ExportDataRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportDataMethod(), responseObserver); + } } /** @@ -548,6 +660,34 @@ public void deleteInstance( request, responseObserver); } + + /** + * + * + *
+     * ImportData copies data from Cloud Storage to Parallelstore.
+     * 
+ */ + public void importData( + com.google.cloud.parallelstore.v1beta.ImportDataRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportDataMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * ExportData copies data from Parallelstore to Cloud Storage
+     * 
+ */ + public void exportData( + com.google.cloud.parallelstore.v1beta.ExportDataRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportDataMethod(), getCallOptions()), request, responseObserver); + } } /** @@ -644,6 +784,32 @@ public com.google.longrunning.Operation deleteInstance( return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); } + + /** + * + * + *
+     * ImportData copies data from Cloud Storage to Parallelstore.
+     * 
+ */ + public com.google.longrunning.Operation importData( + com.google.cloud.parallelstore.v1beta.ImportDataRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportDataMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * ExportData copies data from Parallelstore to Cloud Storage
+     * 
+ */ + public com.google.longrunning.Operation exportData( + com.google.cloud.parallelstore.v1beta.ExportDataRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportDataMethod(), getCallOptions(), request); + } } /** @@ -742,6 +908,32 @@ protected ParallelstoreFutureStub build( return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); } + + /** + * + * + *
+     * ImportData copies data from Cloud Storage to Parallelstore.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importData(com.google.cloud.parallelstore.v1beta.ImportDataRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportDataMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * ExportData copies data from Parallelstore to Cloud Storage
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + exportData(com.google.cloud.parallelstore.v1beta.ExportDataRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportDataMethod(), getCallOptions()), request); + } } private static final int METHODID_LIST_INSTANCES = 0; @@ -749,6 +941,8 @@ protected ParallelstoreFutureStub build( private static final int METHODID_CREATE_INSTANCE = 2; private static final int METHODID_UPDATE_INSTANCE = 3; private static final int METHODID_DELETE_INSTANCE = 4; + private static final int METHODID_IMPORT_DATA = 5; + private static final int METHODID_EXPORT_DATA = 6; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -795,6 +989,16 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.cloud.parallelstore.v1beta.DeleteInstanceRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_IMPORT_DATA: + serviceImpl.importData( + (com.google.cloud.parallelstore.v1beta.ImportDataRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_EXPORT_DATA: + serviceImpl.exportData( + (com.google.cloud.parallelstore.v1beta.ExportDataRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; default: throw new AssertionError(); } @@ -845,6 +1049,18 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser new MethodHandlers< com.google.cloud.parallelstore.v1beta.DeleteInstanceRequest, com.google.longrunning.Operation>(service, METHODID_DELETE_INSTANCE))) + .addMethod( + getImportDataMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.parallelstore.v1beta.ImportDataRequest, + com.google.longrunning.Operation>(service, METHODID_IMPORT_DATA))) + .addMethod( + getExportDataMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.parallelstore.v1beta.ExportDataRequest, + com.google.longrunning.Operation>(service, METHODID_EXPORT_DATA))) .build(); } @@ -901,6 +1117,8 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getCreateInstanceMethod()) .addMethod(getUpdateInstanceMethod()) .addMethod(getDeleteInstanceMethod()) + .addMethod(getImportDataMethod()) + .addMethod(getExportDataMethod()) .build(); } } diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataMetadata.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataMetadata.java new file mode 100644 index 000000000000..0b9c1ca1294f --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataMetadata.java @@ -0,0 +1,746 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +/** + * + * + *
+ * ExportDataMetadata contains export data operation metadata
+ * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.ExportDataMetadata} + */ +public final class ExportDataMetadata extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.parallelstore.v1beta.ExportDataMetadata) + ExportDataMetadataOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExportDataMetadata.newBuilder() to construct. + private ExportDataMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ExportDataMetadata() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ExportDataMetadata(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ExportDataMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ExportDataMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.ExportDataMetadata.class, + com.google.cloud.parallelstore.v1beta.ExportDataMetadata.Builder.class); + } + + private int bitField0_; + public static final int OPERATION_METADATA_FIELD_NUMBER = 1; + private com.google.cloud.parallelstore.v1beta.TransferOperationMetadata operationMetadata_; + /** + * + * + *
+   * Contains the data transfer operation metadata.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + * + * @return Whether the operationMetadata field is set. + */ + @java.lang.Override + public boolean hasOperationMetadata() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Contains the data transfer operation metadata.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + * + * @return The operationMetadata. + */ + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.TransferOperationMetadata getOperationMetadata() { + return operationMetadata_ == null + ? com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.getDefaultInstance() + : operationMetadata_; + } + /** + * + * + *
+   * Contains the data transfer operation metadata.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + */ + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.TransferOperationMetadataOrBuilder + getOperationMetadataOrBuilder() { + return operationMetadata_ == null + ? com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.getDefaultInstance() + : operationMetadata_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getOperationMetadata()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOperationMetadata()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.parallelstore.v1beta.ExportDataMetadata)) { + return super.equals(obj); + } + com.google.cloud.parallelstore.v1beta.ExportDataMetadata other = + (com.google.cloud.parallelstore.v1beta.ExportDataMetadata) obj; + + if (hasOperationMetadata() != other.hasOperationMetadata()) return false; + if (hasOperationMetadata()) { + if (!getOperationMetadata().equals(other.getOperationMetadata())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasOperationMetadata()) { + hash = (37 * hash) + OPERATION_METADATA_FIELD_NUMBER; + hash = (53 * hash) + getOperationMetadata().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataMetadata parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataMetadata parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataMetadata parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataMetadata parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataMetadata parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataMetadata parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataMetadata parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.parallelstore.v1beta.ExportDataMetadata prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * ExportDataMetadata contains export data operation metadata
+   * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.ExportDataMetadata} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.parallelstore.v1beta.ExportDataMetadata) + com.google.cloud.parallelstore.v1beta.ExportDataMetadataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ExportDataMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ExportDataMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.ExportDataMetadata.class, + com.google.cloud.parallelstore.v1beta.ExportDataMetadata.Builder.class); + } + + // Construct using com.google.cloud.parallelstore.v1beta.ExportDataMetadata.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getOperationMetadataFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + operationMetadata_ = null; + if (operationMetadataBuilder_ != null) { + operationMetadataBuilder_.dispose(); + operationMetadataBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ExportDataMetadata_descriptor; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ExportDataMetadata getDefaultInstanceForType() { + return com.google.cloud.parallelstore.v1beta.ExportDataMetadata.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ExportDataMetadata build() { + com.google.cloud.parallelstore.v1beta.ExportDataMetadata result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ExportDataMetadata buildPartial() { + com.google.cloud.parallelstore.v1beta.ExportDataMetadata result = + new com.google.cloud.parallelstore.v1beta.ExportDataMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.parallelstore.v1beta.ExportDataMetadata result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.operationMetadata_ = + operationMetadataBuilder_ == null + ? operationMetadata_ + : operationMetadataBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.parallelstore.v1beta.ExportDataMetadata) { + return mergeFrom((com.google.cloud.parallelstore.v1beta.ExportDataMetadata) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.parallelstore.v1beta.ExportDataMetadata other) { + if (other == com.google.cloud.parallelstore.v1beta.ExportDataMetadata.getDefaultInstance()) + return this; + if (other.hasOperationMetadata()) { + mergeOperationMetadata(other.getOperationMetadata()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + getOperationMetadataFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.parallelstore.v1beta.TransferOperationMetadata operationMetadata_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata, + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.Builder, + com.google.cloud.parallelstore.v1beta.TransferOperationMetadataOrBuilder> + operationMetadataBuilder_; + /** + * + * + *
+     * Contains the data transfer operation metadata.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + * + * @return Whether the operationMetadata field is set. + */ + public boolean hasOperationMetadata() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Contains the data transfer operation metadata.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + * + * @return The operationMetadata. + */ + public com.google.cloud.parallelstore.v1beta.TransferOperationMetadata getOperationMetadata() { + if (operationMetadataBuilder_ == null) { + return operationMetadata_ == null + ? com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.getDefaultInstance() + : operationMetadata_; + } else { + return operationMetadataBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Contains the data transfer operation metadata.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + */ + public Builder setOperationMetadata( + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata value) { + if (operationMetadataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + operationMetadata_ = value; + } else { + operationMetadataBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Contains the data transfer operation metadata.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + */ + public Builder setOperationMetadata( + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.Builder builderForValue) { + if (operationMetadataBuilder_ == null) { + operationMetadata_ = builderForValue.build(); + } else { + operationMetadataBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Contains the data transfer operation metadata.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + */ + public Builder mergeOperationMetadata( + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata value) { + if (operationMetadataBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && operationMetadata_ != null + && operationMetadata_ + != com.google.cloud.parallelstore.v1beta.TransferOperationMetadata + .getDefaultInstance()) { + getOperationMetadataBuilder().mergeFrom(value); + } else { + operationMetadata_ = value; + } + } else { + operationMetadataBuilder_.mergeFrom(value); + } + if (operationMetadata_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Contains the data transfer operation metadata.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + */ + public Builder clearOperationMetadata() { + bitField0_ = (bitField0_ & ~0x00000001); + operationMetadata_ = null; + if (operationMetadataBuilder_ != null) { + operationMetadataBuilder_.dispose(); + operationMetadataBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Contains the data transfer operation metadata.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + */ + public com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.Builder + getOperationMetadataBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getOperationMetadataFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Contains the data transfer operation metadata.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + */ + public com.google.cloud.parallelstore.v1beta.TransferOperationMetadataOrBuilder + getOperationMetadataOrBuilder() { + if (operationMetadataBuilder_ != null) { + return operationMetadataBuilder_.getMessageOrBuilder(); + } else { + return operationMetadata_ == null + ? com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.getDefaultInstance() + : operationMetadata_; + } + } + /** + * + * + *
+     * Contains the data transfer operation metadata.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata, + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.Builder, + com.google.cloud.parallelstore.v1beta.TransferOperationMetadataOrBuilder> + getOperationMetadataFieldBuilder() { + if (operationMetadataBuilder_ == null) { + operationMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata, + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.Builder, + com.google.cloud.parallelstore.v1beta.TransferOperationMetadataOrBuilder>( + getOperationMetadata(), getParentForChildren(), isClean()); + operationMetadata_ = null; + } + return operationMetadataBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.parallelstore.v1beta.ExportDataMetadata) + } + + // @@protoc_insertion_point(class_scope:google.cloud.parallelstore.v1beta.ExportDataMetadata) + private static final com.google.cloud.parallelstore.v1beta.ExportDataMetadata DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.parallelstore.v1beta.ExportDataMetadata(); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataMetadata getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportDataMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ExportDataMetadata getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataMetadataOrBuilder.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataMetadataOrBuilder.java new file mode 100644 index 000000000000..d2e7c2d0851b --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataMetadataOrBuilder.java @@ -0,0 +1,65 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +public interface ExportDataMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.parallelstore.v1beta.ExportDataMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Contains the data transfer operation metadata.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + * + * @return Whether the operationMetadata field is set. + */ + boolean hasOperationMetadata(); + /** + * + * + *
+   * Contains the data transfer operation metadata.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + * + * @return The operationMetadata. + */ + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata getOperationMetadata(); + /** + * + * + *
+   * Contains the data transfer operation metadata.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + */ + com.google.cloud.parallelstore.v1beta.TransferOperationMetadataOrBuilder + getOperationMetadataOrBuilder(); +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataRequest.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataRequest.java new file mode 100644 index 000000000000..cd6b30578149 --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataRequest.java @@ -0,0 +1,1565 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +/** + * + * + *
+ * Message representing the request exporting data from Cloud Storage to
+ * parallelstore.
+ * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.ExportDataRequest} + */ +public final class ExportDataRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.parallelstore.v1beta.ExportDataRequest) + ExportDataRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExportDataRequest.newBuilder() to construct. + private ExportDataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ExportDataRequest() { + name_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ExportDataRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ExportDataRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ExportDataRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.ExportDataRequest.class, + com.google.cloud.parallelstore.v1beta.ExportDataRequest.Builder.class); + } + + private int sourceCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object source_; + + public enum SourceCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + SOURCE_PATH(2), + SOURCE_NOT_SET(0); + private final int value; + + private SourceCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SourceCase valueOf(int value) { + return forNumber(value); + } + + public static SourceCase forNumber(int value) { + switch (value) { + case 2: + return SOURCE_PATH; + case 0: + return SOURCE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); + } + + private int destinationCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object destination_; + + public enum DestinationCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + DESTINATION_GCS_URI(3), + DESTINATION_NOT_SET(0); + private final int value; + + private DestinationCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static DestinationCase valueOf(int value) { + return forNumber(value); + } + + public static DestinationCase forNumber(int value) { + switch (value) { + case 3: + return DESTINATION_GCS_URI; + case 0: + return DESTINATION_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); + } + + public static final int SOURCE_PATH_FIELD_NUMBER = 2; + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Sets to '/' if no value is set.
+   * 
+ * + * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the sourcePath field is set. + */ + public boolean hasSourcePath() { + return sourceCase_ == 2; + } + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Sets to '/' if no value is set.
+   * 
+ * + * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The sourcePath. + */ + public java.lang.String getSourcePath() { + java.lang.Object ref = ""; + if (sourceCase_ == 2) { + ref = source_; + } + 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(); + if (sourceCase_ == 2) { + source_ = s; + } + return s; + } + } + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Sets to '/' if no value is set.
+   * 
+ * + * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for sourcePath. + */ + public com.google.protobuf.ByteString getSourcePathBytes() { + java.lang.Object ref = ""; + if (sourceCase_ == 2) { + ref = source_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (sourceCase_ == 2) { + source_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESTINATION_GCS_URI_FIELD_NUMBER = 3; + /** + * + * + *
+   * URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string destination_gcs_uri = 3; + * + * @return Whether the destinationGcsUri field is set. + */ + public boolean hasDestinationGcsUri() { + return destinationCase_ == 3; + } + /** + * + * + *
+   * URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string destination_gcs_uri = 3; + * + * @return The destinationGcsUri. + */ + public java.lang.String getDestinationGcsUri() { + java.lang.Object ref = ""; + if (destinationCase_ == 3) { + ref = destination_; + } + 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(); + if (destinationCase_ == 3) { + destination_ = s; + } + return s; + } + } + /** + * + * + *
+   * URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string destination_gcs_uri = 3; + * + * @return The bytes for destinationGcsUri. + */ + public com.google.protobuf.ByteString getDestinationGcsUriBytes() { + java.lang.Object ref = ""; + if (destinationCase_ == 3) { + ref = destination_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (destinationCase_ == 3) { + destination_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. Name of the resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Required. Name of the resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestId_ = ""; + /** + * + * + *
+   * Optional. An optional request ID to identify requests. Specify a unique
+   * request ID so that if you must retry your request, the server will know to
+   * ignore the request if it has already been completed. The server will
+   * guarantee that for at least 60 minutes since the first request.
+   *
+   * For example, consider a situation where you make an initial request and t
+   * he request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   *
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + @java.lang.Override + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + 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(); + requestId_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. An optional request ID to identify requests. Specify a unique
+   * request ID so that if you must retry your request, the server will know to
+   * ignore the request if it has already been completed. The server will
+   * guarantee that for at least 60 minutes since the first request.
+   *
+   * For example, consider a situation where you make an initial request and t
+   * he request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   *
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (sourceCase_ == 2) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, source_); + } + if (destinationCase_ == 3) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, destination_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (sourceCase_ == 2) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); + } + if (destinationCase_ == 3) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, destination_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.parallelstore.v1beta.ExportDataRequest)) { + return super.equals(obj); + } + com.google.cloud.parallelstore.v1beta.ExportDataRequest other = + (com.google.cloud.parallelstore.v1beta.ExportDataRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getSourceCase().equals(other.getSourceCase())) return false; + switch (sourceCase_) { + case 2: + if (!getSourcePath().equals(other.getSourcePath())) return false; + break; + case 0: + default: + } + if (!getDestinationCase().equals(other.getDestinationCase())) return false; + switch (destinationCase_) { + case 3: + if (!getDestinationGcsUri().equals(other.getDestinationGcsUri())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + switch (sourceCase_) { + case 2: + hash = (37 * hash) + SOURCE_PATH_FIELD_NUMBER; + hash = (53 * hash) + getSourcePath().hashCode(); + break; + case 0: + default: + } + switch (destinationCase_) { + case 3: + hash = (37 * hash) + DESTINATION_GCS_URI_FIELD_NUMBER; + hash = (53 * hash) + getDestinationGcsUri().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.parallelstore.v1beta.ExportDataRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Message representing the request exporting data from Cloud Storage to
+   * parallelstore.
+   * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.ExportDataRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.parallelstore.v1beta.ExportDataRequest) + com.google.cloud.parallelstore.v1beta.ExportDataRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ExportDataRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ExportDataRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.ExportDataRequest.class, + com.google.cloud.parallelstore.v1beta.ExportDataRequest.Builder.class); + } + + // Construct using com.google.cloud.parallelstore.v1beta.ExportDataRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + requestId_ = ""; + sourceCase_ = 0; + source_ = null; + destinationCase_ = 0; + destination_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ExportDataRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ExportDataRequest getDefaultInstanceForType() { + return com.google.cloud.parallelstore.v1beta.ExportDataRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ExportDataRequest build() { + com.google.cloud.parallelstore.v1beta.ExportDataRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ExportDataRequest buildPartial() { + com.google.cloud.parallelstore.v1beta.ExportDataRequest result = + new com.google.cloud.parallelstore.v1beta.ExportDataRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.parallelstore.v1beta.ExportDataRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.requestId_ = requestId_; + } + } + + private void buildPartialOneofs( + com.google.cloud.parallelstore.v1beta.ExportDataRequest result) { + result.sourceCase_ = sourceCase_; + result.source_ = this.source_; + result.destinationCase_ = destinationCase_; + result.destination_ = this.destination_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.parallelstore.v1beta.ExportDataRequest) { + return mergeFrom((com.google.cloud.parallelstore.v1beta.ExportDataRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.parallelstore.v1beta.ExportDataRequest other) { + if (other == com.google.cloud.parallelstore.v1beta.ExportDataRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getRequestId().isEmpty()) { + requestId_ = other.requestId_; + bitField0_ |= 0x00000008; + onChanged(); + } + switch (other.getSourceCase()) { + case SOURCE_PATH: + { + sourceCase_ = 2; + source_ = other.source_; + onChanged(); + break; + } + case SOURCE_NOT_SET: + { + break; + } + } + switch (other.getDestinationCase()) { + case DESTINATION_GCS_URI: + { + destinationCase_ = 3; + destination_ = other.destination_; + onChanged(); + break; + } + case DESTINATION_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 2; + source_ = s; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + destinationCase_ = 3; + destination_ = s; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int sourceCase_ = 0; + private java.lang.Object source_; + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); + } + + public Builder clearSource() { + sourceCase_ = 0; + source_ = null; + onChanged(); + return this; + } + + private int destinationCase_ = 0; + private java.lang.Object destination_; + + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); + } + + public Builder clearDestination() { + destinationCase_ = 0; + destination_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Sets to '/' if no value is set.
+     * 
+ * + * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the sourcePath field is set. + */ + @java.lang.Override + public boolean hasSourcePath() { + return sourceCase_ == 2; + } + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Sets to '/' if no value is set.
+     * 
+ * + * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The sourcePath. + */ + @java.lang.Override + public java.lang.String getSourcePath() { + java.lang.Object ref = ""; + if (sourceCase_ == 2) { + ref = source_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (sourceCase_ == 2) { + source_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Sets to '/' if no value is set.
+     * 
+ * + * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for sourcePath. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSourcePathBytes() { + java.lang.Object ref = ""; + if (sourceCase_ == 2) { + ref = source_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (sourceCase_ == 2) { + source_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Sets to '/' if no value is set.
+     * 
+ * + * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The sourcePath to set. + * @return This builder for chaining. + */ + public Builder setSourcePath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + sourceCase_ = 2; + source_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Sets to '/' if no value is set.
+     * 
+ * + * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearSourcePath() { + if (sourceCase_ == 2) { + sourceCase_ = 0; + source_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Sets to '/' if no value is set.
+     * 
+ * + * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for sourcePath to set. + * @return This builder for chaining. + */ + public Builder setSourcePathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceCase_ = 2; + source_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string destination_gcs_uri = 3; + * + * @return Whether the destinationGcsUri field is set. + */ + @java.lang.Override + public boolean hasDestinationGcsUri() { + return destinationCase_ == 3; + } + /** + * + * + *
+     * URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string destination_gcs_uri = 3; + * + * @return The destinationGcsUri. + */ + @java.lang.Override + public java.lang.String getDestinationGcsUri() { + java.lang.Object ref = ""; + if (destinationCase_ == 3) { + ref = destination_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (destinationCase_ == 3) { + destination_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string destination_gcs_uri = 3; + * + * @return The bytes for destinationGcsUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDestinationGcsUriBytes() { + java.lang.Object ref = ""; + if (destinationCase_ == 3) { + ref = destination_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (destinationCase_ == 3) { + destination_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string destination_gcs_uri = 3; + * + * @param value The destinationGcsUri to set. + * @return This builder for chaining. + */ + public Builder setDestinationGcsUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + destinationCase_ = 3; + destination_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string destination_gcs_uri = 3; + * + * @return This builder for chaining. + */ + public Builder clearDestinationGcsUri() { + if (destinationCase_ == 3) { + destinationCase_ = 0; + destination_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string destination_gcs_uri = 3; + * + * @param value The bytes for destinationGcsUri to set. + * @return This builder for chaining. + */ + public Builder setDestinationGcsUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + destinationCase_ = 3; + destination_ = value; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Required. Name of the resource.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. Name of the resource.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. Name of the resource.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Name of the resource.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Name of the resource.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object requestId_ = ""; + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes since the first request.
+     *
+     * For example, consider a situation where you make an initial request and t
+     * he request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes since the first request.
+     *
+     * For example, consider a situation where you make an initial request and t
+     * he request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes since the first request.
+     *
+     * For example, consider a situation where you make an initial request and t
+     * he request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @param value The requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes since the first request.
+     *
+     * For example, consider a situation where you make an initial request and t
+     * he request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearRequestId() { + requestId_ = getDefaultInstance().getRequestId(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes since the first request.
+     *
+     * For example, consider a situation where you make an initial request and t
+     * he request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.parallelstore.v1beta.ExportDataRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.parallelstore.v1beta.ExportDataRequest) + private static final com.google.cloud.parallelstore.v1beta.ExportDataRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.parallelstore.v1beta.ExportDataRequest(); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportDataRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ExportDataRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataRequestOrBuilder.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataRequestOrBuilder.java new file mode 100644 index 000000000000..dc1661a2f21c --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataRequestOrBuilder.java @@ -0,0 +1,192 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +public interface ExportDataRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.parallelstore.v1beta.ExportDataRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Sets to '/' if no value is set.
+   * 
+ * + * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the sourcePath field is set. + */ + boolean hasSourcePath(); + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Sets to '/' if no value is set.
+   * 
+ * + * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The sourcePath. + */ + java.lang.String getSourcePath(); + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Sets to '/' if no value is set.
+   * 
+ * + * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for sourcePath. + */ + com.google.protobuf.ByteString getSourcePathBytes(); + + /** + * + * + *
+   * URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string destination_gcs_uri = 3; + * + * @return Whether the destinationGcsUri field is set. + */ + boolean hasDestinationGcsUri(); + /** + * + * + *
+   * URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string destination_gcs_uri = 3; + * + * @return The destinationGcsUri. + */ + java.lang.String getDestinationGcsUri(); + /** + * + * + *
+   * URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string destination_gcs_uri = 3; + * + * @return The bytes for destinationGcsUri. + */ + com.google.protobuf.ByteString getDestinationGcsUriBytes(); + + /** + * + * + *
+   * Required. Name of the resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. An optional request ID to identify requests. Specify a unique
+   * request ID so that if you must retry your request, the server will know to
+   * ignore the request if it has already been completed. The server will
+   * guarantee that for at least 60 minutes since the first request.
+   *
+   * For example, consider a situation where you make an initial request and t
+   * he request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   *
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + java.lang.String getRequestId(); + /** + * + * + *
+   * Optional. An optional request ID to identify requests. Specify a unique
+   * request ID so that if you must retry your request, the server will know to
+   * ignore the request if it has already been completed. The server will
+   * guarantee that for at least 60 minutes since the first request.
+   *
+   * For example, consider a situation where you make an initial request and t
+   * he request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   *
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); + + com.google.cloud.parallelstore.v1beta.ExportDataRequest.SourceCase getSourceCase(); + + com.google.cloud.parallelstore.v1beta.ExportDataRequest.DestinationCase getDestinationCase(); +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataResponse.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataResponse.java new file mode 100644 index 000000000000..641ad7b6c126 --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataResponse.java @@ -0,0 +1,433 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +/** + * + * + *
+ * ExportDataResponse is the response returned from ExportData rpc
+ * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.ExportDataResponse} + */ +public final class ExportDataResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.parallelstore.v1beta.ExportDataResponse) + ExportDataResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExportDataResponse.newBuilder() to construct. + private ExportDataResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ExportDataResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ExportDataResponse(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ExportDataResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ExportDataResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.ExportDataResponse.class, + com.google.cloud.parallelstore.v1beta.ExportDataResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.parallelstore.v1beta.ExportDataResponse)) { + return super.equals(obj); + } + com.google.cloud.parallelstore.v1beta.ExportDataResponse other = + (com.google.cloud.parallelstore.v1beta.ExportDataResponse) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.parallelstore.v1beta.ExportDataResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * ExportDataResponse is the response returned from ExportData rpc
+   * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.ExportDataResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.parallelstore.v1beta.ExportDataResponse) + com.google.cloud.parallelstore.v1beta.ExportDataResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ExportDataResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ExportDataResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.ExportDataResponse.class, + com.google.cloud.parallelstore.v1beta.ExportDataResponse.Builder.class); + } + + // Construct using com.google.cloud.parallelstore.v1beta.ExportDataResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ExportDataResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ExportDataResponse getDefaultInstanceForType() { + return com.google.cloud.parallelstore.v1beta.ExportDataResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ExportDataResponse build() { + com.google.cloud.parallelstore.v1beta.ExportDataResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ExportDataResponse buildPartial() { + com.google.cloud.parallelstore.v1beta.ExportDataResponse result = + new com.google.cloud.parallelstore.v1beta.ExportDataResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.parallelstore.v1beta.ExportDataResponse) { + return mergeFrom((com.google.cloud.parallelstore.v1beta.ExportDataResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.parallelstore.v1beta.ExportDataResponse other) { + if (other == com.google.cloud.parallelstore.v1beta.ExportDataResponse.getDefaultInstance()) + return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.parallelstore.v1beta.ExportDataResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.parallelstore.v1beta.ExportDataResponse) + private static final com.google.cloud.parallelstore.v1beta.ExportDataResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.parallelstore.v1beta.ExportDataResponse(); + } + + public static com.google.cloud.parallelstore.v1beta.ExportDataResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportDataResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ExportDataResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataResponseOrBuilder.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataResponseOrBuilder.java new file mode 100644 index 000000000000..fedb620ea2c1 --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataResponseOrBuilder.java @@ -0,0 +1,25 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +public interface ExportDataResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.parallelstore.v1beta.ExportDataResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataMetadata.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataMetadata.java new file mode 100644 index 000000000000..6cd1e1a52e4d --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataMetadata.java @@ -0,0 +1,746 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +/** + * + * + *
+ * ImportDataMetadata contains import data operation metadata
+ * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.ImportDataMetadata} + */ +public final class ImportDataMetadata extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.parallelstore.v1beta.ImportDataMetadata) + ImportDataMetadataOrBuilder { + private static final long serialVersionUID = 0L; + // Use ImportDataMetadata.newBuilder() to construct. + private ImportDataMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ImportDataMetadata() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ImportDataMetadata(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ImportDataMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ImportDataMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.ImportDataMetadata.class, + com.google.cloud.parallelstore.v1beta.ImportDataMetadata.Builder.class); + } + + private int bitField0_; + public static final int OPERATION_METADATA_FIELD_NUMBER = 1; + private com.google.cloud.parallelstore.v1beta.TransferOperationMetadata operationMetadata_; + /** + * + * + *
+   * Contains the data transfer operation metadata.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + * + * @return Whether the operationMetadata field is set. + */ + @java.lang.Override + public boolean hasOperationMetadata() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Contains the data transfer operation metadata.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + * + * @return The operationMetadata. + */ + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.TransferOperationMetadata getOperationMetadata() { + return operationMetadata_ == null + ? com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.getDefaultInstance() + : operationMetadata_; + } + /** + * + * + *
+   * Contains the data transfer operation metadata.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + */ + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.TransferOperationMetadataOrBuilder + getOperationMetadataOrBuilder() { + return operationMetadata_ == null + ? com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.getDefaultInstance() + : operationMetadata_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getOperationMetadata()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOperationMetadata()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.parallelstore.v1beta.ImportDataMetadata)) { + return super.equals(obj); + } + com.google.cloud.parallelstore.v1beta.ImportDataMetadata other = + (com.google.cloud.parallelstore.v1beta.ImportDataMetadata) obj; + + if (hasOperationMetadata() != other.hasOperationMetadata()) return false; + if (hasOperationMetadata()) { + if (!getOperationMetadata().equals(other.getOperationMetadata())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasOperationMetadata()) { + hash = (37 * hash) + OPERATION_METADATA_FIELD_NUMBER; + hash = (53 * hash) + getOperationMetadata().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataMetadata parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataMetadata parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataMetadata parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataMetadata parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataMetadata parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataMetadata parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataMetadata parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.parallelstore.v1beta.ImportDataMetadata prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * ImportDataMetadata contains import data operation metadata
+   * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.ImportDataMetadata} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.parallelstore.v1beta.ImportDataMetadata) + com.google.cloud.parallelstore.v1beta.ImportDataMetadataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ImportDataMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ImportDataMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.ImportDataMetadata.class, + com.google.cloud.parallelstore.v1beta.ImportDataMetadata.Builder.class); + } + + // Construct using com.google.cloud.parallelstore.v1beta.ImportDataMetadata.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getOperationMetadataFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + operationMetadata_ = null; + if (operationMetadataBuilder_ != null) { + operationMetadataBuilder_.dispose(); + operationMetadataBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ImportDataMetadata_descriptor; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ImportDataMetadata getDefaultInstanceForType() { + return com.google.cloud.parallelstore.v1beta.ImportDataMetadata.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ImportDataMetadata build() { + com.google.cloud.parallelstore.v1beta.ImportDataMetadata result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ImportDataMetadata buildPartial() { + com.google.cloud.parallelstore.v1beta.ImportDataMetadata result = + new com.google.cloud.parallelstore.v1beta.ImportDataMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.parallelstore.v1beta.ImportDataMetadata result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.operationMetadata_ = + operationMetadataBuilder_ == null + ? operationMetadata_ + : operationMetadataBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.parallelstore.v1beta.ImportDataMetadata) { + return mergeFrom((com.google.cloud.parallelstore.v1beta.ImportDataMetadata) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.parallelstore.v1beta.ImportDataMetadata other) { + if (other == com.google.cloud.parallelstore.v1beta.ImportDataMetadata.getDefaultInstance()) + return this; + if (other.hasOperationMetadata()) { + mergeOperationMetadata(other.getOperationMetadata()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + getOperationMetadataFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.parallelstore.v1beta.TransferOperationMetadata operationMetadata_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata, + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.Builder, + com.google.cloud.parallelstore.v1beta.TransferOperationMetadataOrBuilder> + operationMetadataBuilder_; + /** + * + * + *
+     * Contains the data transfer operation metadata.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + * + * @return Whether the operationMetadata field is set. + */ + public boolean hasOperationMetadata() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Contains the data transfer operation metadata.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + * + * @return The operationMetadata. + */ + public com.google.cloud.parallelstore.v1beta.TransferOperationMetadata getOperationMetadata() { + if (operationMetadataBuilder_ == null) { + return operationMetadata_ == null + ? com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.getDefaultInstance() + : operationMetadata_; + } else { + return operationMetadataBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Contains the data transfer operation metadata.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + */ + public Builder setOperationMetadata( + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata value) { + if (operationMetadataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + operationMetadata_ = value; + } else { + operationMetadataBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Contains the data transfer operation metadata.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + */ + public Builder setOperationMetadata( + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.Builder builderForValue) { + if (operationMetadataBuilder_ == null) { + operationMetadata_ = builderForValue.build(); + } else { + operationMetadataBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Contains the data transfer operation metadata.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + */ + public Builder mergeOperationMetadata( + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata value) { + if (operationMetadataBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && operationMetadata_ != null + && operationMetadata_ + != com.google.cloud.parallelstore.v1beta.TransferOperationMetadata + .getDefaultInstance()) { + getOperationMetadataBuilder().mergeFrom(value); + } else { + operationMetadata_ = value; + } + } else { + operationMetadataBuilder_.mergeFrom(value); + } + if (operationMetadata_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Contains the data transfer operation metadata.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + */ + public Builder clearOperationMetadata() { + bitField0_ = (bitField0_ & ~0x00000001); + operationMetadata_ = null; + if (operationMetadataBuilder_ != null) { + operationMetadataBuilder_.dispose(); + operationMetadataBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Contains the data transfer operation metadata.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + */ + public com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.Builder + getOperationMetadataBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getOperationMetadataFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Contains the data transfer operation metadata.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + */ + public com.google.cloud.parallelstore.v1beta.TransferOperationMetadataOrBuilder + getOperationMetadataOrBuilder() { + if (operationMetadataBuilder_ != null) { + return operationMetadataBuilder_.getMessageOrBuilder(); + } else { + return operationMetadata_ == null + ? com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.getDefaultInstance() + : operationMetadata_; + } + } + /** + * + * + *
+     * Contains the data transfer operation metadata.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata, + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.Builder, + com.google.cloud.parallelstore.v1beta.TransferOperationMetadataOrBuilder> + getOperationMetadataFieldBuilder() { + if (operationMetadataBuilder_ == null) { + operationMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata, + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.Builder, + com.google.cloud.parallelstore.v1beta.TransferOperationMetadataOrBuilder>( + getOperationMetadata(), getParentForChildren(), isClean()); + operationMetadata_ = null; + } + return operationMetadataBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.parallelstore.v1beta.ImportDataMetadata) + } + + // @@protoc_insertion_point(class_scope:google.cloud.parallelstore.v1beta.ImportDataMetadata) + private static final com.google.cloud.parallelstore.v1beta.ImportDataMetadata DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.parallelstore.v1beta.ImportDataMetadata(); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataMetadata getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportDataMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ImportDataMetadata getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataMetadataOrBuilder.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataMetadataOrBuilder.java new file mode 100644 index 000000000000..b77a09c61297 --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataMetadataOrBuilder.java @@ -0,0 +1,65 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +public interface ImportDataMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.parallelstore.v1beta.ImportDataMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Contains the data transfer operation metadata.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + * + * @return Whether the operationMetadata field is set. + */ + boolean hasOperationMetadata(); + /** + * + * + *
+   * Contains the data transfer operation metadata.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + * + * @return The operationMetadata. + */ + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata getOperationMetadata(); + /** + * + * + *
+   * Contains the data transfer operation metadata.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferOperationMetadata operation_metadata = 1; + * + */ + com.google.cloud.parallelstore.v1beta.TransferOperationMetadataOrBuilder + getOperationMetadataOrBuilder(); +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataRequest.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataRequest.java new file mode 100644 index 000000000000..d2341d66e3f1 --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataRequest.java @@ -0,0 +1,1565 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +/** + * + * + *
+ * Message representing the request importing data from parallelstore to Cloud
+ * Storage.
+ * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.ImportDataRequest} + */ +public final class ImportDataRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.parallelstore.v1beta.ImportDataRequest) + ImportDataRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ImportDataRequest.newBuilder() to construct. + private ImportDataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ImportDataRequest() { + name_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ImportDataRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ImportDataRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ImportDataRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.ImportDataRequest.class, + com.google.cloud.parallelstore.v1beta.ImportDataRequest.Builder.class); + } + + private int sourceCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object source_; + + public enum SourceCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + SOURCE_GCS_URI(2), + SOURCE_NOT_SET(0); + private final int value; + + private SourceCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SourceCase valueOf(int value) { + return forNumber(value); + } + + public static SourceCase forNumber(int value) { + switch (value) { + case 2: + return SOURCE_GCS_URI; + case 0: + return SOURCE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); + } + + private int destinationCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object destination_; + + public enum DestinationCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + DESTINATION_PATH(3), + DESTINATION_NOT_SET(0); + private final int value; + + private DestinationCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static DestinationCase valueOf(int value) { + return forNumber(value); + } + + public static DestinationCase forNumber(int value) { + switch (value) { + case 3: + return DESTINATION_PATH; + case 0: + return DESTINATION_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); + } + + public static final int SOURCE_GCS_URI_FIELD_NUMBER = 2; + /** + * + * + *
+   * URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string source_gcs_uri = 2; + * + * @return Whether the sourceGcsUri field is set. + */ + public boolean hasSourceGcsUri() { + return sourceCase_ == 2; + } + /** + * + * + *
+   * URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string source_gcs_uri = 2; + * + * @return The sourceGcsUri. + */ + public java.lang.String getSourceGcsUri() { + java.lang.Object ref = ""; + if (sourceCase_ == 2) { + ref = source_; + } + 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(); + if (sourceCase_ == 2) { + source_ = s; + } + return s; + } + } + /** + * + * + *
+   * URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string source_gcs_uri = 2; + * + * @return The bytes for sourceGcsUri. + */ + public com.google.protobuf.ByteString getSourceGcsUriBytes() { + java.lang.Object ref = ""; + if (sourceCase_ == 2) { + ref = source_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (sourceCase_ == 2) { + source_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESTINATION_PATH_FIELD_NUMBER = 3; + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Sets to '/' if no value is set.
+   * 
+ * + * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the destinationPath field is set. + */ + public boolean hasDestinationPath() { + return destinationCase_ == 3; + } + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Sets to '/' if no value is set.
+   * 
+ * + * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The destinationPath. + */ + public java.lang.String getDestinationPath() { + java.lang.Object ref = ""; + if (destinationCase_ == 3) { + ref = destination_; + } + 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(); + if (destinationCase_ == 3) { + destination_ = s; + } + return s; + } + } + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Sets to '/' if no value is set.
+   * 
+ * + * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for destinationPath. + */ + public com.google.protobuf.ByteString getDestinationPathBytes() { + java.lang.Object ref = ""; + if (destinationCase_ == 3) { + ref = destination_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (destinationCase_ == 3) { + destination_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. Name of the resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Required. Name of the resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestId_ = ""; + /** + * + * + *
+   * Optional. An optional request ID to identify requests. Specify a unique
+   * request ID so that if you must retry your request, the server will know to
+   * ignore the request if it has already been completed. The server will
+   * guarantee that for at least 60 minutes since the first request.
+   *
+   * For example, consider a situation where you make an initial request and t
+   * he request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   *
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + @java.lang.Override + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + 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(); + requestId_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. An optional request ID to identify requests. Specify a unique
+   * request ID so that if you must retry your request, the server will know to
+   * ignore the request if it has already been completed. The server will
+   * guarantee that for at least 60 minutes since the first request.
+   *
+   * For example, consider a situation where you make an initial request and t
+   * he request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   *
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (sourceCase_ == 2) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, source_); + } + if (destinationCase_ == 3) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, destination_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (sourceCase_ == 2) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); + } + if (destinationCase_ == 3) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, destination_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.parallelstore.v1beta.ImportDataRequest)) { + return super.equals(obj); + } + com.google.cloud.parallelstore.v1beta.ImportDataRequest other = + (com.google.cloud.parallelstore.v1beta.ImportDataRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getSourceCase().equals(other.getSourceCase())) return false; + switch (sourceCase_) { + case 2: + if (!getSourceGcsUri().equals(other.getSourceGcsUri())) return false; + break; + case 0: + default: + } + if (!getDestinationCase().equals(other.getDestinationCase())) return false; + switch (destinationCase_) { + case 3: + if (!getDestinationPath().equals(other.getDestinationPath())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + switch (sourceCase_) { + case 2: + hash = (37 * hash) + SOURCE_GCS_URI_FIELD_NUMBER; + hash = (53 * hash) + getSourceGcsUri().hashCode(); + break; + case 0: + default: + } + switch (destinationCase_) { + case 3: + hash = (37 * hash) + DESTINATION_PATH_FIELD_NUMBER; + hash = (53 * hash) + getDestinationPath().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.parallelstore.v1beta.ImportDataRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Message representing the request importing data from parallelstore to Cloud
+   * Storage.
+   * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.ImportDataRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.parallelstore.v1beta.ImportDataRequest) + com.google.cloud.parallelstore.v1beta.ImportDataRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ImportDataRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ImportDataRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.ImportDataRequest.class, + com.google.cloud.parallelstore.v1beta.ImportDataRequest.Builder.class); + } + + // Construct using com.google.cloud.parallelstore.v1beta.ImportDataRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + requestId_ = ""; + sourceCase_ = 0; + source_ = null; + destinationCase_ = 0; + destination_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ImportDataRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ImportDataRequest getDefaultInstanceForType() { + return com.google.cloud.parallelstore.v1beta.ImportDataRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ImportDataRequest build() { + com.google.cloud.parallelstore.v1beta.ImportDataRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ImportDataRequest buildPartial() { + com.google.cloud.parallelstore.v1beta.ImportDataRequest result = + new com.google.cloud.parallelstore.v1beta.ImportDataRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.parallelstore.v1beta.ImportDataRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.requestId_ = requestId_; + } + } + + private void buildPartialOneofs( + com.google.cloud.parallelstore.v1beta.ImportDataRequest result) { + result.sourceCase_ = sourceCase_; + result.source_ = this.source_; + result.destinationCase_ = destinationCase_; + result.destination_ = this.destination_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.parallelstore.v1beta.ImportDataRequest) { + return mergeFrom((com.google.cloud.parallelstore.v1beta.ImportDataRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.parallelstore.v1beta.ImportDataRequest other) { + if (other == com.google.cloud.parallelstore.v1beta.ImportDataRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getRequestId().isEmpty()) { + requestId_ = other.requestId_; + bitField0_ |= 0x00000008; + onChanged(); + } + switch (other.getSourceCase()) { + case SOURCE_GCS_URI: + { + sourceCase_ = 2; + source_ = other.source_; + onChanged(); + break; + } + case SOURCE_NOT_SET: + { + break; + } + } + switch (other.getDestinationCase()) { + case DESTINATION_PATH: + { + destinationCase_ = 3; + destination_ = other.destination_; + onChanged(); + break; + } + case DESTINATION_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 2; + source_ = s; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + destinationCase_ = 3; + destination_ = s; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int sourceCase_ = 0; + private java.lang.Object source_; + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); + } + + public Builder clearSource() { + sourceCase_ = 0; + source_ = null; + onChanged(); + return this; + } + + private int destinationCase_ = 0; + private java.lang.Object destination_; + + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); + } + + public Builder clearDestination() { + destinationCase_ = 0; + destination_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + /** + * + * + *
+     * URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string source_gcs_uri = 2; + * + * @return Whether the sourceGcsUri field is set. + */ + @java.lang.Override + public boolean hasSourceGcsUri() { + return sourceCase_ == 2; + } + /** + * + * + *
+     * URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string source_gcs_uri = 2; + * + * @return The sourceGcsUri. + */ + @java.lang.Override + public java.lang.String getSourceGcsUri() { + java.lang.Object ref = ""; + if (sourceCase_ == 2) { + ref = source_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (sourceCase_ == 2) { + source_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string source_gcs_uri = 2; + * + * @return The bytes for sourceGcsUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSourceGcsUriBytes() { + java.lang.Object ref = ""; + if (sourceCase_ == 2) { + ref = source_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (sourceCase_ == 2) { + source_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string source_gcs_uri = 2; + * + * @param value The sourceGcsUri to set. + * @return This builder for chaining. + */ + public Builder setSourceGcsUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + sourceCase_ = 2; + source_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string source_gcs_uri = 2; + * + * @return This builder for chaining. + */ + public Builder clearSourceGcsUri() { + if (sourceCase_ == 2) { + sourceCase_ = 0; + source_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string source_gcs_uri = 2; + * + * @param value The bytes for sourceGcsUri to set. + * @return This builder for chaining. + */ + public Builder setSourceGcsUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceCase_ = 2; + source_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Sets to '/' if no value is set.
+     * 
+ * + * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the destinationPath field is set. + */ + @java.lang.Override + public boolean hasDestinationPath() { + return destinationCase_ == 3; + } + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Sets to '/' if no value is set.
+     * 
+ * + * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The destinationPath. + */ + @java.lang.Override + public java.lang.String getDestinationPath() { + java.lang.Object ref = ""; + if (destinationCase_ == 3) { + ref = destination_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (destinationCase_ == 3) { + destination_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Sets to '/' if no value is set.
+     * 
+ * + * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for destinationPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDestinationPathBytes() { + java.lang.Object ref = ""; + if (destinationCase_ == 3) { + ref = destination_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (destinationCase_ == 3) { + destination_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Sets to '/' if no value is set.
+     * 
+ * + * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The destinationPath to set. + * @return This builder for chaining. + */ + public Builder setDestinationPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + destinationCase_ = 3; + destination_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Sets to '/' if no value is set.
+     * 
+ * + * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearDestinationPath() { + if (destinationCase_ == 3) { + destinationCase_ = 0; + destination_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Sets to '/' if no value is set.
+     * 
+ * + * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for destinationPath to set. + * @return This builder for chaining. + */ + public Builder setDestinationPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + destinationCase_ = 3; + destination_ = value; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Required. Name of the resource.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. Name of the resource.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. Name of the resource.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Name of the resource.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Name of the resource.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object requestId_ = ""; + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes since the first request.
+     *
+     * For example, consider a situation where you make an initial request and t
+     * he request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes since the first request.
+     *
+     * For example, consider a situation where you make an initial request and t
+     * he request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes since the first request.
+     *
+     * For example, consider a situation where you make an initial request and t
+     * he request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @param value The requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes since the first request.
+     *
+     * For example, consider a situation where you make an initial request and t
+     * he request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearRequestId() { + requestId_ = getDefaultInstance().getRequestId(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes since the first request.
+     *
+     * For example, consider a situation where you make an initial request and t
+     * he request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.parallelstore.v1beta.ImportDataRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.parallelstore.v1beta.ImportDataRequest) + private static final com.google.cloud.parallelstore.v1beta.ImportDataRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.parallelstore.v1beta.ImportDataRequest(); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportDataRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ImportDataRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataRequestOrBuilder.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataRequestOrBuilder.java new file mode 100644 index 000000000000..73e25c68d5d1 --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataRequestOrBuilder.java @@ -0,0 +1,192 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +public interface ImportDataRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.parallelstore.v1beta.ImportDataRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string source_gcs_uri = 2; + * + * @return Whether the sourceGcsUri field is set. + */ + boolean hasSourceGcsUri(); + /** + * + * + *
+   * URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string source_gcs_uri = 2; + * + * @return The sourceGcsUri. + */ + java.lang.String getSourceGcsUri(); + /** + * + * + *
+   * URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string source_gcs_uri = 2; + * + * @return The bytes for sourceGcsUri. + */ + com.google.protobuf.ByteString getSourceGcsUriBytes(); + + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Sets to '/' if no value is set.
+   * 
+ * + * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the destinationPath field is set. + */ + boolean hasDestinationPath(); + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Sets to '/' if no value is set.
+   * 
+ * + * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The destinationPath. + */ + java.lang.String getDestinationPath(); + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Sets to '/' if no value is set.
+   * 
+ * + * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for destinationPath. + */ + com.google.protobuf.ByteString getDestinationPathBytes(); + + /** + * + * + *
+   * Required. Name of the resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the resource.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. An optional request ID to identify requests. Specify a unique
+   * request ID so that if you must retry your request, the server will know to
+   * ignore the request if it has already been completed. The server will
+   * guarantee that for at least 60 minutes since the first request.
+   *
+   * For example, consider a situation where you make an initial request and t
+   * he request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   *
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + java.lang.String getRequestId(); + /** + * + * + *
+   * Optional. An optional request ID to identify requests. Specify a unique
+   * request ID so that if you must retry your request, the server will know to
+   * ignore the request if it has already been completed. The server will
+   * guarantee that for at least 60 minutes since the first request.
+   *
+   * For example, consider a situation where you make an initial request and t
+   * he request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   *
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); + + com.google.cloud.parallelstore.v1beta.ImportDataRequest.SourceCase getSourceCase(); + + com.google.cloud.parallelstore.v1beta.ImportDataRequest.DestinationCase getDestinationCase(); +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataResponse.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataResponse.java new file mode 100644 index 000000000000..ef6b2d87f53f --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataResponse.java @@ -0,0 +1,433 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +/** + * + * + *
+ * ImportDataResponse is the response returned from ImportData rpc.
+ * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.ImportDataResponse} + */ +public final class ImportDataResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.parallelstore.v1beta.ImportDataResponse) + ImportDataResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ImportDataResponse.newBuilder() to construct. + private ImportDataResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ImportDataResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ImportDataResponse(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ImportDataResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ImportDataResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.ImportDataResponse.class, + com.google.cloud.parallelstore.v1beta.ImportDataResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.parallelstore.v1beta.ImportDataResponse)) { + return super.equals(obj); + } + com.google.cloud.parallelstore.v1beta.ImportDataResponse other = + (com.google.cloud.parallelstore.v1beta.ImportDataResponse) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.parallelstore.v1beta.ImportDataResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * ImportDataResponse is the response returned from ImportData rpc.
+   * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.ImportDataResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.parallelstore.v1beta.ImportDataResponse) + com.google.cloud.parallelstore.v1beta.ImportDataResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ImportDataResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ImportDataResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.ImportDataResponse.class, + com.google.cloud.parallelstore.v1beta.ImportDataResponse.Builder.class); + } + + // Construct using com.google.cloud.parallelstore.v1beta.ImportDataResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_ImportDataResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ImportDataResponse getDefaultInstanceForType() { + return com.google.cloud.parallelstore.v1beta.ImportDataResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ImportDataResponse build() { + com.google.cloud.parallelstore.v1beta.ImportDataResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ImportDataResponse buildPartial() { + com.google.cloud.parallelstore.v1beta.ImportDataResponse result = + new com.google.cloud.parallelstore.v1beta.ImportDataResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.parallelstore.v1beta.ImportDataResponse) { + return mergeFrom((com.google.cloud.parallelstore.v1beta.ImportDataResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.parallelstore.v1beta.ImportDataResponse other) { + if (other == com.google.cloud.parallelstore.v1beta.ImportDataResponse.getDefaultInstance()) + return this; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.parallelstore.v1beta.ImportDataResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.parallelstore.v1beta.ImportDataResponse) + private static final com.google.cloud.parallelstore.v1beta.ImportDataResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.parallelstore.v1beta.ImportDataResponse(); + } + + public static com.google.cloud.parallelstore.v1beta.ImportDataResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportDataResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.ImportDataResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataResponseOrBuilder.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataResponseOrBuilder.java new file mode 100644 index 000000000000..8e1240a16bb4 --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataResponseOrBuilder.java @@ -0,0 +1,25 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +public interface ImportDataResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.parallelstore.v1beta.ImportDataResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/Instance.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/Instance.java index 2c071041975a..87cb6265834a 100644 --- a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/Instance.java +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/Instance.java @@ -46,6 +46,7 @@ private Instance() { accessPoints_ = com.google.protobuf.LazyStringArrayList.emptyList(); network_ = ""; reservedIpRange_ = ""; + effectiveReservedIpRange_ = ""; } @java.lang.Override @@ -915,7 +916,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * * *
-   * Optional. Immutable. Contains the id of allocated IP address range
+   * Optional. Immutable. Contains the id of the allocated IP address range
    * associated with the private service access connection for example,
    * "test-default" associated with IP range 10.0.0.0/29. If no range id is
    * provided all ranges will be considered.
@@ -943,7 +944,7 @@ public java.lang.String getReservedIpRange() {
    *
    *
    * 
-   * Optional. Immutable. Contains the id of allocated IP address range
+   * Optional. Immutable. Contains the id of the allocated IP address range
    * associated with the private service access connection for example,
    * "test-default" associated with IP range 10.0.0.0/29. If no range id is
    * provided all ranges will be considered.
@@ -968,6 +969,69 @@ public com.google.protobuf.ByteString getReservedIpRangeBytes() {
     }
   }
 
+  public static final int EFFECTIVE_RESERVED_IP_RANGE_FIELD_NUMBER = 14;
+
+  @SuppressWarnings("serial")
+  private volatile java.lang.Object effectiveReservedIpRange_ = "";
+  /**
+   *
+   *
+   * 
+   * Output only. Immutable. Contains the id of the allocated IP address range
+   * associated with the private service access connection for example,
+   * "test-default" associated with IP range 10.0.0.0/29. This field is
+   * populated by the service and and contains the value currently used by the
+   * service.
+   * 
+ * + * + * string effective_reserved_ip_range = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The effectiveReservedIpRange. + */ + @java.lang.Override + public java.lang.String getEffectiveReservedIpRange() { + java.lang.Object ref = effectiveReservedIpRange_; + 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(); + effectiveReservedIpRange_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. Immutable. Contains the id of the allocated IP address range
+   * associated with the private service access connection for example,
+   * "test-default" associated with IP range 10.0.0.0/29. This field is
+   * populated by the service and and contains the value currently used by the
+   * service.
+   * 
+ * + * + * string effective_reserved_ip_range = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for effectiveReservedIpRange. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEffectiveReservedIpRangeBytes() { + java.lang.Object ref = effectiveReservedIpRange_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + effectiveReservedIpRange_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1015,6 +1079,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reservedIpRange_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, reservedIpRange_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(effectiveReservedIpRange_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 14, effectiveReservedIpRange_); + } getUnknownFields().writeTo(output); } @@ -1070,6 +1137,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reservedIpRange_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, reservedIpRange_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(effectiveReservedIpRange_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(14, effectiveReservedIpRange_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -1103,6 +1174,7 @@ public boolean equals(final java.lang.Object obj) { if (!getAccessPointsList().equals(other.getAccessPointsList())) return false; if (!getNetwork().equals(other.getNetwork())) return false; if (!getReservedIpRange().equals(other.getReservedIpRange())) return false; + if (!getEffectiveReservedIpRange().equals(other.getEffectiveReservedIpRange())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1144,6 +1216,8 @@ public int hashCode() { hash = (53 * hash) + getNetwork().hashCode(); hash = (37 * hash) + RESERVED_IP_RANGE_FIELD_NUMBER; hash = (53 * hash) + getReservedIpRange().hashCode(); + hash = (37 * hash) + EFFECTIVE_RESERVED_IP_RANGE_FIELD_NUMBER; + hash = (53 * hash) + getEffectiveReservedIpRange().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -1334,6 +1408,7 @@ public Builder clear() { accessPoints_ = com.google.protobuf.LazyStringArrayList.emptyList(); network_ = ""; reservedIpRange_ = ""; + effectiveReservedIpRange_ = ""; return this; } @@ -1408,6 +1483,9 @@ private void buildPartial0(com.google.cloud.parallelstore.v1beta.Instance result if (((from_bitField0_ & 0x00000400) != 0)) { result.reservedIpRange_ = reservedIpRange_; } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.effectiveReservedIpRange_ = effectiveReservedIpRange_; + } result.bitField0_ |= to_bitField0_; } @@ -1505,6 +1583,11 @@ public Builder mergeFrom(com.google.cloud.parallelstore.v1beta.Instance other) { bitField0_ |= 0x00000400; onChanged(); } + if (!other.getEffectiveReservedIpRange().isEmpty()) { + effectiveReservedIpRange_ = other.effectiveReservedIpRange_; + bitField0_ |= 0x00000800; + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1604,6 +1687,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000400; break; } // case 98 + case 114: + { + effectiveReservedIpRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 114 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -3133,7 +3222,7 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Immutable. Contains the id of allocated IP address range
+     * Optional. Immutable. Contains the id of the allocated IP address range
      * associated with the private service access connection for example,
      * "test-default" associated with IP range 10.0.0.0/29. If no range id is
      * provided all ranges will be considered.
@@ -3160,7 +3249,7 @@ public java.lang.String getReservedIpRange() {
      *
      *
      * 
-     * Optional. Immutable. Contains the id of allocated IP address range
+     * Optional. Immutable. Contains the id of the allocated IP address range
      * associated with the private service access connection for example,
      * "test-default" associated with IP range 10.0.0.0/29. If no range id is
      * provided all ranges will be considered.
@@ -3187,7 +3276,7 @@ public com.google.protobuf.ByteString getReservedIpRangeBytes() {
      *
      *
      * 
-     * Optional. Immutable. Contains the id of allocated IP address range
+     * Optional. Immutable. Contains the id of the allocated IP address range
      * associated with the private service access connection for example,
      * "test-default" associated with IP range 10.0.0.0/29. If no range id is
      * provided all ranges will be considered.
@@ -3213,7 +3302,7 @@ public Builder setReservedIpRange(java.lang.String value) {
      *
      *
      * 
-     * Optional. Immutable. Contains the id of allocated IP address range
+     * Optional. Immutable. Contains the id of the allocated IP address range
      * associated with the private service access connection for example,
      * "test-default" associated with IP range 10.0.0.0/29. If no range id is
      * provided all ranges will be considered.
@@ -3235,7 +3324,7 @@ public Builder clearReservedIpRange() {
      *
      *
      * 
-     * Optional. Immutable. Contains the id of allocated IP address range
+     * Optional. Immutable. Contains the id of the allocated IP address range
      * associated with the private service access connection for example,
      * "test-default" associated with IP range 10.0.0.0/29. If no range id is
      * provided all ranges will be considered.
@@ -3259,6 +3348,142 @@ public Builder setReservedIpRangeBytes(com.google.protobuf.ByteString value) {
       return this;
     }
 
+    private java.lang.Object effectiveReservedIpRange_ = "";
+    /**
+     *
+     *
+     * 
+     * Output only. Immutable. Contains the id of the allocated IP address range
+     * associated with the private service access connection for example,
+     * "test-default" associated with IP range 10.0.0.0/29. This field is
+     * populated by the service and and contains the value currently used by the
+     * service.
+     * 
+ * + * + * string effective_reserved_ip_range = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The effectiveReservedIpRange. + */ + public java.lang.String getEffectiveReservedIpRange() { + java.lang.Object ref = effectiveReservedIpRange_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + effectiveReservedIpRange_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. Immutable. Contains the id of the allocated IP address range
+     * associated with the private service access connection for example,
+     * "test-default" associated with IP range 10.0.0.0/29. This field is
+     * populated by the service and and contains the value currently used by the
+     * service.
+     * 
+ * + * + * string effective_reserved_ip_range = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for effectiveReservedIpRange. + */ + public com.google.protobuf.ByteString getEffectiveReservedIpRangeBytes() { + java.lang.Object ref = effectiveReservedIpRange_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + effectiveReservedIpRange_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. Immutable. Contains the id of the allocated IP address range
+     * associated with the private service access connection for example,
+     * "test-default" associated with IP range 10.0.0.0/29. This field is
+     * populated by the service and and contains the value currently used by the
+     * service.
+     * 
+ * + * + * string effective_reserved_ip_range = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @param value The effectiveReservedIpRange to set. + * @return This builder for chaining. + */ + public Builder setEffectiveReservedIpRange(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + effectiveReservedIpRange_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Immutable. Contains the id of the allocated IP address range
+     * associated with the private service access connection for example,
+     * "test-default" associated with IP range 10.0.0.0/29. This field is
+     * populated by the service and and contains the value currently used by the
+     * service.
+     * 
+ * + * + * string effective_reserved_ip_range = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearEffectiveReservedIpRange() { + effectiveReservedIpRange_ = getDefaultInstance().getEffectiveReservedIpRange(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Immutable. Contains the id of the allocated IP address range
+     * associated with the private service access connection for example,
+     * "test-default" associated with IP range 10.0.0.0/29. This field is
+     * populated by the service and and contains the value currently used by the
+     * service.
+     * 
+ * + * + * string effective_reserved_ip_range = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for effectiveReservedIpRange to set. + * @return This builder for chaining. + */ + public Builder setEffectiveReservedIpRangeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + effectiveReservedIpRange_ = value; + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/InstanceOrBuilder.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/InstanceOrBuilder.java index c586e63b9681..40be1cf857d4 100644 --- a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/InstanceOrBuilder.java +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/InstanceOrBuilder.java @@ -472,7 +472,7 @@ java.lang.String getLabelsOrDefault( * * *
-   * Optional. Immutable. Contains the id of allocated IP address range
+   * Optional. Immutable. Contains the id of the allocated IP address range
    * associated with the private service access connection for example,
    * "test-default" associated with IP range 10.0.0.0/29. If no range id is
    * provided all ranges will be considered.
@@ -489,7 +489,7 @@ java.lang.String getLabelsOrDefault(
    *
    *
    * 
-   * Optional. Immutable. Contains the id of allocated IP address range
+   * Optional. Immutable. Contains the id of the allocated IP address range
    * associated with the private service access connection for example,
    * "test-default" associated with IP range 10.0.0.0/29. If no range id is
    * provided all ranges will be considered.
@@ -502,4 +502,41 @@ java.lang.String getLabelsOrDefault(
    * @return The bytes for reservedIpRange.
    */
   com.google.protobuf.ByteString getReservedIpRangeBytes();
+
+  /**
+   *
+   *
+   * 
+   * Output only. Immutable. Contains the id of the allocated IP address range
+   * associated with the private service access connection for example,
+   * "test-default" associated with IP range 10.0.0.0/29. This field is
+   * populated by the service and and contains the value currently used by the
+   * service.
+   * 
+ * + * + * string effective_reserved_ip_range = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The effectiveReservedIpRange. + */ + java.lang.String getEffectiveReservedIpRange(); + /** + * + * + *
+   * Output only. Immutable. Contains the id of the allocated IP address range
+   * associated with the private service access connection for example,
+   * "test-default" associated with IP range 10.0.0.0/29. This field is
+   * populated by the service and and contains the value currently used by the
+   * service.
+   * 
+ * + * + * string effective_reserved_ip_range = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for effectiveReservedIpRange. + */ + com.google.protobuf.ByteString getEffectiveReservedIpRangeBytes(); } diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreProto.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreProto.java index 10d9ef28b7a1..0d2d4627df53 100644 --- a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreProto.java +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreProto.java @@ -64,6 +64,38 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_parallelstore_v1beta_OperationMetadata_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_parallelstore_v1beta_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_parallelstore_v1beta_ImportDataRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_parallelstore_v1beta_ImportDataRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_parallelstore_v1beta_ExportDataRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_parallelstore_v1beta_ExportDataRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_parallelstore_v1beta_ImportDataResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_parallelstore_v1beta_ImportDataResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_parallelstore_v1beta_ImportDataMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_parallelstore_v1beta_ImportDataMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_parallelstore_v1beta_ExportDataResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_parallelstore_v1beta_ExportDataResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_parallelstore_v1beta_ExportDataMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_parallelstore_v1beta_ExportDataMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_parallelstore_v1beta_TransferOperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_parallelstore_v1beta_TransferOperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_parallelstore_v1beta_TransferCounters_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_parallelstore_v1beta_TransferCounters_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -82,7 +114,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "le/longrunning/operations.proto\032\033google/" + "protobuf/empty.proto\032 google/protobuf/fi" + "eld_mask.proto\032\037google/protobuf/timestam" - + "p.proto\"\221\006\n\010Instance\022\021\n\004name\030\001 \001(\tB\003\340A\010\022" + + "p.proto\"\341\006\n\010Instance\022\021\n\004name\030\001 \001(\tB\003\340A\010\022" + "\030\n\013description\030\002 \001(\tB\003\340A\001\022E\n\005state\030\003 \001(\016" + "21.google.cloud.parallelstore.v1beta.Ins" + "tance.StateB\003\340A\003\0224\n\013create_time\030\004 \001(\0132\032." @@ -95,6 +127,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "(\tB\003\340A\003\022:\n\007network\030\013 \001(\tB)\340A\005\340A\001\372A \n\036com" + "pute.googleapis.com/Network\022D\n\021reserved_" + "ip_range\030\014 \001(\tB)\340A\005\340A\001\372A \n\036compute.googl" + + "eapis.com/Address\022N\n\033effective_reserved_" + + "ip_range\030\016 \001(\tB)\340A\005\340A\003\372A \n\036compute.googl" + "eapis.com/Address\032-\n\013LabelsEntry\022\013\n\003key\030" + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"R\n\005State\022\025\n\021STA" + "TE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n\n\006ACTIVE" @@ -130,48 +164,89 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "TimestampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004v" + "erb\030\004 \001(\tB\003\340A\003\022\033\n\016status_message\030\005 \001(\tB\003" + "\340A\003\022#\n\026requested_cancellation\030\006 \001(\010B\003\340A\003" - + "\022\030\n\013api_version\030\007 \001(\tB\003\340A\0032\235\t\n\rParallels" - + "tore\022\306\001\n\rListInstances\0227.google.cloud.pa" - + "rallelstore.v1beta.ListInstancesRequest\032" - + "8.google.cloud.parallelstore.v1beta.List" - + "InstancesResponse\"B\332A\006parent\202\323\344\223\0023\0221/v1b" - + "eta/{parent=projects/*/locations/*}/inst" - + "ances\022\263\001\n\013GetInstance\0225.google.cloud.par" - + "allelstore.v1beta.GetInstanceRequest\032+.g" - + "oogle.cloud.parallelstore.v1beta.Instanc" - + "e\"@\332A\004name\202\323\344\223\0023\0221/v1beta/{name=projects" - + "/*/locations/*/instances/*}\022\355\001\n\016CreateIn" - + "stance\0228.google.cloud.parallelstore.v1be" - + "ta.CreateInstanceRequest\032\035.google.longru" - + "nning.Operation\"\201\001\312A\035\n\010Instance\022\021Operati" - + "onMetadata\332A\033parent,instance,instance_id" - + "\202\323\344\223\002=\"1/v1beta/{parent=projects/*/locat" - + "ions/*}/instances:\010instance\022\357\001\n\016UpdateIn" - + "stance\0228.google.cloud.parallelstore.v1be" - + "ta.UpdateInstanceRequest\032\035.google.longru" - + "nning.Operation\"\203\001\312A\035\n\010Instance\022\021Operati" - + "onMetadata\332A\024instance,update_mask\202\323\344\223\002F2" - + ":/v1beta/{instance.name=projects/*/locat" - + "ions/*/instances/*}:\010instance\022\330\001\n\016Delete" - + "Instance\0228.google.cloud.parallelstore.v1" - + "beta.DeleteInstanceRequest\032\035.google.long" - + "running.Operation\"m\312A*\n\025google.protobuf." - + "Empty\022\021OperationMetadata\332A\004name\202\323\344\223\0023*1/" - + "v1beta/{name=projects/*/locations/*/inst" - + "ances/*}\032P\312A\034parallelstore.googleapis.co" - + "m\322A.https://www.googleapis.com/auth/clou" - + "d-platformB\246\003\n%com.google.cloud.parallel" - + "store.v1betaB\022ParallelstoreProtoP\001ZKclou" - + "d.google.com/go/parallelstore/apiv1beta/" - + "parallelstorepb;parallelstorepb\252\002!Google" - + ".Cloud.Parallelstore.V1Beta\312\002!Google\\Clo" - + "ud\\Parallelstore\\V1beta\352\002$Google::Cloud:" - + ":Parallelstore::V1beta\352AN\n\036compute.googl" - + "eapis.com/Network\022,projects/{project}/gl" - + "obal/networks/{network}\352AY\n\036compute.goog" - + "leapis.com/Address\0227projects/{project}/r" - + "egions/{region}/addresses/{address}b\006pro" - + "to3" + + "\022\030\n\013api_version\030\007 \001(\tB\003\340A\003\"\305\001\n\021ImportDat" + + "aRequest\022\030\n\016source_gcs_uri\030\002 \001(\tH\000\022\037\n\020de" + + "stination_path\030\003 \001(\tB\003\340A\001H\001\022;\n\004name\030\001 \001(" + + "\tB-\340A\002\372A\'\n%parallelstore.googleapis.com/" + + "Instance\022\037\n\nrequest_id\030\004 \001(\tB\013\340A\001\342\214\317\327\010\002\010" + + "\001B\010\n\006sourceB\r\n\013destination\"\305\001\n\021ExportDat" + + "aRequest\022\032\n\013source_path\030\002 \001(\tB\003\340A\001H\000\022\035\n\023" + + "destination_gcs_uri\030\003 \001(\tH\001\022;\n\004name\030\001 \001(" + + "\tB-\340A\002\372A\'\n%parallelstore.googleapis.com/" + + "Instance\022\037\n\nrequest_id\030\004 \001(\tB\013\340A\001\342\214\317\327\010\002\010" + + "\001B\010\n\006sourceB\r\n\013destination\"\024\n\022ImportData" + + "Response\"n\n\022ImportDataMetadata\022X\n\022operat" + + "ion_metadata\030\001 \001(\0132<.google.cloud.parall" + + "elstore.v1beta.TransferOperationMetadata" + + "\"\024\n\022ExportDataResponse\"n\n\022ExportDataMeta" + + "data\022X\n\022operation_metadata\030\001 \001(\0132<.googl" + + "e.cloud.parallelstore.v1beta.TransferOpe" + + "rationMetadata\"\302\002\n\031TransferOperationMeta" + + "data\0224\n\013create_time\030\001 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\022E\n\010counter" + + "s\030\003 \001(\01323.google.cloud.parallelstore.v1b" + + "eta.TransferCounters\022\023\n\006source\030\004 \001(\tB\003\340A" + + "\002\022\030\n\013destination\030\005 \001(\tB\003\340A\002\022F\n\rtransfer_" + + "type\030\006 \001(\0162/.google.cloud.parallelstore." + + "v1beta.TransferType\"\234\001\n\020TransferCounters" + + "\022\025\n\robjects_found\030\001 \001(\003\022\023\n\013bytes_found\030\002" + + " \001(\003\022\027\n\017objects_skipped\030\003 \001(\003\022\025\n\rbytes_s" + + "kipped\030\004 \001(\003\022\026\n\016objects_copied\030\005 \001(\003\022\024\n\014" + + "bytes_copied\030\006 \001(\003*E\n\014TransferType\022\035\n\031TR" + + "ANSFER_TYPE_UNSPECIFIED\020\000\022\n\n\006IMPORT\020\001\022\n\n" + + "\006EXPORT\020\0022\315\014\n\rParallelstore\022\306\001\n\rListInst" + + "ances\0227.google.cloud.parallelstore.v1bet" + + "a.ListInstancesRequest\0328.google.cloud.pa" + + "rallelstore.v1beta.ListInstancesResponse" + + "\"B\332A\006parent\202\323\344\223\0023\0221/v1beta/{parent=proje" + + "cts/*/locations/*}/instances\022\263\001\n\013GetInst" + + "ance\0225.google.cloud.parallelstore.v1beta" + + ".GetInstanceRequest\032+.google.cloud.paral" + + "lelstore.v1beta.Instance\"@\332A\004name\202\323\344\223\0023\022" + + "1/v1beta/{name=projects/*/locations/*/in" + + "stances/*}\022\355\001\n\016CreateInstance\0228.google.c" + + "loud.parallelstore.v1beta.CreateInstance" + + "Request\032\035.google.longrunning.Operation\"\201" + + "\001\312A\035\n\010Instance\022\021OperationMetadata\332A\033pare" + + "nt,instance,instance_id\202\323\344\223\002=\"1/v1beta/{" + + "parent=projects/*/locations/*}/instances" + + ":\010instance\022\357\001\n\016UpdateInstance\0228.google.c" + + "loud.parallelstore.v1beta.UpdateInstance" + + "Request\032\035.google.longrunning.Operation\"\203" + + "\001\312A\035\n\010Instance\022\021OperationMetadata\332A\024inst" + + "ance,update_mask\202\323\344\223\002F2:/v1beta/{instanc" + + "e.name=projects/*/locations/*/instances/" + + "*}:\010instance\022\330\001\n\016DeleteInstance\0228.google" + + ".cloud.parallelstore.v1beta.DeleteInstan" + + "ceRequest\032\035.google.longrunning.Operation" + + "\"m\312A*\n\025google.protobuf.Empty\022\021OperationM" + + "etadata\332A\004name\202\323\344\223\0023*1/v1beta/{name=proj" + + "ects/*/locations/*/instances/*}\022\325\001\n\nImpo" + + "rtData\0224.google.cloud.parallelstore.v1be" + + "ta.ImportDataRequest\032\035.google.longrunnin" + + "g.Operation\"r\312A(\n\022ImportDataResponse\022\022Im" + + "portDataMetadata\202\323\344\223\002A\" + * A collection of counters that report the progress of a transfer operation. + *
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.TransferCounters} + */ +public final class TransferCounters extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.parallelstore.v1beta.TransferCounters) + TransferCountersOrBuilder { + private static final long serialVersionUID = 0L; + // Use TransferCounters.newBuilder() to construct. + private TransferCounters(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private TransferCounters() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new TransferCounters(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_TransferCounters_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_TransferCounters_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.TransferCounters.class, + com.google.cloud.parallelstore.v1beta.TransferCounters.Builder.class); + } + + public static final int OBJECTS_FOUND_FIELD_NUMBER = 1; + private long objectsFound_ = 0L; + /** + * + * + *
+   * Objects found in the data source that are scheduled to be transferred,
+   * excluding any that are filtered based on object conditions or skipped due
+   * to sync.
+   * 
+ * + * int64 objects_found = 1; + * + * @return The objectsFound. + */ + @java.lang.Override + public long getObjectsFound() { + return objectsFound_; + } + + public static final int BYTES_FOUND_FIELD_NUMBER = 2; + private long bytesFound_ = 0L; + /** + * + * + *
+   * Bytes found in the data source that are scheduled to be transferred,
+   * excluding any that are filtered based on object conditions or skipped due
+   * to sync.
+   * 
+ * + * int64 bytes_found = 2; + * + * @return The bytesFound. + */ + @java.lang.Override + public long getBytesFound() { + return bytesFound_; + } + + public static final int OBJECTS_SKIPPED_FIELD_NUMBER = 3; + private long objectsSkipped_ = 0L; + /** + * + * + *
+   * Objects in the data source that are not transferred because they already
+   * exist in the data destination.
+   * 
+ * + * int64 objects_skipped = 3; + * + * @return The objectsSkipped. + */ + @java.lang.Override + public long getObjectsSkipped() { + return objectsSkipped_; + } + + public static final int BYTES_SKIPPED_FIELD_NUMBER = 4; + private long bytesSkipped_ = 0L; + /** + * + * + *
+   * Bytes in the data source that are not transferred because they already
+   * exist in the data destination.
+   * 
+ * + * int64 bytes_skipped = 4; + * + * @return The bytesSkipped. + */ + @java.lang.Override + public long getBytesSkipped() { + return bytesSkipped_; + } + + public static final int OBJECTS_COPIED_FIELD_NUMBER = 5; + private long objectsCopied_ = 0L; + /** + * + * + *
+   * Objects that are copied to the data destination.
+   * 
+ * + * int64 objects_copied = 5; + * + * @return The objectsCopied. + */ + @java.lang.Override + public long getObjectsCopied() { + return objectsCopied_; + } + + public static final int BYTES_COPIED_FIELD_NUMBER = 6; + private long bytesCopied_ = 0L; + /** + * + * + *
+   * Bytes that are copied to the data destination.
+   * 
+ * + * int64 bytes_copied = 6; + * + * @return The bytesCopied. + */ + @java.lang.Override + public long getBytesCopied() { + return bytesCopied_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (objectsFound_ != 0L) { + output.writeInt64(1, objectsFound_); + } + if (bytesFound_ != 0L) { + output.writeInt64(2, bytesFound_); + } + if (objectsSkipped_ != 0L) { + output.writeInt64(3, objectsSkipped_); + } + if (bytesSkipped_ != 0L) { + output.writeInt64(4, bytesSkipped_); + } + if (objectsCopied_ != 0L) { + output.writeInt64(5, objectsCopied_); + } + if (bytesCopied_ != 0L) { + output.writeInt64(6, bytesCopied_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (objectsFound_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, objectsFound_); + } + if (bytesFound_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, bytesFound_); + } + if (objectsSkipped_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, objectsSkipped_); + } + if (bytesSkipped_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, bytesSkipped_); + } + if (objectsCopied_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, objectsCopied_); + } + if (bytesCopied_ != 0L) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, bytesCopied_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.parallelstore.v1beta.TransferCounters)) { + return super.equals(obj); + } + com.google.cloud.parallelstore.v1beta.TransferCounters other = + (com.google.cloud.parallelstore.v1beta.TransferCounters) obj; + + if (getObjectsFound() != other.getObjectsFound()) return false; + if (getBytesFound() != other.getBytesFound()) return false; + if (getObjectsSkipped() != other.getObjectsSkipped()) return false; + if (getBytesSkipped() != other.getBytesSkipped()) return false; + if (getObjectsCopied() != other.getObjectsCopied()) return false; + if (getBytesCopied() != other.getBytesCopied()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + OBJECTS_FOUND_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsFound()); + hash = (37 * hash) + BYTES_FOUND_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesFound()); + hash = (37 * hash) + OBJECTS_SKIPPED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsSkipped()); + hash = (37 * hash) + BYTES_SKIPPED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesSkipped()); + hash = (37 * hash) + OBJECTS_COPIED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObjectsCopied()); + hash = (37 * hash) + BYTES_COPIED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBytesCopied()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.parallelstore.v1beta.TransferCounters parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.TransferCounters parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.TransferCounters parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.TransferCounters parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.TransferCounters parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.TransferCounters parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.TransferCounters parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.TransferCounters parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.TransferCounters parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.TransferCounters parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.TransferCounters parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.TransferCounters parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.parallelstore.v1beta.TransferCounters prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * A collection of counters that report the progress of a transfer operation.
+   * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.TransferCounters} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.parallelstore.v1beta.TransferCounters) + com.google.cloud.parallelstore.v1beta.TransferCountersOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_TransferCounters_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_TransferCounters_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.TransferCounters.class, + com.google.cloud.parallelstore.v1beta.TransferCounters.Builder.class); + } + + // Construct using com.google.cloud.parallelstore.v1beta.TransferCounters.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + objectsFound_ = 0L; + bytesFound_ = 0L; + objectsSkipped_ = 0L; + bytesSkipped_ = 0L; + objectsCopied_ = 0L; + bytesCopied_ = 0L; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_TransferCounters_descriptor; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.TransferCounters getDefaultInstanceForType() { + return com.google.cloud.parallelstore.v1beta.TransferCounters.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.TransferCounters build() { + com.google.cloud.parallelstore.v1beta.TransferCounters result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.TransferCounters buildPartial() { + com.google.cloud.parallelstore.v1beta.TransferCounters result = + new com.google.cloud.parallelstore.v1beta.TransferCounters(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.parallelstore.v1beta.TransferCounters result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.objectsFound_ = objectsFound_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.bytesFound_ = bytesFound_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.objectsSkipped_ = objectsSkipped_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.bytesSkipped_ = bytesSkipped_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.objectsCopied_ = objectsCopied_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.bytesCopied_ = bytesCopied_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.parallelstore.v1beta.TransferCounters) { + return mergeFrom((com.google.cloud.parallelstore.v1beta.TransferCounters) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.parallelstore.v1beta.TransferCounters other) { + if (other == com.google.cloud.parallelstore.v1beta.TransferCounters.getDefaultInstance()) + return this; + if (other.getObjectsFound() != 0L) { + setObjectsFound(other.getObjectsFound()); + } + if (other.getBytesFound() != 0L) { + setBytesFound(other.getBytesFound()); + } + if (other.getObjectsSkipped() != 0L) { + setObjectsSkipped(other.getObjectsSkipped()); + } + if (other.getBytesSkipped() != 0L) { + setBytesSkipped(other.getBytesSkipped()); + } + if (other.getObjectsCopied() != 0L) { + setObjectsCopied(other.getObjectsCopied()); + } + if (other.getBytesCopied() != 0L) { + setBytesCopied(other.getBytesCopied()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + objectsFound_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + bytesFound_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + objectsSkipped_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + bytesSkipped_ = input.readInt64(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + objectsCopied_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + bytesCopied_ = input.readInt64(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private long objectsFound_; + /** + * + * + *
+     * Objects found in the data source that are scheduled to be transferred,
+     * excluding any that are filtered based on object conditions or skipped due
+     * to sync.
+     * 
+ * + * int64 objects_found = 1; + * + * @return The objectsFound. + */ + @java.lang.Override + public long getObjectsFound() { + return objectsFound_; + } + /** + * + * + *
+     * Objects found in the data source that are scheduled to be transferred,
+     * excluding any that are filtered based on object conditions or skipped due
+     * to sync.
+     * 
+ * + * int64 objects_found = 1; + * + * @param value The objectsFound to set. + * @return This builder for chaining. + */ + public Builder setObjectsFound(long value) { + + objectsFound_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Objects found in the data source that are scheduled to be transferred,
+     * excluding any that are filtered based on object conditions or skipped due
+     * to sync.
+     * 
+ * + * int64 objects_found = 1; + * + * @return This builder for chaining. + */ + public Builder clearObjectsFound() { + bitField0_ = (bitField0_ & ~0x00000001); + objectsFound_ = 0L; + onChanged(); + return this; + } + + private long bytesFound_; + /** + * + * + *
+     * Bytes found in the data source that are scheduled to be transferred,
+     * excluding any that are filtered based on object conditions or skipped due
+     * to sync.
+     * 
+ * + * int64 bytes_found = 2; + * + * @return The bytesFound. + */ + @java.lang.Override + public long getBytesFound() { + return bytesFound_; + } + /** + * + * + *
+     * Bytes found in the data source that are scheduled to be transferred,
+     * excluding any that are filtered based on object conditions or skipped due
+     * to sync.
+     * 
+ * + * int64 bytes_found = 2; + * + * @param value The bytesFound to set. + * @return This builder for chaining. + */ + public Builder setBytesFound(long value) { + + bytesFound_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Bytes found in the data source that are scheduled to be transferred,
+     * excluding any that are filtered based on object conditions or skipped due
+     * to sync.
+     * 
+ * + * int64 bytes_found = 2; + * + * @return This builder for chaining. + */ + public Builder clearBytesFound() { + bitField0_ = (bitField0_ & ~0x00000002); + bytesFound_ = 0L; + onChanged(); + return this; + } + + private long objectsSkipped_; + /** + * + * + *
+     * Objects in the data source that are not transferred because they already
+     * exist in the data destination.
+     * 
+ * + * int64 objects_skipped = 3; + * + * @return The objectsSkipped. + */ + @java.lang.Override + public long getObjectsSkipped() { + return objectsSkipped_; + } + /** + * + * + *
+     * Objects in the data source that are not transferred because they already
+     * exist in the data destination.
+     * 
+ * + * int64 objects_skipped = 3; + * + * @param value The objectsSkipped to set. + * @return This builder for chaining. + */ + public Builder setObjectsSkipped(long value) { + + objectsSkipped_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Objects in the data source that are not transferred because they already
+     * exist in the data destination.
+     * 
+ * + * int64 objects_skipped = 3; + * + * @return This builder for chaining. + */ + public Builder clearObjectsSkipped() { + bitField0_ = (bitField0_ & ~0x00000004); + objectsSkipped_ = 0L; + onChanged(); + return this; + } + + private long bytesSkipped_; + /** + * + * + *
+     * Bytes in the data source that are not transferred because they already
+     * exist in the data destination.
+     * 
+ * + * int64 bytes_skipped = 4; + * + * @return The bytesSkipped. + */ + @java.lang.Override + public long getBytesSkipped() { + return bytesSkipped_; + } + /** + * + * + *
+     * Bytes in the data source that are not transferred because they already
+     * exist in the data destination.
+     * 
+ * + * int64 bytes_skipped = 4; + * + * @param value The bytesSkipped to set. + * @return This builder for chaining. + */ + public Builder setBytesSkipped(long value) { + + bytesSkipped_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Bytes in the data source that are not transferred because they already
+     * exist in the data destination.
+     * 
+ * + * int64 bytes_skipped = 4; + * + * @return This builder for chaining. + */ + public Builder clearBytesSkipped() { + bitField0_ = (bitField0_ & ~0x00000008); + bytesSkipped_ = 0L; + onChanged(); + return this; + } + + private long objectsCopied_; + /** + * + * + *
+     * Objects that are copied to the data destination.
+     * 
+ * + * int64 objects_copied = 5; + * + * @return The objectsCopied. + */ + @java.lang.Override + public long getObjectsCopied() { + return objectsCopied_; + } + /** + * + * + *
+     * Objects that are copied to the data destination.
+     * 
+ * + * int64 objects_copied = 5; + * + * @param value The objectsCopied to set. + * @return This builder for chaining. + */ + public Builder setObjectsCopied(long value) { + + objectsCopied_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Objects that are copied to the data destination.
+     * 
+ * + * int64 objects_copied = 5; + * + * @return This builder for chaining. + */ + public Builder clearObjectsCopied() { + bitField0_ = (bitField0_ & ~0x00000010); + objectsCopied_ = 0L; + onChanged(); + return this; + } + + private long bytesCopied_; + /** + * + * + *
+     * Bytes that are copied to the data destination.
+     * 
+ * + * int64 bytes_copied = 6; + * + * @return The bytesCopied. + */ + @java.lang.Override + public long getBytesCopied() { + return bytesCopied_; + } + /** + * + * + *
+     * Bytes that are copied to the data destination.
+     * 
+ * + * int64 bytes_copied = 6; + * + * @param value The bytesCopied to set. + * @return This builder for chaining. + */ + public Builder setBytesCopied(long value) { + + bytesCopied_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Bytes that are copied to the data destination.
+     * 
+ * + * int64 bytes_copied = 6; + * + * @return This builder for chaining. + */ + public Builder clearBytesCopied() { + bitField0_ = (bitField0_ & ~0x00000020); + bytesCopied_ = 0L; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.parallelstore.v1beta.TransferCounters) + } + + // @@protoc_insertion_point(class_scope:google.cloud.parallelstore.v1beta.TransferCounters) + private static final com.google.cloud.parallelstore.v1beta.TransferCounters DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.parallelstore.v1beta.TransferCounters(); + } + + public static com.google.cloud.parallelstore.v1beta.TransferCounters getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferCounters parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.TransferCounters getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/TransferCountersOrBuilder.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/TransferCountersOrBuilder.java new file mode 100644 index 000000000000..1c76ab1134a1 --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/TransferCountersOrBuilder.java @@ -0,0 +1,110 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +public interface TransferCountersOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.parallelstore.v1beta.TransferCounters) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Objects found in the data source that are scheduled to be transferred,
+   * excluding any that are filtered based on object conditions or skipped due
+   * to sync.
+   * 
+ * + * int64 objects_found = 1; + * + * @return The objectsFound. + */ + long getObjectsFound(); + + /** + * + * + *
+   * Bytes found in the data source that are scheduled to be transferred,
+   * excluding any that are filtered based on object conditions or skipped due
+   * to sync.
+   * 
+ * + * int64 bytes_found = 2; + * + * @return The bytesFound. + */ + long getBytesFound(); + + /** + * + * + *
+   * Objects in the data source that are not transferred because they already
+   * exist in the data destination.
+   * 
+ * + * int64 objects_skipped = 3; + * + * @return The objectsSkipped. + */ + long getObjectsSkipped(); + + /** + * + * + *
+   * Bytes in the data source that are not transferred because they already
+   * exist in the data destination.
+   * 
+ * + * int64 bytes_skipped = 4; + * + * @return The bytesSkipped. + */ + long getBytesSkipped(); + + /** + * + * + *
+   * Objects that are copied to the data destination.
+   * 
+ * + * int64 objects_copied = 5; + * + * @return The objectsCopied. + */ + long getObjectsCopied(); + + /** + * + * + *
+   * Bytes that are copied to the data destination.
+   * 
+ * + * int64 bytes_copied = 6; + * + * @return The bytesCopied. + */ + long getBytesCopied(); +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/TransferOperationMetadata.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/TransferOperationMetadata.java new file mode 100644 index 000000000000..5f7a796c975f --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/TransferOperationMetadata.java @@ -0,0 +1,1821 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +/** + * + * + *
+ * Represents the metadata of the long-running operation.
+ * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.TransferOperationMetadata} + */ +public final class TransferOperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.parallelstore.v1beta.TransferOperationMetadata) + TransferOperationMetadataOrBuilder { + private static final long serialVersionUID = 0L; + // Use TransferOperationMetadata.newBuilder() to construct. + private TransferOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private TransferOperationMetadata() { + source_ = ""; + destination_ = ""; + transferType_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new TransferOperationMetadata(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_TransferOperationMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_TransferOperationMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.class, + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.Builder.class); + } + + private int bitField0_; + public static final int CREATE_TIME_FIELD_NUMBER = 1; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
+   * Output only. CCFE supplied fields BEGIN
+   * The time the operation was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Output only. CCFE supplied fields BEGIN
+   * The time the operation was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * + * + *
+   * Output only. CCFE supplied fields BEGIN
+   * The time the operation was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + + public static final int END_TIME_FIELD_NUMBER = 2; + private com.google.protobuf.Timestamp endTime_; + /** + * + * + *
+   * Output only. The time the operation finished running.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * Output only. The time the operation finished running.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEndTime() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + /** + * + * + *
+   * Output only. The time the operation finished running.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + + public static final int COUNTERS_FIELD_NUMBER = 3; + private com.google.cloud.parallelstore.v1beta.TransferCounters counters_; + /** + * + * + *
+   * Information about the progress of the transfer operation.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferCounters counters = 3; + * + * @return Whether the counters field is set. + */ + @java.lang.Override + public boolean hasCounters() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * Information about the progress of the transfer operation.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferCounters counters = 3; + * + * @return The counters. + */ + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.TransferCounters getCounters() { + return counters_ == null + ? com.google.cloud.parallelstore.v1beta.TransferCounters.getDefaultInstance() + : counters_; + } + /** + * + * + *
+   * Information about the progress of the transfer operation.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferCounters counters = 3; + */ + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.TransferCountersOrBuilder getCountersOrBuilder() { + return counters_ == null + ? com.google.cloud.parallelstore.v1beta.TransferCounters.getDefaultInstance() + : counters_; + } + + public static final int SOURCE_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object source_ = ""; + /** + * + * + *
+   * Required. The origin of the data transfer.
+   * 
+ * + * string source = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The source. + */ + @java.lang.Override + public java.lang.String getSource() { + java.lang.Object ref = source_; + 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(); + source_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The origin of the data transfer.
+   * 
+ * + * string source = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for source. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSourceBytes() { + java.lang.Object ref = source_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + source_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESTINATION_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object destination_ = ""; + /** + * + * + *
+   * Required. The destination of the data transfer.
+   * 
+ * + * string destination = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The destination. + */ + @java.lang.Override + public java.lang.String getDestination() { + java.lang.Object ref = destination_; + 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(); + destination_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The destination of the data transfer.
+   * 
+ * + * string destination = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for destination. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDestinationBytes() { + java.lang.Object ref = destination_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + destination_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TRANSFER_TYPE_FIELD_NUMBER = 6; + private int transferType_ = 0; + /** + * + * + *
+   * The type of transfer occurring.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferType transfer_type = 6; + * + * @return The enum numeric value on the wire for transferType. + */ + @java.lang.Override + public int getTransferTypeValue() { + return transferType_; + } + /** + * + * + *
+   * The type of transfer occurring.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferType transfer_type = 6; + * + * @return The transferType. + */ + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.TransferType getTransferType() { + com.google.cloud.parallelstore.v1beta.TransferType result = + com.google.cloud.parallelstore.v1beta.TransferType.forNumber(transferType_); + return result == null + ? com.google.cloud.parallelstore.v1beta.TransferType.UNRECOGNIZED + : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getCreateTime()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getEndTime()); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(3, getCounters()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, source_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destination_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, destination_); + } + if (transferType_ + != com.google.cloud.parallelstore.v1beta.TransferType.TRANSFER_TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(6, transferType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCounters()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, source_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destination_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, destination_); + } + if (transferType_ + != com.google.cloud.parallelstore.v1beta.TransferType.TRANSFER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, transferType_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.parallelstore.v1beta.TransferOperationMetadata)) { + return super.equals(obj); + } + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata other = + (com.google.cloud.parallelstore.v1beta.TransferOperationMetadata) obj; + + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime().equals(other.getCreateTime())) return false; + } + if (hasEndTime() != other.hasEndTime()) return false; + if (hasEndTime()) { + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (hasCounters() != other.hasCounters()) return false; + if (hasCounters()) { + if (!getCounters().equals(other.getCounters())) return false; + } + if (!getSource().equals(other.getSource())) return false; + if (!getDestination().equals(other.getDestination())) return false; + if (transferType_ != other.transferType_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + if (hasEndTime()) { + hash = (37 * hash) + END_TIME_FIELD_NUMBER; + hash = (53 * hash) + getEndTime().hashCode(); + } + if (hasCounters()) { + hash = (37 * hash) + COUNTERS_FIELD_NUMBER; + hash = (53 * hash) + getCounters().hashCode(); + } + hash = (37 * hash) + SOURCE_FIELD_NUMBER; + hash = (53 * hash) + getSource().hashCode(); + hash = (37 * hash) + DESTINATION_FIELD_NUMBER; + hash = (53 * hash) + getDestination().hashCode(); + hash = (37 * hash) + TRANSFER_TYPE_FIELD_NUMBER; + hash = (53 * hash) + transferType_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.parallelstore.v1beta.TransferOperationMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.TransferOperationMetadata parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.TransferOperationMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.TransferOperationMetadata parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.TransferOperationMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.TransferOperationMetadata parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.TransferOperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.TransferOperationMetadata parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.TransferOperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.TransferOperationMetadata parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.TransferOperationMetadata parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.TransferOperationMetadata parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents the metadata of the long-running operation.
+   * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.TransferOperationMetadata} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.parallelstore.v1beta.TransferOperationMetadata) + com.google.cloud.parallelstore.v1beta.TransferOperationMetadataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_TransferOperationMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_TransferOperationMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.class, + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.Builder.class); + } + + // Construct using com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getCreateTimeFieldBuilder(); + getEndTimeFieldBuilder(); + getCountersFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + counters_ = null; + if (countersBuilder_ != null) { + countersBuilder_.dispose(); + countersBuilder_ = null; + } + source_ = ""; + destination_ = ""; + transferType_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_TransferOperationMetadata_descriptor; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.TransferOperationMetadata + getDefaultInstanceForType() { + return com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.TransferOperationMetadata build() { + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.TransferOperationMetadata buildPartial() { + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata result = + new com.google.cloud.parallelstore.v1beta.TransferOperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.counters_ = countersBuilder_ == null ? counters_ : countersBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.source_ = source_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.destination_ = destination_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.transferType_ = transferType_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.parallelstore.v1beta.TransferOperationMetadata) { + return mergeFrom((com.google.cloud.parallelstore.v1beta.TransferOperationMetadata) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.parallelstore.v1beta.TransferOperationMetadata other) { + if (other + == com.google.cloud.parallelstore.v1beta.TransferOperationMetadata.getDefaultInstance()) + return this; + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.hasEndTime()) { + mergeEndTime(other.getEndTime()); + } + if (other.hasCounters()) { + mergeCounters(other.getCounters()); + } + if (!other.getSource().isEmpty()) { + source_ = other.source_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getDestination().isEmpty()) { + destination_ = other.destination_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (other.transferType_ != 0) { + setTransferTypeValue(other.getTransferTypeValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getCountersFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + source_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + destination_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: + { + transferType_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; + /** + * + * + *
+     * Output only. CCFE supplied fields BEGIN
+     * The time the operation was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Output only. CCFE supplied fields BEGIN
+     * The time the operation was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. CCFE supplied fields BEGIN
+     * The time the operation was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + } else { + createTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. CCFE supplied fields BEGIN
+     * The time the operation was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. CCFE supplied fields BEGIN
+     * The time the operation was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreateTimeBuilder().mergeFrom(value); + } else { + createTime_ = value; + } + } else { + createTimeBuilder_.mergeFrom(value); + } + if (createTime_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Output only. CCFE supplied fields BEGIN
+     * The time the operation was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearCreateTime() { + bitField0_ = (bitField0_ & ~0x00000001); + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. CCFE supplied fields BEGIN
+     * The time the operation was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. CCFE supplied fields BEGIN
+     * The time the operation was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } + } + /** + * + * + *
+     * Output only. CCFE supplied fields BEGIN
+     * The time the operation was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + + private com.google.protobuf.Timestamp endTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; + /** + * + * + *
+     * Output only. The time the operation finished running.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + public boolean hasEndTime() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * Output only. The time the operation finished running.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + public com.google.protobuf.Timestamp getEndTime() { + if (endTimeBuilder_ == null) { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } else { + return endTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. The time the operation finished running.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endTime_ = value; + } else { + endTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The time the operation finished running.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (endTimeBuilder_ == null) { + endTime_ = builderForValue.build(); + } else { + endTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The time the operation finished running.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getEndTimeBuilder().mergeFrom(value); + } else { + endTime_ = value; + } + } else { + endTimeBuilder_.mergeFrom(value); + } + if (endTime_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Output only. The time the operation finished running.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearEndTime() { + bitField0_ = (bitField0_ & ~0x00000002); + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The time the operation finished running.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getEndTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The time the operation finished running.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + if (endTimeBuilder_ != null) { + return endTimeBuilder_.getMessageOrBuilder(); + } else { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + } + /** + * + * + *
+     * Output only. The time the operation finished running.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getEndTimeFieldBuilder() { + if (endTimeBuilder_ == null) { + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); + endTime_ = null; + } + return endTimeBuilder_; + } + + private com.google.cloud.parallelstore.v1beta.TransferCounters counters_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.TransferCounters, + com.google.cloud.parallelstore.v1beta.TransferCounters.Builder, + com.google.cloud.parallelstore.v1beta.TransferCountersOrBuilder> + countersBuilder_; + /** + * + * + *
+     * Information about the progress of the transfer operation.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferCounters counters = 3; + * + * @return Whether the counters field is set. + */ + public boolean hasCounters() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * Information about the progress of the transfer operation.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferCounters counters = 3; + * + * @return The counters. + */ + public com.google.cloud.parallelstore.v1beta.TransferCounters getCounters() { + if (countersBuilder_ == null) { + return counters_ == null + ? com.google.cloud.parallelstore.v1beta.TransferCounters.getDefaultInstance() + : counters_; + } else { + return countersBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Information about the progress of the transfer operation.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferCounters counters = 3; + */ + public Builder setCounters(com.google.cloud.parallelstore.v1beta.TransferCounters value) { + if (countersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + counters_ = value; + } else { + countersBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Information about the progress of the transfer operation.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferCounters counters = 3; + */ + public Builder setCounters( + com.google.cloud.parallelstore.v1beta.TransferCounters.Builder builderForValue) { + if (countersBuilder_ == null) { + counters_ = builderForValue.build(); + } else { + countersBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Information about the progress of the transfer operation.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferCounters counters = 3; + */ + public Builder mergeCounters(com.google.cloud.parallelstore.v1beta.TransferCounters value) { + if (countersBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && counters_ != null + && counters_ + != com.google.cloud.parallelstore.v1beta.TransferCounters.getDefaultInstance()) { + getCountersBuilder().mergeFrom(value); + } else { + counters_ = value; + } + } else { + countersBuilder_.mergeFrom(value); + } + if (counters_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Information about the progress of the transfer operation.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferCounters counters = 3; + */ + public Builder clearCounters() { + bitField0_ = (bitField0_ & ~0x00000004); + counters_ = null; + if (countersBuilder_ != null) { + countersBuilder_.dispose(); + countersBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Information about the progress of the transfer operation.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferCounters counters = 3; + */ + public com.google.cloud.parallelstore.v1beta.TransferCounters.Builder getCountersBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getCountersFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Information about the progress of the transfer operation.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferCounters counters = 3; + */ + public com.google.cloud.parallelstore.v1beta.TransferCountersOrBuilder getCountersOrBuilder() { + if (countersBuilder_ != null) { + return countersBuilder_.getMessageOrBuilder(); + } else { + return counters_ == null + ? com.google.cloud.parallelstore.v1beta.TransferCounters.getDefaultInstance() + : counters_; + } + } + /** + * + * + *
+     * Information about the progress of the transfer operation.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferCounters counters = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.TransferCounters, + com.google.cloud.parallelstore.v1beta.TransferCounters.Builder, + com.google.cloud.parallelstore.v1beta.TransferCountersOrBuilder> + getCountersFieldBuilder() { + if (countersBuilder_ == null) { + countersBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.TransferCounters, + com.google.cloud.parallelstore.v1beta.TransferCounters.Builder, + com.google.cloud.parallelstore.v1beta.TransferCountersOrBuilder>( + getCounters(), getParentForChildren(), isClean()); + counters_ = null; + } + return countersBuilder_; + } + + private java.lang.Object source_ = ""; + /** + * + * + *
+     * Required. The origin of the data transfer.
+     * 
+ * + * string source = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The source. + */ + public java.lang.String getSource() { + java.lang.Object ref = source_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + source_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The origin of the data transfer.
+     * 
+ * + * string source = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for source. + */ + public com.google.protobuf.ByteString getSourceBytes() { + java.lang.Object ref = source_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + source_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The origin of the data transfer.
+     * 
+ * + * string source = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The source to set. + * @return This builder for chaining. + */ + public Builder setSource(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + source_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The origin of the data transfer.
+     * 
+ * + * string source = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearSource() { + source_ = getDefaultInstance().getSource(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The origin of the data transfer.
+     * 
+ * + * string source = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for source to set. + * @return This builder for chaining. + */ + public Builder setSourceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object destination_ = ""; + /** + * + * + *
+     * Required. The destination of the data transfer.
+     * 
+ * + * string destination = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The destination. + */ + public java.lang.String getDestination() { + java.lang.Object ref = destination_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + destination_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The destination of the data transfer.
+     * 
+ * + * string destination = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for destination. + */ + public com.google.protobuf.ByteString getDestinationBytes() { + java.lang.Object ref = destination_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + destination_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The destination of the data transfer.
+     * 
+ * + * string destination = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The destination to set. + * @return This builder for chaining. + */ + public Builder setDestination(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + destination_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The destination of the data transfer.
+     * 
+ * + * string destination = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearDestination() { + destination_ = getDefaultInstance().getDestination(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The destination of the data transfer.
+     * 
+ * + * string destination = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for destination to set. + * @return This builder for chaining. + */ + public Builder setDestinationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + destination_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private int transferType_ = 0; + /** + * + * + *
+     * The type of transfer occurring.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferType transfer_type = 6; + * + * @return The enum numeric value on the wire for transferType. + */ + @java.lang.Override + public int getTransferTypeValue() { + return transferType_; + } + /** + * + * + *
+     * The type of transfer occurring.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferType transfer_type = 6; + * + * @param value The enum numeric value on the wire for transferType to set. + * @return This builder for chaining. + */ + public Builder setTransferTypeValue(int value) { + transferType_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * The type of transfer occurring.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferType transfer_type = 6; + * + * @return The transferType. + */ + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.TransferType getTransferType() { + com.google.cloud.parallelstore.v1beta.TransferType result = + com.google.cloud.parallelstore.v1beta.TransferType.forNumber(transferType_); + return result == null + ? com.google.cloud.parallelstore.v1beta.TransferType.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * The type of transfer occurring.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferType transfer_type = 6; + * + * @param value The transferType to set. + * @return This builder for chaining. + */ + public Builder setTransferType(com.google.cloud.parallelstore.v1beta.TransferType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; + transferType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * The type of transfer occurring.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.TransferType transfer_type = 6; + * + * @return This builder for chaining. + */ + public Builder clearTransferType() { + bitField0_ = (bitField0_ & ~0x00000020); + transferType_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.parallelstore.v1beta.TransferOperationMetadata) + } + + // @@protoc_insertion_point(class_scope:google.cloud.parallelstore.v1beta.TransferOperationMetadata) + private static final com.google.cloud.parallelstore.v1beta.TransferOperationMetadata + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.parallelstore.v1beta.TransferOperationMetadata(); + } + + public static com.google.cloud.parallelstore.v1beta.TransferOperationMetadata + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.TransferOperationMetadata + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/TransferOperationMetadataOrBuilder.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/TransferOperationMetadataOrBuilder.java new file mode 100644 index 000000000000..5c6e4af3f016 --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/TransferOperationMetadataOrBuilder.java @@ -0,0 +1,215 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +public interface TransferOperationMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.parallelstore.v1beta.TransferOperationMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. CCFE supplied fields BEGIN
+   * The time the operation was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * + * + *
+   * Output only. CCFE supplied fields BEGIN
+   * The time the operation was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * + * + *
+   * Output only. CCFE supplied fields BEGIN
+   * The time the operation was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + * + * + *
+   * Output only. The time the operation finished running.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + boolean hasEndTime(); + /** + * + * + *
+   * Output only. The time the operation finished running.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + com.google.protobuf.Timestamp getEndTime(); + /** + * + * + *
+   * Output only. The time the operation finished running.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); + + /** + * + * + *
+   * Information about the progress of the transfer operation.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferCounters counters = 3; + * + * @return Whether the counters field is set. + */ + boolean hasCounters(); + /** + * + * + *
+   * Information about the progress of the transfer operation.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferCounters counters = 3; + * + * @return The counters. + */ + com.google.cloud.parallelstore.v1beta.TransferCounters getCounters(); + /** + * + * + *
+   * Information about the progress of the transfer operation.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferCounters counters = 3; + */ + com.google.cloud.parallelstore.v1beta.TransferCountersOrBuilder getCountersOrBuilder(); + + /** + * + * + *
+   * Required. The origin of the data transfer.
+   * 
+ * + * string source = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The source. + */ + java.lang.String getSource(); + /** + * + * + *
+   * Required. The origin of the data transfer.
+   * 
+ * + * string source = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for source. + */ + com.google.protobuf.ByteString getSourceBytes(); + + /** + * + * + *
+   * Required. The destination of the data transfer.
+   * 
+ * + * string destination = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The destination. + */ + java.lang.String getDestination(); + /** + * + * + *
+   * Required. The destination of the data transfer.
+   * 
+ * + * string destination = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for destination. + */ + com.google.protobuf.ByteString getDestinationBytes(); + + /** + * + * + *
+   * The type of transfer occurring.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferType transfer_type = 6; + * + * @return The enum numeric value on the wire for transferType. + */ + int getTransferTypeValue(); + /** + * + * + *
+   * The type of transfer occurring.
+   * 
+ * + * .google.cloud.parallelstore.v1beta.TransferType transfer_type = 6; + * + * @return The transferType. + */ + com.google.cloud.parallelstore.v1beta.TransferType getTransferType(); +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/TransferType.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/TransferType.java new file mode 100644 index 000000000000..e2fad61d0926 --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/TransferType.java @@ -0,0 +1,179 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +/** + * + * + *
+ * Type of transfer that occurred.
+ * 
+ * + * Protobuf enum {@code google.cloud.parallelstore.v1beta.TransferType} + */ +public enum TransferType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+   * Zero is an illegal value.
+   * 
+ * + * TRANSFER_TYPE_UNSPECIFIED = 0; + */ + TRANSFER_TYPE_UNSPECIFIED(0), + /** + * + * + *
+   * Imports to Parallelstore.
+   * 
+ * + * IMPORT = 1; + */ + IMPORT(1), + /** + * + * + *
+   * Exports from Parallelstore.
+   * 
+ * + * EXPORT = 2; + */ + EXPORT(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+   * Zero is an illegal value.
+   * 
+ * + * TRANSFER_TYPE_UNSPECIFIED = 0; + */ + public static final int TRANSFER_TYPE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+   * Imports to Parallelstore.
+   * 
+ * + * IMPORT = 1; + */ + public static final int IMPORT_VALUE = 1; + /** + * + * + *
+   * Exports from Parallelstore.
+   * 
+ * + * EXPORT = 2; + */ + public static final int EXPORT_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 TransferType 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 TransferType forNumber(int value) { + switch (value) { + case 0: + return TRANSFER_TYPE_UNSPECIFIED; + case 1: + return IMPORT; + case 2: + return EXPORT; + 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 TransferType findValueByNumber(int number) { + return TransferType.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.cloud.parallelstore.v1beta.ParallelstoreProto.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final TransferType[] VALUES = values(); + + public static TransferType 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 TransferType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.parallelstore.v1beta.TransferType) +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/proto/google/cloud/parallelstore/v1beta/parallelstore.proto b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/proto/google/cloud/parallelstore/v1beta/parallelstore.proto index daf159df657a..b971c6fc35fa 100644 --- a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/proto/google/cloud/parallelstore/v1beta/parallelstore.proto +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/proto/google/cloud/parallelstore/v1beta/parallelstore.proto @@ -118,6 +118,42 @@ service Parallelstore { metadata_type: "OperationMetadata" }; } + + // ImportData copies data from Cloud Storage to Parallelstore. + rpc ImportData(ImportDataRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta/{name=projects/*/locations/*/instances/*}:importData" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ImportDataResponse" + metadata_type: "ImportDataMetadata" + }; + } + + // ExportData copies data from Parallelstore to Cloud Storage + rpc ExportData(ExportDataRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta/{name=projects/*/locations/*/instances/*}:exportData" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ExportDataResponse" + metadata_type: "ExportDataMetadata" + }; + } +} + +// Type of transfer that occurred. +enum TransferType { + // Zero is an illegal value. + TRANSFER_TYPE_UNSPECIFIED = 0; + + // Imports to Parallelstore. + IMPORT = 1; + + // Exports from Parallelstore. + EXPORT = 2; } // A Parallelstore instance. @@ -212,7 +248,7 @@ message Instance { (google.api.resource_reference) = { type: "compute.googleapis.com/Network" } ]; - // Optional. Immutable. Contains the id of allocated IP address range + // Optional. Immutable. Contains the id of the allocated IP address range // associated with the private service access connection for example, // "test-default" associated with IP range 10.0.0.0/29. If no range id is // provided all ranges will be considered. @@ -221,6 +257,17 @@ message Instance { (google.api.field_behavior) = OPTIONAL, (google.api.resource_reference) = { type: "compute.googleapis.com/Address" } ]; + + // Output only. Immutable. Contains the id of the allocated IP address range + // associated with the private service access connection for example, + // "test-default" associated with IP range 10.0.0.0/29. This field is + // populated by the service and and contains the value currently used by the + // service. + string effective_reserved_ip_range = 14 [ + (google.api.field_behavior) = IMMUTABLE, + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { type: "compute.googleapis.com/Address" } + ]; } // Message for requesting list of Instances @@ -401,3 +448,160 @@ message OperationMetadata { // Output only. API version used to start the operation. string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } + +// Message representing the request importing data from parallelstore to Cloud +// Storage. +message ImportDataRequest { + // The source of the data being imported into the parallelstore instance. + oneof source { + // URI to a Cloud Storage object in format: + // 'gs:///'. + string source_gcs_uri = 2; + } + + // The destination of the data being imported into the parallelstore instance. + oneof destination { + // Optional. Root directory path to the Paralellstore filesystem, starting + // with '/'. Sets to '/' if no value is set. + string destination_path = 3 [(google.api.field_behavior) = OPTIONAL]; + } + + // Required. Name of the resource. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "parallelstore.googleapis.com/Instance" + } + ]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and t + // he request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4 [ + (google.api.field_info).format = UUID4, + (google.api.field_behavior) = OPTIONAL + ]; +} + +// Message representing the request exporting data from Cloud Storage to +// parallelstore. +message ExportDataRequest { + // The source of the data exported from the parallelstore instance. + oneof source { + // Optional. Root directory path to the Paralellstore filesystem, starting + // with '/'. Sets to '/' if no value is set. + string source_path = 2 [(google.api.field_behavior) = OPTIONAL]; + } + + // The destination of the data exported from the parallelstore instance. + oneof destination { + // URI to a Cloud Storage object in format: + // 'gs:///'. + string destination_gcs_uri = 3; + } + + // Required. Name of the resource. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "parallelstore.googleapis.com/Instance" + } + ]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and t + // he request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4 [ + (google.api.field_info).format = UUID4, + (google.api.field_behavior) = OPTIONAL + ]; +} + +// ImportDataResponse is the response returned from ImportData rpc. +message ImportDataResponse {} + +// ImportDataMetadata contains import data operation metadata +message ImportDataMetadata { + // Contains the data transfer operation metadata. + TransferOperationMetadata operation_metadata = 1; +} + +// ExportDataResponse is the response returned from ExportData rpc +message ExportDataResponse {} + +// ExportDataMetadata contains export data operation metadata +message ExportDataMetadata { + // Contains the data transfer operation metadata. + TransferOperationMetadata operation_metadata = 1; +} + +// Represents the metadata of the long-running operation. +message TransferOperationMetadata { + // Output only. CCFE supplied fields BEGIN + // The time the operation was created. + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time the operation finished running. + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Information about the progress of the transfer operation. + TransferCounters counters = 3; + + // Required. The origin of the data transfer. + string source = 4 [(google.api.field_behavior) = REQUIRED]; + + // Required. The destination of the data transfer. + string destination = 5 [(google.api.field_behavior) = REQUIRED]; + + // The type of transfer occurring. + TransferType transfer_type = 6; +} + +// A collection of counters that report the progress of a transfer operation. +message TransferCounters { + // Objects found in the data source that are scheduled to be transferred, + // excluding any that are filtered based on object conditions or skipped due + // to sync. + int64 objects_found = 1; + + // Bytes found in the data source that are scheduled to be transferred, + // excluding any that are filtered based on object conditions or skipped due + // to sync. + int64 bytes_found = 2; + + // Objects in the data source that are not transferred because they already + // exist in the data destination. + int64 objects_skipped = 3; + + // Bytes in the data source that are not transferred because they already + // exist in the data destination. + int64 bytes_skipped = 4; + + // Objects that are copied to the data destination. + int64 objects_copied = 5; + + // Bytes that are copied to the data destination. + int64 bytes_copied = 6; +} diff --git a/java-parallelstore/samples/snippets/generated/com/google/cloud/parallelstore/v1beta/parallelstore/exportdata/AsyncExportData.java b/java-parallelstore/samples/snippets/generated/com/google/cloud/parallelstore/v1beta/parallelstore/exportdata/AsyncExportData.java new file mode 100644 index 000000000000..cae94959917f --- /dev/null +++ b/java-parallelstore/samples/snippets/generated/com/google/cloud/parallelstore/v1beta/parallelstore/exportdata/AsyncExportData.java @@ -0,0 +1,50 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.parallelstore.v1beta.samples; + +// [START parallelstore_v1beta_generated_Parallelstore_ExportData_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.parallelstore.v1beta.ExportDataRequest; +import com.google.cloud.parallelstore.v1beta.InstanceName; +import com.google.cloud.parallelstore.v1beta.ParallelstoreClient; +import com.google.longrunning.Operation; + +public class AsyncExportData { + + public static void main(String[] args) throws Exception { + asyncExportData(); + } + + public static void asyncExportData() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ParallelstoreClient parallelstoreClient = ParallelstoreClient.create()) { + ExportDataRequest request = + ExportDataRequest.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setRequestId("requestId693933066") + .build(); + ApiFuture future = parallelstoreClient.exportDataCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END parallelstore_v1beta_generated_Parallelstore_ExportData_async] diff --git a/java-parallelstore/samples/snippets/generated/com/google/cloud/parallelstore/v1beta/parallelstore/exportdata/AsyncExportDataLRO.java b/java-parallelstore/samples/snippets/generated/com/google/cloud/parallelstore/v1beta/parallelstore/exportdata/AsyncExportDataLRO.java new file mode 100644 index 000000000000..1c771433af92 --- /dev/null +++ b/java-parallelstore/samples/snippets/generated/com/google/cloud/parallelstore/v1beta/parallelstore/exportdata/AsyncExportDataLRO.java @@ -0,0 +1,52 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.parallelstore.v1beta.samples; + +// [START parallelstore_v1beta_generated_Parallelstore_ExportData_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.parallelstore.v1beta.ExportDataMetadata; +import com.google.cloud.parallelstore.v1beta.ExportDataRequest; +import com.google.cloud.parallelstore.v1beta.ExportDataResponse; +import com.google.cloud.parallelstore.v1beta.InstanceName; +import com.google.cloud.parallelstore.v1beta.ParallelstoreClient; + +public class AsyncExportDataLRO { + + public static void main(String[] args) throws Exception { + asyncExportDataLRO(); + } + + public static void asyncExportDataLRO() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ParallelstoreClient parallelstoreClient = ParallelstoreClient.create()) { + ExportDataRequest request = + ExportDataRequest.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setRequestId("requestId693933066") + .build(); + OperationFuture future = + parallelstoreClient.exportDataOperationCallable().futureCall(request); + // Do something. + ExportDataResponse response = future.get(); + } + } +} +// [END parallelstore_v1beta_generated_Parallelstore_ExportData_LRO_async] diff --git a/java-parallelstore/samples/snippets/generated/com/google/cloud/parallelstore/v1beta/parallelstore/exportdata/SyncExportData.java b/java-parallelstore/samples/snippets/generated/com/google/cloud/parallelstore/v1beta/parallelstore/exportdata/SyncExportData.java new file mode 100644 index 000000000000..ea380302a56d --- /dev/null +++ b/java-parallelstore/samples/snippets/generated/com/google/cloud/parallelstore/v1beta/parallelstore/exportdata/SyncExportData.java @@ -0,0 +1,47 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.parallelstore.v1beta.samples; + +// [START parallelstore_v1beta_generated_Parallelstore_ExportData_sync] +import com.google.cloud.parallelstore.v1beta.ExportDataRequest; +import com.google.cloud.parallelstore.v1beta.ExportDataResponse; +import com.google.cloud.parallelstore.v1beta.InstanceName; +import com.google.cloud.parallelstore.v1beta.ParallelstoreClient; + +public class SyncExportData { + + public static void main(String[] args) throws Exception { + syncExportData(); + } + + public static void syncExportData() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ParallelstoreClient parallelstoreClient = ParallelstoreClient.create()) { + ExportDataRequest request = + ExportDataRequest.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setRequestId("requestId693933066") + .build(); + ExportDataResponse response = parallelstoreClient.exportDataAsync(request).get(); + } + } +} +// [END parallelstore_v1beta_generated_Parallelstore_ExportData_sync] diff --git a/java-parallelstore/samples/snippets/generated/com/google/cloud/parallelstore/v1beta/parallelstore/importdata/AsyncImportData.java b/java-parallelstore/samples/snippets/generated/com/google/cloud/parallelstore/v1beta/parallelstore/importdata/AsyncImportData.java new file mode 100644 index 000000000000..fcf5e1b2c52e --- /dev/null +++ b/java-parallelstore/samples/snippets/generated/com/google/cloud/parallelstore/v1beta/parallelstore/importdata/AsyncImportData.java @@ -0,0 +1,50 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.parallelstore.v1beta.samples; + +// [START parallelstore_v1beta_generated_Parallelstore_ImportData_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.parallelstore.v1beta.ImportDataRequest; +import com.google.cloud.parallelstore.v1beta.InstanceName; +import com.google.cloud.parallelstore.v1beta.ParallelstoreClient; +import com.google.longrunning.Operation; + +public class AsyncImportData { + + public static void main(String[] args) throws Exception { + asyncImportData(); + } + + public static void asyncImportData() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ParallelstoreClient parallelstoreClient = ParallelstoreClient.create()) { + ImportDataRequest request = + ImportDataRequest.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setRequestId("requestId693933066") + .build(); + ApiFuture future = parallelstoreClient.importDataCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END parallelstore_v1beta_generated_Parallelstore_ImportData_async] diff --git a/java-parallelstore/samples/snippets/generated/com/google/cloud/parallelstore/v1beta/parallelstore/importdata/AsyncImportDataLRO.java b/java-parallelstore/samples/snippets/generated/com/google/cloud/parallelstore/v1beta/parallelstore/importdata/AsyncImportDataLRO.java new file mode 100644 index 000000000000..8bb871c88d9a --- /dev/null +++ b/java-parallelstore/samples/snippets/generated/com/google/cloud/parallelstore/v1beta/parallelstore/importdata/AsyncImportDataLRO.java @@ -0,0 +1,52 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.parallelstore.v1beta.samples; + +// [START parallelstore_v1beta_generated_Parallelstore_ImportData_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.parallelstore.v1beta.ImportDataMetadata; +import com.google.cloud.parallelstore.v1beta.ImportDataRequest; +import com.google.cloud.parallelstore.v1beta.ImportDataResponse; +import com.google.cloud.parallelstore.v1beta.InstanceName; +import com.google.cloud.parallelstore.v1beta.ParallelstoreClient; + +public class AsyncImportDataLRO { + + public static void main(String[] args) throws Exception { + asyncImportDataLRO(); + } + + public static void asyncImportDataLRO() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ParallelstoreClient parallelstoreClient = ParallelstoreClient.create()) { + ImportDataRequest request = + ImportDataRequest.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setRequestId("requestId693933066") + .build(); + OperationFuture future = + parallelstoreClient.importDataOperationCallable().futureCall(request); + // Do something. + ImportDataResponse response = future.get(); + } + } +} +// [END parallelstore_v1beta_generated_Parallelstore_ImportData_LRO_async] diff --git a/java-parallelstore/samples/snippets/generated/com/google/cloud/parallelstore/v1beta/parallelstore/importdata/SyncImportData.java b/java-parallelstore/samples/snippets/generated/com/google/cloud/parallelstore/v1beta/parallelstore/importdata/SyncImportData.java new file mode 100644 index 000000000000..84306b9a1316 --- /dev/null +++ b/java-parallelstore/samples/snippets/generated/com/google/cloud/parallelstore/v1beta/parallelstore/importdata/SyncImportData.java @@ -0,0 +1,47 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.parallelstore.v1beta.samples; + +// [START parallelstore_v1beta_generated_Parallelstore_ImportData_sync] +import com.google.cloud.parallelstore.v1beta.ImportDataRequest; +import com.google.cloud.parallelstore.v1beta.ImportDataResponse; +import com.google.cloud.parallelstore.v1beta.InstanceName; +import com.google.cloud.parallelstore.v1beta.ParallelstoreClient; + +public class SyncImportData { + + public static void main(String[] args) throws Exception { + syncImportData(); + } + + public static void syncImportData() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (ParallelstoreClient parallelstoreClient = ParallelstoreClient.create()) { + ImportDataRequest request = + ImportDataRequest.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]").toString()) + .setRequestId("requestId693933066") + .build(); + ImportDataResponse response = parallelstoreClient.importDataAsync(request).get(); + } + } +} +// [END parallelstore_v1beta_generated_Parallelstore_ImportData_sync] diff --git a/java-phishingprotection/README.md b/java-phishingprotection/README.md index cb7150c199f1..f2a86b7c2a03 100644 --- a/java-phishingprotection/README.md +++ b/java-phishingprotection/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-phishingprotection.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-phishingprotection/0.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-phishingprotection/0.73.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-policy-troubleshooter/README.md b/java-policy-troubleshooter/README.md index 1167cf069608..d878c204b13e 100644 --- a/java-policy-troubleshooter/README.md +++ b/java-policy-troubleshooter/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-policy-troubleshooter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policy-troubleshooter/1.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policy-troubleshooter/1.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-policysimulator/README.md b/java-policysimulator/README.md index 29976cbc814f..34d5473aced8 100644 --- a/java-policysimulator/README.md +++ b/java-policysimulator/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-policysimulator.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policysimulator/0.20.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policysimulator/0.21.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-private-catalog/README.md b/java-private-catalog/README.md index c1f681e9d094..dcb8ac4f8643 100644 --- a/java-private-catalog/README.md +++ b/java-private-catalog/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-private-catalog.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-private-catalog/0.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-private-catalog/0.44.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-profiler/README.md b/java-profiler/README.md index 24fa2e6d4be7..79239a0d31ae 100644 --- a/java-profiler/README.md +++ b/java-profiler/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-profiler.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-profiler/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-profiler/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-publicca/README.md b/java-publicca/README.md index aa7534b4a8a1..588d6588a8e3 100644 --- a/java-publicca/README.md +++ b/java-publicca/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-publicca.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-publicca/0.38.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-publicca/0.39.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-rapidmigrationassessment/README.md b/java-rapidmigrationassessment/README.md index 8b9ba0d4d0b6..d899b3826825 100644 --- a/java-rapidmigrationassessment/README.md +++ b/java-rapidmigrationassessment/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-rapidmigrationassessment.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-rapidmigrationassessment/0.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-rapidmigrationassessment/0.25.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-recaptchaenterprise/README.md b/java-recaptchaenterprise/README.md index 2cc0579ecde0..b035a6ffc66a 100644 --- a/java-recaptchaenterprise/README.md +++ b/java-recaptchaenterprise/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-recaptchaenterprise.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recaptchaenterprise/3.38.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recaptchaenterprise/3.39.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-recommendations-ai/README.md b/java-recommendations-ai/README.md index e3d376f7a39d..80082981a5f1 100644 --- a/java-recommendations-ai/README.md +++ b/java-recommendations-ai/README.md @@ -202,7 +202,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-recommendations-ai.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommendations-ai/0.48.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommendations-ai/0.49.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-recommender/README.md b/java-recommender/README.md index e011d1042a07..231d8f506eef 100644 --- a/java-recommender/README.md +++ b/java-recommender/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-recommender.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommender/2.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommender/2.44.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-redis-cluster/README.md b/java-redis-cluster/README.md index 2b959f4f000b..caca7837c710 100644 --- a/java-redis-cluster/README.md +++ b/java-redis-cluster/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-redis-cluster.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis-cluster/0.13.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis-cluster/0.14.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-redis/README.md b/java-redis/README.md index bbd1e5dfd6c2..443a128832ee 100644 --- a/java-redis/README.md +++ b/java-redis/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-redis.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis/2.44.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis/2.45.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-resource-settings/README.md b/java-resource-settings/README.md index 64b922ddd083..bac16059fc1e 100644 --- a/java-resource-settings/README.md +++ b/java-resource-settings/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-resource-settings.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-resource-settings/1.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-resource-settings/1.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-resourcemanager/README.md b/java-resourcemanager/README.md index 486f76ba6d7e..1fa1cb08e970 100644 --- a/java-resourcemanager/README.md +++ b/java-resourcemanager/README.md @@ -336,7 +336,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-resourcemanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-resourcemanager/1.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-resourcemanager/1.44.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-retail/README.md b/java-retail/README.md index 635a10dffc3b..644a30e5d49f 100644 --- a/java-retail/README.md +++ b/java-retail/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-retail.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-retail/2.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-retail/2.44.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-run/README.md b/java-run/README.md index 170c4927be92..c33a24bd313f 100644 --- a/java-run/README.md +++ b/java-run/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-run.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-run/0.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-run/0.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-scheduler/README.md b/java-scheduler/README.md index baa9324f1c5a..8bc9da7edd8e 100644 --- a/java-scheduler/README.md +++ b/java-scheduler/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-scheduler.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-scheduler/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-scheduler/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-secretmanager/README.md b/java-secretmanager/README.md index cabc1118dc02..b207e7f8060c 100644 --- a/java-secretmanager/README.md +++ b/java-secretmanager/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-secretmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-secretmanager/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-secretmanager/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-securesourcemanager/README.md b/java-securesourcemanager/README.md index 15e95de756a6..e7d59f5e74d2 100644 --- a/java-securesourcemanager/README.md +++ b/java-securesourcemanager/README.md @@ -202,7 +202,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-securesourcemanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securesourcemanager/0.11.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securesourcemanager/0.12.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-security-private-ca/README.md b/java-security-private-ca/README.md index 21fd4d1d40d5..8992e7c62c10 100644 --- a/java-security-private-ca/README.md +++ b/java-security-private-ca/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-security-private-ca.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-security-private-ca/2.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-security-private-ca/2.44.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-securitycenter-settings/README.md b/java-securitycenter-settings/README.md index 68df22313a0f..f6a3c150eec6 100644 --- a/java-securitycenter-settings/README.md +++ b/java-securitycenter-settings/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-securitycenter-settings.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter-settings/0.44.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter-settings/0.45.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-securitycenter/README.md b/java-securitycenter/README.md index fd289c0f1a59..c63989566663 100644 --- a/java-securitycenter/README.md +++ b/java-securitycenter/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-securitycenter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter/2.49.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter/2.50.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-securitycentermanagement/README.md b/java-securitycentermanagement/README.md index 7c97c81a29c3..4f36b94f7fae 100644 --- a/java-securitycentermanagement/README.md +++ b/java-securitycentermanagement/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-securitycentermanagement.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycentermanagement/0.9.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycentermanagement/0.10.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-securityposture/README.md b/java-securityposture/README.md index a3e4cb0564ec..fb266eb87536 100644 --- a/java-securityposture/README.md +++ b/java-securityposture/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-securityposture.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securityposture/0.6.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securityposture/0.7.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-service-control/README.md b/java-service-control/README.md index ab01e6551f52..d2ed9d9f23fb 100644 --- a/java-service-control/README.md +++ b/java-service-control/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-service-control.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-control/1.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-control/1.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-service-management/README.md b/java-service-management/README.md index 04fe45e71aea..1e82caa5c208 100644 --- a/java-service-management/README.md +++ b/java-service-management/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-service-management.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-management/3.39.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-management/3.40.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-service-usage/README.md b/java-service-usage/README.md index f1d4b8cfce4c..cda7a9cc0a82 100644 --- a/java-service-usage/README.md +++ b/java-service-usage/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-service-usage.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-usage/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-usage/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-servicedirectory/README.md b/java-servicedirectory/README.md index a28d471a4ae9..1a3dbac91678 100644 --- a/java-servicedirectory/README.md +++ b/java-servicedirectory/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-servicedirectory.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicedirectory/2.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicedirectory/2.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-servicehealth/README.md b/java-servicehealth/README.md index f3931626f3cc..05471705d928 100644 --- a/java-servicehealth/README.md +++ b/java-servicehealth/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-servicehealth.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicehealth/0.8.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicehealth/0.9.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shell/README.md b/java-shell/README.md index 490c7596eec0..406026d2686b 100644 --- a/java-shell/README.md +++ b/java-shell/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-shell.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-shell/2.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-shell/2.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-css/README.md b/java-shopping-css/README.md index 2172dab87ea4..bb4917b3458e 100644 --- a/java-shopping-css/README.md +++ b/java-shopping-css/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-css.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-css/0.9.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-css/0.10.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-css/google-shopping-css/src/main/resources/META-INF/native-image/com.google.shopping.css.v1/reflect-config.json b/java-shopping-css/google-shopping-css/src/main/resources/META-INF/native-image/com.google.shopping.css.v1/reflect-config.json index 58dbb281cecf..ab154877ce66 100644 --- a/java-shopping-css/google-shopping-css/src/main/resources/META-INF/native-image/com.google.shopping.css.v1/reflect-config.json +++ b/java-shopping-css/google-shopping-css/src/main/resources/META-INF/native-image/com.google.shopping.css.v1/reflect-config.json @@ -1762,5 +1762,32 @@ "allPublicMethods": true, "allDeclaredClasses": true, "allPublicClasses": true + }, + { + "name": "com.google.shopping.type.Weight", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.shopping.type.Weight$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.shopping.type.Weight$WeightUnit", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true } ] \ No newline at end of file diff --git a/java-shopping-merchant-conversions/README.md b/java-shopping-merchant-conversions/README.md index e085ec3b212b..a0e7676de2b0 100644 --- a/java-shopping-merchant-conversions/README.md +++ b/java-shopping-merchant-conversions/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-conversions.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-conversions/0.0.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-conversions/0.1.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-conversions/pom.xml b/java-shopping-merchant-conversions/pom.xml index 661684a773e1..8edfece1fa5f 100644 --- a/java-shopping-merchant-conversions/pom.xml +++ b/java-shopping-merchant-conversions/pom.xml @@ -52,4 +52,4 @@ google-shopping-merchant-conversions-bom - + diff --git a/java-shopping-merchant-inventories/README.md b/java-shopping-merchant-inventories/README.md index 55e47bf7ff4b..234a4437fe93 100644 --- a/java-shopping-merchant-inventories/README.md +++ b/java-shopping-merchant-inventories/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-inventories.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-inventories/0.17.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-inventories/0.18.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/resources/META-INF/native-image/com.google.shopping.merchant.inventories.v1beta/reflect-config.json b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/resources/META-INF/native-image/com.google.shopping.merchant.inventories.v1beta/reflect-config.json index b879a005b77f..acdad52fa788 100644 --- a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/resources/META-INF/native-image/com.google.shopping.merchant.inventories.v1beta/reflect-config.json +++ b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/resources/META-INF/native-image/com.google.shopping.merchant.inventories.v1beta/reflect-config.json @@ -1457,6 +1457,33 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.shopping.type.Weight", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.shopping.type.Weight$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.shopping.type.Weight$WeightUnit", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.type.Interval", "queryAllDeclaredConstructors": true, diff --git a/java-shopping-merchant-lfp/README.md b/java-shopping-merchant-lfp/README.md index 6d948172737b..c1326c607187 100644 --- a/java-shopping-merchant-lfp/README.md +++ b/java-shopping-merchant-lfp/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-lfp.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-lfp/0.0.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-lfp/0.1.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-lfp/google-shopping-merchant-lfp/src/main/resources/META-INF/native-image/com.google.shopping.merchant.lfp.v1beta/reflect-config.json b/java-shopping-merchant-lfp/google-shopping-merchant-lfp/src/main/resources/META-INF/native-image/com.google.shopping.merchant.lfp.v1beta/reflect-config.json index 5d641beec0b2..e818472d4494 100644 --- a/java-shopping-merchant-lfp/google-shopping-merchant-lfp/src/main/resources/META-INF/native-image/com.google.shopping.merchant.lfp.v1beta/reflect-config.json +++ b/java-shopping-merchant-lfp/google-shopping-merchant-lfp/src/main/resources/META-INF/native-image/com.google.shopping.merchant.lfp.v1beta/reflect-config.json @@ -1492,5 +1492,32 @@ "allPublicMethods": true, "allDeclaredClasses": true, "allPublicClasses": true + }, + { + "name": "com.google.shopping.type.Weight", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.shopping.type.Weight$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.shopping.type.Weight$WeightUnit", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true } ] \ No newline at end of file diff --git a/java-shopping-merchant-lfp/pom.xml b/java-shopping-merchant-lfp/pom.xml index f7166b90ec55..4c68e76d1565 100644 --- a/java-shopping-merchant-lfp/pom.xml +++ b/java-shopping-merchant-lfp/pom.xml @@ -52,4 +52,4 @@ google-shopping-merchant-lfp-bom - + diff --git a/java-shopping-merchant-quota/README.md b/java-shopping-merchant-quota/README.md index 29b0f7c992a2..3dc6112eff5a 100644 --- a/java-shopping-merchant-quota/README.md +++ b/java-shopping-merchant-quota/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-quota.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-quota/0.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-quota/0.5.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-reports/README.md b/java-shopping-merchant-reports/README.md index 0b274271819d..a345f71982b8 100644 --- a/java-shopping-merchant-reports/README.md +++ b/java-shopping-merchant-reports/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-reports.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-reports/0.17.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-reports/0.18.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-reports/google-shopping-merchant-reports/src/main/resources/META-INF/native-image/com.google.shopping.merchant.reports.v1beta/reflect-config.json b/java-shopping-merchant-reports/google-shopping-merchant-reports/src/main/resources/META-INF/native-image/com.google.shopping.merchant.reports.v1beta/reflect-config.json index b7e462ad7192..0c4114cb54bb 100644 --- a/java-shopping-merchant-reports/google-shopping-merchant-reports/src/main/resources/META-INF/native-image/com.google.shopping.merchant.reports.v1beta/reflect-config.json +++ b/java-shopping-merchant-reports/google-shopping-merchant-reports/src/main/resources/META-INF/native-image/com.google.shopping.merchant.reports.v1beta/reflect-config.json @@ -1727,6 +1727,33 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.shopping.type.Weight", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.shopping.type.Weight$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.shopping.type.Weight$WeightUnit", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.type.Date", "queryAllDeclaredConstructors": true, diff --git a/java-speech/README.md b/java-speech/README.md index 66ab2d66d5c7..64226108b51a 100644 --- a/java-speech/README.md +++ b/java-speech/README.md @@ -231,7 +231,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-speech.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-speech/4.36.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-speech/4.37.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-storage-transfer/README.md b/java-storage-transfer/README.md index 2502f05f61d2..350ceeeb3966 100644 --- a/java-storage-transfer/README.md +++ b/java-storage-transfer/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-storage-transfer.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage-transfer/1.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage-transfer/1.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-storageinsights/README.md b/java-storageinsights/README.md index b84c493f033a..55b20f8510b0 100644 --- a/java-storageinsights/README.md +++ b/java-storageinsights/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-storageinsights.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storageinsights/0.26.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storageinsights/0.27.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-talent/README.md b/java-talent/README.md index d43ac17871eb..44244ca42609 100644 --- a/java-talent/README.md +++ b/java-talent/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-talent.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-talent/2.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-talent/2.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-tasks/README.md b/java-tasks/README.md index af18df3cc8f7..88150942525a 100644 --- a/java-tasks/README.md +++ b/java-tasks/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-tasks.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tasks/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tasks/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-telcoautomation/README.md b/java-telcoautomation/README.md index 996bd23350ed..fd13c1246c71 100644 --- a/java-telcoautomation/README.md +++ b/java-telcoautomation/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-telcoautomation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-telcoautomation/0.11.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-telcoautomation/0.12.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-texttospeech/README.md b/java-texttospeech/README.md index 16e517d51ff1..db2c38d4e6d2 100644 --- a/java-texttospeech/README.md +++ b/java-texttospeech/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-texttospeech.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-texttospeech/2.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-texttospeech/2.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-tpu/README.md b/java-tpu/README.md index 3550a17bf0d7..fff24feafa8d 100644 --- a/java-tpu/README.md +++ b/java-tpu/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-tpu.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tpu/2.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tpu/2.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-trace/README.md b/java-trace/README.md index 58cbef520ffe..6bbbed9732c0 100644 --- a/java-trace/README.md +++ b/java-trace/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-trace.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-trace/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-trace/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-translate/README.md b/java-translate/README.md index ca25f1d8ef55..ed88be5b126c 100644 --- a/java-translate/README.md +++ b/java-translate/README.md @@ -272,7 +272,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-translate.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-translate/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-translate/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-video-intelligence/README.md b/java-video-intelligence/README.md index 819855ca8014..ef8ad9dbb51f 100644 --- a/java-video-intelligence/README.md +++ b/java-video-intelligence/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-video-intelligence.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-intelligence/2.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-intelligence/2.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-video-live-stream/README.md b/java-video-live-stream/README.md index b27583994a71..df9f93fa683e 100644 --- a/java-video-live-stream/README.md +++ b/java-video-live-stream/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-live-stream.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-live-stream/0.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-live-stream/0.44.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-video-stitcher/README.md b/java-video-stitcher/README.md index fe2de41d410a..5c8f92b311fc 100644 --- a/java-video-stitcher/README.md +++ b/java-video-stitcher/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-video-stitcher.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-stitcher/0.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-stitcher/0.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-video-transcoder/README.md b/java-video-transcoder/README.md index 421a7f25040b..0212b0e2e148 100644 --- a/java-video-transcoder/README.md +++ b/java-video-transcoder/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-video-transcoder.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-transcoder/1.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-transcoder/1.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-vision/README.md b/java-vision/README.md index 9dd45e79652c..0f0f122bf7d2 100644 --- a/java-vision/README.md +++ b/java-vision/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-vision.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vision/3.39.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vision/3.40.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-vmmigration/README.md b/java-vmmigration/README.md index 6b3212da90c8..5556a7a442bd 100644 --- a/java-vmmigration/README.md +++ b/java-vmmigration/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-vmmigration.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmmigration/1.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmmigration/1.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-vmwareengine/README.md b/java-vmwareengine/README.md index 074eac2f9993..bc15880e427b 100644 --- a/java-vmwareengine/README.md +++ b/java-vmwareengine/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-vmwareengine.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmwareengine/0.35.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmwareengine/0.36.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-vpcaccess/README.md b/java-vpcaccess/README.md index 010f4ce2e816..fc5f09338b35 100644 --- a/java-vpcaccess/README.md +++ b/java-vpcaccess/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-vpcaccess.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vpcaccess/2.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vpcaccess/2.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-webrisk/README.md b/java-webrisk/README.md index 52f029959e8b..42bf6f6d9729 100644 --- a/java-webrisk/README.md +++ b/java-webrisk/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-webrisk.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-webrisk/2.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-webrisk/2.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-websecurityscanner/README.md b/java-websecurityscanner/README.md index 8556229ce605..702323f45e44 100644 --- a/java-websecurityscanner/README.md +++ b/java-websecurityscanner/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-websecurityscanner.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-websecurityscanner/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-websecurityscanner/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-workflow-executions/README.md b/java-workflow-executions/README.md index 1760850ad75a..716218bde346 100644 --- a/java-workflow-executions/README.md +++ b/java-workflow-executions/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-workflow-executions.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflow-executions/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflow-executions/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-workflows/README.md b/java-workflows/README.md index 849f2dff91ca..07dd947d85cf 100644 --- a/java-workflows/README.md +++ b/java-workflows/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-workflows.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflows/2.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflows/2.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-workspaceevents/README.md b/java-workspaceevents/README.md index 2abbab182efe..e78a15853903 100644 --- a/java-workspaceevents/README.md +++ b/java-workspaceevents/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-workspaceevents.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workspaceevents/0.5.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workspaceevents/0.6.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-workstations/README.md b/java-workstations/README.md index 4116332d7697..d02fe9a6cd9d 100644 --- a/java-workstations/README.md +++ b/java-workstations/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-workstations.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workstations/0.29.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workstations/0.30.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles